…urn a YES or NO.
switch statement in previous approach was causing exc_bad_access.
Replace returning id with calling invocation method. Also replace all uses of 'completion' with 'success'.
We don't do underscores.
Now we tell UAGE to invoke the necessary API call and return the result. In -invoke, we create the NSError and id that get returned when the connection either succeeds or fails. This avoids replication of code all over the blinking place, and keeps each individual method down to a single line. (Also gives us the option to completely revise the way this works without having to change every single method again. Can just change the NSInvocation.)
Error passed-by-reference to -sendRequest:. Now filled if an error is encountered before the end of the method. If an error is present, we return nil.
Previously incorrectly used NSInteger for gist id and NSString for gist comment id. These were backwards.
Conflicts: .gitignore AppController.m README.md UAGithubEngine.h UAGithubEngine.m UAGithubEngineDelegate.h UAGithubEngineRequestTypes.h
Connection returns NSError with UAGithubAPILimitReached domain.
No longer used since the move to blocks.
reachabilityRef is a CF object and so needs releasing via CFRelease() even though we're under ARC. (Credit Donny Kurniawan).
Converted to ARC using migration tool.