Theocacao
Leopard
Design Element
Comment on "A Quick Objective-C 2.0 Tutorial: Part II"
by leeg — Nov 05
@britt: For truly private @private stuff, I write key-value 'accessors' which raise exceptions. For read-only stuff, I write a key-value setter which raises an exception. I've never felt the need to override setValue:forKey: for that purpose, hopefully the broken accessor methods dissuade the programmer from trying whatever it is that they're trying ;-)
Back to "A Quick Objective-C 2.0 Tutorial: Part II"
Design Element

Copyright © Scott Stevenson 2004-2015