Tag Tech

Getting the Next and the Previous NSIndexPath Instances

Very often, when you work with UITableViewControllers driven by NSFetchedResultsControllers, that you want to get the “previous” or the “next” elements in the results controller. Visually, this operation corresponds, from the point of view of the user, to select the cell that sits immediately above or below from the currently selected one. Of course, you [...]

Determining Delegate Object Method Call Order in Objective-C with NSProxy

This is a guest post + code, wrote together with Joe D’Andrea from LiquidJoe LLC! Many developers new to the iOS platform have trouble understanding the delegate architecture, in the sense that many other OO toolkits use properties to configure the characteristics of UI elements, instead of having a separate object doing the job. When [...]

Kevin Smith iPhone Application

I’ve just been notified by the nice guys from DenVog that the Kevin Smith iPhone application includes code from my Asynchronous UITableView sample, posted earlier this year. The app also features the MGTwitterEngine from Matt Gemmell, too. Thanks for the credits guys! I’m glad my code has been helpful to you.

Code Organization in Xcode Projects

Xcode does not impose any structure to your source code tree. This is both cool and useful to quickly throw a couple of lines for a prototype, but in my experience, this approach does not scale. More often than not, without any hygiene, your project can become a mess. Just using Xcode defaults, after a [...]

Objective-C Compiler Warnings

A recent comment by Joe D’Andrea in a previous post reminded me about the importance of removing compiler warnings in Xcode projects. Most importantly, it reminded me of a conversation with a fellow developer a couple of weeks ago, in which he told me that he was surprised to see that my projects compiled all [...]

nib2objc

(Somehow this project seems to me so simple, that I’m sure someone has done this before. Anyway). This is my feeble attempt to bring an answer to the eternal dichotomy between those arguing about the relative benefits of creating user interfaces via Interface Builder or via pure Objective-C code: let me introduce nib2objc. Unbeknown to [...]