Re: NSSavePanel problem with sandboxing

2013-09-06 Thread Graham Cox
On 06/09/2013, at 1:33 AM, Fritz Anderson wrote: > The next thing I'd do is to see if the protocol would be of any > comfort. I think it may even be preferred to resetting the window's first > responder. It's never been clear to me how that protocol is implemented with respect to dialogs,

Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region

2013-09-06 Thread Graham Cox
On 05/09/2013, at 1:52 PM, Jonathan Taylor wrote: > That suggestion for a breakpoint is a great one. Sadly the condition you > quoted doesn't seem to be parsed correctly by the debugger, even with > casting. Even just "po (NSThread*)[NSThread currentThread]" fails on my > machine. Hmm, work

Re: Doc bug for NSAttributedString pasteboard read/write

2013-09-06 Thread Kyle Sluder
On Fri, Sep 6, 2013, at 11:20 AM, Gordon Apple wrote: > The docs for NSPasteboardReading/Writing still claim that > NSAttributedString > conforms. However, I can find no evidence of such in the refs, headers, > or > additions for NSAttributedString . Is it is, or is it ain¹t. Python 2.7.2 (defau

Doc bug for NSAttributedString pasteboard read/write

2013-09-06 Thread Gordon Apple
The docs for NSPasteboardReading/Writing still claim that NSAttributedString conforms. However, I can find no evidence of such in the refs, headers, or additions for NSAttributedString . Is it is, or is it ain¹t. ___ Cocoa-dev mailing list (Cocoa-dev@

Re: NSMethodSignature throws an exception encoding GLKMatrix4

2013-09-06 Thread Jeff Kelley
Sorry to bring up an old topic, but I’m still running into this and I’ve reported it as a bug (rdar://14931876). Say you have this method: - (GLKMatrix4)identityReturningMethod { return GLKMatrix4Identity; } Now, in another method in the same class, you try to make a signature for that selec

Re: Doc bug for NSAttributedString pasteboard read/write

2013-09-06 Thread Jens Alfke
On Sep 6, 2013, at 11:20 AM, Gordon Apple wrote: > The docs for NSPasteboardReading/Writing still claim that NSAttributedString > conforms. However, I can find no evidence of such in the refs, headers, or > additions for NSAttributedString . Is it is, or is it ain¹t. Don’t forget that part of

Re: NSSavePanel problem with sandboxing

2013-09-06 Thread Manfred Schwind
> the pointer value for the save panel never changes, but the object it points > to has some serious changes of identity. For me this sounds like an "overrelease" or "access after release" problem. You could try to run with enabled zombie objects. Regards, Mani

Re: Image classes (Re: How to detect a Retina Mac)

2013-09-06 Thread Ken Ferry
FYI, I went into this question in some detail in this talk from WWDC 2009: Session 111: NSImage in Snow Leopard The last part of the talk is a discussion of the differences be

Re: NSSavePanel problem with sandboxing

2013-09-06 Thread Kyle Sluder
On Fri, Sep 6, 2013, at 08:16 AM, Manfred Schwind wrote: > > the pointer value for the save panel never changes, but the object it > > points to has some serious changes of identity. > > For me this sounds like an "overrelease" or "access after release" > problem. > You could try to run with enab

Re: NSMethodSignature throws an exception encoding GLKMatrix4

2013-09-06 Thread Greg Parker
On Sep 6, 2013, at 1:01 PM, Jeff Kelley wrote: > Sorry to bring up an old topic, but I’m still running into this and I’ve > reported it as a bug (rdar://14931876). Say you have this method: > > - (GLKMatrix4)identityReturningMethod > { >return GLKMatrix4Identity; > } > > Now, in another me