Skip to content

oozou/slimfaqsdk-ios

Repository files navigation

SlimFAQSDK

Carthage compatible Version License Platform

Example

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

Requirements

iOS 9.0 and above

Installation

SlimFAQSDK is available through CocoaPods and Carthage.

CocoaPods

To install it via CocoaPods, simply add the following line to your Podfile:

pod 'SlimFAQSDK'

Carthage

To install it via Carthage add following line to your Cartfile:

github "oozou/slimfaqsdk-ios"

Usage

// setup
SlimFAQSDK.shared.set(clientID: "slimwiki")

// present SlimFAQ screen
do {
    try SlimFAQSDK.shared.present(from: self, animated: true, completion: nil)
} catch let error {
    print("an error occured: \(error.localizedDescription)")
}

Author

Stanislau Baranouski, [email protected]

License

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