SkillAgentSearch skills...

SMReactiveRestKit

ReactiveCocoa extensions for RestKit

Install / Use

/learn @stefanomondino/SMReactiveRestKit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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, stefano.mondino.dev@gmail.com

License

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

Related Skills

View on GitHub
GitHub Stars26
CategoryDevelopment
Updated6y ago
Forks7

Languages

Objective-C

Security Score

75/100

Audited on Aug 13, 2019

No findings