Skip to content

Commit

Permalink
Add Swift 4 instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiekaiger committed Jun 8, 2017
1 parent 6a8bf4e commit 3f1988e
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions README.md
Expand Up @@ -57,31 +57,19 @@ let fancyString = "Hello".withFont(.systemFont(ofSize: 12)) + " World!".withFont

`pod 'SwiftyAttributes'`

> For **Swift 2.3**:
#### For **Swift 4 Beta**:

> `pod 'SwiftyAttributes', '1.1'`
> If using Xcode 8, you may need to add this to end of your Podfile:
> ```swift
> post_install do |installer|
> installer.pods_project.targets.each do |target|
> target.build_configurations.each do |config|
> config.build_settings["SWIFT_VERSION"] = "2.3"
> end
> end
> end
> ```
`pod 'SwiftyAttributes', :git => 'https://github.com/eddiekaiger/SwiftyAttributes.git', :branch => 'swift-4'`

### With Carthage

#### For **Swift 3**:

`github "eddiekaiger/SwiftyAttributes"`

> For **Swift 2.3**:
#### For **Swift 4 Beta**:

> `github "eddiekaiger/SwiftyAttributes" == 1.1.1`
`github "eddiekaiger/SwiftyAttributes" "swift-4"`

# Usage

Expand Down

0 comments on commit 3f1988e

Please sign in to comment.