会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qingzZ
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
38
···
41
下一页
2018年9月5日
swift VFL - 父视图是scrollview 注意点
摘要: 1. scrollview 添加 子控件, 必须设置 宽度和高度, 他自己无法撑满2. scrollview的子空间的约束 只能相对于 左边 的顶部, 无法设置右边和底部的约束 3. 设置最小距离 4.如果你SV里面封装了一个tableview或者有封装了一个View, View里面有一个SV,此时
阅读全文
posted @ 2018-09-05 09:55 懂事长qingzZ
阅读(227)
评论(0)
推荐(0)
2018年8月31日
swift UITextfield 添加点击方法 - 简单实现
摘要: 1. 真正在任何系统上都有效的方法 下面是错误方法 1. 在iOS 11 上没问题, 在iOS10 和iOS9 上 会直接可以编辑 无法跳转
阅读全文
posted @ 2018-08-31 11:25 懂事长qingzZ
阅读(541)
评论(0)
推荐(0)
swift 设置图片动画组 iOS11之前 默认图片 设置不成功
摘要: 在iOS 11 上, 1.先执行动画组 在设置图片执行帧动画,2.先设置图片在设置帧动画,执行帧动画 没有任何问题在iOS 10和iOS9上,必须 执行 方法二(先设置图片在设置帧动画,执行帧动画 ),不然执行完帧动画, 图片设置不上
阅读全文
posted @ 2018-08-31 10:20 懂事长qingzZ
阅读(205)
评论(0)
推荐(0)
2018年8月27日
iOS 管理库 Carthage 安装以及使用
摘要: https://blog.csdn.net/Mazy_ma/article/details/70185547
阅读全文
posted @ 2018-08-27 10:32 懂事长qingzZ
阅读(114)
评论(0)
推荐(0)
2018年8月23日
OC 和 swift 冒泡排序
摘要: swift 版 var numbers = [17, 28, 36, 15, 39] print("排序前\(numbers)") for i in 0..<numbers.count - 1 { for j in 0..<numbers.count - 1 - i { if numbers[j]
阅读全文
posted @ 2018-08-23 17:09 懂事长qingzZ
阅读(131)
评论(0)
推荐(0)
swift中UITextView的使用
摘要: https://blog.csdn.net/potato512/article/details/52692604
阅读全文
posted @ 2018-08-23 10:25 懂事长qingzZ
阅读(143)
评论(0)
推荐(0)
2018年8月14日
图片拉伸
摘要: 办法1 使用 self.bgView.image = UIImage.init(named: model["bgView"] ?? "")?.getTensileImage() 办法2/* * Stretch 拉伸 * Tile 平铺 */ self.bgView.image = UIImage.i
阅读全文
posted @ 2018-08-14 18:09 懂事长qingzZ
阅读(144)
评论(0)
推荐(0)
swift - 画图 - 画矩形,虚线,圆和半圆
摘要: import UIKit class JYJYBouncedCouponsViewCellBgView: UIView { //一定要在这里设置 背景色, 不要再draw里面设置, override init(frame: CGRect) { super.init(frame: frame) self.backgroun...
阅读全文
posted @ 2018-08-14 13:55 懂事长qingzZ
阅读(2649)
评论(0)
推荐(0)
2018年8月13日
label文字从左上角开始
摘要: import UIKit class TextUpperLeftLabel: UILabel { override func textRect(forBounds bounds: CGRect, limitedToNumberOfLines numberOfLines: Int) -> CGRect { var textRect = super.textRec...
阅读全文
posted @ 2018-08-13 13:28 懂事长qingzZ
阅读(490)
评论(0)
推荐(0)
2018年8月3日
2017最新总结CocoaPods安装细节及遇到的问题
摘要: https://www.jianshu.com/p/1dea9987c647
阅读全文
posted @ 2018-08-03 13:03 懂事长qingzZ
阅读(103)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
41
下一页