SwiftInstagram Versions Save

Instagram API client written in Swift

v1.1.2

5 years ago

Added

  • Compatibility with Swift 4.2.

v1.1.1

6 years ago

Added

  • Compatibility with Swift 4.1.

Fixed

  • Fix bug with media objects JSON decoding (#26).

v1.1.0

6 years ago

Added

  • You can now use your own authentication method (Read more).
  • New success handlers on:
    • createComment()
    • deleteComment()
    • like(media: ...)
    • unlike(media: ...)
  • Search media and location by latitude and longitude:
    • func searchMedia(latitude: Double? = nil, longitude: Double? = nil, ...)
    • func searchLocation(latitude: Double? = nil, longitude: Double? = nil, ...)
  • New option to get all the permission scopes on login:
    • login(..., withScopes: [.all], ...)

Changed

  • retrieveAccessToken() method is now public (#15).
  • storeAccessToken() is also public (#17).

Fixed

  • Problem with all the HTTP POST requests (e.g. #20).

v1.0.6

6 years ago

Added

  • JSON parser improvements.
  • General source code improvements.

Changed

  • searchLocation() method attributes lat and lng have been replaced by coordinates.
  • isSessionValid() method has been renamed to isAuthenticated (property).
  • Change key for keychain (#11).
  • Better handling of #7 bug.

v1.0.5

6 years ago

Changed

  • The Success and Failure handlers, for all the API endpoints, are no longer nullable.

Fixed

  • Fixed the bug parsing InstagramMedia objects with a location property (#7).

v1.0.4

6 years ago

Added

  • 100% documented code.

Changed

  • Now, the redirection URI must be defined in the Info.plist file. See wiki.
  • The createdTime attribute of the classes InstagramComment and InstagramMedia has been renamed to createdDate and returns an object of type Date.
  • Improves Codebeat GBA.

Fixed

  • Fixed the type of the returned errors.

v1.0.3

6 years ago

Changed

  • Improved documentation.
  • InstagramAuthScope renamed to InstagramScope.

v1.0.2

6 years ago

Added

  • InstagramLoginViewController hides automatically when concludes.
  • @discardableResult to logout() method.

Changed

  • Better code organization, especially for networking.

Fixed

  • Authorization process errors are now correctly captured.
  • Travis CI build error.

v1.0.1

6 years ago

Added

  • Use of DispatchQueue for parsing JSON and calling callback functions.

Changed

  • The source code is now a little simpler thanks to the use of typealias.
  • The structure of the functions has changed, there are two callbacks now (success and failure) instead of just one.

Fixed

  • Login page WKWebView now fits correctly when rotating device.

v1.0.0

6 years ago

Added

  • Initial release.