iOS Guides | Samples

MonoTouch.UIKit.UIStateRestoring_Extensions Class

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

See Also: UIStateRestoring_Extensions

Syntax

public static class 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.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIStateRestoring_Extensions are listed below.

See Also: Object

Public Methods

static
ApplicationFinishedRestoringState(this IUIStateRestoring)
Indicates that the application has finished restoring state.
static
DecodeRestorableState(this IUIStateRestoring, NSCoder)
Decodes and restores state.
static
EncodeRestorableState(this IUIStateRestoring, NSCoder)
Encodes state-related information.
static
GetObjectRestorationClass(this IUIStateRestoring) : Class
Gets the class that recreates the restored object.
static
GetRestorationParent(this IUIStateRestoring) : IUIStateRestoring
Gets the parent of the object to restore.