From the category archives:

Cocoa

Media Editing with AV Foundation

by Bob McCune on March 25, 2013

This past weekend I spoke at the CocoaConf event in DC. This was my first time attending CocoaConf so didn’t know what to expect, but I was very impressed by the format and quality of the conference and thought the organizers did an excellent job. I’m speaking again in San Jose next month and will [...]

[ 4 comments ]

Drawing with Quartz on iOS

by Bob McCune on February 27, 2012

A couple of weeks ago I gave a presentation entitled “Drawing with Quartz on iOS” to the Minnesota CocoaHeads group. We had a big crowd that night and I hope you all enjoyed it. The slide deck is available on SlideShare and the QuartzDemos project is available on Github. Quartz is an essential API for [...]

[ 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 ]

  • Page 1 of 2
  • 1
  • 2
  • >