Latest 1.0.2
Homepage https://github.com/kysonzhu/Mangogo
License MIT
Platforms ios 8.0, requires ARC
Authors

A light-weight network framework based on service.

Getting started

iOS

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

Latest podspec

{
    "name": "Mangogo",
    "version": "1.0.2",
    "license": "MIT",
    "summary": "A light-weight network framework based on service for iOS.",
    "homepage": "https://github.com/kysonzhu/Mangogo",
    "authors": {
        "kysonzhu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kysonzhu/Mangogo.git",
        "tag": "1.0.2"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Mangogo/Core/**/*.{h,m}"
}

Pin It on Pinterest

Share This