Re: NSSavePanel problem with sandboxing
Re: NSSavePanel problem with sandboxing
- Subject: Re: NSSavePanel problem with sandboxing
- From: Graham Cox <email@hidden>
- Date: Thu, 05 Sep 2013 21:05:47 +0200
On 05/09/2013, at 8:54 PM, Kyle Sluder <email@hidden> wrote:
> What happens if you ask one of your accessory controls for its -window
> and ask _that_ object to -makeFirstResponder:? That window should be in
> your own process.
Works on 10.8, but in fact the control's window is the same object as the save panel. That makes sense, since I found the "well-defined times" note I remembered, it's in the 10.8 release notes. The completion block is indeed a valid time, but that isn't the case on 10.7. The mind boggles at the hacks being pulled behind the scenes here - the pointer value for the save panel never changes, but the object it points to has some serious changes of identity.
Testing this on 10.7 is difficult, so I won't know if it works there for a while, but here's hoping…. thanks :)
--Graham
_______________________________________________
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