Instance Method


Marks the responder’s interface-related state as dirty.


func invalidateRestorableState()


Call this method whenever the restorable state of your responder changes. This method marks the responder’s state as dirty, which causes that state to be written to disk at some point in the future. Do not override this method.

See Also

Handling Window Restoration

func encodeRestorableState(with: NSCoder)

Saves the interface-related state of the responder.

func restoreState(with: NSCoder)

Restores the interface-related state of the responder.

class var restorableStateKeyPaths: [String]

Returns an array of key paths representing the restorable attributes of the responder.