Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

1.3 iOS Integration (Swift)

Damian Janicki edited this page Sep 3, 2015 · 7 revisions
  1. Get an API Key
  • Go to Filepicker.io to register an account.
  • API Keys are typically randomized and 20 characters long.
  1. Add FPPicker to your Podfile
platform :ios, '8.0'

use_frameworks!

target :'MyImagesApp' do
  pod 'FPPicker', '~> 5.0.0'
end
  1. Run pod install
  2. Setup
  • Create new file Bridge.h and add to your project
  • In project settings set path to file Bridge.h in property Objective-C Bridging Header
  • Add imports #import "FPPicker.h" and #import FPExternalHeaders.h to Bridge.h
  • Add the following code on your app delegate and use the API Key you got after registering:
    func initalize(){
      FPConfig.sharedInstance().APIKey = "SET_FILEPICKER.IO_APIKEY_HERE";
  }
Clone this wiki locally