public interface UIStateRestoring
To participate in state restoration, the function registerObjectForStateRestoration must be called for the object.
| Modifier and Type | Method and Description |
|---|---|
default void |
applicationFinishedRestoringState()
applicationFinishedRestoringState is called on all restored objects that implement the method *after* all other object
decoding has been done (including the application delegate).
|
default void |
decodeRestorableStateWithCoder(NSCoder coder) |
default void |
encodeRestorableStateWithCoder(NSCoder coder)
Methods to save and restore state for the object.
|
default UIObjectRestoration |
objectRestorationClass()
The restoration class specifies a class which is consulted during restoration to find/create
the object, rather than trying to look it up implicitly
|
default UIStateRestoring |
restorationParent()
The parent property is used to scope the restoration identifier path for an object, to
disambiguate it from other objects that might be using the same identifier.
|
default void applicationFinishedRestoringState()
default void decodeRestorableStateWithCoder(NSCoder coder)
default void encodeRestorableStateWithCoder(NSCoder coder)
default UIObjectRestoration objectRestorationClass()
default UIStateRestoring restorationParent()