Instance Property

objectRestorationClass

The class responsible for creating this object when restoring the app’s state.

Declaration

@property(nonatomic, readonly) Class<UIObjectRestoration> objectRestorationClass;

Discussion

If an object has an associated restoration class, the objectWithRestorationIdentifierPath:coder: method of that class is called during state restoration. That method is responsible for returning the object that matches the provided path identifier information. If this property isnil, the object must already exist and be registered with the state restoration engine so that it can be found implicitly. You can register the object using the registerObjectForStateRestoration:restorationIdentifier: method at launch time.

The restoration class must conform to the UIObjectRestoration protocol.

See Also

Accessing the Object Information

restorationParent

The parent object used to scope the current object.