Contents

allowedClasses(forRestorableStateKeyPath:)

Returns the classes that support secure coding.

Declaration

class func allowedClasses(forRestorableStateKeyPath keyPath: String) -> [AnyClass]

Parameters

  • keyPath:

    The key path of the restorable object.

Return Value

An array of classes that support secure coding.

Discussion

The system calls the function during a secure state restoration and restores values only for the allowed classes your app returns in the array.

See Also

Handling Window Restoration