An open API service indexing awesome lists of open source software.

https://github.com/filimo/genericnetwork

Sample project to use mocks in Canvas Preview without Live mode
https://github.com/filimo/genericnetwork

combine swift swiftui xctest

Last synced: 7 months ago
JSON representation

Sample project to use mocks in Canvas Preview without Live mode

Awesome Lists containing this project

README

          

# GenericNetwork

## Code from aticles
[Creating generic networking APIs in Swift](https://www.swiftbysundell.com/articles/creating-generic-networking-apis-in-swift/)

[Testing networking logic in Swift](https://www.swiftbysundell.com/articles/testing-networking-logic-in-swift/)

Implemented mock via View.onAppear for Canvas Preview without running Live mode.

![](Assets/MockInCanvas_onAppear.png)

Implemented mock via Store for Canvas Preview without running Live mode.

![](Assets/MockInCanvas_Store.png)