• 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: How do you found your way around in the ref docs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you found your way around in the ref docs?


  • Subject: Re: How do you found your way around in the ref docs?
  • From: Luc Vandal <email@hidden>
  • Date: Sat, 25 Aug 2007 13:12:10 -0400

When in doubt, I try to type in some method name so that auto- complete can suggest me methods accessible for the object I'm using. So by typing "[yourinstancename str" in your code and then hitting ESC (when "str" gets underlined this means auto-complete has suggestions available) a menu appear where you can search the method in there. You just have to guess what would be the function name...

Luc


On 25-Aug-07, at 12:37 PM, Frank Bettger wrote:

A question from a newbie. I tried to create a simple application with one
text field and one button. I opened NSTextField Class Reference and looked
for a getter method in order to get the text that the user has entered in
the text field. Looked through all the document, which took quite a while,
but found nothing. Then I looked in the superclass NSControl Class
Reference. Looked in Methods by Task but didn't find anything to begin with,
but after a while found the getter method stringValue under the heading of
"Setting the control's value".


My question is if there is some logic to

1. Storing the getter of a text field in NSControl instead of NSTextField
2. Storing a getter method under the heading "Setting the control's value"
(instead of something like "Setting/Getting the control's value").


Thanks
Frank




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How do you found your way around in the ref docs?
      • From: "Frank Bettger" <email@hidden>
References: 
 >How do you found your way around in the ref docs? (From: "Frank Bettger" <email@hidden>)

  • Prev by Date: Re: glyphRangeForCharacterRange
  • Next by Date: Re: customize the nstextfield format
  • Previous by thread: How do you found your way around in the ref docs?
  • Next by thread: Re: How do you found your way around in the ref docs?
  • Index(es):
    • Date
    • Thread