摘要:
参考: iOS组件化开发从开始到完整总结 https://blog.csdn.net/tfy_2425482491/article/details/101029316 [iOS] 组件化之一:MGJRouter的简单实用 https://blog.csdn.net/sz_vcp2007/articl
阅读全文
posted @ 2023-09-22 12:25
懂事长qingzZ
阅读(41)
推荐(0)
摘要:
1.同分区第一行cell 和最后一行cell 会切圆角,10, 改不了半径 UITableViewStyleInsetGrouped if (@available(iOS 13.0, *)) { _tableView = [[UITableView alloc] initWithFrame:CGRe
阅读全文
posted @ 2023-09-21 15:57
懂事长qingzZ
阅读(930)
推荐(0)
摘要:
设置高度 ,上下一样效果 make.height.equalTo(@46); make.height.mas_equalTo(46);
阅读全文
posted @ 2023-09-21 14:00
懂事长qingzZ
阅读(23)
推荐(0)
摘要:
QLPreviewController来预览文件 https://www.cnblogs.com/jiangshiyong/p/2821357.html 如何读取iOS共享目录的文件 https://blog.csdn.net/yu_tian_jian/article/details/7627007
阅读全文
posted @ 2023-09-08 19:58
懂事长qingzZ
阅读(111)
推荐(0)
摘要:
let time = TimeInterval(asset.duration.seconds) if (time.isNaN || time.isInfinite){ print("无效文件 time.recordDuration.isNaN || time.recordDuration.isInf
阅读全文
posted @ 2023-09-04 16:21
懂事长qingzZ
阅读(136)
推荐(0)
摘要:
https://www.jianshu.com/p/4e7575e977fb?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
阅读全文
posted @ 2023-09-04 16:19
懂事长qingzZ
阅读(14)
推荐(0)
摘要:
Swift - 高阶函数介绍(map、flatMap、filter、reduce、zip) map 在 Swift 中,map 是一个高阶函数,它通常用于对集合中的每个元素进行转换操作,并返回一个新的集合。map 函数可以应用于数组、字典、集合等类型。 基本语法 对于 数组(Array) 来说,ma
阅读全文
posted @ 2023-08-29 11:45
懂事长qingzZ
阅读(74)
推荐(0)
摘要:
var tempArr : [ SettleTrialMoreAlertModel ] = [] arr.forEach { model in var alertModel = SettleTrialMoreAlertModel() alertModel.showStr = model.caseNu
阅读全文
posted @ 2023-08-14 17:41
懂事长qingzZ
阅读(32)
推荐(0)
摘要:
//去掉上下阴影下划线 searchBar.layer.borderWidth = 1 searchBar.layer.borderColor = UIColor.white.cgColor
阅读全文
posted @ 2023-08-14 17:36
懂事长qingzZ
阅读(68)
推荐(0)
摘要:
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
阅读(145)
推荐(0)