Easily setup shortcuts for tables and collections for iPad Smart Keyboards.
Clone or download
Latest commit 6106597 Dec 6, 2018

README.md

IPShortcut

Version License Platform

IPShortcut screenshot

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, brian@team.instapaper.com

License

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