会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qingzZ
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
33
···
41
下一页
2018年12月15日
swift - xcode - pod升级版本和降级版本
摘要: 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)
2018年12月14日
swift - 自定义tabbar按钮的操作
摘要: 1.自定义tabbar按钮 只能 present出来VC 或者 nav. 因为它本身 没有导航控制器, 只有在tabbar 的根导航控制器的 VC 才能push
阅读全文
posted @ 2018-12-14 15:25 懂事长qingzZ
阅读(241)
评论(0)
推荐(0)
2018年12月13日
swift - 3D 视图,截图,关键字搜索
摘要: 1.xib 上的 3D效果 按钮 2. 2. 截图 3. 关键字搜索
阅读全文
posted @ 2018-12-13 12:01 懂事长qingzZ
阅读(448)
评论(0)
推荐(0)
swift - 使用系统app导航
摘要: 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)
2018年12月12日
swift - layer - 渐变色 - CAGradientLayer
摘要: 知道控件的frame ,创建控件时候直接加上 渐变色 // 创建背景渐变色button(通用于View or Controller底部按钮),bounds计算后传入 static func createGradientButton(font: UIFont = UIFont.systemFont(o
阅读全文
posted @ 2018-12-12 15:46 懂事长qingzZ
阅读(1271)
评论(0)
推荐(0)
swift - label 的font 设置 文字字体和大小
摘要: 设置字体和颜色 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)
2018年12月11日
swift - 快速代码块 - 创建 tableview等一些控件 基本属性
摘要: 1.创建tableview 2.UICollectionView
阅读全文
posted @ 2018-12-11 14:59 懂事长qingzZ
阅读(325)
评论(0)
推荐(0)
2018年12月5日
swift 4.2 - 根据字符串 push指定控制器
摘要: 俩个方法 1. 创建类写成 类方法 类使用 2. 在当前控制器 写俩方法 方法1 方法2 3.方法使用
阅读全文
posted @ 2018-12-05 10:33 懂事长qingzZ
阅读(518)
评论(0)
推荐(0)
2018年12月3日
cocoapods 更新本地仓库 pod setup/update 无限远程中断
摘要: 升级 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)
2018年11月26日
swift - 全屏imageView的适配 - UIViewContentMode选择
摘要: 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
下一页