Skip to content

appfigures/AFSwipeToHide

Repository files navigation

AFSwipeToHide

Version License Platform

A simple utility class to help achieve Safari's swipe-to-hide effect.

This class provides all the logic for creating the effect, but is completely decoupled from UI classes so it integrates cleanly with existing code. It can be easily used as a UIScrollViewDelegate or on its own. Check out the example project for simple usage (shown in the animation below).

Works with iOS 5.0+

AFSwipeToHide in action

Installation

AFSwipeToHide is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AFSwipeToHide"

Author

@oztune from @appFigures

License

AFSwipeToHide is available under the MIT license. See the LICENSE file for more info.