Xcode
Gotcha: GCC and Unused Values
Subtle typos and the problems they bring, it’s enough to drive one nuts. Let me share a recent experience that will shed some light on my most recent experience. Below is a short snippet of code that show something similar to what I was recently attempting to do. It’s nothing more than a variable definition, [...]
Xcode Code Completion Macros
In the previous post I described the basics for working with code completion in Xcode. In this post I will show how you can use built-in text macros to insert various code fragments. As an example, begin by entering ifelse into Xcode and follow this by pressing Control . (control period) and you’ll see the [...]
Xcode Code Completion
What follows is a quick review of how I use code completion in Xcode. Chances are that options and features exist beyond what I’ll cover here, so comments and suggestions are welcome. Let’s say I want to insert a CGRectMake method. I can begin by typing CG and pressing F5 or Option-esc, which will popup [...]
Testing Application Names on Home Screen
In my previous post I described how to change the application name that is shown below the icon on the iPhone home screen. Knowing how to change and test the name becomes important as you get close to submitting your application to Apple. What follows is some insight based on my recent experience naming an [...]
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 [...]
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 [...]
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 [...]
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.
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 make some [...]
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.
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 me a [...]
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 [...]
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
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 [...]
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 [...]








