/ImgurKit

An Objective-C library created to easily handle Imgur API requests within iOS and OS X apps

Primary LanguageObjective-CMIT LicenseMIT

The development of this project has stopped. However, Geoff MacDonald refactored it into a new project named ImgurSession, go check it out.

ImgurKit

ImgurKit is an Objective-C library created to easily handle Imgur API requests within iOS and OS X apps, it is built on AFNetworking and its OAuth extension. ReactiveCocoa is also used to provide some easily chainable asynchronous methods. The project is at an early stage, I'm currently prototyping the classes so don't use this library unless you want to test it.

Todo

This todo list currently exists to list specific aspects of the library, not all the endpoints of the Imgur API that should be handled.

Whole project

  • Rework indentation
  • Add some source-code documentation for every class/method. Probably based on appledoc syntax.

Album and Image models

  • The non-basic classes should return non-basic albums/images but this requires to make two request to Imgur, the user must be warned about this

IKClient

  • Enable anonymous navigation
  • Add rate limits informations
  • The various sharedInstance... class methods are confusing. They must be removed and replaced by a single method.

IKAlbum

  • An album could be incomplete, this must be handled (see the Album model)

IKImage

  • Add a progress callback for file uploads (impossible for URL uploads)

Tests

  • The testAuthenticateUsingOAuthWithPIN method must handle iOS
  • Add a test for the URLWithSize method from the IKBasicImage class
  • Add a library to provide promises, which will simplify the tests. Once the library is added, the testAuthorizationURLAsync test should be rewrite to use all the authentication types available.