Xcode

From Medien Wiki

Xcode is Apple's Programming IDE:

  • Xcode 3 can be downloaded for free (free Developer Account required)
  • Xcode 4 comes for free with a paid Developer Account - or can be downloaded for 5 US$ at the Mac App Store

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.