This repository has been archived by the owner on Oct 14, 2018. It is now read-only.
Releases: AnderGoig/SwiftInstagram
Releases · AnderGoig/SwiftInstagram
1.1.2
1.1.1
1.1.0
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
Fixed
- Problem with all the HTTP POST requests (e.g. #20).
1.0.6
1.0.5
1.0.4
Added
- 100% documented code.
Changed
- 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
- Fixed the type of the returned errors.
1.0.3
1.0.2
Added
InstagramLoginViewController
hides automatically when concludes.@discardableResult
tologout()
method.
Changed
- Better code organization, especially for networking.
Fixed
- Authorization process errors are now correctly captured.
- Travis CI build error.
1.0.1
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
andfailure
) instead of just one.
Fixed
- Login page
WKWebView
now fits correctly when rotating device.