Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A set of classes for iOS including network requests for uploading and downloading large (and small) files, a manager for queuing requests and indicating the newtwork status as well as some other usefull classes for communicating with a server.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 GCNetworkKit
Octocat-spinner-32 GCNetworkKitDemo
Octocat-spinner-32 GCNetworkKitDemoMac
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.mdown
README.mdown

GCNetworkKit

GCNetworkKit is a helpful set of classes for interacting with a http server. All classes make use of ARC. In order to use it you need to drag the folder into your xcode project. You also need to add the MobileCoreServices and the SystemConfiguration framework to your project.

License

GCNetworkKit is licensed under the Apache License, Version 2.0.

Content

GCDataTransformer

In this file you can find several methods to transform response data to something useful.

  • JSON to NSObject
  • NSData to NSString
  • ...

GCNetworkAPIWrapper

Subclass it to have a foundation for a client based wrapper of an http server. You get a network queue, fast request creation methods and much more.

GCNetworkCenter

This class notifies you about connection changes.

GCNetworkRequestOperation

This is a NSOperation wrapper for GCNetworkRequest.

GCNetworkRequestQueue

This is NSOperationQueue wrapper for network requests.

GCNetworkRequest

The base network request including:

  • ability to keep connection to the server when app enters background
  • block based callback functions
  • network activity indicator handling
  • ...

GCNetworkDownloadRequest

Perfect for downloading large files as they don't get cached in memory. This class directly writes downloaded data to disk and deletes it once the callback function is finished.

GCNetworkFormRequest

Perfect for uploading big files as it makes use of an input and output stream.

GCNetworkImageRequest

This is subclass of GCNetworkRequest for downloading images.

Something went wrong with that request. Please try again.