GitHubSearchWithSwiftUI icon indicating copy to clipboard operation
GitHubSearchWithSwiftUI copied to clipboard

SwiftUI and Combine based GitHubSearch 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

  • [x] Search with TextField's text
  • [x] Reflect API responses to List
  • [x] Separate API access from BindableObject
  • [x] Use Combine with API access
  • [x] Reflect responses in MainThread via Combine

Requirements

  • Xcode 11 Beta 5
  • Swift 5.1
  • iOS 13 Beta

References

License

GitHubSearchWithSwiftUI is under MIT license. See the LICENSE file for more info.