By Oliver Drobnik, author of Barcodes with iOS
The Core Graphics framework is written in pure C, meaning that it’s impossible to use CGImage instances directly with UIKit. Apple created UIImage as an Objective-C wrapper class around CGImage to bridge the gap. We explore Core Image in this article.

Barcodes with iOS: Introducing Core Image (PDF)