Xcode 4.5 Changes

September 20th, 2012

Filed under: Xcode | Be the first to comment!

Xcode 4.5 is now available at the Mac App Store. This post provides a brief explanation of the changes I noticed in Xcode 4.5 that affect the material in the book. Most of the changes in Xcode 4.5 apply to iOS projects. Auto Layout Xcode 4.5 adds support for auto layout to iOS applications. New […]


Xcode 4: Changing a Project’s Class Prefix

September 13th, 2012

Filed under: Xcode | Be the first to comment!

When you create a Cocoa or iOS application project, the New Project Assistant has a Class Prefix text field that lets you assign a prefix to class files you create. An example of a prefix is the NS prefix in Cocoa classes. But there are situations where you may need to change the prefix. You […]


Xcode 4.4: Editing 3D Scenes

September 6th, 2012

Filed under: Xcode | Be the first to comment!

One of the new features in Xcode 4.4 involves viewing and editing 3D scenes in Xcode. This feature didn’t fit into any of the book’s chapters so I’m providing an introduction to Xcode’s scene editor here. You must be running Mac OS X 10.8 or later to edit scenes. Mac OS X 10.7 users can […]


Xcode 4: Generating Code Coverage Files with LLVM

August 24th, 2012

Filed under: Xcode | Be the first to comment!

With Apple transitioning from GCC to LLVM, one thing that was lost was support for code coverage, which measures how much of your code executed when running. But I discovered in a thread on Apple paid developer forums that LLVM now has code coverage support. Setting up Xcode to generate code coverage files is easier […]


Xcode 4.4 Changes

July 30th, 2012

Filed under: Xcode | Be the first to comment!

Xcode 4.4 is now out for Mac OS X 10.7 and 10.8. It’s going to take some time for me to update the Xcode book for Xcode 4.4 so I’m writing this post.¬†This post provides a brief explanation of the changes I noticed in Xcode 4.4 that affect the material in the book. You can […]


Xcode 4 and Snow Leopard

May 31st, 2012

Filed under: Xcode | Be the first to comment!

I have seen many questions from people on various forums who want to use Xcode 4 on Snow Leopard but can’t find it. To download Xcode 4 on Snow Leopard, you must be a member of one of Apple’s paid (iOS or Mac) developer programs. If you have a paid developer membership, you can download […]


Setting Up OCUnit Unit Testing in Xcode 4

May 15th, 2012

Filed under: Xcode | 1 comment

Xcode ships with OCUnit, which allows you to unit test Objective-C code. This post shows you how to setup Xcode 4 so you can unit test Cocoa and iOS applications. Create an Appropriate Project The easiest way to add unit testing support in Xcode 4 is to create a project that uses the Cocoa or […]


Downloading Xcode Without Using the Mac App Store

May 11th, 2012

Filed under: Xcode | 11 comments

I have read many posts on Apple’s free developer forums from people having problems downloading and installing Xcode from the App Store. If you are having similar problems, there is an alternative to using the App Store. You can download Xcode from the following URL: https://developer.apple.com/download You can also use this URL to download older […]


Xcode 4: Opening the Welcome Window

April 5th, 2012

Filed under: Xcode | 2 comments

When you launch Xcode, the default behavior is to open a welcome window. The following screenshot shows a cropped version of the welcome window: You can tell Xcode not to open the welcome window by deselecting the checkbox at the bottom of the welcome window. Suppose you deselect the checkbox and decide later you want […]


Xcode 4.3 Changes

February 17th, 2012

Filed under: Xcode | Be the first to comment!

Apple recently released Xcode 4.3. I did not notice many changes in Xcode 4.3, not enough for me to update¬†Xcode Tools Sensei. This post details what changed in Xcode 4.3. The Xcode Tools Are Packaged in a Single Application The biggest change in Xcode 4.3 is how Xcode is installed and packaged. Previous versions of […]