• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What are your tips for navigating the Xcode interface faster?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are your tips for navigating the Xcode interface faster?


  • Subject: Re: What are your tips for navigating the Xcode interface faster?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 20 Aug 2012 12:35:37 -0700


On Aug 19, 2012, at 5:29 PM, Alex Zavatone <email@hidden> wrote:

- Start memorizing command keys for tasks you do all the time.  

Within reason. Looking up keyboard shortcuts from memory can be slower than moving the mouse to the menu and selecting the item (this is classic UI research going back to Bruce Tognazzini's days at Apple in the 1980s. The thing is, it feels faster even though it's slower, because you don't notice the time your brain is active on the task of remembering the keystroke, where as you do notice the time spent moving the mouse.)

- Turn off all GUI animation that doesn't serve to help you do your job faster
- Kill the insipid bouncing text view of the code editor if you use a magic mouse.
defaults write -g NSScrollViewRubberbanding -bool no

I understand you have an aesthetic hatred of this feature for some reason, but it doesn't actually slow down the UI.

- Turn off automatic termination of apps just in case if I happen to close a project and click away from Xcode.
defaults write -g NSDisableAutomaticTermination -bool yes

I have never once noticed Xcode quitting just because I switched away from it. Are you sure this actually happens?

- For the code editor, learn shortcuts for keyboard selection and for moving through text and controlling the text selection and insertion point.
Insertion point to end of line ⌘ →
Insertion point to start of line ⌘ ←
Move insertion point by word ⌥ and → or ←
To extend or create a selection hold shift (⇧) while using the keys above

No offense, but these are basic universal keystrokes that have been around since the earliest Macs, and I hope everyone already knows them.

Lesser-known universal shortcuts:
Option-Delete deletes the last word
Ctrl-Delete deletes the last "syllable" of a CamelCase word (back through the last uppercase letter)
Ctrl-left/right arrow will move by "syllables" (I don't use these myself because I've mapped those keys to switch screen spaces.)

I use Use Selection For Find/Replace (Cmd-E, Cmd-Shift-E) a lot, in conjunction with Replace And Find Next. This way you can make a change once and then quickly make it over and over again without having to go through the Find UI.

- Use Description methods on classes to allow po to actually output the class's values. (Hopefully, 4.4 will make this no longer needed).

Yeah, -description is extremely useful. I make a practice to override it in most classes I write.
What do you mean about Xcode 4.4?

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What are your tips for navigating the Xcode interface faster?
      • From: Crispin Bennett <email@hidden>
    • Re: What are your tips for navigating the Xcode interface faster?
      • From: Alex Zavatone <email@hidden>
References: 
 >What are your tips for navigating the Xcode interface faster? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Adding localization on Xcode 4.4
  • Next by Date: Re: What are your tips for navigating the Xcode interface faster?
  • Previous by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Next by thread: Re: What are your tips for navigating the Xcode interface faster?
  • Index(es):
    • Date
    • Thread