Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.22 #205

Merged
merged 2 commits into from
Jun 2, 2022
Merged

2.1.22 #205

merged 2 commits into from
Jun 2, 2022

Conversation

cgmaier
Copy link
Contributor

@cgmaier cgmaier commented Jun 1, 2022

  • Updates the example apps with the latest SDK versions
  • Addresses Issue How to set timeout #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 handling.
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, or in conjunction with a GiphyGridController-based integration.

Present a single clip in a modal view controller like so:

let clipsPreview = GPHClipsViewController(media: media)

@cgmaier cgmaier merged commit 30047d1 into main Jun 2, 2022
@cgmaier cgmaier deleted the 2.1.22 branch September 23, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant