• 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: [Q] setAllowedFileTypes: of NSOpenPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] setAllowedFileTypes: of NSOpenPanel


  • Subject: Re: [Q] setAllowedFileTypes: of NSOpenPanel
  • From: Tage Borg <email@hidden>
  • Date: Thu, 22 Jun 2006 12:25:04 +0200

This example should be all you need: <http://developer.apple.com/ documentation/Cocoa/Conceptual/AppFileMgmt/Tasks/UsingAnOpenPanel.html>

Note the example with several file types at the end of the web page.

--Tage

On 2006-06-22, at 04:57, JongAm Park wrote:

Hello.

Although I read the document, but I don't understand how the setAllowedFileTypes of the NSOpenPanel works.

Is it for setting allowed file types before displaying an Open panel?
Or, can allowed file types be changed using the method when an Open panel is already displayed, ( and you can see the effect on the fly. )
If it is the second case, it would be easy to make a customized Open panel, where you can choose file types to filter out files in its NSBrowser pane.


Thank you.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

-- Tage Borg Project Management, SW Architecture, Design, Development ph +46703967328 (GMT+1) email@hidden www.tbef.se


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[Q] setAllowedFileTypes: of NSOpenPanel (From: JongAm Park <email@hidden>)

  • Prev by Date: How to force an initial column sort with NSTableView and controller?
  • Next by Date: Re: Problem in simulating the events
  • Previous by thread: [Q] setAllowedFileTypes: of NSOpenPanel
  • Next by thread: <NSInternalConsistencyException> Error (1002) creating CGSWindow
  • Index(es):
    • Date
    • Thread