Wednesday, July 13, 2011

http://iphonedevelopment.blogspot.com/

http://iphonedevelopment.blogspot.com/
Creating Transparent UIViews - a Rounded Rect View
I recently needed a view that had the shape of a rounded rectangle. Drawing a rounded rect using Core Graphics isn't particularly hard. As a matter of fact, the QuartzDemo sample code shows one way to do it. So, I dutifully created the view to draw a rounded rect. No matter what I did, however, it drew white all the way to the boundary of the view. My first version of the rounded rectangle view came out decidedly non-rounded.

Tuesday Jul272010 Filtering arrays with NSPredicate

http://useyourloaf.com/blog/2010/7/27/filtering-arrays-with-nspredicate.html

Simple match

The simplest example is when you just need an exact match against a single value. This is a fairly meaningless example in this case but illustrates the basic technique:

Sunday, July 10, 2011

The Core Data framework

http://cocoadevcentral.com/articles/000086.php

The Core Data framework provides a lot of new functionality to Cocoa developers, but manages to do so without creating an immense class hierarchy. There are approximately a dozen key classes, which are divided into Model, Runtime and Query classes in this document.