PerformIncomingURLAction
final public class PerformIncomingURLAction : UIAction
The action that performs an action associated with a given URL.
Expected input state type: URL Expected presenter type: PresentationRouter
This will attempt to resolve the URL against the known URL routes defined on URLMapped features of the app.
-
Declaration
Swift
public typealias InputType = URL -
Declaration
Swift
public typealias PresenterType = PresentationRouter -
Declaration
Swift
public static var description: String -
The errors possible from performing the action for a given URL mapping
See moreDeclaration
Swift
public enum URLActionError : Error -
Attempt to resolve the URL against a URL mapping, and execute the action.
The completion outcome will fail with error
noURLMappingFoundif the URL does not map to anything that Flint knows about.Declaration
Swift
public static func perform(context: ActionContext<URL>, presenter: PresentationRouter, completion: Action.Completion) -> Action.Completion.Status
View on GitHub
PerformIncomingURLAction Class Reference