Awful/Awful.app — pull request #307 by nolanw (2014-09-23 02:45:32+00:00)
Title: Empty cache button

This is a surprisingly annoying feature. Everything that keeps a reference to the main `managedObjectContext` (remembering that instances of `NSManagedObject` refer to their context) needs to be able to forget that reference, then reestablish it later.

Fortunately many view controllers are familiar with this dance through UIKit state preservation and restoration.

Unfortunately, they're not that familiar.