SMReactiveRestKit 0.4

SMReactiveRestKit 0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2020

Maintained by Stefano Mondino.



 
Depends on:
ReactiveCocoa>= 0
RestKit>= 0
 

SMReactiveRestKit

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.