SwifterSwift

A handy collection of more than 500 native Swift extensions to boost your productivity.

Github星跟蹤圖

Build Status
Platforms
Cocoapods
Carthage compatible
SPM compatible
Accio supported
codecov
docs
Swift
Xcode
MIT
Slack Channel

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, watchOS and Linux.

Whats New in v5.1?

Requirements

  • iOS 10.0+ / tvOS 9.0+ / watchOS 2.0+ / macOS 10.10+ / Ubuntu 14.04+
  • Swift 5.0+

Looking to use SwifterSwift for older versions of Swift

SwifterSwift is Swift v5.0+ compatible starting from v5

  • To use with Swift 3 / Xcode 8.x please ensure you are using v3.1.1.
  • To use with Swift 3.2 / Xcode 9.x please ensure you are using v3.2.0.

Installation

List of All Extensions

How cool is this?

SwifterSwift is a library of over 500 properties and methods, designed to extend Swift's functionality and productivity, staying faithful to the original Swift API design guidelines.

Check Examples.playground from the project for some cool examples!

Documentation

Documentation for all extensions, with examples, is available at swifterswift.com/docs

Get involved

We want your feedback.
Please refer to contributing guidelines before participating.

Slack Channel: Slack

It is always nice to talk with other people using SwifterSwift and exchange experiences, so come join our Slack channel.

Thanks

Special thanks to:

License

SwifterSwift is released under the MIT license. See LICENSE for more information.

主要指標

概覽
名稱與所有者SwifterSwift/SwifterSwift
主編程語言Swift
編程語言Swift (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2016-08-01 22:25:24
推送於2025-05-09 12:52:22
最后一次提交2025-05-09 08:29:25
發布數58
最新版本名稱7.0.0 (發布於 )
第一版名稱1.0 (發布於 )
用户参与
星數14.5k
關注者數280
派生數1.7k
提交數1k
已啟用問題?
問題數352
打開的問題數25
拉請求數626
打開的拉請求數3
關閉的拉請求數222
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?