I’ve been adding support for the Github API to my fork of CocoaREST. Right now I’ve added:
In addition I’ve added a tab to the demo app to show some of these. In it you can view user information by name (SDGithubTaskUserShow) and get a list of repositories (SDGithubTaskGetRepos). The tableview is set run a new task to find forks of the selected repository (SDGithubTaskGetRepoNetwork) on selection change.
The GithubDelegate is kind of a cumbersome class in that it handles all of the task results even though the API returns different results for each task. Ideally I would use a specialized class to delegate for each task, but it’s just for demonstration.