随笔 - 399,  文章 - 0,  评论 - 7,  阅读 - 21万
07 2020 档案
swift UIAlertController UIAlertAction设置 font,color
摘要:let alert = UIAlertController(title: "", message: "", preferredStyle: UIAlertController.Style.alert) ///标题颜色/字体 let titleAtt = NSMutableAttributedStri 阅读全文
posted @ 2020-07-28 14:34 懂事长qingzZ 阅读(1314) 评论(0) 推荐(0) 编辑
swift uibutton 图片在右, 文字在左
摘要:btn.semanticContentAttribute = .forceRightToLeft 查了下资料 semanticContentAttribute 是反转 ,即描述视图的内容,用来确定视图之间切换时应翻转从左到右和从右到左的布局 最低支持到9.0 参考链接:https://www.jia 阅读全文
posted @ 2020-07-27 10:40 懂事长qingzZ 阅读(967) 评论(0) 推荐(0) 编辑
Swift数组的sort、filter、forEach、map等方法,$的使用
摘要:https://blog.csdn.net/qq_25639809/article/details/85004258 阅读全文
posted @ 2020-07-16 10:05 懂事长qingzZ 阅读(255) 评论(0) 推荐(0) 编辑
Swift UIStatusBarStyle 设置
摘要:参考: https://www.jianshu.com/p/e57715cf2f8a 一. 设置全局控制器状态栏样式 1.取消控制器管理状态栏样式,在Supporting Files下的Info.plist添加一个属性设置 value: NO``` ![image.png](http://uploa 阅读全文
posted @ 2020-07-09 09:15 懂事长qingzZ 阅读(371) 评论(0) 推荐(0) 编辑
Mac 退出终端编辑
摘要:Mac 终端退出编辑 ctrl + c shift + : 阅读全文
posted @ 2020-07-01 18:36 懂事长qingzZ 阅读(720) 评论(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
点击右上角即可分享
微信分享提示