随笔 - 399,  文章 - 0,  评论 - 7,  阅读 - 21万
08 2023 档案
Swift - 高阶函数介绍(map、flatMap、filter、reduce、 zip)
摘要:Swift - 高阶函数介绍(map、flatMap、filter、reduce、zip) map 在 Swift 中,map 是一个高阶函数,它通常用于对集合中的每个元素进行转换操作,并返回一个新的集合。map 函数可以应用于数组、字典、集合等类型。 基本语法 对于 数组(Array) 来说,ma 阅读全文
posted @ 2023-08-29 11:45 懂事长qingzZ 阅读(19) 评论(0) 推荐(0) 编辑
模糊查询单选多选框
摘要:var tempArr : [ SettleTrialMoreAlertModel ] = [] arr.forEach { model in var alertModel = SettleTrialMoreAlertModel() alertModel.showStr = model.caseNu 阅读全文
posted @ 2023-08-14 17:41 懂事长qingzZ 阅读(29) 评论(0) 推荐(0) 编辑
UISearchBar去掉上下阴影下划线
摘要://去掉上下阴影下划线 searchBar.layer.borderWidth = 1 searchBar.layer.borderColor = UIColor.white.cgColor 阅读全文
posted @ 2023-08-14 17:36 懂事长qingzZ 阅读(55) 评论(0) 推荐(0) 编辑
swift 按钮设置图片 颜色
摘要:actionBtn.setTitleColor(UIColor.gray, for: UIControl.State.normal) actionBtn.tintColor = UIColor.gray actionBtn.setImage(UIImage.init(named: "report") 阅读全文
posted @ 2023-08-05 14:00 懂事长qingzZ 阅读(135) 评论(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
点击右上角即可分享
微信分享提示