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

Re: NSOpenPanel


  • Subject: Re: NSOpenPanel
  • From: "Joshua Pennington" <email@hidden>
  • Date: Sat, 12 May 2007 03:04:24 -0500

The open panel is closing because [NSOpenPanel openPanel] returns an
autoreleased instance and it is being deallocated soon after you call
beginForDirectory.

I believe you need to retain the panel in open:, but make sure and
release it when the panel ends.

Currently the panel is opening on the button press, but it it immediately
closing, very quickly.  Is there something obvious I am doing/not doing?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: streaming files to browsers
  • Next by Date: Re: Easier Toolbar Class
  • Previous by thread: streaming files to browsers
  • Next by thread: hi
  • Index(es):
    • Date
    • Thread