Boot Mac OS X from External Drive

by john on October 15, 2008

Although a tad bit off topic, it’s Mac related none-the-less. I am in the midst of backing up my MacBook Pro to a remote drive as I’ll be buying one of the new machines recently announced by Apple. As part (…)

Read the rest of this entry »

JSON Framework

by john on October 13, 2008

If you’ve found a need to work with JSON (including with the iPhone), I want to point you to an excellent Google code project: http://code.google.com/p/json-framework/. The author of this framework can be found here. This framework implements a strict JSON (…)

Read the rest of this entry »

iPhone Mockups with Photoshop

by john on October 6, 2008

Geoff Teehan at teehan+lax sent me a link to a Photoshop PSD file they created to help quickly create mockups of iPhone applications. If you’ve spent any amount of time scrambling to create a prototype, you’ll greatly appreciate how much (…)

Read the rest of this entry »

How to Uninstall Xcode

by john on October 3, 2008

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 (…)

Read the rest of this entry »

Xcode and #pragma mark

by john on September 30, 2008

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: #pragma mark – #pragma mark Initialization

Cocoa Programming – Part III

by john on September 29, 2008

This is the third and final post in a series reviewing the book Cocoa Programming, by Aaron Hillegass. Here are links to the first and second parts of this review. In this post I’ll review a few highlights of the (…)

Read the rest of this entry »

Cocoa Programming – Part II

by john on September 26, 2008

This post is the second in a series reviewing the book Cocoa Programming, by Aaron Hillegass. This part of the review is dedicated to a closer look at the code examples. Starting from Chapter 2, the book dives into building (…)

Read the rest of this entry »

Cocoa Programming – Part I

by john on September 23, 2008

This post is the first in a series reviewing the book Cocoa Programming, by Aaron Hillegass. Let me begin by saying, Aaron’s know the topic of Cocoa programming. As a previous employee of NeXT which merged with Apple, Aaron has (…)

Read the rest of this entry »

Xcode Debugging: Reset Current Line

by john on September 15, 2008

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 (…)

Read the rest of this entry »

Minnesota CocoaHeads Recap

by john on September 12, 2008

The Minnesota CocoaHeads met tonight and it was an interesting spin on development for the Mac. Troy Gaul did a presentation on Adobe Lightroom, from the perspective of the development tools and approach used to create Lightroom. Although I have (…)

Read the rest of this entry »

Xcode 3 Unleashed, Part III

by john on September 11, 2008

This post is the third in a series on the book Xcode 3 Unleashed, by Fritz Anderson. I’ll wrap up the review in this post by covering both highlights of the book and suggestions for future editions. Highlights Let’s begin (…)

Read the rest of this entry »

Xcode 3 Unleashed, Part II

by john on September 10, 2008

This post is a continuation of Part I of the book review of Xcode 3 Unleashed, by Fritz Anderson. Unlike the first section of the book, in the second half all topics are self-contained, that is, they are not tied (…)

Read the rest of this entry »

Xcode 3 Unleashed, Part I

by john on September 9, 2008

What follows is the first post of three, reviewing the book Xcode 3 Unleashed, by Fritz Anderson. I hope you’ll find the approach to this review to be informative, as it will definitely be different from other technical book reviews. (…)

Read the rest of this entry »

Filename and Line Number with NSLog: Part II

by john on August 20, 2008

In the previous post (on the iPhone Developer Tips blog) I demonstrated a simple debug class that I wrote to wrap some additional code around NSLog. The code allows for displaying additional information beyond the date/time stamp and process ID (…)

Read the rest of this entry »

Filename and Line Number with NSLog: Part I

by john on August 19, 2008

Coming from a C development background, long before the days of integrated debuggers, printf() was the primary tool for tracking down bugs. Building on that, NSLog is no doubt helpful. However, as the amount of code in a project grows, (…)

Read the rest of this entry »

Linking Error: Symbol Not Found

by john on August 18, 2008

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 (…)

Read the rest of this entry »

Linking Error: CGRectZero and CGRectOffset

by john on August 15, 2008

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 (…)

Read the rest of this entry »

Error: syntax error before ‘AT_NAME’ token

by john on August 14, 2008

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 (…)

Read the rest of this entry »