MKSG-MugunthKumar / MKNetworkKit

Modern NSURLSession based Networking Framework with built in authentication and HTTP 1.1 caching standards support for iOS 8+ devices
http://mk.sg/8w
3.06k stars 755 forks source link

Cannot Use MKNetworkKit in iOS 8 Extensions #438

Open DeepFriedTwinkie opened 10 years ago

DeepFriedTwinkie commented 10 years ago

Because MKNetworkKit references UIApplication and networkActivityIndicatorVisible, they cannot be used for data access in iOS extensions.

fraserscottmorrison commented 9 years ago

Just encountered this issue myself - any plan to fix or will I have to find an alternative?

MKSG-MugunthKumar commented 9 years ago

Hmm, interesting. I'll fix this in an upcoming release on v2 branch.

fraserscottmorrison commented 9 years ago

Awesome! I get a build error at every line that references [UIApplication sharedApplication]

fraserscottmorrison commented 9 years ago

Fixed this and have submitted a pull request https://github.com/MugunthKumar/MKNetworkKit/pull/460