• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My Newbie Learning Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: My Newbie Learning Question
      • From: "John C. Randolph" <email@hidden>
    • Re: My Newbie Learning Question
      • From: Scott Anguish <email@hidden>
References: 
 >Re: My Newbie Learning Question (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: int question
  • Next by Date: Re: Re: NSTableView as an Outlet
  • Previous by thread: Re: My Newbie Learning Question
  • Next by thread: Re: My Newbie Learning Question
  • Index(es):
    • Date
    • Thread