Reach Your Goals Swifter!

Build Status Cocoapods Carthage compatible codecov documentation CocoaPods total downloads CocoaPods monthly downloads Platforms Swift Xcode MIT License Slack Channel

What is SwifterSwift ?

SwifterSwift is a collection of over 500 native Swift 3 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.





Download

Add using CocoaPods

Check SwifterSwift on CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods
To integrate SwifterSwift into your Xcode project using CocoaPods, specify it in your Podfile:
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" ~> 3.0

Run

carthage update

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: 3),
    ]
)

Note that the Swift Package Manager is still in early design and development, for more information checkout its GitHub Page



Download the source file.

Swifter Swift Source




Documentation

Read the docs:


Get Involved

Generic placeholder image

Fork the Project

Fork

View details »

Generic placeholder image

Contributing guidelines for extensions

View details »

Generic placeholder image

Talk to other contributos and exchange experiences

Join Slack »

Support SwifterSwift

Star the project

Star

Watch the project

Watch

Store

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.