Dillion / iOS-Flip-Transform

Core Animation framework for navigating data by flipping
919 stars 156 forks source link

how to dynamically change text #9

Open kaandedeoglu opened 12 years ago

kaandedeoglu commented 12 years ago

I want to use the flipView as a scoreboard. So I just need two frames, I tried calling [flip printText:....] method to enter the new score before anytime I call [delegate startAnimation:]. But this gets very slow after a few calls, since I think it adds a new layer everytime. I understand I just need two animationFrames but I can't figure out how to change the text of an animation frame dynamically.. Any ideas ?

Dillion commented 12 years ago

Its not possible to render the text dynamically while animating, but you can try reusing the layers and only rendering before and after the flip