Is drawRect: called on multiple threads when using a CATiledlayer?

Posted by Steve Weller on Stack Overflow See other posts from Stack Overflow or by Steve Weller
Published on 2010-06-18T01:22:30Z Indexed on 2010/06/18 1:33 UTC
Read the original article Hit count: 485

I know that drawLayer: and drawlayer:inContext: are called on multiple threads when using a CATiledlayer, but what about drawRect:?

Apple's PhotoScroller example code uses drawRect: to get its images from disk, and it has no special code for handling threads.

I am trying to determine whether my model for a CATiledLayer must be thread-safe.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch