I’ve mentioned a number of Xcode plugins to help with getting the most of the Xcode IDE.
Here’s an interesting tutorial from Luis Solano on creating advanced custom Xcode shortcuts.
Keep in mind I’m not talking about simply custom keybindings in Xcode, but rather custom shortcuts that can involve a number of Xcode actions.
In the tutorial Luis shows how to set up the shortcuts by modifying the Xcode plist file for deleting and duplicating the current line, and inserting lines above and below the current line.
You can find the tutorial on Luis’ blog.
Luis was able to figure out the different selectors you can use to create Xcode shortcuts through a class dump of the Xcode internals, and mentions these two files as being particularly useful in finding selectors useful in shortcuts: DVTTIleView.h, and HFTextRepresenter.h.
A nice guide on performing some useful Xcode hackery.
Original article: Tutorial: Making Advanced Custom Shortcuts In Xcode
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.