Here's Looking At You, Child.

RSS

Mine eyes, they have opened

The rules for counting references to objects in ObjC/Cocoa has been haunting me for months. But today I found such a simple rule:

If you +alloc, -copy, or -retain, you must -release or -autorelease. If you did not +alloc, -copy, or -retain an object, getting rid of it is not your responsibility.