Protocol

UIObjectRestoration

A set of methods used by classes that act as "restoration classes” for objects during the state restoration process.

Overview

A restorable object must set its objectRestorationClass property to the class that adopts this protocol. The method in this protocol should be used to return the object if it already exists or create it if needed.

Topics

Creating the Restorable Object

static func object(withRestorationIdentifierPath: [String], coder: NSCoder)

Asks the receiver to provide the object that corresponds to the specified identifier information.

Required.

See Also

Interface Restoration

protocol UIViewControllerRestoration

A set of methods used by classes that act as "restoration classes” for view controllers during the state restoration process.

protocol UIStateRestoring

A set of methods that let you include any object in your state restoration archives.