随笔 - 399,  文章 - 0,  评论 - 7,  阅读 - 21万
04 2020 档案
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 阅读(759) 评论(0) 推荐(0) 编辑
Swift中Notification.Name自定义枚举
摘要:/// 自定义通知枚举类型 enum JYNotification: String { ///刷新员工列表 case refreshStaffList var stringValue: String { return "JY" + rawValue } /// 通知名称 var notificati 阅读全文
posted @ 2020-04-23 10:14 懂事长qingzZ 阅读(527) 评论(0) 推荐(0) 编辑
swift UITableViewCell 策划删除,iOS11之后 设置侧滑不到最左边
摘要:/**侧滑删除实现的三个方法: * canEditRowAt :设为true 才能侧滑或其他操作 * editActionsForRowAt (11之前侧滑删除) * trailingSwipeActionsConfigurationForRowAt (11之后的侧滑删除) */ //canEdit 阅读全文
posted @ 2020-04-20 17:15 懂事长qingzZ 阅读(1509) 评论(0) 推荐(0) 编辑
swift 协议protocol传值 遇到的坑
摘要:/// 基本信息协议 protocol PersonInfoProtocal { /// 员工基本信息 var name: String {set get} /// 年龄 var age: String {set get} } //模型 struct PersonStruct:PersonInfoP 阅读全文
posted @ 2020-04-16 17:04 懂事长qingzZ 阅读(303) 评论(0) 推荐(0) 编辑
jiyongTeam公司在github发布的控件
摘要:https://github.com/jiyongTeam/JYCustomSegmentView https://github.com/jiyongTeam/JYFilterView 阅读全文
posted @ 2020-04-14 13:36 懂事长qingzZ 阅读(126) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示