Category Archives: iPhone

Choices

In my Fightcard application, I had to implement a lot of “picker” screens – screens that essentially let the user select one of a list of options, much as a drop-down does in a conventional GUI. Since the behavior of … Continue reading

Posted in iPhone | Comments Off

Location

Today, a quick guide through basic location services on the iPhone 3G (i.e. I’m not handling heading information here.) I run through a quick overview of the steps involved in building a basic location-aware app, and provide a complete Xcode … Continue reading

Posted in iPhone | Comments Off

New App: Fightcard

I’m pleased to announce that Apple has approved my very first “real” iPhone application: Fightcard. This app implements a boxing scorecard (also suitable, I guess, for MMA on the 10-point-must system) that allows you to systematically and properly score a … Continue reading

Posted in iPhone | Comments Off

Addressbookery

The iPhone makes the database underlying it’s built-in Contacts application available through a framework. This is handy, for two reasons: If you want to let the user contact people from inside your app, it’s a good idea to make it … Continue reading

Posted in iPhone | Comments Off

Timing (Clipping)

We’ve been talking about some Core Graphics trickery recently, related either to fancy gradients used to create shiny buttons, or complicated clipping. I wanted to take a moment to time some of this stuff out on the iPhone, and see … Continue reading

Posted in iPhone | Comments Off

Hollow Clipping Redux

I want to revisit Tuesday’s discussion of clipping; when I wrote that post I was laboring under certain misconceptions related to Core Graphics paths, which I would like to discuss. As a consequence of correcting these misconceptions, I can see … Continue reading

Posted in iPhone | Comments Off

Hollow Clipping Paths

We’ve seen that we can use clipping paths to draw gradients inside rounded rectangles, as in the example to the left. Now, suppose that we want to clip a gradient to a “hollow” shape: Will Core Graphics handle this properly? … Continue reading

Posted in iPhone | Comments Off

Autorelease

A quick list of interesting posts on the subject of autorelease: Overview (Don Yacktman) When does autorelease release? (Parmanoir) Retain/Autorelease in Cocoa Getters (Seth Willits) More Fun With Autorelease (Mike Ash)

Posted in iPhone | Comments Off

Screenshots

Today sees the submission of my first real iPhone app to Apple. (We’ll have to wait and see how the approval process goes.) It took some time to push it over the finish line, so today I offer you only … Continue reading

Posted in iPhone, Python | Comments Off

Code Signing

The trickiest part of developing for the iPhone is probably signing your code s.t. it will install on a device and/or be accepted by the App Store. While there are harder (and more interesting) problems, this is the only one … Continue reading

Posted in iPhone | Comments Off