SCategoryKit
要求
内容
UIKit
UIPageViewController
UIPageViewController+SGestureConflict
/// Handle gesture conflicts between pageviewcontroller's pan gesture and other gesture, /// especially for screen edge pan gestureRecognizer in navigationController. /// @param recognizer a gestureRecognizer, default is navigationController's pop gestureRecognizer. - (void)s_requireGestureRecognizerToFail:(UIGestureRecognizer *)recognizer;
安装
CocoaPods
SCategoryKit 通过 CocoaPods 提供使用。要安装它,只需向您的 Podfile 中添加以下行
pod 'SCategoryKit'
Carthage
Carthage 是用于 Swift 和 Objective-C 的轻量级依赖项管理器。它利用 CocoaTouch 模块,相比 CocoaPods 接入更少。
要使用 Carthage 安装,请按照 Carthage 上的说明操作。
Cartfile
github "Cyrex/SCategoryKit"
手动安装
将 SCategoryKit
目录(及其子目录)中的所有文件复制并添加到您的项目中。
作者
Cyrex,[email protected]
许可证
SCategoryKit 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。