diff --git a/.swift-version b/.swift-version index 9f55b2c..5186d07 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -3.0 +4.0 diff --git a/FontBlaster.podspec b/FontBlaster.podspec index d72cdba..309d5d6 100755 --- a/FontBlaster.podspec +++ b/FontBlaster.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "FontBlaster" - s.version = "3.0.4" + s.version = "4.0.0" s.summary = "Programmatically load custom fonts into your iOS app." s.description = <<-DESC diff --git a/README.md b/README.md index 1f1f549..61d51aa 100755 --- a/README.md +++ b/README.md @@ -19,32 +19,48 @@ Say goodbye to importing custom fonts via property lists as **FontBlaster** auto ## Installation Instructions +| Swift Version | Branch Name | Will Continue to Receive Updates? +| ------------- | ------------- | ------------- +| 4.0 | master | **Yes** +| 3.2 | swift3.2 | No +| 3.1 | swift3.1 | No + #### CocoaPods -For Swift 3 support: +For Swift 4 support: ```ruby pod 'FontBlaster' ``` -For Swift 4 support: +For Swift 3.2 support: +```ruby +pod 'FontBlaster', :git => 'https://github.com/ArtSabintsev/FontBlaster.git', :branch => 'swift3.2' +``` + +For Swift 3.1 support: ```ruby -pod 'FontBlaster', :git => 'https://github.com/ArtSabintsev/FontBlaster.git', :branch => 'swift4' +pod 'FontBlaster', :git => 'https://github.com/ArtSabintsev/FontBlaster.git', :branch => 'swift3.1' ``` ### Carthage -For Swift 3 support: +For Swift 4 support: ```swift github "ArtSabintsev/FontBlaster" ``` -For Swift 4 support: +For Swift 3.2 support: +```swift +github "ArtSabintsev/FontBlaster", "swift3.2" +``` + +For Swift 3.1 support: ```swift -github "ArtSabintsev/FontBlaster", "swift4" +github "ArtSabintsev/FontBlaster", "swift3.1" ``` ### Swift Package Manager ``` swift -.Package(url: "https://github.com/ArtSabintsev/FontBlaster.git", majorVersion: 3) +.Package(url: "https://github.com/ArtSabintsev/FontBlaster.git", majorVersion: 4) ``` ### Manual