Converts a posted notification into this main actor message type for any observers.
To implement this method in your own `MainActorMessage` conformance, retrieve values from the ``Notification``'s ``Notification/userInfo`` and set them as properties on the message.
- Parameter notification: The posted ``Notification``.
- Returns: The converted `MainActorMessage` or `nil` if conversion is not possible.
Converts a posted main actor message into a notification for any observers.
To implement this method in your own `MainActorMessage` conformance, use the properties defined by the message to populate the ``Notification``'s ``Notification/userInfo``.
- Parameters:
- message: The posted `MainActorMessage`.
- Returns: The converted ``Notification``.
get · iOS 26.0+
animationCoordinator
TypeScript
get animationCoordinator(): Promise<(UIFocusAnimationCoordinator) | null>
Swift declaration
var animationCoordinator: UIFocusAnimationCoordinator?