Swift Gathering all info published, both by Apple and by others, about new framework SwiftUI.
Since past Apple's keynote, where SwiftUI was announced, tons of docs, examples, videos and tutorials have appeared. The goal of this repository is to gather all this information having an unique place where looking for info about SwiftUI.
SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs. With a declarative Swift syntax that’s easy to read and natural to write, SwiftUI works seamlessly with new Xcode design tools to keep your code and design perfectly in sync. Automatic support for Dynamic Type, Dark Mode, localization, and accessibility means your first line of SwiftUI code is already the most powerful UI code you’ve ever written.
Views and Controls. Present your content onscreen and handle user interactions.
View Layout and Presentation. Combine views in stacks, generate groups and lists of views dynamically, and define view presentations and hierarchy.
Drawing and Animation. Enhance your views with colors, shapes, and shadows, and customize animated transitions between view states.
Framework Integration. Integrate SwiftUI views into existing apps, and embed AppKit, UIKit, and WatchKit views and controllers into SwiftUI view hierarchies.
Data and Events
State and Data Flow. Control and respond to the flow of data and changes within your app’s models.
Gestures. Define interactions from taps, clicks, and swipes to fine-grained gestures.
Previews in Xcode
Previews. Generate dynamic, interactive previews of your custom views.
SwiftUI. This is some of the official examples of the SwiftUI layout framework for the full platform of the apple released by WWDC2019 today. I hope to help you understand and learn this new layout framework!
SwiftUITodo. An example to-do list app using SwiftUI which is introduced in WWDC19.
KeyboardAvoiding. A SwiftUI view that manages a UIViewController that responds to keyboard events with modified additionalSafeAreaInsets.
DispatchStore. Swift package that implements an operation based, multi-store à-la Flux for SwiftUI.
SwiftUITheme. A first idea to style SwiftUI Views.
Lists_-_Navigation_SwiftUI. Exploration of Apple Developer's SwiftUI tutorial, detailing how to build lists and enable navigation between views with #SwiftUI.
injectable. A micro framework that leverages Swift Property Wrapper to implement the Service Locator pattern.
NetworkImage.swift. Basic NetworkImage support for SwiftUI via Kingfisher