It turned out to be a fantastic and elegant solution. RouteComposer was not our first choice as originally it looked too complex. We tried a programmatic navigational approach in the code and also tried to rely on a few other libraries. Push notification or a link in an email, they will land on the required view in the app seamlessly no matter of the state In our iOS app we wanted to provide a seamless experience for our users to guarantee that whenever they click on a It makes navigation in the app as simple as saying "go to x with y" and not worrying about the current state or stack.Įlazar Yifrach, Sr iOS Developer Viz.ai Hudson's Bay Company You a ton of coding once you implement it. It does have a small learning curve, but one that pays off far more than coordinators and flow controllers, and will save The separation of concerns on this library is absolutely beautiful, and as with anything genius, it all works like magic. RouteComposer was an amazing fit for us, and actually, as the creator of this library states, it is the drop in replacement for any Lead to mixing application logic and navigation, or creating massive coordinator classes. Coordinators and other flow-control libraries just didn't answer our needs, and API documentationĭetailed API documentation can be found here.Īt Viz.ai, the leading synchronised stroke care service, we went into replacing our entire navigation system, and we knew we needed toĪddress complex and dynamic navigation scenarios. But if you are going to implement your custom containersĪnd actions you should be familiar with the library concepts and UIKit's view controller navigation stack intricacies. There are no actual requirements to use this library. To run the example project, clone the repo, and run pod install from the Example directory first. It, simply add the following line to your Podfile: RouteComposer is available through CocoaPods. Able to work side-by-side with any other navigation mechanism that exist in the IOs application: Builtin or custom.Simplify the creation of the User facing A/B tests with the different navigation and layout patterns.Make every UIViewController deep-linkable out of the box.Allow the composition of the UIViewControllers in different ways according to the application state.Remove navigation code from UIViewControllers.Provide the navigation configuration in a declarative way and address the majority of the navigation cases.Facilitate the cutting of an application into small logical steps of navigation.Programmatic navigation: forces UIViewControllers coupling or can be complex depending on the chosen design.UIViewControllers and can lead to a lot of boilerplate code Built-in mechanism: navigation in the storyboards is relatively static and often requires the extra navigation code in the.Programmatic navigation directly in the code.Built-in mechanism provided by Apple using storyboards and segues. There are 2 ways of implementing the navigation available in the iOS application: RouteComposer is the protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigationĪnd deep linking tasks in the iOS application.Ĭan be used as the universal replacement for the Coordinator pattern.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |