Link Search Menu Expand Document

TransitionContextViewKey

The keys you use to identify the views involved in a transition.

public struct TransitionContextViewKey: Equatable, Hashable, RawRepresentable 

Inheritance

Equatable, Hashable, RawRepresentable

Nested Type Aliases

RawValue

public typealias RawValue = String

Initializers

init(rawValue:)

public init(rawValue: RawValue) 

Properties

rawValue

public let rawValue: RawValue

from

A key that identifies the view shown at the beginning of the transition, or at the end of a canceled transition.

public static var from: TransitionContextViewKey 

to

A key that identifies the view shown at the end of a completed transition.

public static var to: TransitionContextViewKey