Skip to content

Releases: Giphy/giphy-ios-sdk

v2.0.3

28 Sep 19:47
3298b75
Compare
Choose a tag to compare

v2.0.2

03 Sep 21:34
Compare
Choose a tag to compare
  • fix so that multiple calls to configure and / or setAPIKey does not result in leaked queues #81
  • addresses #90 (suggestion cell bug present in iOS 14)
  • enable ability to hide search suggestion bar: #85
public class YourTheme: GPHTheme {
    public override init() {
        super.init()
        self.type = .light
    }
    
    public override var showSuggestionsBar: Bool {
        return false
    }
}

giphyViewController.theme = YourTheme() 
  • fix for #87: recents in GiphyGridController
  • fix issues where certain combinations of scrolling and toggling 'search initiation' cause weird ui states

v2.0.1

12 Aug 17:07
Compare
Choose a tag to compare
  • additional changes underneath the hood to hopefully address issue #81
  • fixes a bug where 'recent searches' would show the same search twice - solution is to make all recent searches lowercase

v2.0

11 Aug 20:15
c77bb8f
Compare
Choose a tag to compare

new designs + new features + bugfixes

tab bar

  • content type selection is moved from right below the search bar to the bottom of the screen
  • content types are now represented as icons
  • this structure is more consistent with many popular GIPHY integrations including Instagram and Snapchat.

suggestions bar

  • we repurposed the bar below the search bar to surface search suggestions, including trending GIPHY searches, channel search results, and recent searches.

misc

  • removes GPHLayoutType as the .carousel layout is no longer supported. to enable a horizontal carousel experience, see the grid docs.
  • fix Objective-C interface for GPHTheme / GPHThemeType (noted in issue #83)
  • hopeful fix for crash noted in issue #81
  • enables more by @user long press behavior from GPHMediaView

Screen Shot 2020-08-11 at 7 39 40 AM

v1.3.0

14 Jul 17:52
711cc07
Compare
Choose a tag to compare
  • Remove OM SDK
  • Remove collection of IDFA / IDFV (replace with rotating session id)

v1.2.9

20 May 16:42
Compare
Choose a tag to compare

v1.2.8

11 May 16:19
079cfeb
Compare
Choose a tag to compare
  • Blur theme design improvements

  • Refactor which makes GPHTheme (previously an enum) into an object type.

GPHThemeType, is now an enum which represents the default template theme cases (.light, .dark, .lightBlur, .darkBlur)

Set the theme on your GiphyGridController or GiphyViewController like so

giphyViewController.theme = GPHTheme(type: .lightBlur) 

You can also now create your own GPHTheme subclass and override various properties, including fonts and colors.

  • Documentation updates, including table of contents

  • Includes the cell as a parameter to the didSelectMedia method of the GPHGridDelegate protocol, for use with the GiphyGridController

This is to support the use case where it makes sense to briefly display a “copied” message on top of the cell for the GIF selected by the user in a keyboard extension context. It may make sense to temporarily disable user interaction of the grid for the duration of the animation.

extension ViewController: GPHGridDelegate {
    func contentDidUpdate(resultCount: Int) {
        print("content did update")
    }
    
    func didSelectMedia(media: GPHMedia, cell: UICollectionViewCell) {
        print("did select media")
    } 
}

v1.2.7

05 May 18:29
4fd0db9
Compare
Choose a tag to compare
1.2.6 (#64)

v1.2.6

23 Apr 16:51
4fd0db9
Compare
Choose a tag to compare
  • The Blur: two new additional themes (GPHTheme): .lightBlur and .darkBlur (checkout the new AR example app which showcases these settings)
  • a new GiphyViewController setting called stickerColumnCount, which lets you achieve two, three, or four columns for stickers or text in the grid. We recommend setting this value to be three or four when using the blur theme.
  • supports past Xcode versions (all the way back to 11.1) in addition to the latest Xcode 11.4
  • bug fix where the .recents tab wasn't properly disappearing when tapping into the search bar

v1.2.5

31 Mar 16:24
9c0b1a8
Compare
Choose a tag to compare