Skip to content

ascanzen/SMReactiveRestKit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

ReactiveCocoa extensions for RestKit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 82.5%
  • Ruby 17.5%