一个适用于 iOS、tvOS 和 macOS 的 Swift Autolayout 库。
要运行示例项目,首先克隆该仓库,然后从 Example 目录运行 pod install
- iOS 12.0+
- tvOS 12.0+
- macOS 11.0+
- Xcode 14.1+
- Swift 5.7.1+
- 文件 > Swift 包 > 添加依赖项
- 添加
https://github.com/liam-i/AutoFlex.git
- 使用 "0.3.0" 选择 "至上一个次要版本"
AutoFlex 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!
target 'MyApp' do
pod 'AutoFlex', '~> 0.3.0'
end
Liam, [email protected]
AutoFlex 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。