Re: searching the ADC Reference Library
Re: searching the ADC Reference Library
- Subject: Re: searching the ADC Reference Library
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 26 Apr 2007 10:35:02 -0700
On 4/26/07, Shawn Erickson <email@hidden> wrote:
On 4/26/07, Roland Silver <email@hidden> wrote:
> Mark,
> Thanks for your precise answer to my question:
> Given a folder, how can I create an array of its contents?
>
> How could I have gotten an answer myself? That is, knowing that
> buried somewhere in the ADC Reference Library haystack is a needle
> (which will turn out to be [NSFileManager
> directoryContentsAtPath:path], although I don't know that yet), how
> would I find it, knowing only that I want to create an array of the
> contents of a given folder?
In the Xcode documentation window use "Full-Text Search" and select
the Cocoa search group if you don't know what you are looking for by
name or my favorite method is use Google ("some search terms
site:developer.apple.com").
For example using my Xcode recommendation above with a search term
"directory contents" the second and third things listed directly
answer your question (third one even has a code sample).
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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