Skip to content

Releases: devxoul/URLNavigator

1.2.0

19 Apr 14:45
Compare
Choose a tag to compare
  • 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

25 Feb 06:27
Compare
Choose a tag to compare
  • Improve topMost property to check all windows (#45, @bill350)

1.1.1

27 Nov 18:12
Compare
Choose a tag to compare
  • Add URLConvertible type alias to URLNavigator class (#40, Thanks to @meigesir)

1.1.0

11 Nov 06:17
Compare
Choose a tag to compare

⚠️ 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

28 Sep 14:37
Compare
Choose a tag to compare
  • Fix a bug that trailing slash is removed in scheme-only url pattern (#29, @jrmsklar)

1.0.0

15 Sep 08:16
Compare
Choose a tag to compare

Now supports Swift 3 🎉

URLNavigator

  • defaultNavigator() has renamed to default
  • pushURL(_:from:animated:) has renamed to push(_:from:animated:)
  • presentURL(_:wrap:from:animated:completion:) has renamed to present(_:wrap:from:animated:completion:)
  • openURL(_:) has renamed to open(_:)
  • viewControllerForURL(:_) has renamed to viewController(for:)

URLNavigable

  • init?(URL:values:) has renamed to init?(url:values:)

URLMatcher

  • defaultMatcher() has renamed to default
  • addURLValueMatcherHandler(_:handler:) has renamed to addURLValueMatcherHandler(for:handler:)

URLConvertible

  • URLValue has renamed to urlValue
  • URLStringValue has renamed to urlStringValue

UIViewController

  • topMostViewController() has renamed to topMost
  • topMostViewControllerOfViewController() has renamed to topMost(of:)

0.7.2

13 Sep 07:03
Compare
Choose a tag to compare
  • Make URLMatchComponents pattern and values public (#25, @jrmsklar)

0.7.1

09 Sep 08:23
Compare
Choose a tag to compare
  • Remove queryItems from URLMatchComponents (#23, @devxoul)

0.7.0

05 Sep 10:06
Compare
Choose a tag to compare

0.6.0

25 Apr 03:52
Compare
Choose a tag to compare