[go: up one dir, main page]

Skip to content

Adapter for using native navigation between SwiftUI and UIKit

Notifications You must be signed in to change notification settings

pavellunev99/ViewControllerAdapter

Repository files navigation

ViewControllerAdapter

A simple adapter to use native navigation between SwiftUI and UIKit

Installation:

It requires iOS 14

In Xcode go to File -> Swift Packages -> Add Package Dependency and paste in the repo's url: https://github.com/pavellunev99/ViewControllerAdapter

or just copy the code from the Source folder :)

Usage

 NavigationView {
    VStack {
      NavigationLink("Push View Controller", destination: ViewControllerAdapter(SomeViewController()))
    }
    .navigationTitle("SwiftUI View")
 }

About

Adapter for using native navigation between SwiftUI and UIKit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages