• 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: NSSavePanel problem with sandboxing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSavePanel problem with sandboxing
      • From: Manfred Schwind <email@hidden>
References: 
 >NSSavePanel problem with sandboxing (From: Graham Cox <email@hidden>)
 >Re: NSSavePanel problem with sandboxing (From: Kyle Sluder <email@hidden>)
 >Re: NSSavePanel problem with sandboxing (From: Graham Cox <email@hidden>)
 >Re: NSSavePanel problem with sandboxing (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSSavePanel problem with sandboxing
  • Next by Date: Re: NSSavePanel problem with sandboxing
  • Previous by thread: Re: NSSavePanel problem with sandboxing
  • Next by thread: Re: NSSavePanel problem with sandboxing
  • Index(es):
    • Date
    • Thread