Tag Archives: cocoa

Check Your “self” Before You Wriggity Wreck Yourself

I had an annoying day of trying to track down memory leaks and other memory-related iPhone development problems yesterday which turned out to be caused by a really simple and careless absence of the word “self” in one of my initialization methods. Observe. itemId = itemIdentifier; is definitely not the same as self.itemId = itemIdentifier; […]

Posted in Software Development | Also tagged , Comments Off on Check Your “self” Before You Wriggity Wreck Yourself