• 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: "Frank Bettger" <email@hidden>
  • Date: Sun, 26 Aug 2007 20:53:02 +0200

Thanks Karsten
Your advice was very helpful :). I did as you suggested
1. Cmd+double-clicked NSTextField
2. Cmd+F "string", Ignore Case, Wrap Around. Found three irrelevant matches.
3. Scrolled up to #import <AppKit/NSControl.h> and double-clicked NSControl
4. Cmd+F "string" again. Found the promissing match - (NSString
*)stringValue;
5. Went to Help->Documentation. Entered stringValue and performed API
search. Found 7 matches.
6. Chose the NSControl match and found

stringValue
Returns the value of the receiver's cell as an NSString object.
- (NSString *)stringValue

Became curious of what a "cell" is? I thought that a cell is something like
a text field or a button, but could it be anything else? Tried to look it up
but after a long wandering about refdocs found nothing. Now the concept of
"cell" must mean something specific and I thought that it would be decent of
apple to define new concepts they introduce. But where do you find such
definitions???

Thanks Frank

On 8/26/07, Karsten <email@hidden> wrote:
>
> hi Frank,
>
> the way i usually work through the classes is by typing (into an
> Xcode editor) the name of the class (in your case NSTextField) then i
> cmd-doubleclick the name and it opens the class' header file. then i
> cmd-f to search for something that might sound usefull, like "string"
> in your case...this will find return values as well as parts of the
> selector (keep in mind that cmd-g will speed up the search). If i
> don't find anything i just cmd-doubleclick the superclass that is
> written in the class-declaration and repeat there.... if i don't find
> anything i try the Xcode documentation (option-click some class or
> selector) and search using full-text search. the last alternative is
> the net ;-)
>
> Kind Regards
> Karsten
>
_______________________________________________

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: Michael Watson <email@hidden>
References: 
 >Re: How do you found your way around in the ref docs? (From: "Frank Bettger" <email@hidden>)
 >Re: How do you found your way around in the ref docs? (From: Karsten <email@hidden>)

  • Prev by Date: Re: glyphRangeForCharacterRange
  • Next by Date: Re: How do you found your way around in the ref docs?
  • Previous by thread: Re: 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