From the category archives:


Quick Github PSA

by Bob McCune on September 6, 2011

My Core Animation Demos projects was previously available on Github under my personal account, but I have since moved it to my business account. The new location of of the CA demos is: I haven’t made any major changes to code at this point, however, I did start an ARC branch to house my […]

[ Comments on this entry are closed ]

Automagic Factories in Objective-C

by Bob McCune on April 8, 2011

The Factory pattern is a frequently used creational pattern to help abstract the creation of an object from its clients. Although there are a few specializations of this pattern I’ll focus on the most commonly used approach and then look at how we can leverage the Objective-C Runtime to make this solution more robust. Let’s […]

[ Comments on this entry are closed ]

Core Animation Presentation

by Bob McCune on March 13, 2011

This past week I gave a presentation on Core Animation to the Minnesota CocoaHeads user group. Core Animation is a truly amazing framework and is really the magic ingredient in the iOS user experience. Understanding how to effectively use it can allow you to add new levels of realism and interactivity to your apps. As […]

[ Comments on this entry are closed ]

iOS 101: Pattern Images

by Bob McCune on March 8, 2011

A common need in an iOS app is to tile a background image on a UIView. It’s trivial to implement, but not particularly obvious if you’re new to the platform. The solution is to set the view’s backgroundColor property to a UIColor instance created from your pattern image. For instance, the following code will create […]

[ Comments on this entry are closed ]

Using iOS 4’s IBOutletCollection

by Bob McCune on January 31, 2011

Cocoa has long defined the IBAction and IBOutlet keywords. These keywords provide metadata hints to Interface Builder providing it some understanding of your underlying code so you can graphically wire instance variables and properties and set target-action behaviors. For instance, whenever you need a pointer to NIB-defined object you would create a property defined as: […]

[ Comments on this entry are closed ]

iPhone Jam Session

by Bob McCune on April 8, 2010

Thanks to everyone who turned out for the iPhone presentation Chris Bartling and I gave at last night’s Jam Session! We had a great time talking about a fun topic. I hope you enjoyed it. There were some questions about Apple’s approval process. I mentioned that I just submitted an app this past Saturday and […]

[ Comments on this entry are closed ]