Edytuj

Udostępnij za pośrednictwem


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_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)

Indicates that the application has finished restoring state.

DecodeRestorableState(IUIStateRestoring, NSCoder)

Decodes and restores state.

EncodeRestorableState(IUIStateRestoring, NSCoder)

Encodes state-related information.

GetObjectRestorationClass(IUIStateRestoring)

Gets the class that recreates the restored object.

GetRestorationParent(IUIStateRestoring)

Gets the parent of the object to restore.

Applies to