Skip to content

Instantly share code, notes, and snippets.

@aronbalog
Last active July 26, 2019 19:27
Show Gist options
  • Save aronbalog/8a84b39d8f4c35af1a93f722a828475a to your computer and use it in GitHub Desktop.
Save aronbalog/8a84b39d8f4c35af1a93f722a828475a to your computer and use it in GitHub Desktop.
import Foundation
import ARoute
protocol Route {
var path: String { get }
var registrationPath: String { get }
var redirectRoute: Route { get }
func getViewController(parameters: [String: Any]?, embeddingType: RouteEmbeddingType?) -> UIViewController?
func getEmbeddingViewController(parameters: [String : Any]?, embeddingType: RouteEmbeddingType?) -> UIViewController?
func map(parameters: [String: Any]?, embeddingType: RouteEmbeddingType?) -> ARouteRequestExecutable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment