另一个Swift Auto Layout DSL-Swift开发

时间:2021-05-27 06:31:17
【文件属性】:
文件名称:另一个Swift Auto Layout DSL-Swift开发
文件大小:262KB
文件格式:ZIP
更新时间:2021-05-27 06:31:17
Swift Layout FormationLayout文档FormationLayout是一个根视图的*布局类。 FormationLayout以UIView作为它的rootView。 rootView的translatesAutoresizingMaskIntoConstraints不是FormationLayout文档FormationLayout是一个根视图的*布局类。 FormationLayout以UIView作为它的rootView。 默认情况下,rootView的translatesAutoresizingMaskIntoConstraints不会设置为false,但可以在构造函数中设置。 子视图的translatesAutoresizingMaskIntoConstraints将自动设置为false。 没有superView的子视图将自动添加到rootView中。 演示{画布,FormationLayout中的图标(rootView:canvas)[icon] .center(eq
【文件预览】:
FormationLayout-master
----.gitignore(677B)
----Sources()
--------ConstraintMaker+Anchors.swift(80KB)
--------ItemConstraintMaker.swift(3KB)
--------FormationLayout.swift(3KB)
--------ConstraintMaker+Abreast.swift(3KB)
--------ConstraintCondition.swift(3KB)
--------ConstraintMaker+Helpers.swift(21KB)
--------GroupConstraintMaker.swift(2KB)
--------ConstraintMaker.swift(2KB)
--------ConstraintMaker+Pin.swift(4KB)
----Configs()
--------FormationLayout.plist(910B)
--------FormationLayoutTests.plist(733B)
----FormationLayout.podspec(510B)
----.travis.yml(274B)
----Documentation()
--------Doc.xcworkspace()
--------Images()
--------Doc.playground()
----LICENSE(1KB)
----README.md(6KB)
----Scripts()
--------anchors.swift(4KB)
--------helpers.swift(3KB)
----FormationLayout.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(20KB)
----Package.swift(80B)
----Tests()
--------FormationLayoutTests()

网友评论