nunzio giulio caggegi nunzio giulio caggegi - 1 year ago 130
Swift Question

Swift nsuserdefaults remove

When i use removeObjectForKey of nsuserdefaults,
also free the memory that the data occupies in ram?

let defaults = NSUserDefaults.standardUserDefaults()

Answer Source

Properties stored in NSUserDefaults do not occupy RAM. The are saved in the flash memory (like hard disk).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download