iOS Installation
Requirements
iOS 10.0 or greater.
Installation
Add the SDK to a project using Cocoapods or the Swift Package Manager.
Installation using Cocoapods
Add the pod to your Podfile:
pod 'Glassfy', '~> 1.4.0'
Then, run the following command:
pod install
Installation with Swift Package Manager
In an Xcode project select _File -> Add Packages…, add the Glassfy GitHub URL:
https://github.com/glassfy/ios-sdk
If you integrate other packages with the same name, conflicts may occur. To solve it, use our mirror URL:
https://github.com/glassfy/glassfy-ios-sdk
Set the version "Up to Next Major" to the version you want to use.
Import
After installing the SDK in your project import Glassfy into code by adding the following to your Swift or Objective-C code:
import Glassfy
@import Glassfy;
@import Glassfy;
#import <Glassfy/Glassfy.h>
Updated 6 months ago
What’s Next