Top "Nscache" questions

NSCache is a cache-related class included in Apple's Foundation framework.

How to use NSCache

Can someone give an example on how to use NSCache to cache a string? Or anyone has a link to …

ios objective-c xcode cocoa nscache
Save NSCache Contents to Disk

I'm writing an app that needs to keep an in-memory cache of a bunch of objects, but that doesn't get …

iphone cocoa-touch cocoa nscache
iOS - Best practice to save Images locally - NSCache vs Save in Document Directory

I'm developing an app that similar to Instagram feed (tableviews with cells that contain images and some labels). For all …

ios uiimage nsurlsession nscache
How to approach 'caching' in iOS development with Swift

I am facing some issues in terms of what caching mechanism to implement for my iOS application. First, lets explain …

ios caching core-data swift3 nscache
Empty the cache programmatically in iOS

Does anyone by coincidence know how I can empty the cache memory of the iOS app that I am developing, …

ios caching nscache
What is the proper way to use NSCache with dispatch_async in a reusable table cell?

I have been looking for a clear cut way to do this and have not found anywhere that will give …

iphone ios asynchronous nscache
How to store data in NSCache in ios?

I am very new to NSCache. I have an API call which results in several objects.How to store these …

objective-c nscache
NSCache is not evicting data

NSCache is a rarely used tool which actually looks quite useful. I created a simple experiment to see how it …

iphone objective-c ios nscache
Download and cache images in UITableViewCell

Note: Please no libraries. This is important for me to learn. Also, there are a variety of answers on this …

ios swift uitableview nscache
NSCache crashing when memory limit is reached (only on iOS 7)

We are using NSCache for UIImages in our app. This works fine on iOS versions smaller than 7. When a memory …

objective-c memory ios7 nscache