Re: File-picker dialog?
Re: File-picker dialog?
- Subject: Re: File-picker dialog?
- From: Luke the Hiesterman <email@hidden>
- Date: Thu, 18 Jun 2009 14:40:37 -0700
NSOpenPanel.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSOpenPanel_Class/Reference/Reference.html
http://developer.apple.com/documentation/Cocoa/Conceptual/AppFileMgmt/Tasks/UsingAnOpenPanel.html#/
/apple_ref/doc/uid/20000777
Luke
On Jun 18, 2009, at 2:39 PM, Mac First wrote:
Sorry to be so out of touch -- it's been a while...
Is NavServices still the preferred way to put up, say, a file-picker
dialog? That is, is The Cocoa Way to do this:
OSStatus NavCreateChooseFileDialog ( const NavDialogCreationOptions
*inOptions, NavTypeListHandle inTypeList, NavEventUPP inEventProc,
NavPreviewUPP inPreviewProc, NavObjectFilterUPP inFilterProc, void
*inClientData, NavDialogRef *outDialog );
...Or is there some more Cocoa-y way to do things, now-a-days? That
seems awfully Carbon/ancient-history. I'm writing an app for
"Leopard & later, only."
Pointers to sample code, tutorials, stuff I need to read...?
Thanks!
_______________________________________________
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
_______________________________________________
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