Quartz 2D's drawing text and NSTimer in custom method

Posted by coure06 on Stack Overflow See other posts from Stack Overflow or by coure06
Published on 2010-05-28T04:14:58Z Indexed on 2010/05/28 4:21 UTC
Read the original article Hit count: 373

Filed under:
|
|

i want to show text using quartz 2d. Text will be drawing randomly on different position after each 1 seconds. I am not sure how i can use NSTimer with quartz 2D text. I can draw text in drawRect method where graphics context is already available.
How i will draw text using my custom method myDraw which will be called after 1 second using NSTimer?

If i create my custom Method the graphics context is not available in that method.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone-sdk