没有合适的资源?快使用搜索试试~ 我知道了~
SwiftAutoLayout
共11个文件
plist:3个
swift:2个
pbxproj:1个
需积分: 9 0 下载量 135 浏览量
2021-06-16
05:38:54
上传
评论
收藏 12KB ZIP 举报
温馨提示
Swift 自动布局 SwiftAutoLayout 是一个 UIView 扩展,可以轻松创建自动布局约束。 自动布局是一个强大的工具,但它通常非常冗长。 这个扩展试图通过一些方便的方法来简化自动布局的一些常见用法。 初始化 有一个工厂方法可以创建一个UIView其中setTranslatesAutoresizingMaskIntoConstraints已经设置为false 。 let myView = UIView.newAutoLayoutView() 定心 使用 SwiftAutolayout 可以轻松地将视图居中放置在其父视图中。 myView.centerInSuperview() 针边 使用 SwiftAutolayout 可以轻松地将视图边缘固定到其超级视图。 myView.pinEdgesToSuperview() myView.pinEdgesToSuper
资源推荐
资源详情
资源评论
收起资源包目录
SwiftAutoLayout-master.zip (11个子文件)
SwiftAutoLayout-master
SwiftAutoLayoutTests
Info.plist 768B
SwiftAutoLayoutTests.swift 927B
LICENSE 1KB
SwiftAutoLayout
SwiftAutoLayout.h 542B
SwiftAutoLayout.swift 6KB
Info.plist 841B
SwiftAutoLayout.xcodeproj
project.pbxproj 15KB
xcuserdata
luca.xcuserdatad
xcschemes
xcschememanagement.plist 589B
xcshareddata
xcschemes
SwiftAutoLayout.xcscheme 4KB
.gitignore 225B
README.md 3KB
共 11 条
- 1
资源评论
Compass宁
- 粉丝: 30
- 资源: 4643
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功