SegueHandler
public protocol SegueHandler
Protocol definition for objects that know about segues between UIView controllers. The protocol basically defines a type-safe way to translate from a UIStoryboardSegue.identifier value into a type-specific value (probably an enum)
-
Undocumented
Declaration
Swift
associatedtype SegueIdentifier : RawRepresentable
-
segueIdentifier(for:Extension method) Obtain a segue identifier for a segue
Declaration
Swift
public func segueIdentifier(for segue: UIStoryboardSegue) -> SegueIdentifierParameters
seguethe segue to look for
Return Value
the identifier for the segue
-
performSegue(withIdentifier:Extension methodsender: ) Perform a known segue transition between two view controllers
Declaration
Swift
public func performSegue(withIdentifier segueIdentifier: SegueIdentifier, sender: Any? = nil)Parameters
segueIdentifierthe identifier of the segue to perform
View on GitHub
SegueHandler Protocol Reference