上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页
摘要: 1. 查看当前版本 pod --version 2.如果安装过pod,更新命令 新版 sudo gem install -n /usr/local/bin cocoapods --pre 旧版 sudo gem install cocoapods --pre 然后 pod --version 3.如 阅读全文
posted @ 2018-12-15 15:50 懂事长qingzZ 阅读(651) 评论(0) 推荐(0)
摘要: 1.自定义tabbar按钮 只能 present出来VC 或者 nav. 因为它本身 没有导航控制器, 只有在tabbar 的根导航控制器的 VC 才能push 阅读全文
posted @ 2018-12-14 15:25 懂事长qingzZ 阅读(241) 评论(0) 推荐(0)
摘要: 1.xib 上的 3D效果 按钮 2. 2. 截图 3. 关键字搜索 阅读全文
posted @ 2018-12-13 12:01 懂事长qingzZ 阅读(448) 评论(0) 推荐(0)
摘要: import UIKit //1.导入框架 import MapKit class ViewController: UIViewController { lazy var geoCoder : CLGeocoder = { return CLGeocoder() }() override func touchesBegan(_ touches... 阅读全文
posted @ 2018-12-13 11:04 懂事长qingzZ 阅读(265) 评论(0) 推荐(0)
摘要: 知道控件的frame ,创建控件时候直接加上 渐变色 // 创建背景渐变色button(通用于View or Controller底部按钮),bounds计算后传入 static func createGradientButton(font: UIFont = UIFont.systemFont(o 阅读全文
posted @ 2018-12-12 15:46 懂事长qingzZ 阅读(1271) 评论(0) 推荐(0)
摘要: 设置字体和颜色 lab.textColor = UIColor.init(hexColor: "795928") lab.font = UIFont.systemFont(ofSize: 32, weight: UIFont.Weight.black) 设置html 导图颜色 extension U 阅读全文
posted @ 2018-12-12 11:53 懂事长qingzZ 阅读(675) 评论(0) 推荐(0)
摘要: 1.创建tableview 2.UICollectionView 阅读全文
posted @ 2018-12-11 14:59 懂事长qingzZ 阅读(325) 评论(0) 推荐(0)
摘要: 俩个方法 1. 创建类写成 类方法 类使用 2. 在当前控制器 写俩方法 方法1 方法2 3.方法使用 阅读全文
posted @ 2018-12-05 10:33 懂事长qingzZ 阅读(518) 评论(0) 推荐(0)
摘要: 升级 cocoapods 无限远程中断:网络不好 试了很多解决方法: 1.替换源,2.设置下载速度,3.清空本地master仓库,4.删了本地的pod库,5.半夜3-5点更新,6.按照失败提示的 (pod repo update --verbose), 7.设置代理然后取消代理, 8. 我联通手机然 阅读全文
posted @ 2018-12-03 09:29 懂事长qingzZ 阅读(635) 评论(0) 推荐(0)
摘要: 1. 2. 3.UIViewContentMode的各种现实方式https://blog.csdn.net/sgliquangang/article/details/52723953 阅读全文
posted @ 2018-11-26 16:30 懂事长qingzZ 阅读(231) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页