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.
To run the example project, clone the repo, and run
pod install from the Example directory first.
IPShortcut is available through CocoaPods. To install it, simply add the following line to your Podfile:
Brian Donohue, [email protected]
IPShortcut is available under the MIT license. See the LICENSE file for more info.