accessors advice(2) apple arc assert autorelease(3) bug c(2) c++ chemicalburn cocoa(41) collections community controls dangerous defensive design distributed followup fridayqa(3) fridayqna(20) garbagecollection hack hash image(3) init initializer injection ipc iphone isequal kvo(2) leopard(2) letsbuild(4) link mailinglist memory(3) messaging networking notifications(2) nscoding objectivec(18) opengl performance(6) plugin pyobjc python rant release retain runloop semi-evil serialization simbl singleton sourcecode stl super threading(2) window
NSWindowControllersubclass. I'll walk through what this means and how to do it, a topic suggested by reader Mike Shields.
NSImagelets you treat an image as an opaque blob that you can just draw where you want it. Core Image wraps a lot of image processing in an easy-to-use API that frees you from worrying about how individual pixels are represented. However, sometimes you really just want to get at the raw pixel data in code. Scott Luther suggested today's topic: fetching and manipulating that raw pixel data.
MAKVONotificationCenter. It's been a long time since then, and it was high time such a useful piece of code got an update, which I gave it. With the help of Mike and Tony Xiao, it's gotten a full overhaul and is now a modern code library with some fun features. In this article, I'm going to go through the new stuff and how it was done.
NSAutoreleasePooland how it works internally. Today, I'm going to carry that theme forward by building an implementation of Cocoa reference counting with
release, a topic suggested by David Dunham.
NSAutoreleasePoolworks behind the scenes. I decided that the best way to do that would be to simply reimplement it, and that is what I'll discuss today.
NSNotificationCenterworkalike from scratch to illustrate how it all works, a topic suggested by Dylan Copeland.
cocoa-devhas borne fruit! Brent Simmons has graciously created
cocoa-unbound, a group dedicated to Cocoa discussion but without the foolishness. I've already joined, and I encourage you to do so as well. A well-trafficked mailing list where we can talk about Mac programming without minions of the Mothership getting in our way will be a wonderful resource to have.
NSCodingin Objective-C classes.
NSMapTable, a topic suggested by Phil Holland.
NSNotificationQueue, a little-known, poorly-understood, but handy Foundation class.