• 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: File-picker dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >File-picker dialog? (From: Mac First <email@hidden>)

  • Prev by Date: File-picker dialog?
  • Next by Date: Re: File-picker dialog?
  • Previous by thread: File-picker dialog?
  • Next by thread: Re: File-picker dialog?
  • Index(es):
    • Date
    • Thread