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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -