To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
iOS 9.0+ Xcode 8.3+ Swift 3.1+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1+ is required to build Alamofire 4.0+.
To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
target '<Your Target Name>' do
pod 'Kolibri'
end
Then, run the following command:
Kolibri is available through CocoaPods. To install it, simply add the following line to your Podfile:
$ pod install
You must add following lines to project plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
...
<key>KolibriParameters</key>
<dict>
<key>Fonts</key>
<dict>
<key>bold</key>
<string></string>
<key>italic</key>
<string></string>
<key>normal</key>
<string></string>
</dict>
<key>kolibri_navigation_url</key>
<string>http://kolibri.herokuapp.com/apps/MWuSQb4PB2cwbGXs62PpQ9Xz/runtime</string>
<key>kolibri_netmetrix_url</key>
<string>https://we-ssl.wemfbox.ch/cgi-bin/ivw/CP/apps/wireltern</string>
</dict>
...
</dict>
</plist>
import Kolibri
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
...
Kolibri.shared.setup()
...
}
slav.sarafski, slav@spiritinvoker.com
Kolibri is available under the MIT license. See the LICENSE file for more info.