目录
#AAExpandableView
##描述
AAExpandableView是用Swift 4.2编写的易于使用的可展开视图。
##演示
要运行示例项目,首先克隆仓库,然后从示例目录中运行pod install
。
##要求
- iOS 10.0+
- Xcode 8.0+
- Swift 4.2+
安装
您可以使用CocoaPods、Carthage或手动方式安装AAExpandableView
。
##CocoaPods
您可以通过CocoaPods获取AAExpandableView
。要安装CocoaPods,请运行
$ gem install cocoapods
然后创建一个包含以下内容的Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target '<Your Target Name>' do
pod 'AAExpandableView'
end
最后,运行以下命令进行安装
$ pod install
##Carthage
要安装Carthage,请运行(使用Homebrew)
$ brew update
$ brew install carthage
然后在Cartfile中添加以下行
github "EngrAhsanAli/AAExpandableView" "master"
然后导入库 在所有使用它的文件中导入库
import AAExpandableView