Shark and Java on Snow Leopard

February 24th, 2010

Filed under: Mac Development | Be the first to comment!

In my research for the Shark chapter of the new edition of the Xcode book, I had a difficult time getting Shark to profile a Java program in Snow Leopard. I’m writing this post to spare others my pain. For Java profiling to work with Shark, you must link Shark with the Java virtual machine. […]


Xcode 3.2: Renaming Projects

January 27th, 2010

Filed under: Xcode | 2 comments

Xcode 3.2 added the ability to rename projects. Choose Project > Rename Project. Xcode is set to rename all files in the project that are based on the project name: project file, targets, build products (application name is an example), precompiled headers, and property lists. If you want to keep the old name for some […]


Reading Third-Party Documentation in Xcode 3.2

January 22nd, 2010

Filed under: Xcode | Be the first to comment!

Apple supplies documentation sets that let you read Mac OS X, iPhone, and developer tools documentation in Xcode. But you are not limited to reading Apple’s documentation in Xcode. This post shows you how to install and read third-party documentation in Xcode. Xcode has one requirement for third-party documentation sets. The documentation set must be […]


Xcode 3.2: New Project Assistant

January 4th, 2010

Filed under: Xcode | Be the first to comment!

Xcode 3.1 changed the way you pick a project template when creating a new project. Previous versions of Xcode had a list of all installed project templates for you to choose. Xcode 3.1 filled the left side of the New Project Assistant with project categories like Application and Framework. Selecting the category filled the top […]


Interface Builder 3.2: Outlets and Actions

September 20th, 2009

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

In previous versions of Interface Builder, you used the identity inspector to add outlets and actions to a user interface element. Interface Builder 3.2 moved this functionality to the Library. If the Library window isn’t open, choose Tools > Library to open it. Click the Classes tab in the Library window. Select a class. Use […]