swift - Store CGImage in RAM -


i working 100 large cgimage , can ask application display of them. since delay had wait before image draw on screen annoying, decided load images asynchronously (using operationqueue) if loading completed should, in theory, view image , if loading not completed, application can still asks specific cgimage , waiting in worst case long before implementation of operationqueue.

but not get. experiencing reduction in loading time of cgimages still bit annoying. looking @ activity monitor noticed ram usage of application not grow. but when specific cgimage displayed on screen, ram usage grows , consequently if ask again cgimage loading immediate

what missing? have maybe got tell os want cgimage stored in ram , not in "chache"?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -