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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com
This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]