Releases: Giphy/giphy-ios-sdk
Releases · Giphy/giphy-ios-sdk
v1.2.4
v1.2.3
- official launch of "Grid-Only" functionality with associated documentation
- cache now contains
NSData
instead ofGiphyYYImage
- new
.automatic
option fortheme
setting, which follows the Dark Mode setting of the device rating
setting (GPHRating
) is now limited to.ratedPG13
and below
v1.2.2
- supports Xcode 11.4 (as well as previous Xcode versions)
- for Xcode 11.4 support, it was necessary to address conflicts between module names and class names within the module. The conflicts were causing errors in the
.swiftinterface
file for theGiphyUISDK
module. There is some discussion of this on Swift forums here. - Most importantly, we had to rename the class
GiphyUISDK
(used for configuring API key) toGiphy
:
Giphy.configure(apiKey: "", verificationMode: false)
- For the same reason, we also had to remove direct access to the
PINCache
instance, which is a property ofGPHCache
. You can still adjust the properties of the PINCache indirectly through the following variables:
public var diskCacheByteLimit: UInt
public var memoryCacheCostLimit: UInt
public var memoryCacheAgeLimit: TimeInterval
public var diskyCacheAgeLimit: TimeInterval
v1.2.1
v1.1.9
- adds a new function to the
GiphyDelegate
to make it easy for developers to see what users are searching for in their app
@objc optional func didSearchTerm(_ term: String)
-
enables the use of multiple API keys in the case that an app is presenting the
GiphyViewController
UI in multiple different contexts of their app -
the
search
andtrending
functions are now internal to theGiphyUISDK
module and are thus no longer publicly accessible -
fixes a bug where the "More @ user-name " long-press action would show even if user was not verified on GIPHY, therefore producing no results after pressing