I know that Apple officially recommends UIKit to be used in the main thread only. However, I’ve also heard claims that UIImage is thread-safe since iOS 4.0. I cannot find any documentation backing this claim.
Does anyone have any information to support this claim? As a class used to store data and decode image data, UIImage should be thread-safe if well designed.
It is true that apple recommends using elements from the UIKIt on the main thread:
Since UIImage isn’t derived from UIResponder, and you do not actually display it on the interface/screen. Then doing operations with UIImages on another thread should be safe.
This is however based on my experience, I haven’t seen any official documentation about it.