Skip to content

Legacy Swift versions

Evgenii Neumerzhitckii edited this page Apr 20, 2019 · 7 revisions

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

Swift 4.2 Xcode 10

Library version / git tag: 7.0.0

  • File: BadgeSwift.swift
  • Carthage: github "marketplacer/swift-badge" ~> 7.0
  • CocoaPods: pod 'BadgeSwift', '~> 7.0'

Swift 3.0 Xcode 8

Library version / git tag: 5.0.1

  • File: BadgeSwift.swift
  • Carthage: github "marketplacer/swift-badge" ~> 5.0
  • CocoaPods: pod 'BadgeSwift', '~> 5.0'

Swift 3.0 Xcode 8 beta

Xcode 8 beta 2

Library version / git tag: 2.0.11

  • File: BadgeSwift.swift
  • Carthage: github "marketplacer/swift-badge" ~> 2.0
  • CocoaPods: pod 'BadgeSwift', '~> 2.0'

Swift 2.2

Library version / git tag: 1.0.0

Simply add SwiftBadge.swift file to your project.

Please note that the class is named SwiftBadge in Swift 2.2 version.