Re: Core Animation + Garbage Collection

2009-08-23 Thread Evan M
Kyle, I don't have a custom layer, I'm animating the transition between two NSViews. -- Evan On Aug 23, 2009, at 4:24 PM, Kyle Sluder wrote: On Aug 23, 2009, at 1:00 PM, Kevin Cathey wrote: Have you enabled "wants layer" for the view? And if you have, have you made sure to provide a c

Re: Core Animation + Garbage Collection

2009-08-23 Thread Evan M
Kevin, Yes, wantsLayer is enabled. -- Evan On Aug 23, 2009, at 4:00 PM, Kevin Cathey wrote: Have you enabled "wants layer" for the view? Kevin -- Kevin Cathey On 22 Aug 2009, at 22:21, Evan M wrote: So, it isn't Garbage Collection + Core Animation that is breakin

Re: Core Animation + Garbage Collection

2009-08-23 Thread Kyle Sluder
On Aug 23, 2009, at 4:34 PM, Rob Keniger wrote: Why's that? It seems to work fine in all my testing. There are cases where it breaks. Providing your own layer is the defining difference between a layer- backed and a layer-hosting view. AppKit makes certain assumptions about the underlying

Re: Core Animation + Garbage Collection

2009-08-23 Thread Rob Keniger
On 24/08/2009, at 6:24 AM, Kyle Sluder wrote: Have you enabled "wants layer" for the view? And if you have, have you made sure to provide a custom layer *before* calling -setWantsLayer:? The default AppKit provided layer is Not Yours to touch. Why's that? It seems to work fine in all m

Re: Core Animation + Garbage Collection

2009-08-23 Thread Kyle Sluder
On Aug 23, 2009, at 1:00 PM, Kevin Cathey wrote: Have you enabled "wants layer" for the view? And if you have, have you made sure to provide a custom layer *before* calling -setWantsLayer:? The default AppKit provided layer is Not Yours to touch. --Kyle Sluder ___

Re: Core Animation + Garbage Collection

2009-08-23 Thread Kevin Cathey
Have you enabled "wants layer" for the view? Kevin -- Kevin Cathey On 22 Aug 2009, at 22:21, Evan M wrote: So, it isn't Garbage Collection + Core Animation that is breaking the transition, I just refactored my entire project to remove GC support (big pain) and the

Re: Core Animation + Garbage Collection

2009-08-22 Thread Evan M
So, it isn't Garbage Collection + Core Animation that is breaking the transition, I just refactored my entire project to remove GC support (big pain) and the animation hasn't changed at all. Now I'm looking at my custom NSView that is being animated and I'm wondering now if that is the prob

Re: Core Animation + Garbage Collection

2009-08-19 Thread Bill Bumgarner
On Aug 19, 2009, at 10:54 AM, Evan Moseman wrote: I've been trying to get a fairly simple and well documented transition: CIPageCurlTransition to work in my app, but the results are awful. Non filter transitions like kCATransitionFade work fine, but when I try to use a CAFilter for the tra