文件名称:CATLayout:具有链接模式的 Objective-C 自动布局约束生成器
文件大小:19KB
文件格式:ZIP
更新时间:2024-07-13 16:48:49
Objective-C
CATLayout 具有链接模式的 Objective-C 自动布局约束生成器 为什么我们需要约束生成器? 只是因为我们永远不会喜欢下面的代码: [NSLayoutConstraint constraintWithItem:fromItem attribute:fromAttribute relatedBy:relation toItem:toItem attribute:toAttribute multiplier:multiplier constant:constant] 生成器和语法 1. CATLayout来自-[UIView cat_layout] syntax: <#from attribute#>.<#relation#>.<#multiplier#>.<#
【文件预览】:
CATLayout-master
----Demo()
--------ViewController.m(11KB)
--------Info.plist(1KB)
--------main.m(320B)
--------Base.lproj()
--------Images.xcassets()
--------ViewController.h(201B)
--------AppDelegate.h(263B)
--------AppDelegate.m(179B)
----CATLayout.podspec(1KB)
----CATLayout()
--------UIView+CATLayout.m(16KB)
--------UIView+CATLayout.h(12KB)
----LICENSE(1KB)
----README.md(2KB)
----DemoTests()
--------Info.plist(746B)
--------DemoTests.m(836B)
----.gitignore(762B)
----CATLayout.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(16KB)