To run the example project, clone the repo, and run pod install
from the Example directory first.
GITSRest is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GITSRest"
import GITSRest
GITSRest.runRequest(urlRequest: createRequest(), jsonValidation : { json in
if json["status"].intValue != 200
{
return NSError(domain: json["message"].stringValue, code: json["status"].intValue, userInfo: nil)
}
return nil
}, callback: { err, json in
})
GITSRest is available under the MIT license. See the LICENSE file for more info.