> P.S. It’s generally bad form to use getters in an ‘init…’ method. It’s safer 
> to refer to the
> instance variable (_ks, _rms) directly instead.

Sorry-- where was I using getters?  You mean setters?

self.ks = ks?

I tend to use setters because sometimes I'd like to have a side-effect of
the setting.. like formatting the value in some way, and have that built
into the process of setting the property.

Patrick J. Collins
http://collinatorstudios.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to