Xcode 5: Quick Look Variable Viewing

March 13th, 2014

Filed under: Xcode | Be the first to comment!

I missed a new feature in Xcode 5’s debugger: Quick Look support to display variables. To Quick Look a variable, select the variable and click the Quick Look button at the bottom of the variables view. The Quick Look button looks like an eye. Keith Harrison writes more about Xcode’s Quick Look support, including adding […]


Instruments: Heap Allocations and Anonymous VM

January 6th, 2014

Filed under: Instruments | 4 comments

One change to the Allocations instrument in Instruments 5, which comes with Xcode 5, is that the allocation summary lists the heap allocations and the amount of anonymous VM, which you can see in the following screenshot: Should you focus on the Live Bytes column for heap allocations or anonymous VM? Focus on the heap […]


Xcode 5: New Derived Data Options

December 2nd, 2013

Filed under: Xcode | Be the first to comment!

Xcode 5 provides additional ways for you to customize where Xcode places its derived data, such as the application you’re building. If you go to Xcode’s Locations preferences and click the Advanced button below the Derived Data text field, a sheet similar to the following should open: The new options are Unique, Shared Folder, and […]


Xcode 5: Showing More Text in the Issue Navigator

November 20th, 2013

Filed under: Xcode | Be the first to comment!

Xcode 5 lets you control how many of lines of text appear in the issue navigator for errors, warnings, and static analyzer issues. Go to Xcode’s General preferences and use the Issue Navigator Detail menu to choose how many lines of text to show. Xcode can show 1-10 lines of text for each issue in […]


Xcode 5: Modules

October 28th, 2013

Filed under: Xcode | Be the first to comment!

A new compiler feature in Xcode 5 is modules. Modules simplify importing header files and linking frameworks. They also can build your project faster, working similarly to precompiled headers.  Prerequisites To use modules you must be using either the Mac OS X 10.9 SDK or the iOS 7 SDK. Modules do not work with earlier […]


Xcode 5: Auto Layout Buttons

October 15th, 2013

Filed under: Interface Builder, Xcode | Be the first to comment!

If you open a xib file or storyboard in Xcode 5, you should see the following set of buttons at the bottom of the canvas: These buttons allow you to perform common auto layout tasks. The buttons running from left to right are the following: Align Pin Resolve Auto Layout Issues Resizing Behavior If you […]


Xcode 5: Organizer Changes

October 14th, 2013

Filed under: Xcode | Be the first to comment!

Apple did not make a lot of changes to the Organizer in Xcode 5, but you can read about them here. No Repositories and Documentation Sections There are no Repositories and Documentation buttons at the top of the Organizer. More information on accessing repositories and documentation in Xcode 5 can be found in the following […]


Xcode 5: Showing Quick Help Documentation for Your Code

October 10th, 2013

Filed under: Xcode | Be the first to comment!

Normally I don’t link to other blogs, but the following post shows how to get Xcode to show Quick Help documentation for the properties and methods you write, covering almost everything I would have covered in an original post: Documentation in Xcode 5 Generating documentation for properties is especially simple. Add an extra slash to […]


Xcode 5: New File Templates

October 9th, 2013

Filed under: Xcode | Be the first to comment!

Xcode 5 adds two new file templates to the Resources group under both iOS and Mac OS X. They are an asset catalog and a SpriteKit particle file. An asset catalog packages your project’s assets (examples are application icons, document icons, and launch images) in one place. Asset catalogs make it easier to support both […]


Xcode 5: Blame for Line

October 8th, 2013

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 5 adds a new blame for line feature that lets you see who changed a line of code without having to switch to the version editor. Click on a line of code in the standard editor or one of the editors in the assistant editor. Right-click and choose Show Blame for Line. A popover […]