Skip to content

Ahmed-Masoud/NetworkLayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Layer

Description

This is a generic network layer using Alamofire and Object Mapper based on Moya concepts but just a lightweighted version

Usage

You can really use this in any way that you like or feel comfortable with the basic structure is that we have 2 generic functions one that promises a decoded response and the other is just an optimistic call were we dont care about the response just to know if the call succeded or failed Also provided with the repo BaseResponse files whic can be editedeasily to map you Backend responses and an optional BaseError just in case you have a diffrent structure for the failure response

Author

Ahmed-Masoud, ahmedmasoud82@gmail.com

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors