To run the example project, clone the repo, and run pod install
from the Example directory first.
YYURLRequest is available through CocoaPods or Carthage. To install it, simply add the following line to your Podfile or Cartfile:
pod 'YYURLRequest'
github "Pircate/YYURLRequest"
#import <YYURLRequest/YYURLRequest.h>
YYURLRequest *request = [YYURLRequest requestWithBaseURL:[NSURL URLWithString:@""] path:@"" parameters:@{}];
request.cache(^(id response) {
}).then(^(id response) {
}).catch(^(NSError *error) {
});
request.then(^(id response) {
}).catch(^(NSError *error) {
});
Pircate, [email protected]
YYURLRequest is available under the MIT license. See the LICENSE file for more info.