1.1.1 (2017-04-06)
- Compatibility with Swift 4.1.
- Fix bug with media objects JSON decoding (#26).
1.1.0 (2017-01-21)
- 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], ...)
retrieveAccessToken()
method is now public (#15).storeAccessToken()
is also public (#17).
- Problem with all the HTTP POST requests (e.g. #20).
1.0.6 (2017-11-03)
- JSON parser improvements.
- General source code improvements.
searchLocation()
method attributeslat
andlng
have been replaced bycoordinates
.isSessionValid()
method has been renamed toisAuthenticated
(property).- Change key for keychain (#11).
- Better handling of #7 bug.
1.0.5 (2017-10-18)
- The
Success
andFailure
handlers, for all the API endpoints, are no longer nullable.
- Fixed the bug parsing
InstagramMedia
objects with alocation
property (#7).
1.0.4 (2017-10-10)
- 100% documented code.
- Now, the redirection URI must be defined in the Info.plist file. See wiki.
- The
createdTime
attribute of the classesInstagramComment
andInstagramMedia
has been renamed tocreatedDate
and returns an object of typeDate
. - Improves Codebeat GBA.
- Fixed the type of the returned errors.
1.0.3 (2017-10-08)
- Improved documentation.
InstagramAuthScope
renamed toInstagramScope
.
1.0.2 (2017-10-07)
InstagramLoginViewController
hides automatically when concludes.@discardableResult
tologout()
method.
- Better code organization, especially for networking.
- Authorization process errors are now correctly captured.
- Travis CI build error.
1.0.1 (2017-10-03)
- Use of
DispatchQueue
for parsing JSON and calling callback functions.
- 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
andfailure
) instead of just one.
- Login page
WKWebView
now fits correctly when rotating device.
1.0.0 (2017-09-30)
- Initial release.