BottomSheetViewController
需求
iOS 10 或更高版本
安装
CocoaPods
Podfile
pod 'BottomSheetViewController'
运行 pod install
。
Carthage
Cartfile
github "Nandalu/BottomSheetViewController"
遵循 Carthage 上的说明。
Git Submodule
作为子模块添加并克隆。
git submodule add https://github.com/Nandalu/BottomSheetViewController
然后按照以下步骤手动添加到您的项目中
手动
项目依赖
- 将
BottomSheetViewController.xcodeproj
拖动到您的项目中。 - 项目设置 - 目标 - 一般 - 集成可执行文件:添加
BottomSheetViewController.frameworkiOS
源代码
也可以直接将 BottomSheetViewController.swift
拖动到您的项目中。
许可
BottomSheetViewController.swift
采用 MPLv2 许可。这意味着,不要直接将您的应用逻辑注入到其中。使用它提供的属性和方法委托。我们相信这将导致更好的应用架构和框架开发。
查看示例项目,该项目采用 MIT 许可。