Reach Your Goals Swifter!
What is SwifterSwift ?
SwifterSwift is a collection of over 500 native Swift 4 extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes –over 500 in 1– for iOS, macOS, tvOS and watchOS.
Add using CocoaPods
Check SwifterSwift on CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
To integrate SwifterSwift into your Xcode project using CocoaPods, specify it in your Podfile:
$ gem install cocoapods
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! target '
' do # Please keep one line from the following lines: pod 'SwifterSwift' # All Extensions pod 'SwifterSwift/Foundation' # Foundation Extensions pod 'SwifterSwift/UIKit' # UIKit Extensions pod 'SwifterSwift/Cocoa' # Cocoa Extensions end
Then, run the following command:
$ pod install
Add using Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update $ brew install carthage
To integrate SwifterSwift into your Xcode project using Carthage, specify it in your Cartfile:
github "SwifterSwift/SwifterSwift" ~> 4.0
to build the framework and drag the built `SwifterSwift.framework` into your Xcode project.
Add using Swift Package Manager
You can use the Swift Package Manager to install SwifterSwift by adding the proper description to your Package.swift file:
import PackageDescription let package = Package( name: "YOUR_PROJECT_NAME", targets: , dependencies: [ .Package(url: "https://github.com/SwifterSwift/SwifterSwift.git", majorVersion: 4), ] )
Download the source file.Swifter Swift Source
Also, you can support the project by purchasing SwifterSwift merch. Elegantly designed Regular Tees, American Apparel Tees, Sweatshirts, Classic Long Sleeve Tees, Unisex Tank Tops, Hoodies, Mugs, Posters, Mobile Cases, etc. Regular fit and relaxed fit for both gentlemen and ladies.
Note: each print has its own mug, mobile case and poster designs.