Memento-SwiftUI Memento Design Pattern - with DocEditor SwiftUI example ⚠️ Boundaries around business logic are ignored for simplicity.