HotellookSDK
Hotellook iOS SDK is a framework integrating a hotels search engine into your app. When your user books a hotel, you get paid. Hotellook official app is based on this framework.
Installation
Cocoapods:
use_frameworks!
pod 'HotellookSDK', :git => 'https://github.com/KosyanMedia/Hotellook-iOS-SDK-Core.git'
pod 'SwiftProtobuf', :git => 'https://github.com/apple/swift-protobuf.git', :tag => '1.0.1'
Carthage:
github "KosyanMedia/Hotellook-iOS-SDK-Core"
Code example
import HotellookSDK
let config = HDKConfig(appHostName: "iphone.hotellook.sdk", lang: "en")
let sdk = HDKFacade(config: config)
sdk.loadAutocomplete(text: "Paris", limit: 10) { resp, err in
// do something with resp or err
}
More
See our open source template project: https://github.com/KosyanMedia/Aviasales-iOS-SDK