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.
Have you seen this technical Q&A from Apple?
It doesn't answer your question directly, but it could help you decide how to implement your model.