Tuesday, March 6, 2012

Sooner or later I'll learn. Force a memory error when testing

Because in the real world, when a memory warning causes the parent windows to give up their resources, it causes viewDidLoad to be run again when the parent view appears. This can cause oddball side effects so this should be tested with every app before release.