Skip to content
This repository has been archived by the owner on Oct 14, 2018. It is now read-only.

Releases: AnderGoig/SwiftInstagram

1.1.2

14 Oct 16:41
Compare
Choose a tag to compare

Added

  • Compatibility with Swift 4.2.

1.1.1

06 Apr 17:48
71a9428
Compare
Choose a tag to compare

Added

  • Compatibility with Swift 4.1.

Fixed

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

1.1.0

21 Jan 03:08
0037741
Compare
Choose a tag to compare

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).

1.0.6

03 Nov 22:19
a0b314f
Compare
Choose a tag to compare

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.

1.0.5

18 Oct 17:59
Compare
Choose a tag to compare

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).

1.0.4

10 Oct 19:36
Compare
Choose a tag to compare

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.

1.0.3

08 Oct 01:53
Compare
Choose a tag to compare

Changed

  • Improved documentation.
  • InstagramAuthScope renamed to InstagramScope.

1.0.2

06 Oct 23:41
Compare
Choose a tag to compare

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.

1.0.1

03 Oct 20:58
Compare
Choose a tag to compare

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.

1.0.0

30 Sep 20:55
Compare
Choose a tag to compare

Added

  • Initial release.