Re: simple file browser

2010-01-26 Thread Corbin Dunn
On Jan 26, 2010, at 10:10 AM, Jens Alfke wrote: > > On Jan 26, 2010, at 10:03 AM, Corbin Dunn wrote: > >> Jens/Andrew --- the SnowLeopard documentation is incorrect; it was added in >> 10.6, but "retro-published" to 10.4. So, it is available in 10.4 and higher. > > It's definitely not in the

Re: simple file browser

2010-01-26 Thread Jens Alfke
On Jan 26, 2010, at 10:03 AM, Corbin Dunn wrote: Jens/Andrew --- the SnowLeopard documentation is incorrect; it was added in 10.6, but "retro-published" to 10.4. So, it is available in 10.4 and higher. It's definitely not in the headers of the 10.5 SDK. Are you saying that the method was

Re: simple file browser

2010-01-26 Thread Corbin Dunn
Jens/Andrew --- the SnowLeopard documentation is incorrect; it was added in 10.6, but "retro-published" to 10.4. So, it is available in 10.4 and higher. --corbin On Jan 25, 2010, at 5:57 PM, Andrew Merenbach wrote: > On Jan 25, 2010, at 4:12 PM, Jens Alfke wrote: > >> >> On Jan 25, 2010, at

Re: simple file browser

2010-01-25 Thread Andrew Merenbach
On Jan 25, 2010, at 4:12 PM, Jens Alfke wrote: > > On Jan 25, 2010, at 3:17 PM, Corbin Dunn wrote: > >> Instead, just call: [savePanel setShowsHiddenFiles:YES]. > > There's no such method in the 10.5 SDK; was it added in 10.6? > > —Jens___ > Looks

Re: simple file browser

2010-01-25 Thread Jens Alfke
On Jan 25, 2010, at 3:17 PM, Corbin Dunn wrote: Instead, just call: [savePanel setShowsHiddenFiles:YES]. There's no such method in the 10.5 SDK; was it added in 10.6? —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: simple file browser

2010-01-25 Thread Corbin Dunn
On Jan 25, 2010, at 2:22 PM, Jens Alfke wrote: > > On Jan 25, 2010, at 2:12 PM, Ariel Feinerman wrote: > >> I want to implement file browser in my app to allow to see hidden >> files / other. Can you suggest me code examples of cocoa file browser? > > Use an NSOpenPanel, set an instance of you

Re: simple file browser

2010-01-25 Thread Ariel Feinerman
Matthew, Jens, thank you 2010/1/26 Jens Alfke : > > On Jan 25, 2010, at 2:25 PM, Matthew Lindfield Seager wrote: > > http://developer.apple.com/mac/library/samplecode/SourceView/index.html > should get you started. > > Did you try looking in Apple's sample code section? > > /Developer/Examples/Out

Re: simple file browser

2010-01-25 Thread Lee Ann Rucker
On Jan 25, 2010, at 2:36 PM, Jens Alfke wrote: On Jan 25, 2010, at 2:25 PM, Matthew Lindfield Seager wrote: http://developer.apple.com/mac/library/samplecode/SourceView/ index.html should get you started. Did you try looking in Apple's sample code section? /Developer/Examples/OutlineView/

Re: simple file browser

2010-01-25 Thread Jens Alfke
On Jan 25, 2010, at 2:25 PM, Matthew Lindfield Seager wrote: http://developer.apple.com/mac/library/samplecode/SourceView/ index.html should get you started. Did you try looking in Apple's sample code section? /Developer/Examples/OutlineView/ is even closer — it's a basic outline view tha

Re: simple file browser

2010-01-25 Thread Matthew Lindfield Seager
On Tuesday, January 26, 2010, Matthew Lindfield Seager wrote: > On Tuesday, January 26, 2010, Ariel Feinerman wrote: >> Hi, >> I want to implement file browser in my app to allow to see hidden >> files / other. Can you suggest me code examples of cocoa file browser? > > http://developer.apple.com

Re: simple file browser

2010-01-25 Thread Matthew Lindfield Seager
On Tuesday, January 26, 2010, Ariel Feinerman wrote: > Hi, > I want to implement file browser in my app to allow to see hidden > files / other. Can you suggest me code examples of cocoa file browser? http://developer.apple.com/mac/library/samplecode/SourceView/index.html should get you started.

Re: simple file browser

2010-01-25 Thread Jens Alfke
On Jan 25, 2010, at 2:12 PM, Ariel Feinerman wrote: I want to implement file browser in my app to allow to see hidden files / other. Can you suggest me code examples of cocoa file browser? Use an NSOpenPanel, set an instance of your class as its delegate, and implement the panel:shouldShowF