UIStateRestoring_Extensions 类

定义

接口的 IUIStateRestoring 扩展方法,以支持协议中的所有方法 UIStateRestoring

public static class UIStateRestoring_Extensions
type UIStateRestoring_Extensions = class
继承
UIStateRestoring_Extensions

注解

的扩展方法 IUIStateRestoring 允许开发人员将 接口的实例视为具有原始 UIStateRestoring 协议的所有可选方法。 由于 接口仅包含所需成员,因此这些扩展方法允许开发人员调用协议的可选成员。

方法

ApplicationFinishedRestoringState(IUIStateRestoring)

指示应用程序已完成还原状态。

DecodeRestorableState(IUIStateRestoring, NSCoder)

解码和还原状态。

EncodeRestorableState(IUIStateRestoring, NSCoder)

对状态相关的信息进行编码。

GetObjectRestorationClass(IUIStateRestoring)

获取重新创建还原的 对象的类。

GetRestorationParent(IUIStateRestoring)

获取要还原的 对象的父级。

适用于