CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Mangogo 1.0.2

Mangogo 1.0.2

Maintained by kysonzhu.



Mangogo 1.0.2

  • By
  • kysonzhu

Mangogo

A light-weight network framework based on service.

Getting started

iOS

  • integrate to your application

Add the following line to your Podfile:

pod 'Mangogo'

run pod install

  • usage
//register service mediator
[MGTaskPool registerNetworkMediatorWithName:NSStringFromClass(XXXNetworkServiceMediator.class)];
//add delegate
[[MGTaskPool shareInstance] addDelegate:self];
//and do service
[[MGTaskPool shareInstance] doServiceWithName:SERVICENAME_KYSON_INDEX params:nil];

and you can get response by

-(void)taskpool:(MGTaskPool *) pool serviceFinished:(id )service response:(MGServiceResponse *) response {}

Detail Useage

see demo

Discussion

You can add comments here : 高解耦的网络请求框架Mangogo