steamclock / netable

A Swift library for encapsulating network APIs using Codable in a type-oriented way.
MIT License
99 stars 3 forks source link

Revamp example project #93

Closed brendanlensink closed 2 years ago

brendanlensink commented 3 years ago

Fixes #91

I would have prefferred to make this with SwiftUI, but as long as we're supporting iOS 13 I think it makes sense to keep this with UIKit to stand a little bit better of a chance of detecting if we break something.

This is a pretty simple 'app' with little to no UI. We could spend some more time making it look nicer and filling in some more complex examples, but I didn't want to go too far without validating that this is a good start.

I think we might want to also add some more elaborate examples of tricky situations we'd run into with other projects, but couldn't come up with any good examples to start with. Any suggestions?

nbrooke commented 2 years ago

Looks good in general, couple minor tweaks I'd make before merging (Don't think we need a re-review after these if we just make them and merge):

Some other things we might want to consider having examples of if we do want to spend a bit more time fleshing this out:

Some larger things we might want to think about:

brendanlensink commented 2 years ago

Fixed your suggestions in the first part, and filed https://github.com/steamclock/netable/issues/94 to address the improvements/upgrades.