Theocacao
Leopard
Design Element
Comment on "Breaking My Own Rules"
by Chris — Dec 16
Hm. I tend to use the MacApp convention for ivar names (fElementName or fContentsHint). This is less ugly than most, and still differentiates an instance variable from a local, which I think is important.

Keep in mind also that Objective-C base class instance variables are fragile: you can't add new ones without breaking third-party clients. Methods, on the other hand, are not fragile. So I don't worry too much about the superclass ivars, but I do worry to some degree about method names.
Back to "Breaking My Own Rules"
Design Element

Copyright © Scott Stevenson 2004-2015