SwiftUI: Packaging Views
Learn how to extract your SwiftUI view into a Swift Package that you can reuse in your other apps! Source code: https://github.com/peterfriese/SwiftUI-Building-Components/tree/main/Episode%206 In this series, I will teach you how to build reusable and customizable SwiftUI views that you can reuse across your own projects. Along the way, we're building a reusable text input field with a floating label. 00:00 Intro 00:51 The sample app 03:05 Creating a new local Swift Package 04:41 Extracting code into the new package 05:42 Cleaning up the code 09:42 Reusing the view 10:52 What's next? Subscribe to my newsletter: https://not-only-swift.peterfriese.dev/ Follow me on Twitter: https://twitter.com/peterfriese Follow me on Mastodon: https://iosdev.space/@peterfriese Read my articles on my blog: http://peterfriese.dev Check out my projects on GitHub: https://github.com/peterfriese Source code for this series: https://github.com/peterfriese/SwiftUI-Component-Series
Download
0 formatsNo download links available.