UIStateRestoring_Extensions UIStateRestoring_Extensions Class

Definition

Extension methods to the IUIStateRestoring interface to support all the methods from the UIStateRestoring protocol.

public static class UIStateRestoring_Extensions
type UIStateRestoring_Extensions = class
Inheritance
UIStateRestoring_ExtensionsUIStateRestoring_Extensions

Remarks

The extension methods for IUIStateRestoring allow developers to treat instances of the interface as having all the optional methods of the original UIStateRestoring protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

ApplicationFinishedRestoringState(IUIStateRestoring) ApplicationFinishedRestoringState(IUIStateRestoring)

Indicates that the application has finished restoring state.

DecodeRestorableState(IUIStateRestoring, NSCoder) DecodeRestorableState(IUIStateRestoring, NSCoder)

Decodes and restores state.

EncodeRestorableState(IUIStateRestoring, NSCoder) EncodeRestorableState(IUIStateRestoring, NSCoder)

Encodes state-related information.

GetObjectRestorationClass(IUIStateRestoring) GetObjectRestorationClass(IUIStateRestoring)

Gets the class that recreates the restored object.

GetRestorationParent(IUIStateRestoring) GetRestorationParent(IUIStateRestoring)

Gets the parent of the object to restore.

Applies to