Skip to content

laurensk/SwiftUI-CustomNavigationLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI-CustomNavigationLink

SwiftUI package to use custom views with NavigationLink.

What is this?

SwiftUI-CustomNavigationLink allows you to use freely designed views with the build-in NavigationView. The CustomNavigationLink works like a button which navigates to the destination view.

Install

Swift Package Manager

https://github.com/laurensk/SwiftUI-CustomNavigationLink.git 

Usage

import SwiftUI import SwiftUICustomNavigationLink struct ContentView: View { var body: some View { List { CustomNavigationLink(destination: AnyView(Text("This is the destination"))) { AnyView(YourCustomRowView()) } } } } 

About

SwiftUI package to use custom views with NavigationLink

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages