I have an entity named Group. The Group entity has a transient attribute named displayImage. This displayImage is computed on the fly. The computations involve 2 or more image rotations, scaling. and cropping. Note: the images involved in the computations are retrieved from another entity.
I have a UITableView, which displays the Group entities. In each Group cell, I display the displayImage.
The question: how can I implement it so that the displayImage is computed in the background (to avoid screen ferezes while the computation is ongoing)?
I have seen examples of displaying images asynchronously, but that involves setting the image of a UIImageView in main thread after the asynchronous call has come back. My problem is that the asynchronous call will set a transient property of an NSManagedObject.