Cocoa Tutorial


Objective-C initialize method

One thing that makes Objective-C interesting is that it is very, very close to C. In fact, it is really just C plus a few language extensions plus a runtime.

It is the addition of a runtime (albeit a very light one) that travels along with every Objective-C program, that gives it its dynamic nature. [...]

Apple System Log Tutorial

Peter Hosey has started a very detailed series of articles all about the Apple System Logger (ASL).

Logging is tricky to get right and the ASL can be used as a replacement for standard Unix syslog. Subscribe to my RSS feed!

Learn Cocoa For Leopard

Scott Stevenson has completely updated his excellent Learn Cocoa tutorial for Leopard.

If you’ve been meaning to try Cocoa and Objective-C and you have some time to kill on the holidays, check this out.

Subscribe to my RSS feed!

Custom NSCells with NSManagedObjects

Each item in each column of an NSTableView can be considered a tiny View object. These objects need to be drawn and refreshed as needed. Since a large table may have hundreds of visible items and since each item is often drawn the same way, Cocoa provides a light weight view object, [...]

The Cocoa Tutorial Lesson Plan

Andy Matuschak has put together an amazing lesson plan for learning Cocoa.

It can seem like the keys to understanding Cocoa are scattered across the known universe, so this is invaluable. Andy’s article also encourages you to learn to love the Apple docs. Everything you need is in the docs - except when it [...]

Create a Simple Cocoa App Tutorial

Download IconExplorer.a1 XCode project.

As part of The 7 Things Your Mac App Needs Before You Ship series, we need to create a sample application to work with. Since this is icon week at kupuk.com, let’s create an app that lets us browse the icons for all the apps in the Applications directory.

This will also [...]