nunzio giulio caggegi nunzio giulio caggegi - 9 months ago 80
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()


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