update network layer

This commit is contained in:
Jungpyo Hong 2021-05-19 22:42:57 -05:00 committed by GitHub
parent 3982ab5653
commit 2fbdac385f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,9 +248,12 @@ router.request(.first(country: London)) { [weak self] (results: Result<CountryWe
> **CountryWeather should be a model with Decodable**
If you want to see how can I use Network Layer in Project, check [this](https://github.com/jphong1111/Unsplash_Clone/tree/main/Unsplah_Clone/ReusableComponent/NetworkLayer)
This reusable network layer files for referenced from [here](https://medium.com/flawless-app-stories/writing-network-layer-in-swift-protocol-oriented-approach-4fa40ef1f908)
> Also [Alamofire](https://github.com/Alamofire/Alamofire) will be a great option for Network Layer!
## Image Picker
- [Image Picker](https://github.com/jphong1111/Useful_Swift/blob/main/Helper/ImagePickerHandler/ImagePicker.swift)