What's new - TheM4hd1/SwiftyInsta GitHub Wiki

2.0

Version 2.0 brings a completely redesigned SwiftyInsta experience.
Everything has been rebuilt from the ground up to provide a faster, swifty-er, access to Instagram Private API.

New features

  • macOS, tvOS and watchOS support: you're no longer stuck with iOS.
  • more APIHandlers at the same time: no more .shared and singletons, now you can run several APIHandlers, each connected to a different account. And since we were already there, we made SessionCache Authentication.Response persistency as simple as calling a single method (thanks to keychain-swift).
  • DynamicResponse: Instagram added a new property in the JSON response of your favorite endpoint and you don't want to write a pull request to update it? No worries: now you can read the entire response, staticly-typed and Swift-ready.
  • UserShortModel, OwnerModel, UserModel: who really needs N different types for the same response? Welcome User. And what about trying to manage thumbnails or videos from a MediaModel? No more. Media's accessories are here for you.
  • Siwa: Siwa's authentication has always been superior to SwiftyInsta's, we know. So we started from that, made it stupidly easy, and added it to SwiftyInsta, so you no longer have to choose between a half-decent login experience or adding a new dependency.
  • Swift 5.0: it's 2019, after all.
  • so much more