ios - Haneke in Swift: Eagerly loading images -
is there way load image url , write directly disk cache (without presenting them uiimageview
), can emulate eager loading?
problems emanate need present 100+ images 4mb each (can't resize them lower); decided download of them disk cache, displaying progress bar user, , presenting them after in disk cache.
any solution uses hanake emulate eager loading do.
could download , save in nscache
like
let cache = nscache() cache.setobject(image, forkey: theurlyoudownloadedfrom)
Comments
Post a Comment