Swiftpack.co - Giphy/giphy-ios-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Giphy.
Giphy/giphy-ios-sdk v2.1.22
Home of the GIPHY SDK iOS example app, along with iOS SDK documentation, issue tracking, & release notes.
⭐️ 69
🕓 3 weeks ago
.package(url: "https://github.com/Giphy/giphy-ios-sdk.git", from: "v2.1.22")

GIPHY SDK for iOS

The fastest and easiest way to bring the full GIPHY experience directly to your app is with the GIPHY SDK. Built with developers and product designers in mind, the GIPHY SDK is a top-to-bottom solution for all things GIF in your app. This includes interfacing with GIPHY API, fetching and caching assets, and displaying GIFs and Stickers on screen in customizable UI templates.

With billions of requests a day, it’s safe to say GIPHY knows GIFs. We're excited to share our best-in-class tools with you so your users can have the best GIF experience possible, with all the same features they're already enjoying on Facebook, Slack, Instagram, and more – with just a few lines of code.

New! GIPHY’s proud to introduce GIPHY Clips, aka GIFs with Sound, to the mix! GIPHY Clips is our newest content format at the intersection of GIFs and Video. Clips combines the expression and entertainment of GIFs, with the added engagement of audio. Integrating the SDK will allow your users to seamlessly express themselves with this new format, all while staying in the experience in your app.

Get Started

GitHub

link
Stars: 69
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v2.1.22
3 weeks ago
  • Updates the example apps with the latest SDK versions
  • Addresses Issue #203: All core request functions now provide an optional timeoutInverval parameter, so that developers may override the default value of 60.
GiphyCore.shared.gifByID("", timeoutInterval: 30) { response, error in 
        }
  • Adds two new optional functionals to the GiphyDelegate, for API request error logging.
func errorDidOccur(_ error: Error) {
}
func syntheticErrorDidOccur() {
}
  • Exposes the GIPHY Clips (GIFs with Sound!) preview screen view controller, so that developers may utilize this UI outside of the GiphyViewController context.

For developers providing Clips content in a GiphyGridController based integration, we recommend using this GPHClipsViewController component to enable your users to preview the clip with sound before selecting it.

Present a single clip in a view controller like so:

let clipsPreview = GPHClipsViewController(media: media)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics