You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Swift, GiphyYYAnimatedImageView.image is not explicitly declared to conform to the GiphyYYAnimatedImage protocol. The result is that trying to get the duration of a frame from GiphyYYAnimatedImageView is pretty unintuitive.
GiphyYYAnimatedImageView.image.animatedImageDuration(at:) doesn't work. Instead you'd need to do GiphyYYAnimatedImageView.image as? GiphyYYAnimatedImage.animatedImageDuration(at:) which is cumbersome and perhaps not obvious.
iOS SDK v2.1.8
The text was updated successfully, but these errors were encountered:
In Swift,
GiphyYYAnimatedImageView.image
is not explicitly declared to conform to theGiphyYYAnimatedImage
protocol. The result is that trying to get the duration of a frame fromGiphyYYAnimatedImageView
is pretty unintuitive.GiphyYYAnimatedImageView.image.animatedImageDuration(at:)
doesn't work. Instead you'd need to doGiphyYYAnimatedImageView.image as? GiphyYYAnimatedImage.animatedImageDuration(at:)
which is cumbersome and perhaps not obvious.iOS SDK v2.1.8
The text was updated successfully, but these errors were encountered: