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. […]
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 […]
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 […]
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 […]
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 […]
September 15th, 2009
Filed under: Xcode | Be the first to comment!
In Xcode 3.2 Apple removed all Carbon project templates as well as the Cocoa projects that used Python and Ruby. You can install Xcode 3.1 alongside 3.2 if you need the templates Apple removed. Apple doesn’t officially support Xcode 3.1 on Snow Leopard, but Xcode 3.1 can be installed and run on Snow Leopard. If […]
September 13th, 2009
Filed under: Xcode | 1 comment
In Xcode 3.2 when you choose File > New Project, there are no Java templates in the New Project Assistant. To create Java projects you must open the organizer by choosing Window > Organizer. At the bottom of the Organizer, you will see three buttons. Click the + button on the left and choose New […]
September 11th, 2009
Filed under: Xcode | Be the first to comment!
In Xcode 3.2 Apple made it easier to change the organization name so the copyright notice at the top of newly created files doesn’t say __MyCompanyName__. Choose Project > Edit Project Settings and click the General tab in the inspector. At the bottom of the inspector is a text field to enter the organization name. […]
September 9th, 2009
Filed under: Xcode | Be the first to comment!
The build transcript lets you see the details of how Xcode built your project. If you upgraded to Xcode 3.2 and looked at the build results window, you noticed the group of four buttons that let you open the build transcript was missing. How do you access the build transcript? In the build results window […]