Xcode

From Medien Wiki
Revision as of 13:44, 10 June 2011 by Max (talk | contribs)

Xcode is Apple's IDE and can be downloaded for free (Developer Account required).

Tips & Tricks

Organizing Code

  • Organizer
  • Class Browser
  • Open Quickly (cmd+shift+D)
    • extremely useful only for currently opened projects!
  • Snapshots
    • save, rollback & compare, not extremely save but convenient
  • Bookmarks (cmd+D)
  • Search Results
  • Symbols
  • View > Favorite Bar

Editor

  • alt + double-click: Quick Help
  • cmd * double-click: Jump to Definition (Header)
  • alt + click on SplitView: split editor views vertically
  • context-menu: search, jump to header, find...
  • #pragma mark SomeHeadline
    • #pragma mark -
  • // TODO

Misc

  • Refactor...
  • Find & Replace: Project & Editor scope

Hidden Preferences

  • com.apple.xcode
    • PBXCustomTemplateMacroDefinitions.ORGANIZATIONNAME
    • Use with Secrets or Terminal:$ defaults write <domain> <key> <value>



More:




Diese Seite ist Teil des Werkmoduls iOS Development von Michael Markert für Interface Design / Fakultät Medien an der Bauhaus-Universität Weimar.