My Favourite Xcode Improvement

by Joey deVilla on February 9, 2013

Xcode 4.6 was released on January 28th, the same day that iOS 6.1 was released. It adds support for iOS 6.1 and Mac OS X 10.8, and two new devices, the iPad mini and the 4th-gen iPad with Retina display. There are also a number of improvements to the LLVM compiler and Objective-C language, including some new warnings to help find subtle bugs when using ARC and weak references.

The improvement that jumped out at me is a simple one, but one that is already saving me a lot of frustration. It used to happen when typing in the class name NSString. This problem is best explained by this classic pic from the Tumblr called Texts from Xcode:

text from xcode 1

I don’t know about you, but I use NSString waaaay more than NSStream.

With Xcode 4.6, as I started typing in NSString, here’s what happened:


Autocomplete, mirabile dictu, jumped straight for NSString!

Sometimes, it’s the little things that make the experience.

{ 3 comments… read them below or add one }

1 PHenry February 13, 2013 at 10:09 am

Your blog article was features on the Code Project daily emailer (The Code Project Insider, Daily Developer News). Kudos!

2 chris f February 13, 2013 at 4:06 pm

I found it from CodeProject too!
What makes me really cross about Xcode is that *so many* names start with NS….. it’s pretty meningless, why don’t they alias the names and give us all simpler typing and easier intellisense?

3 CSharper February 13, 2013 at 6:26 pm

@chris f: it’s from Steve Jobs’ NextStep. And because it’s from Apple. You must live with it. No complaint works. I found it’s really annoying when you must start *almost* everything with NS: String, Int, Bool…

Leave a Comment

Previous post:

Next post: