Voices That Matter

Xcode

iPhone Developer Tips Stats:
Past 30 days - Pageviews: 88,424 Visitors: 61,675
Thank you everyone! Let's shoot for 100,000 by May. Pass it on...



Changing Application Name on Home Screen

By default, the name of the application shown on the iPhone Home screen (below the icon) is the same as the project name. This will suffice in many cases, however, chances are the day will come when you’ll need to specify a different application name.
Changing the name is as simple as updating the Bundle Display [...]

Xcode

Xcode Expert Preference Settings

Beyond the settings you can access from the Preferences menu of Xcode, there are a number of configurable options that can be set using the defaults command from a terminal window.
Two of the settings that I have configured are to beep when a left bracket ( ] ) is entered without a matching right bracket, [...]

Xcode

Change Company Name in Xcode

Although covered many other places on the net, I recently had to make a change to the name that Xcode automagically inserts when creating new files, so I figured I’d also pass on this tip to readers of this blog as well.
By default, Xcode inserts a company name something similar to the following in all [...]

Xcode

Xcode Keyboard Shortcuts

I’ve always been one to prefer the keyboard over the mouse. It’s fair to say that moving from a command line environment to a GUI was not a quick or painless process.

Xcode

How to “fix” Subversion in XCode 3

If you don’t take the necessary steps to prepare for subversion, you will run into problems using it in XCode. This is because XCode produces files that “confuse” Subversion because it either thinks they are text files when they are really binary files or the reverse. To overcome these limitations, you need to [...]

Xcode

Xcode FIXME and TODO

In a previous post I introduced how to use #pragma mark to help navigate source files within Xcode. There are several additional tags that can be used within a source file to call out specific code or content.

Xcode

Real Men Don’t Use Interface Builder

When I start to learn a new development platform I prefer, at least in the beginning, not to develop behind a RAD tool like InterfaceBuilder. I like to understand how things work before I look to a tool to do the work for me. Doing things “by hand” (at least initially) often gives [...]

Xcode

How to Uninstall Xcode

A friend in San Francisco, Rodney Aiglstorfer, was recently jumping through hoops to get Xcode to cooperate with his iPhone. There’s nothing more aggravating than having your application running within the simulator and getting stuck downloading to a device.
At one point in the process he opted to remove the Xcode developer tools and start the [...]

Xcode

Xcode and #pragma mark

I’ve started using #pragma mark directives in my code to help with organization as my implementation files grow. #pragma mark is simple to use, for example, insert the following to call out initialization code:

1
2
#pragma mark -
#pragma mark Initialization

Xcode

Set Xcode Project Window Defaults

Another Xcode tip based on information in the book Xcode 3 Unleashed. Read more about the book in my three part review.
Whenever you start a new project in Xcode, there is a default window size, position and layout set by Xcode. More often than not, you’ll want to change the defaults to suite your preferences. [...]

Xcode

Xcode Debugging: Going Back in Time

This tip is based on information in the book Xcode 3 Unleashed. I just completed a three part review the book, which you can read here.
When inside a debugger and stepping through code, line be line, have you ever wanted to move to the top of a loop and restart, including resetting counters, without having [...]

Xcode

Linking Error: Symbol Not Found

In building a recent project I encountered an error during the linking process. I want to point out the error message and show you how this simple error can be resolved. The reason for pointing out this error is that I have no idea why this error came about…more on that in a moment.
Start by [...]

Xcode

Linking Error: CGRectZero and CGRectOffset

I want to share another debugging tip, this something that applies to the final step of building an iPhone project, linking.
I was able to successfully compile a project that I’ve been working on, however, the build process generated an error that two symbols could not be found, CGRectZero and CGRectOffset.
The figure below shows the specific [...]

Xcode

Error: syntax error before ‘AT_NAME’ token

I recently ran into this error message within Xcode while writing an iPhone application. I was surprised how long it took to track this down. One of the reasons this is tricky is that message implies that the error occurred in the file referenced in the error message.
For example, in my case, I was looking [...]

Xcode

TextMate and Xcode

I’ve been spending time getting familiar with Xcode as I learn to write applications in Objective-C, with the larger goal of writing applications for iPhone. My editor of choice on the Mac up to this point, is TextMate, an great all around code editor. I’ve written a number of tutorials/tips on TextMate on my Mac [...]

Xcode