Category Archives: iPhone

Cross-Fade Back Buttons

Maybe it’s just me, but there’s a quirk in the iPhone’s navigation controller infrastructure that just drives me batty: If you set the leftBarButtonItem of a view controller’s navigationItem while the navigation bar is displaying a “back” button, the back … Continue reading

Posted in iPhone | Comments Off

Core Graphics Problems

I saw a disturbing thing today. I was running a new app in the debugger, and I suddenly began to see messages like this in the console: crasher(8502,0xa07a6500) malloc: *** error for object 0x2017000: pointer being freed was not allocated … Continue reading

Posted in iPhone | Comments Off

Table Sections

Today I present a simple design technique that can make your UITableViewControllers a lot more flexible. To put it concisely: You should use indirection when considering section indices in your flow-of-control. This technique makes section re-ordering much easier, and may … Continue reading

Posted in iPhone | Comments Off

Mac Mini Memory (Part 2)

About 5 months ago I wrote about my unsuccessful attempt to add more memory to my Mac Mini. Today I gave it another shot, and seem to have been successful. Below, I share a few pieces of information that you … Continue reading

Posted in iPhone | Comments Off

Licenses

Last week, a reader wrote in with this question: [Y]ou’ve got all this great code, but you haven’t declared a license. Is it public domain, or BSD? This is, as they say, a fair question. I address it today.

Posted in iPhone, Planet Microsoft, Projects, Python, Reverse Engineering, UNIX, Web stuff | Comments Off

Swelling Cells

The iPhone documentation discusses a technique for laying out certain types of tables in NIB files; you add the table’s cells to the NIB file, connect them to outlets that you add to the table view controller, and then write … Continue reading

Posted in iPhone | Comments Off

Text Helper

In the app I’m currently building, there are many longish text fields that can be edited. I decided to create a little utility class to handle the presentation of an editing interface for these fields, and I’d like to share … Continue reading

Posted in iPhone | Comments Off

Quickie – Computer Vision

Sudoku Grab is a neat little iPhone app that enables you to solve a Sudoku puzzle by taking a picture of it. The author was kind enough to post an overview of the computer vision mechanics behind the app; if … Continue reading

Posted in iPhone | Comments Off

Core Data Gotcha

Today I want to talk about how two individually reasonable design decisions in Core Data can combine to bite the unwary programmer. I’ve mentioned the benefits of the NSFetchedResultsController class’s ability to monitor the objects in its MOC for changes, … Continue reading

Posted in iPhone | Comments Off

Question Time

Two things: First, you should really check out this article. It’s a comparison of the “Super Six” super middleweight (168lb) boxing tournament with the “Contender” TV series. It’s got some interesting things to say about the business of boxing. Second, … Continue reading

Posted in iPhone, Jack Handy | Comments Off