09 Feb 13

This tutorial is the place to learn the Objective-C programming language. It’s designed to serve as both a concise quick-reference and a comprehensive introduction for newcomers to the language. A familiarity with basic programming concepts like variables, functions, and objects is recommended, but not strictly required.


07 Jun 12

This is a very slick technique that I used to extend the functionality of UISwitch to track the NSIndexPath of UISwitch that was triggered.

Tags:

Let’s say you are wanting to show customized text on the button that shows up on the left side of the navigation bar in an iOS app.  In an unmodified Master-Details iPhone app, it is the button that returns you to the Master table view screen from within the Details view.

Tags:

03 Jun 12


It may not be obvious but UIAlertView could be created and presented in one line of code. The reason is to avoid local variable to hold the view instance while it’s created, displayed and autoreleased.