CATEGORY: Mac

I have finally jumped into the bandwagon of Objective-C development with XCode, out of curiousity to develop an iPhone application. And the first thing that I usually did when playing with a new IDE or editor is to learn the shorcuts.

And thanks to Colin Wheeler for the cheat-sheet:
http://cocoasamurai.blogspot.com/2008/02/complete-xcode-keyboard-shortcut-list.html

The cheat-sheet is comprehensive, and out of those, here are of ones that I find I can’t live without.

Alt+Shift+Up      -> Switch between header and implementation files
Alt+Shift+Left    -> Switch to the previous opened file
Alt+Shift+Right   -> Switch to the next opened file

Cmd+Double Click  -> Jump to the file definition for the clicked class name
Alt+Double Click  -> Jump to documentation window for the clicked word
Shift+Cmd+D       -> Open file quickly
Shift+Cmd+C       -> Open Class Browser window

Ctrl+?            -> Open documentation window
Ctrl+Alt+?        -> Open research assitant window
Ctrl+1            -> Show opened file dropdown
Ctrl+2            -> Show methods drop down

Option+Escape     -> Edit completion list
Ctrl+Period       -> Move to next completion list
Ctrl+/            -> Select next placeholder in auto completion brackets
Cmd+/             -> Comment text

Strangely I couldn’t find the Delete Line and Duplicate Line shortcuts in XCode, miss the equivalent of ‘yy’ and ‘dd’ in vim or Ctrl+Shift+K and Ctrl+Shift+D in Textmate. Tried custom key bindings from TypeErrorStudios, but not working my MBP, let me know if it works on your end. Thanks.

I like Adium, but recently there were just too many spams from my MSN account, I tried finding the privacy settings under Preferences, only to find out later that it was not there.

The secret is it’s under Adium menu (on top left screen) > Privacy Settings (Alt + Cmd + P). Choose your MSN account, check ‘Allow only contacts on my contact list’, and it’s peaceful again.

But, I’m still wondering why can’t they just put Privacy settings under Preferences.

p.s. Trying out MarsEdit, saved me a couple of extra steps required to blog, trying to justify the reason why I only blogged like once every decade lately.