• This repository has been archived on 04/Mar/2020
  • Stars
    star
    3,063
  • Rank 14,708 (Top 0.3 %)
  • Language
    Objective-C
  • Created almost 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Modern NSURLSession based Networking Framework with built in authentication and HTTP 1.1 caching standards support for iOS 8+ devices

This is version 2.0 of MKNetworkKit. Version 2 is based on NSURLSession and NSURLConfiguration.

Version 1.x of MKNetworkKit is deprecated as NSURLConnection is deprecated in iOS 9 and is not available on tvOS.

A Swift version is available [here] (https://github.com/MugunthKumar/MKNetworkKit-Swift)

###Why MKNetworkKit?

  • Single network queue for the whole app
  • Auto queue sizing and auto network indicator support
  • High performance background caching (based on HTTP 1.1 caching specs) built in
  • You don't need a separate image cache library
  • Background image decompression
  • Background completion
  • cURL-able debug lines

These are just a few of most interesting features on MKNetworkKit.

###Installation Drag the MKNetworkKit directory to your project. We will be supporting Carthage soon and have a demo app setup, so you can test the features.

###How to use WIP.

###Licensing

MKNetworkKit is licensed under MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


###Attribution free licensing In case you need attribution free licensing for MKNetworkKit, you can buy one from my license store.


Documentation

Install appledoc from gentlebytes github repo run this on the command line /usr/local/bin/appledoc --project-name MKNetworkKit -v 0.8 --project-company Steinlogic --company-id com.steinlogic.mknetworkkit -o ./Documentation -i .m -s ./MKNetworkKit .

####AppleDoc License appledoc is licensed with modified BSD license. In plain language: you're allowed to do whatever you wish with the code, modify, redistribute, embed in your products (free or commercial), but you must include copyright, terms of usage and disclaimer as stated in the license, the same way as any other BSD licensed code. You can of course use documentation generated by appledoc for your products (free or commercial), but you must attribute appledoc either in documentation itself or other appropriate place such as your website.

If for whatever reason you cannot agree to these terms, contact us through contact form on our about page, we'll do our best to help you out you out and find a workable solution!

Copyright (c) 2009-2011, Gentle Bytes All rights reserved.

Redistribution and use in source, binary forms and generated documentation, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Redistributions of documentation generated by appledoc must include attribution to appledoc, either in documentation itself or other appropriate media.

Neither the name of the appledoc, Gentle Bytes nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Gentle Bytes [email protected]


###TODO

  • Operation coaleasing
  • OAuth/client certificate support
  • Add local notification support
  • MKObject data transformers

More Repositories

1

MKStoreKit

The "Goto" In App Purchases Framework for iOS 8+
Objective-C
2,090
star
2

MKiCloudSync

Sync your NSUserDefaults to iCloud automatically
Objective-C
532
star
3

UIKitCategoryAdditions

Block based Category additions for AlertView and ActionSheets
Objective-C
300
star
4

MKHorizMenuDemo

Demo of MKHorizMenu a simple, drop-in replacement for the Three20 fame horizontal menus used in news apps
Objective-C
258
star
5

MKInfoPanelDemo

Non-modal, non-intrusive Info Panel implementation as seen on some "popular" apps
Objective-C
192
star
6

LocationWithoutPrompt

A proof of concept to show how easy it is to get coarse location of the user without using Core Location
Swift
126
star
7

MKFoundation

MKFoundation is a bunch of foundation classes that you can use in your application
Objective-C
114
star
8

MKBlockTimer

Measure the time taken to execute a block of codeโ€ฆ usingโ€ฆ blocks!
Objective-C
107
star
9

MKTickerViewDemo

A drop-in control for creating stock tickers in your app
Objective-C
97
star
10

MKNetworkKit-Swift

A Pure Swift Implementation of MKNetworkKit. This is the Swift Networking framework you will ever need.
Swift
88
star
11

LocalNotifications

Creating Local Notifications on iOS 4
Objective-C
82
star
12

MKEntryPanelDemo

Entry Panel UI
Objective-C
68
star
13

DeviceHelper

Helper class to identify capabilities of a iOS device
Objective-C
54
star
14

Gravatar

Objective-C Gravatar API
Objective-C
47
star
15

CurlNSMutableURLRequestDemo

Prints your NSMutableURLRequests as a equivalent curl command.
Objective-C
22
star
16

SwiftLogger

A Logging framework for Swift
Swift
18
star
17

GoldenRatioColorDemo

Generate Random Colors using the Golden Ratio
Objective-C
13
star
18

third-party-json-adapters

Third Party JSON Adapters for NSJSONSerialization in iOS 5
Objective-C
12
star
19

MKDocumentSync

Sync your Documents directory with iCloud in a single line of code. #NOT
Objective-C
7
star
20

GoldenRatioColors

Generate aesthetically random colors
Swift
4
star
21

MK-UndoCloseTab

Undo your closed tabs with this simple chrome extension
2
star
22

UITextViewAttributedStringBug

This is the sample code illustrating the Radar 15159094
Objective-C
1
star
23

mugunthkumar.github.com

Pages
1
star