• 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
NSOpenPanel ->getting path while panel is up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel ->getting path while panel is up


  • Subject: NSOpenPanel ->getting path while panel is up
  • From: David Rehring <email@hidden>
  • Date: Wed, 24 Apr 2002 23:09:52 -0700

I've got an NSOpenPanel configured so the user can select a single
directory. I've added a accessory view with a 'Create New Folder...' button
to the NSOpenPanel.

When the user clicks the button, I open another panel and get the name of
the directory to create.

So far, everything works great.

The problem is, I can't get the panel to the directory that the user has
currently selected in the NSOpenPanel.

I've tried:

- (NSString *)directory;
- (NSURL *)URL;
- (NSArray *)filenames;
- (NSArray *)URLs;

Anyone know how to get the currently selected directory?

Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSOpenPanel ->getting path while panel is up
      • From: Timothy Ritchey <email@hidden>
  • Prev by Date: Re: NSTextView and First Responder
  • Next by Date: Re: Varying Row Heights
  • Previous by thread: FDNetInfoFunctions
  • Next by thread: Re: NSOpenPanel ->getting path while panel is up
  • Index(es):
    • Date
    • Thread