IPShortcut
About
IPShortcut lets you easily add UIKeyCommand shortcuts for view controllers displaying information in UITableView, UICollectionView, and UIScrollView. Integration is really straightforward, just make your view controller a subclass of IPShortcutTableViewController, IPShortcutCollectionViewController, or IPShortcutScrollViewController.
After subclassing, your view controller will automatically have arrow key shortcuts to navigate cells (or scroll a scrollview), space and shiftspace to page up or down, and enter to open a cell using the appropriate delegate function.
Example Project
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
IPShortcut is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'IPShortcut'
Author
Brian Donohue, [email protected]
License
IPShortcut is available under the MIT license. See the LICENSE file for more info.