Releases: Giphy/giphy-ios-sdk
Releases · Giphy/giphy-ios-sdk
v1.1.2
v1.1.1
- supports
Xcode 11
/iOS 13
/Swift 5.1
(no longer supports Xcode 10 / Swift 5) - switch back to static frameworks (fixes "duplicate symbol warnings")
- no more png image assets - icons are now converted to code. this helps solve issues around including image resources with Cocoapods with added benefit of a smaller .framework size
- remove button classes
GPHGiphyButton
,GPHGifButton
, andGPHContentTypeButton
. Developers can now download Sketch file here for buttons to prompt the GIPHY experience
v1.1
- option to remove checkered background for stickers via
showCheckeredBackground
setting - fix
dimBackground
setting GiphyViewController
now inherits the status bar appearance of itspresentingViewController
- we maintain our own version of YYImage inside the SDK. this release renames these
YYImage
classes toGiphyYYImage
to avoid the possibility of name conflicts in the case than an app already depends on a instance ofYYImage
- allow devs to set a custom height of
GiphyViewController
viaGiphyViewController.trayHeightMultiplier
. this value represents the percentage of the presenting controller's height which the tray "snaps" to (this setting is exclusive towaterfall
layout) - under-the-hood refactor around to improve grid component reusability (for internal use only)
v1.0.2
- Fixes an issue where it was impossible to set
GiphyViewController
'smediaTypeConfig
property from Objective-c. Now you can do this with:
[giphy setMediaConfigWithTypes: [[ NSMutableArray alloc] initWithObjects:
@(GPHContentTypeGifs), @(GPHContentTypeStickers), @(GPHContentTypeText), @(GPHContentTypeEmoji), nil ] ];
- Previously a Static Library, the
GiphyUISDK.framework
is now compiled as a Dynamic Library. This is to address an issue with how Cocoapods includes resources for Static Libraries.
v1.0.1
v1.0.1 addresses some minor developer feedback
- Enable Bitcode
- The
GiphyDelegate
methodfunc didSelectMedia(giphyViewController: GiphyViewController, media: GPHMedia)
now returns theGiphyViewController
instance in addition to the selected media, so you can easily dismiss it.
This reinforces our recommendation that the presenting view controller should not maintain a reference to the GiphyViewController
and a new GiphyViewController
should be recreated every time it is presented.