After struggling to get
NSUndoManager to work correctly in a Swift-only app under OS X 10.11 El Capitan, I finally figured it out (and it works the same for iOS 9). The meat is in answer I posted to a StackOverflow question. Reposted below for completeness.
Who Is Josh
Josh lives in Danville, Virginia, USA with his husband and too many cats.
amazon app apple bartas bigotry bioinformatics blood book cara career cats censorship cocoa code death debug drag excuses faceapp fuckery grief hypnagogia indie ios ipad iphone loss mac niaid nih objective-c organization pets religion research russians safari sleep spam spice steve jobs swift telework transcriva ui vaccine xcode xtabulator zendesk ziplight