Amazon.com Widgets

shanecrawford.org Home Grown in Austin

Posts Tagged Development

Sorting a CoreData backed NSArrayController

NSArrayController is an incredible way to provide data to many of Cocoa’s UI controls. Typically, it manages an array of data objects which can be sorted, filtered, selected, and basically served up to the UI control for display. Pair this flexibility with the power of CoreData and you have a powerful dynamic.
However, this flexibility […]


Generational Garbage

One of the strategies used by modern garbage collectors (GC) to collect memory is the usage of generations. There are a couple of key observations about objects that are capitalized on in order to make the GC more efficient through this strategy.
Exploiting Key Observations
First, the life of most objects tends to be short […]


Patterns for garbage collection

Garbage collection in Leopard adds a new dimension to Mac development which allows developers to focus more on application functionality rather than on memory management. This nirvana, however, is not without some pitfalls. Knowledge of a few key concepts and traps to avoid should keep your application development humming along.
Patterns to use

Actively manage resources.

Objects […]


Collecting Leopard’s Garbage

Memory management is a delicate yet required skill of many who program. Those who program in C know the fine detail of managing each and every byte while those who have broadened out to Objective-C have enjoyed a slightly more relaxed thought process. Java developers on the other hand have lived […]


Leopard Spaces

One thing that I have always loved about Unix is virtual desktops. For a developer screen real estate is paramount and in the absence of multiple monitors it is a life saver. In Mac OS X 10.4 Tiger there was Desktop Manager which I used extensively and loved. It worked great! Now with Leopard virtual […]


← Before After →