Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK

2014-09-29 Thread Jerry Krinock
> On 2014 Sep 28, at 22:06, Kyle Sluder wrote: > > Do you have a cycle in your nextResponder chain? Remember than > NSViewController now inserts itself into the responder chain on 10.10. YES! That explains all of the forwardMethod() madness. My subclass of NSViewController, which I use for

Re: [SOLVED] NSOutlineView not lazy when expanding items

2014-09-29 Thread Jerry Krinock
To recap where we left off on Sept 19, the issue is that when an item in an NSOutlineView is expanded, its data source receives -outlineView:child:ofObject: once for *every* child, even if the item has 20,000 children but only 20 can fit in the window, causing poor performance if getting the ch

Deferred purchase testing in the App Store sandbox?

2014-09-29 Thread Steve Christensen
I'm trying to figure out how to test deferred purchases (SKPaymentTransactionStateDeferred) in the sandbox but thus far have not been able to find any guidance. In chatting with The Google I see questions in Apple's developer forums, stack overflow.com, etc., but no answers. Has anybody had suc

Re: Deferred purchase testing in the App Store sandbox?

2014-09-29 Thread David Brittain
The best I could come up with was to change the build I was testing so that on receiving SKPaymentTransactionStatePurchased I store the transactions, replace the state with SKPaymentTransactionStateDeferred and then [self performSelector:@selector(deferredPaymentQueue:) withObject:_s

Re: NSPersistentDocument objects "gutted" after Duplicate, Rename in 10.9

2014-09-29 Thread Feedback RhapSoft
Hi Jerry, I am facing the exact same crash as you in my NSPersistentDocument app. When a user has an already saved document opened, if he chooses "Duplicate" and then changes the name OR from his saved document, if he chooses "Save As", he will probably crash the application later when there is

Re: NSPersistentDocument objects "gutted" after Duplicate, Rename in 10.9

2014-09-29 Thread Jerry Krinock
> On 2014 Sep 29, at 12:54, Romain Piveteau wrote: > > I am facing the exact same crash as you in my NSPersistentDocument app. Indeed it looks like the same to me. I have no news on this since I reported it six months ago. Actually, that’s good news, because my workaround, to close and reope

Re: view content not tracking window size

2014-09-29 Thread N!K
Thank you for the reference. I have not had to deal with images (except in Hillegas’ book example), so I have not read about Quartz. It sounds like it has other uses, like line drawings. I’ll follow up with this soon, and yes, some examples will be a big help. I often find that things like Appl

Re: view content not tracking window size

2014-09-29 Thread N!K
Success! Many thanks, Graham, Your explanation enlightened me, and your example got me on the right track. I didn’t know that not-scaling the contents is normal; I had been looking for whatever was wrong and how to fix it. The thought of scaling in code did occur to me, but I had absolutely no

Re: view content not tracking window size

2014-09-29 Thread N!K
On Sep 27, 2014, at 12:27 AM, Ken Thomases wrote: > On Sep 27, 2014, at 2:11 AM, N!K wrote: > >> On Sep 25, 2014, at 10:49 PM, Ken Thomases wrote: >> >>> On Sep 25, 2014, at 9:38 PM, N!K wrote: >>> In Xcode 5 OSX, not ios, I have created a custom view and set auto layout constra