Re: NSSavePanel: Another sandbox issue
Re: NSSavePanel: Another sandbox issue
- Subject: Re: NSSavePanel: Another sandbox issue
- From: Graham Cox <email@hidden>
- Date: Thu, 31 May 2012 11:17:46 +1000
On 31/05/2012, at 9:57 AM, Graham Cox wrote:
> So, internally the panel is throwing an exception, due to a nil object. But why? what am I doing wrong here?
OK, some more discoveries.
1. The problem only occurs with a delegate set on the panel. The delegate isn't called - just its presence is enough.
2. The problem pertains only to column view. If I temporarily remove the delegate so the panel comes up, switch to list view, and put the delegate back, it's OK.
3. When I use -setDirectoryURL: and the URL is somewhere in my sandbox, the actual URL displayed is the old location, back in ~/Library/Application Support (!)
4. The save panel under sandboxing is currently a disaster, and this is a showstopper for adding sandboxing at this point. There is simply NO WAY Apple should be forcing sandboxing on developers as of tomorrow with the system in such a broken state. It's going to make them look very cavalier and arrogant indeed, and will hurt the reputation of OS X. "It Just Works"? My a**e.
G.
_______________________________________________
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