会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qingzZ
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
41
下一页
2020年5月28日
swift 后台给的字符串相加 使用Double 转换
摘要: swift 后台给的字符串相加 使用Double 转换 使用Int转换不出来,
阅读全文
posted @ 2020-05-28 14:29 懂事长qingzZ
阅读(292)
评论(0)
推荐(0)
2020年5月19日
swift 时间戳显示上午下午
摘要: timeLabel.text = (Double(sectionData.receiptTime) ?? 0).jy.dateString(format: "aaa HH:mm") /// 将时间戳转化成对应格式字符串 /// /// - Parameter formatterStr: 格式 ///
阅读全文
posted @ 2020-05-19 14:50 懂事长qingzZ
阅读(767)
评论(0)
推荐(0)
2020年4月29日
swift UITableView 隐藏分组的footer, 自定义footer
摘要: 1.设置高度为0 tv.sectionFooterHeight = 0 2 代理footview 返回 nil func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { ret
阅读全文
posted @ 2020-04-29 09:46 懂事长qingzZ
阅读(776)
评论(0)
推荐(0)
2020年4月23日
Swift中Notification.Name自定义枚举
摘要: /// 自定义通知枚举类型 enum JYNotification: String { ///刷新员工列表 case refreshStaffList var stringValue: String { return "JY" + rawValue } /// 通知名称 var notificati
阅读全文
posted @ 2020-04-23 10:14 懂事长qingzZ
阅读(540)
评论(0)
推荐(0)
2020年4月20日
swift UITableViewCell 策划删除,iOS11之后 设置侧滑不到最左边
摘要: /**侧滑删除实现的三个方法: * canEditRowAt :设为true 才能侧滑或其他操作 * editActionsForRowAt (11之前侧滑删除) * trailingSwipeActionsConfigurationForRowAt (11之后的侧滑删除) */ //canEdit
阅读全文
posted @ 2020-04-20 17:15 懂事长qingzZ
阅读(1569)
评论(0)
推荐(0)
2020年4月16日
swift 协议protocol传值 遇到的坑
摘要: /// 基本信息协议 protocol PersonInfoProtocal { /// 员工基本信息 var name: String {set get} /// 年龄 var age: String {set get} } //模型 struct PersonStruct:PersonInfoP
阅读全文
posted @ 2020-04-16 17:04 懂事长qingzZ
阅读(310)
评论(0)
推荐(0)
2020年4月14日
jiyongTeam公司在github发布的控件
摘要: https://github.com/jiyongTeam/JYCustomSegmentView https://github.com/jiyongTeam/JYFilterView
阅读全文
posted @ 2020-04-14 13:36 懂事长qingzZ
阅读(131)
评论(0)
推荐(0)
2020年3月26日
swift 工程 xcode 接入bugly 导出包 出错
摘要: 报错信息 Bugly server response: {"rtcode":50500,"msg":"Success","data":{"reponseCode":"-1","reponseDesc":"system error"}} Error: Failed to upload the zip
阅读全文
posted @ 2020-03-26 17:09 懂事长qingzZ
阅读(884)
评论(3)
推荐(0)
2020年3月17日
swift 获取当前显示的VC
摘要: extension UIViewController { /// 获取当前显示的VC /// /// - Returns: 当前屏幕显示的VC class func getCurrentViewController() -> UIViewController?{ // 获取当先显示的window v
阅读全文
posted @ 2020-03-17 11:26 懂事长qingzZ
阅读(1386)
评论(0)
推荐(0)
2020年3月16日
swift 导航栏item
摘要: /// 配置导航 客服 private func setNavRightBar() { let rightBarItem = UIBarButtonItem(image: UIImage(named: "customerService")?.withRenderingMode(UIImage.Ren
阅读全文
posted @ 2020-03-16 10:35 懂事长qingzZ
阅读(313)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
41
下一页