Swap NSBox content without user seeing it when animation is involved

2013-04-01 Thread Brad Stone
Desired action: 1) An NSBox (dstBox) with View A in it's content animates out to the left 2) NSBox's content is replaced with View B 3) NSBox with View B in it's content animates in from the right. Actual action: 1) An NSBox (dstBox) with View A in it's content animates out to the left 2) NSBox

Re: Swap NSBox content without user seeing it when animation is involved

2013-04-01 Thread Fritz Anderson
On 1 Apr 2013, at 11:11 AM, Brad Stone cocoa-...@softraph.com wrote: Desired action: 1) An NSBox (dstBox) with View A in it's content animates out to the left 2) NSBox's content is replaced with View B 3) NSBox with View B in it's content animates in from the right. Actual action: 1) An

Re: Swap NSBox content without user seeing it when animation is involved

2013-04-01 Thread Brad Stone
I was using an NSBox for my convenience to make view swapping easy. The super view has two boxes (dstBox is one of them) and there are three different views that get swapped into and out of the bottom box. Using an NSBox makes this pretty easy. That's why it's designed that way. On Apr 1,

Stubborn setValue:forUndefinedKey error

2013-04-01 Thread Koen van der Drift
I am getting the following error when loading a viewController: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[IDSelectionViewController 0x75bff50 setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key settingsTable.' I understand

Re: Stubborn setValue:forUndefinedKey error

2013-04-01 Thread Quincey Morris
On Apr 1, 2013, at 13:16 , Koen van der Drift koenvanderdr...@gmail.com wrote: I am getting the following error when loading a viewController: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[IDSelectionViewController 0x75bff50 setValue:forUndefinedKey:]:

Setting position of CALayer doesn't animate

2013-04-01 Thread Steve Mills
Trying to learn animation stuff here, but it isn't working as documented. I have a CALayer installed on my view (subclass of ScreenSaverView). Then another CALayer is added as a subLayer on that first layer. At some point after the layer has been initially drawn, I want to move it to a new