Releases: Giphy/giphy-ios-sdk
Releases · Giphy/giphy-ios-sdk
v2.1.4
v2.1.3
- Support for Swift Package Manager
- Replace dependency on
PINCache
with custom cache solution. Access theURLCache
viaGPHCache.shared.cache
- Switch to
dynamic
library (previously static) - this removes requirement of adding-Objc
flag toOther Linker Flags
in build settings. - As a result of switching to dynamic library, the
use_frameworks!
flag is no longer necessary
v2.1.2
- hopeful fix where cancelling
GPHAsyncOperation
associated withgifById
calls may have been leading to crashes - fix for overriding
tabBarSwitchSelectedColor
not working as expected (#137) - remove restrictions on
numberOfTracks
(#134) - addresses #116 (closures of gifById and downloadAsset will now be properly called on timeout)
- provide customization of text on confirmation screen via
GiphyViewController.confirmationScreenChooseButtonText
(#108) - expose
GPHCache
to Objective-C (added@objcMembers
) - update to
GPHGridDelegate
which includesError
in contentDidUpdate in addition to result count (#107)
func contentDidUpdate(result: Result<Int, Error>)
binary here: https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.2/GiphySDK.zip
v2.1.1
- switch to a single
GiphyUISDK.xcframework
(previously fat frameworksGiphyUISDK.framework
&GiphyCoreSDK.framework
) - support for Mac Catalyst and Apple Silicon architectures (Issue #126)
- removes
user_target_xcconfig
settings (Issue #133) - be sure to remove all
GiphyCoreSDK
imports from your code before running
import GiphyCoreSDK
- publicly released to CocoaPods trunk. simply add
pod 'Giphy'
to your Podfile and runpod update
- if you're not using CocoaPods, download the framework directly here - you will need to add
PINCache
andlibwebp
to your project
v2.1.0
- remove dependency on
DeepDiff
- make
GPHRecents
publicly accessible, so that developers can access them when using theGiphyGridController
https://github.com/Giphy/giphy-ios-sdk-ui-example/blob/master/Docs.md#recents - support for Xcode 12.3
- important: this release is not currently available through trunk due to issues passing validation - manually update to this version by adding this line to your Podfile:
pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.0/Giphy.podspec'
the validation issues relate to the new Apple Silicon M1 simulator architectures - we are actively working on a long term solution for this
v2.0.9
- enables the partner profiles feature to help promote creators behind gifs. profiles are surfaced for @user-name searches.
- introduces a new function to the
GiphyDelegate
profile, which includes the content type for a selected gif:
@objc optional func didSelectMedia(giphyViewController: GiphyViewController, media: GPHMedia, contentType: GPHContentType)
- expands long press username search feature to all public users (previously only enabled for verified users)
v2.0.8
- addresses #113 (Still renditions not working)
- addresses #108 (Translate 'Search Giphy'): this is enabled via a new property of
GiphyViewController
placeholderText
giphy.placeholderText = "Search GIPHY"
- new creator profile feature to help promote the artists and partners behind the GIFs. to enable:
GiphyViewController.enablePartnerProfiles = true