objective c - how to make the images downloading from web fastly? -
i'm having array of image urls (say count=10), have display images in nscollectionview. images took lot of time display. lazy loading? i'm searching mac osx not ios.
if images not downloaded can still show view. display placeholder, or activityindicator instead of each image, , when each of images finishes downloading, replace placeholder correct image. make sure download images on background thread , perform replacing on main thread. recommend using nsoperationqueue downloading on background thread.
Comments
Post a Comment