Reach Your Goals Swifter!

Build Status Platforms Cocoapods Carthage compatible SPM compatible codecov documentation Swift Xcode MIT License Slack Channel

What is SwifterSwift ?

SwifterSwift is a collection of over 500 native Swift 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/SwiftStdlib'   # Standard Library Extensions
	pod 'SwifterSwift/Foundation'    # Foundation Extensions
	pod 'SwifterSwift/UIKit'         # UIKit Extensions
	pod 'SwifterSwift/Cocoa'         # Cocoa Extensions
	pod 'SwifterSwift/MapKit'        # MapKit Extensions
	pod 'SwifterSwift/CoreGraphics'  # CoreGraphics Extensions
	pod 'SwifterSwift/CoreLocation'  # CoreLocation Extensions
	pod 'SwifterSwift/SpriteKit'	 # SpriteKit Extensions
	pod 'SwifterSwift/Dispatch'	     # Dispatch 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" ~> 5.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", from: "5.0.0"),
    ]
)


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 contributors and exchange experiences

Join Slack »

Support SwifterSwift

Star the project

Star

Watch the project

Watch