Skip to content

Releases: Giphy/giphy-ios-sdk

v1.2.4

20 Mar 16:22
153c827
Compare
Choose a tag to compare
  • adds @objc optional func didScroll(offset: CGFloat) callback to GPHGridDelegate, enabling developers using the grid-only solution to get notified when the user scrolls

v1.2.3

19 Mar 16:55
153c827
Compare
Choose a tag to compare
  • official launch of "Grid-Only" functionality with associated documentation
  • cache now contains NSData instead of GiphyYYImage
  • new .automatic option for theme setting, which follows the Dark Mode setting of the device
  • rating setting (GPHRating) is now limited to .ratedPG13 and below

v1.2.2

13 Feb 18:10
Compare
Choose a tag to compare
  • 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 the GiphyUISDK 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) to Giphy:
Giphy.configure(apiKey: "", verificationMode: false) 
  • For the same reason, we also had to remove direct access to the PINCache instance, which is a property of GPHCache. 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

04 Feb 18:55
Compare
Choose a tag to compare
  • disables long press actions when SDK is running inside extension
  • fixes a UI bug where the media selector would not change content in grid

v1.1.9

09 Jan 18:42
Compare
Choose a tag to compare
  • 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 and trending functions are now internal to the GiphyUISDK 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

v1.1.8

12 Dec 20:56
Compare
Choose a tag to compare
  • more build setting adjustments to strip unnecessary .pcm files from resulting .framework
  • hopefully this will finally fix warnings

v1.1.7

09 Dec 18:26
Compare
Choose a tag to compare
  • squashes warnings noted in issue #31

v1.1.6

01 Nov 14:51
Compare
Choose a tag to compare
  • support Xcode 11.2 / Swift 5.1.2

v1.1.4

28 Oct 15:16
Compare
Choose a tag to compare
  • adds optional verificationMode flag to GiphyUISDK.configure function

v1.1.3

07 Oct 20:51
355c3f1
Compare
Choose a tag to compare
  • update dependency with references to UIWebView (which is deprecated & preventing successful Appstore submission)
  • ensure didDismiss is called every time the GiphyViewController is dismissed
  • hopefully fix for Carthage warnings