摘要:
第一种, addchild ,但是 电池兰操控不了 1.创建一个 普通的viewController ,添加需要push的 UITabBarController /// 添加TabController的控制器 class JYJokerThroughRootController: JYBaseVie
阅读全文
posted @ 2020-06-30 17:00
懂事长qingzZ
阅读(506)
推荐(0)
摘要:
var shopParama = shopInfo.getRegisterParams() //合并两个字典 shopParama.merge(parama1) { (shopParamaKeyValue, parama1) -> Any in return shopParamaKeyValue }
阅读全文
posted @ 2020-06-28 10:10
懂事长qingzZ
阅读(3282)
推荐(0)
摘要:
1.修改delete的 encoding var encode: ParameterEncoding = URLEncoding.default if method == .get || method == .delete{ encode = URLEncoding.default }else{ e
阅读全文
posted @ 2020-06-02 10:02
懂事长qingzZ
阅读(254)
推荐(0)
摘要:
swift 后台给的字符串相加 使用Double 转换 使用Int转换不出来,
阅读全文
posted @ 2020-05-28 14:29
懂事长qingzZ
阅读(293)
推荐(0)
摘要:
timeLabel.text = (Double(sectionData.receiptTime) ?? 0).jy.dateString(format: "aaa HH:mm") /// 将时间戳转化成对应格式字符串 /// /// - Parameter formatterStr: 格式 ///
阅读全文
posted @ 2020-05-19 14:50
懂事长qingzZ
阅读(772)
推荐(0)
摘要:
1.设置高度为0 tv.sectionFooterHeight = 0 2 代理footview 返回 nil func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { ret
阅读全文
posted @ 2020-04-29 09:46
懂事长qingzZ
阅读(777)
推荐(0)
摘要:
/// 自定义通知枚举类型 enum JYNotification: String { ///刷新员工列表 case refreshStaffList var stringValue: String { return "JY" + rawValue } /// 通知名称 var notificati
阅读全文
posted @ 2020-04-23 10:14
懂事长qingzZ
阅读(544)
推荐(0)
摘要:
/**侧滑删除实现的三个方法: * canEditRowAt :设为true 才能侧滑或其他操作 * editActionsForRowAt (11之前侧滑删除) * trailingSwipeActionsConfigurationForRowAt (11之后的侧滑删除) */ //canEdit
阅读全文
posted @ 2020-04-20 17:15
懂事长qingzZ
阅读(1581)
推荐(0)
摘要:
/// 基本信息协议 protocol PersonInfoProtocal { /// 员工基本信息 var name: String {set get} /// 年龄 var age: String {set get} } //模型 struct PersonStruct:PersonInfoP
阅读全文
posted @ 2020-04-16 17:04
懂事长qingzZ
阅读(313)
推荐(0)
摘要:
https://github.com/jiyongTeam/JYCustomSegmentView https://github.com/jiyongTeam/JYFilterView
阅读全文
posted @ 2020-04-14 13:36
懂事长qingzZ
阅读(134)
推荐(0)