Skip to content

Legacy Swift versions

Evgenii Neumerzhitckii edited this page Aug 12, 2016 · 16 revisions

Use the following setup instructions for the previous versions of the library if you use an older version of Swift.

Swift 2.2

Library version / git tag: 3.0.16

  • File: KeychainSwiftDistrib.swift
  • Carthage: github "exchangegroup/keychain-swift" ~> 3.0
  • CocoaPods: pod 'KeychainSwift', '~> 3.0'

Swift 1.2

Library version / git tag: 0.1.8

Add source (iOS 7+)

Simply add KeychainSwiftDistrib.swift file into your Xcode project.

Setup with Carthage (iOS 8+)

Alternatively, add github "exchangegroup/keychain-swift" ~> 0.1 to your Cartfile and run carthage update.

Setup with CocoaPods (iOS 8+)

If you are using CocoaPods add this text to your Podfile and run pod install.

use_frameworks!
pod 'KeychainSwift', '~> 0.1'
Clone this wiki locally