Releases: devxoul/URLNavigator
Releases · devxoul/URLNavigator
1.2.0
- Add support mappingContext and navigationContext (#48)
⚠️ Breaking API Changes
URLNavigable
- init?(url: URLConvertible, values: [String: Any], userInfo: [AnyHashable: Any]?)
+ init?(navigation: Navigation)
URLNavigator
- func push(_ url: URLConvertible, userInfo: [AnyHashable: Any]? = nil, from: UINavigationController? = nil, animated: Bool = true) -> UIViewController?
+ func push(_ url: URLConvertible, context: NavigationContext? = nil, from: UINavigationController? = nil, animated: Bool = true) -> UIViewController?
- func present(_ url: URLConvertible, userInfo: [AnyHashable: Any]? = nil, wrap: Bool = false, from: UIViewController? = nil, animated: Bool = true, completion: (() -> Void)? = nil) -> UIViewController?
+ func present(_ url: URLConvertible, context: NavigationContext? = nil, wrap: Bool = false, from: UIViewController? = nil, animated: Bool = true, completion: (() -> Void)? = nil) -> UIViewController?
1.1.2
1.1.1
1.1.0
⚠️ Breaking API Changes
- Add support to pass extra values when pushing or presenting URLs. The URLNavigator initializer now has
userInfo
as a third parameter. See Documentation for more info. (#37, @wilddylan)
1.0.1
1.0.0
Now supports Swift 3 🎉
URLNavigator
defaultNavigator()
has renamed todefault
pushURL(_:from:animated:)
has renamed topush(_:from:animated:)
presentURL(_:wrap:from:animated:completion:)
has renamed topresent(_:wrap:from:animated:completion:)
openURL(_:)
has renamed toopen(_:)
viewControllerForURL(:_)
has renamed toviewController(for:)
URLNavigable
init?(URL:values:)
has renamed toinit?(url:values:)
URLMatcher
defaultMatcher()
has renamed todefault
addURLValueMatcherHandler(_:handler:)
has renamed toaddURLValueMatcherHandler(for:handler:)
URLConvertible
URLValue
has renamed tourlValue
URLStringValue
has renamed tourlStringValue
UIViewController
topMostViewController()
has renamed totopMost
topMostViewControllerOfViewController()
has renamed totopMost(of:)
0.7.2
0.7.1
0.7.0
0.6.0
- Add support for setting navigator scheme. (#11, @juancruzmdq, @devxoul)
- Add
queryParameters
andqueryItems
property toURLConvertible
. (#13, @juancruzmdq, @devxoul)