/GiphyPicker

iOS gif picker for Giphy

Primary LanguageSwiftMIT LicenseMIT

GiphyPicker

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 8 or later
  • Xcode 10 or later

Installation

GiphyPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GiphyPicker'

Usage

Setup

  • Get a token from Giphy website
  • In the AppDelegate.swift add the token
    GiphyPicker.defaultConfig(token: "<YourToken>")
    

Present the picker

To present the picker modally you can the code as follows

let picker = GiphyPicker.getViewController()
present(picker, animated: true, completion: nil)

Dependencies

Author

Daniele Candotti, support-{AT}-candotti.info

License

GiphyPicker is available under the MIT license. See the LICENSE file for more info.