SCategoryKit
Requirements
Content
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;
Installation
CocoaPods
SCategoryKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SCategoryKit'
Carthage
Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.
To install with carthage, follow the instruction on Carthage
Cartfile
github "Cyrex/SCategoryKit"
Manual Installation
Copy and add all of the files in the SCategoryKit
directory (and its subdirectories) into your project.
Author
Cyrex, szwathub@gmail.com
License
SCategoryKit is available under the MIT license. See the LICENSE file for more info.