An Attempt at Swift UI
SwiftUI lets us build declarative user interfaces in Swift. There's a new declarative UI structure that defines how our layouts look and work. Updating the UI preview automatically generates new Swift code, and changing the Swift code updates the UI preview.
I tried to replicate the UI of a well known App. My Attempt was to check how much of structure i can create with SwiftUI and results were amazing.
I am not sure if these are the best practises to do things in SwiftUI. I removed all the preview code as i was running MacOS Mojave and there's no preview available yet.
Version
Swift 5, iOS 13, Xcode 11 beta
Screenshots
References
Articles
Video Links
- Introducing SwiftUI: Building Your First App
- Data Flow Through SwiftUI
- SwiftUI Presenting Data In A Scroll View & List
- SwiftUI Fetching JSON and Image Data with BindableObject