SwiftUI and Combine based GitHub Search example
GitHubSearchWithSwiftUI
GitHubSearchWithSwiftUI is an example that using Combine and SwiftUI
Receive Results | Receive Error | SafariViewController |
---|---|---|
ricemill-sample branch is a sample which used Ricemill (that is Unidirectional Input / Output framework with Combine and SwiftUI).
TODO
- Search with TextField’s text
- Reflect API responses to List
- Separate API access from BindableObject
- Use Combine with API access
- Reflect responses in MainThread via Combine
Requirements
- Xcode 11 Beta 5
- Swift 5.1
- iOS 13 Beta
References
- https://developer.apple.com/tutorials/swiftui/tutorials
- https://developer.apple.com/documentation/swiftui
- https://developer.apple.com/documentation/combine
- https://developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
- Data Flow Through SwiftUI
- Building Custom Views with SwiftUI
- Combine in Practice
- Introducing Combine
- Introducing Combine and Advances in Foundation
License
GitHubSearchWithSwiftUI is under MIT license. See the LICENSE file for more info.