frzi / swiftui-router

Path-based routing in SwiftUI
MIT License
900 stars 43 forks source link

Add Installation instructions #9

Closed BorntraegerMarc closed 4 years ago

BorntraegerMarc commented 4 years ago

Would be nice for beginners (like me) how to install this swift package

BorntraegerMarc commented 4 years ago

OK, so apparently one can follow these instructions & then under File > Swift Packages > Add Package Dependency enter the repository URL https://github.com/frzi/SwiftUIRouter

frzi commented 4 years ago

That's correct. The ability to add Swift Packages in Xcode was added last year in Xcode 11. Before that, Swift Packages weren't supported by Xcode at all and had to be installed via command line. 😄