MKNetworkKit is a MacOS & iOS networking framework that automatically takes care of caching responses and remembers operations when the client is offline.
Questions tagged [mknetworkkit]
69 questions
23
votes
1 answer
What are the differences between MKNetworkKit and AFNetworking?
I'm running some test on those two networking framework: MKNetworkKit and AFNetworking. And I am seeing that it is not easy to see the differences between the two libs. What are the major differences between the two?

MonsieurDart
- 6,005
- 2
- 43
- 45
6
votes
1 answer
What's the alternative for kSecTrustResultConfirm in iOS 7?
Our old app uses MKNetworkKit and MKNetworkOperation.
Now under iOS 7 kSecTrustResultConfirm is deprecated.
In MKNetworkOperation, there is this code:
else if(result == kSecTrustResultConfirm) { // DEPRECATED
…

openfrog
- 40,201
- 65
- 225
- 373
6
votes
1 answer
MKNetworkKit operation doesn't resume/complete when reachability changes
I'm new to MKNetworkKit, but I've been able to add it to my project and it's perfectly working except when dealing with reachability changes.
Here is the situation:
I disable WiFi and run the app.
Even without reachability, I request (using POST)…

msoler
- 2,930
- 2
- 18
- 30
5
votes
2 answers
iOS app SSL .p12 Authentication - bad certificate error (-9825)
Updates
Edit 2/6/14:
I created a local Apache Tomcat server to test SSL w/ certificate authentication. I was successful! Everything works as expected, using both of my approaches below. (MKNetworkKit, and custom code). While this does tell me my…

njtman
- 2,160
- 1
- 19
- 32
3
votes
1 answer
how to resume downloads using MKNetworkKit in the event of network failure
MKNetworkKit allegedly supports resuming of interrupted downloads, but it's not clear how one would go about this. In another thread, it's developer says it works if the server sends Range headers.
How to cancel or pause download operation of…

Lucas
- 136
- 6
3
votes
2 answers
One MKNetworkEngine object when using MKNetworkKit
I just switched over to using MKNetworkKit and I'm confused whether I should create one MKNetworkEngine object at App launch and use that whenever I want a net connection, or if I should be creating a new one each time?
If I needed to create just…

Roger Gilbrat
- 3,755
- 5
- 34
- 58
2
votes
0 answers
Memoy leak on NSJSONSerialization JSONObjectWithData
I have searched for this problem but didn't get any proper solution. In my application I am giving multiple recursive Asynchronous calls to server. I am using the MKNetworkKit for performing network operation.
Pseudocode of my implementation:
-…

ViruMax
- 1,216
- 3
- 16
- 41
2
votes
1 answer
EXC_BAD_ACCESS with MKNetworkEngine
I'm using MKNetworkkit to parse XML data to the server. Before Entering into the success block its gets crash with EXC_BAD_ACCESS with out any reason and am already done with NSZombieEnabled like all the stuffs.
iApple
- 252
- 1
- 12
2
votes
1 answer
when to use dispatch_get_main_queue
I have learnt one global rule in iOS -> never to block main thread.
However, several time I run into open source code snippets where this rule is violated.
Two such examples are follows :
The following function is taken from…

Kunal Balani
- 4,739
- 4
- 36
- 73
2
votes
1 answer
iOS: Encountered an error kCFURLErrorUserCancelledAuthentication -1012?
In iOS application is required to sign a certificate request, which had previously been obtained. When I try to run a query catch this error:
kCFURLErrorUserCancelledAuthentication -1012.
The documentation…

Robot Bender
- 85
- 10
2
votes
1 answer
How to use MKNetwork framework for http proxy server in objective-C
I want to use a proxy server when opening a url connection with objective-c.But I don't want to use any frameworks other than MKNetworkKit(a third party framework) in my project.Can anyone tell me how to accomplish this?

Richard
- 53
- 7
2
votes
0 answers
MKNetworkKit download multiple files and wait for all to be ready using addDependency
I want my application to download a zipfile and a couple of movies. I want to wait for all of them to be ready before continuing my app.
Here's the code so far. The problem is, the application will always continue as soon as the zipfile is…

Michiel van Baak
- 126
- 9
2
votes
0 answers
Intermittent SSL Failures Authenticating with Server Using ASIHTTPRequest and MKNetworkKit
I'm working on an iOS app and I'm having intermittent SSL failures when I try to access some of the APIs on our API server. The failures don't happen all the time, but they happen enough to be a significant problem. When an SSL failure occurs, the…
user237969
2
votes
3 answers
How to pass a NSArray to a POST using MKNetworkKit
MKNetworkOperation *op = [self operationWithPath:@"thestore/services/storeservice.svc/getfavorites"
params:fetchedObjects
httpMethod:@"POST"];
The…

Dave Smith
- 23
- 1
- 3
1
vote
1 answer
How to cancel or pause download operation of MKNetworkKit iOS?
I am very new to iOS Programming and have been learning for only a month or two.
My plan is to download files from websites.
I am using MKNetworkKit and learning a little bit and testing it.
I can download the file from the web but I cannot pause or…

zhtway
- 283
- 5
- 20