Wow, this is my problem described exactly. Is there a way to complete
the run loop so the animation will run during the original call to
changeRightView? I have a feeling I'm missing an important concept
here. Thanks for all the help.
- First call to changeRightView:
- turns on la
Matt,
Thanks for the help! I have a split view and I will replace the
subview of the right half when a particular button is pressed in the
menu. changeRightView is the method that handles it. The subview may
be a tableview or a scrollview/textview and resizing the window or
splitview wi
Hey Steve,
Your call to setWantsLayer won't take effect until the next run loop.
So here is what happens (I think).
- First call to changeRightView:
- turns on layer backing for next run loop
- adds the animation (transition) for next run loop
- sets the delegate for t
I'm enabling a core animation when I replace a subview and I want the
animation layer to go away when the transition is finished so I don't
have the blinky window resizing and other fun fade effects that I
don't want.
I have a problem with my code. The first time I changeRightView the
CALay