Commando 0.1.2

Commando 0.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2019

Maintained by Jonas Budelmann.



Commando 0.1.2

  • By
  • Jonas Budelmann

l33t commandos don't wear undies and never use the mouse!

Demo

Features

esc key

  • Commando roll out of UITextFields/UITextViews
  • Commando roll out of UIAlertviews
  • Commando roll out of UIActionSheets

f key

  • Be a f'ng ninja. Find all tapable fields on screen - badass vimium style

delete key

  • Pop a cap in UINavigationController (trigger back button item)

arrow keys

  • Real commandos use crossbows. Scroll the 'default' (largest frame) UIScrollView

Installation

Use the wonderful CocoaPods.

In your Podfile

pod 'Commando'

You don't need to do anything else because Commando will be listening for keyboard events on the simulator. Also you don't need to worry about this code shipping in your production app, because none of it is compiled on device builds.

TODO

  • Improve heuristic for finding tapable views. ie filter out views that are obscured, userInteractionDisabled etc.
  • Add view debugging commands ala DCIntrospect
  • Select specific UIScrollView to scroll
  • Tab between tapable UIViews ordered by view frame, then hit enter key to tap,
  • UIPanGestureRecognizer, UISwipeGestureRecognizer support
  • UIWebView support

Credits