top of page

Create Your First Project

Start adding your projects to your portfolio. Click on "Manage Projects" to get started

NetworkWrapperiOS

Project type

iOS Package

Date

March 10, 2023

Location

Canada

NetworkWrapperiOS is a networking wrapper class written in Swift that provides a simple and easy-to-use interface for making network requests. It's built on top of URLSession and it handles the response of the requests using closures.

Features:
- Supports GET, POST, PUT, PATCH and DELETE HTTP methods
- Automatically handles JSON decoding and encoding
- Simple and easy-to-use interface
- Provides two main functions:
- request(url:completion:): makes a request to the provided URL and returns the Data in the completion block
- request<T: Decodable>(url:completion:): makes a request to the provided URL and returns the decoded object of type T in the completion block

bottom of page