Top 23 Swift Open-Source Projects
-
Alamofire
Elegant HTTP Networking in Swift
Latest mention: Is Alamofire the industry standard or does your company handle networking differently? | reddit.com/r/iOSProgramming | 2021-01-24AlamoFire doesn’t support background configurations. Makes it impossible for my company to use AlamoFire for the one part of the app where it’d be useful as we support uploading/downloading unlimited numbers of files at a time (data driven app with offline support). If you’re downloading/uploading 10GB of data, you don’t want to be stuck sitting in an app waiting for it to finish... I’d be shocked if it’s an industry standard with such an important core feature missing.
-
ShadowsocksX-NG
Next Generation of ShadowsocksX
-
iina
The modern video player for macOS.
Latest mention: VLC media player for macOS updated with full support for M1 Macs | reddit.com/r/apple | 2021-01-18I must ask, but have you tried https://github.com/iina/iina/issues/1091?
-
open-source-ios-apps
:iphone: Collaborative List of Open-Source iOS Apps
-
open-source-mac-os-apps
🚀 Awesome list of open source applications for macOS. https://t.me/opensourcemacosapps
[1] https://github.com/serhii-londar/open-source-mac-os-apps
-
swift-algorithm-club
Algorithms and data structures in Swift, with explanations!
-
SDWebImage
Asynchronous image downloader with cache support as a UIImageView category
-
SwiftyJSON
The better way to deal with JSON data in Swift.
I second /u/daisnb that if possible, make sure the data is a consistent format and types, but if you’re unable to do that, I think SwiftyJSON can help, as it loosens the strict type requirement of Swift when handling JSON data
-
awesome-swift
A collaborative list of awesome Swift libraries and resources. Feel free to contribute!
Awesome Swift
-
ReactiveCocoa
Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
-
Vapor
💧 A server-side Swift web framework.
-
Hero
Elegant transition library for iOS & tvOS
-
RxSwift
Reactive Programming in Swift
I think this is the most important thing to understand with all your heart. All subjects, relays and operators might seem scary, especially with Rx-hermetic jargon. But simplifying it in your head to a simple collection will help you to understand all concepts easily. For me it was a sudden click. If you want to learn more, official docs are great source and emphasize this concept: https://github.com/ReactiveX/RxSwift/blob/main/Documentation/GettingStarted.md#observables-aka-sequences
-
Kingfisher
A lightweight, pure-Swift library for downloading and caching images from the web.
onevcat / Kingfisher
-
SnapKit
A Swift Autolayout DSL for iOS & OS X
It appears that writing views programmatically is not easy too. Apple didn't provide easy in use classes and methods to write views easily. At least notation could be shorter however concept of constraints itself is quite good in UIKit. That's why people invented a lot of DSL (domain-specific language) libraries like the most popular SnapKit, tricky Carthography or super concise Stevia. I invented my own DSL AutoLayout library LayoutExtension which is now in early version however I use it in one commercial project with full success.
-
IQKeyboardManager
Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.
-
Realm
Realm is a mobile database: a replacement for Core Data & SQLite
-
Carthage
A simple, decentralized dependency manager for Cocoa
-
Perfect
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)
-
PromiseKit
Promises for Swift & ObjC.
Besides that, you can use a promise library, like PromiseKit.
-
CocoaPods
The Cocoa Dependency Manager.
Got error while trying pod install · Issue #10220 · CocoaPods/CocoaPods
-
Moya
Network abstraction layer written in Swift.
What is the advantage of your library over established solutions like Moya or protocol oriented networking approaches?
-
CocoaLumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Index
What are some of the best open-source Swift projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Alamofire | 35,128 |
2 | ShadowsocksX-NG | 29,015 |
3 | iina | 26,060 |
4 | open-source-ios-apps | 26,031 |
5 | open-source-mac-os-apps | 24,392 |
6 | swift-algorithm-club | 24,246 |
7 | SDWebImage | 23,323 |
8 | SwiftyJSON | 20,269 |
9 | awesome-swift | 20,250 |
10 | ReactiveCocoa | 19,947 |
11 | Vapor | 19,942 |
12 | Hero | 19,772 |
13 | RxSwift | 19,559 |
14 | Kingfisher | 17,960 |
15 | SnapKit | 17,225 |
16 | IQKeyboardManager | 14,853 |
17 | Realm | 14,268 |
18 | Carthage | 14,157 |
19 | Perfect | 13,847 |
20 | PromiseKit | 13,179 |
21 | CocoaPods | 12,948 |
22 | Moya | 12,743 |
23 | CocoaLumberjack | 12,257 |