         self.scheme = scheme
     }
     
-    public class func addRoute(routePattern: NSURL, handler: RouteHandler) {
+    public class func addRoute(routePattern: NSURL, handler: SwiftRoutesHandler) {
         if routePattern.scheme.characters.count > 0 {
             SwiftRoutes.routesForScheme(routePattern.scheme).addRoute(routePattern, priority: 0, handler: handler)
         } else {


    private static var routesControllers = [SwiftRoutes]()

    private var handlers = Dictionary<String, RouteHandler>()
    private var scheme: String
    private var routes = [SwiftRoute]()
    


import UIKit

public typealias SwiftRoutesHandler = ((Dictionary<String, String>) -> Bool)

let globalScheme = "SwiftRoutesGlobalScheme"
let keyAbsoluteString = "absoluteString"
