Re: My Newbie Learning Question
Re: My Newbie Learning Question
- Subject: Re: My Newbie Learning Question
- From: Michael Rogers <email@hidden>
- Date: Tue, 5 Jun 2001 22:20:36 -0500
> As for remembering it, the Cocoa frameworks are pretty
self-consistent, so my first guess as to the name of a particular
method is usually right.
I agree. But I do have one complaint (and if the naming gods can
explain their rationale and/or provide a useful mnemonic, this humble
servant would be most appreciative :-) If I want to put an NSString in
an NSTextField, it looks like I need to use setStringValue, but if I
want to put it in an NSTextView, I need to use setString. Why didn't
they just choose one or the other?
Michael