IPShortcut 0.1.0

IPShortcut 0.1.0

Brian Donohue 维护。




IPShortcut

Version License Platform

IPShortcut screenshot

关于

IPShortcut 允许您轻松地为显示在 UITableView、UICollectionView 和 UIScrollView 中的信息视图控制器添加 UIKeyCommand 快捷键。集成非常简单,只需将您的视图控制器更改为 IPShortcutTableViewController、IPShortcutCollectionViewController 或 IPShortcutScrollViewController 的子类。

在子类化后,您的视图控制器将自动具有箭头键快捷键用于导航单元格(或滚动滚动视图),空格和 shiftspace 用于向上或向下翻页,以及使用适当的委托函数打开单元格的 Enter 键。

示例项目

要运行示例项目,请克隆仓库,然后首先从示例目录运行 pod install

安装

IPShortcut 可通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中:

pod 'IPShortcut'

作者

Brian Donohue, [信箱 protected]

许可

IPShortcut遵守MIT许可。更多信息请参阅LICENSE文件。