And today’s learning is regarding Objective-C and accessors, from Scott Stevenson at theocacao.com:

When using properties with the dot syntax, prefix the name with self to use the accessor:

// direct access
value = studio;
studio = value;

// uses accessor methods, sends KVO notifications
self.studio = value;
value = self.studio



Even if you have garbage collection enabled, you should still use the accessor methods in most cases because Key-Value Observing, and Cocoa Bindings depend on these methods being called to synchronize changes across objects.

A subtle point, but an important one. Especially when dealing with pesky object retention problems!