How to implement didReceiveMemoryWarning in Swift?
Swift Swift uses ARC just like Objective-C does (source to Apple Docs). The same kind of rules apply for freeing memory, remove all of the references to an object and it will be deallocated. How to free memory I assume that disposing of resources means setting them to nil, but what exactly are “resources that … Read more