XCoordinator | Powerful navigation library for iOS | iOS library

 by   quickbirdstudios Swift Version: 2.1.0 License: MIT

kandi X-RAY | XCoordinator Summary

kandi X-RAY | XCoordinator Summary

XCoordinator is a Swift library typically used in Mobile, iOS, Uikit applications. XCoordinator has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

In general, an app's structure is defined by nesting coordinators and view controllers. You can transition (i.e. push, present, pop, dismiss) to a different coordinator whenever your app changes to a different flow. Within a flow, we transition between viewControllers. Example: In UserListCoordinator.prepareTransition(for:) we change from the UserListRoute to the UserRoute whenever the UserListRoute.user route is triggered. By dismissing a viewController in UserListRoute.logout, we additionally switch back to the previous flow - in this case the HomeRoute. To achieve this behavior, every Coordinator has its own rootViewController. This would be a UINavigationController in the case of a NavigationCoordinator, a UITabBarController in the case of a TabBarCoordinator, etc. When transitioning to a Coordinator/Router, this rootViewController is used as the destination view controller.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              XCoordinator has a medium active ecosystem.
              It has 1828 star(s) with 145 fork(s). There are 36 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 12 open issues and 129 have been closed. On average issues are closed in 189 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of XCoordinator is 2.1.0

            kandi-Quality Quality

              XCoordinator has no bugs reported.

            kandi-Security Security

              XCoordinator has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              XCoordinator is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              XCoordinator releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of XCoordinator
            Get all kandi verified functions for this library.

            XCoordinator Key Features

            No Key Features are available at this moment for XCoordinator.

            XCoordinator Examples and Code Snippets

            No Code Snippets are available at this moment for XCoordinator.

            Community Discussions

            QUESTION

            Swift: How to use Xcoordinator to set a root view controller from child coordinator?
            Asked 2020-Jun-02 at 11:52

            I'm trying to understand how to use XCoordinator to set a root view controller from a child coordinator.

            I have an app delegate that runs the app coordinator.

            The pattern I have is:

            AppDelegate  - App Coordinator   --- Main Menu Coordinator   --- Game Coorinator

            (see image)

            The app coordinator should not know about specific view controllers directly because I believe the view controllers should managed by their own respective coordinator.

            Thus, the app coordinator should manage the flow between the coordinators and set a root, initial coordinator.

            Sadly, the screen is blank, and keeps complaining that I can't as "Pushing a navigation controller is not supported".

            But if I directly instantiate the view controller inside my appcoordinator its fine and I don't know why.

            ...

            ANSWER

            Answered 2020-Jun-01 at 18:45

            I am doing smth like this:

            Source https://stackoverflow.com/questions/62127114

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install XCoordinator

            To integrate XCoordinator into your Xcode project using CocoaPods, add this to your Podfile:.

            Support

            To get more information about XCoordinator, check out the documentation. Additionally, this repository serves as an example project using a MVVM architecture with XCoordinator. For a MVC example app, have a look at some presentations we did about the Coordinator pattern and XCoordinator.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/quickbirdstudios/XCoordinator.git

          • CLI

            gh repo clone quickbirdstudios/XCoordinator

          • sshUrl

            git@github.com:quickbirdstudios/XCoordinator.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular iOS Libraries

            swift

            by apple

            ionic-framework

            by ionic-team

            awesome-ios

            by vsouza

            fastlane

            by fastlane

            glide

            by bumptech

            Try Top Libraries by quickbirdstudios

            FlippingNotch

            by quickbirdstudiosSwift

            PullToReach

            by quickbirdstudiosSwift

            SwiftUI-Architectures

            by quickbirdstudiosSwift

            SurveyKit

            by quickbirdstudiosKotlin

            opencv-android

            by quickbirdstudiosC++