Overview

This framework is a wrapper which contains 3 other frameworks : Foundation, SQL, SQLite.
By downloading this framework you will have all dependencies included.



Features


OAuth / OAuth2 / JWT


URL Builders


Caches


Connections


Requests


Utils


Webservices




Installation


Android


Integration is made via Maven, simple declare our maven repository in your gradle file and declare a dependencie to the framework you want. Here is a sample integration for DGNetwork :

        
repositories {
maven {
    url 'http://maven.digipolitan.com/libraries-release/' }
}
dependencies {
compile 'com.digipolitan.libraries:DGNetwork:1.0'
}
        
      

iOS



Cocoapods


1. You can integrate DGNetwork via CocoaPods, simply declare a dependency to the framework you want in your PodFile. Here is a sample integration for DGNetwork :

        
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '5.1.1'

pod 'DGNetwork'
        
      

2. Open the terminal, to browse to your project directory and type

        
pod install
        
      

3. You need to close your project and open the workspace generating by Cocoapod.



Nota : For more information about CocoaPods we suggest you to visit their website : http://cocoapods.org

Drag & Drop

1. You need to download the framework by clicking this link.
Then you have to drag and drop the framework into your project to use it.



Network - Step 1

2. You also need to add SystemConfiguration.framework and libsqlite3.dylib into your project

Network - Step 2


Network - Step 3

Network - Step 4