Implementing NSUserActivity-based restoration in my iOS app, and it’s SOOOO much cleaner and easier to reason than the old state restoration stuff. Still, I find some best practices hard to know, and there’s not much prior art that I can find.