Latest 0.4
Homepage https://github.com/stefanomondino/SMReactiveRestKit
License MIT
Platforms ios 6.0, osx 10.8, requires ARC
Dependencies ReactiveCocoa, RestKit
Authors

Pod Version
Pod Platform

SMReactiveRestKit brings all the power of RestKit into ReactiveCocoa world. It wraps RKObjectManager into a signal that can be subscribed to.

Usage

Base use:

RKObjectManager* objectManager;
[[objectManager rac_getPath:@"yourPath" parameters:@{@"param1":@"value1"} ]
                subscribeNext:^(RKMappingResult* mapping) {
                    if (mapping) {
                        NSLog(@"%@",mapping);
                    }
                }
];

You can also send a multipart dictionary to your server and map back the result, see examples and documentation for more detailed info.

To run the example project; clone the repo, and run pod install from the Example directory first.

Contributions are REALLY welcome!

Installation

SMReactiveRestKit is available through CocoaPods, to install
it simply add the following line to your Podfile

pod 'SMReactiveRestKit'

It will also automatically import pods for RestKit, ReactiveCocoa and libextobjc/EXTScope

Author

Stefano Mondino, [email protected]

License

SMReactiveRestKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SMReactiveRestKit",
    "version": "0.4",
    "summary": "ReactiveCocoa implementation for RestKit",
    "description": "                      SMReactiveRestKit brings all the power of RestKit into ReactiveCocoa world. It wraps RKObjectManager into a signal that can be subscribed to.n",
    "homepage": "https://github.com/stefanomondino/SMReactiveRestKit",
    "license": "MIT",
    "authors": {
        "Stefano Mondino": "[email protected]"
    },
    "source": {
        "git": "https://github.com/stefanomondino/SMReactiveRestKit.git",
        "tag": "0.4"
    },
    "social_media_url": "http://www.stefanomondino.com",
    "platforms": {
        "ios": "6.0",
        "osx": "10.8"
    },
    "ios": {
        "frameworks": [
            "SystemConfiguration",
            "MobileCoreServices"
        ]
    },
    "osx": {
        "frameworks": [
            "SystemConfiguration",
            "CoreServices"
        ]
    },
    "prefix_header_contents": "#import n#if __IPHONE_OS_VERSION_MIN_REQUIREDn  #import n  #import n#elsen  #import n  #import n#endifn",
    "requires_arc": true,
    "source_files": "Classes",
    "public_header_files": "Classes/*.h",
    "dependencies": {
        "ReactiveCocoa": [],
        "RestKit": []
    }
}

Pin It on Pinterest

Share This