Swift Swift

Open-source Swift projects categorized as Swift

Top 23 Swift Swift Projects

  • GitHub repo Alamofire

    Elegant HTTP Networking in Swift

    Project mention: Using Swift 5.5 Async Await to Fetch REST API | reddit.com/r/swift | 2021-06-01

    I have a prototype on a branch. Right now it's just continuations that wrap the completion handler API and may change significantly over time. The other APIs won't really change until we can rewrite major portions to the new async features.

  • GitHub repo ShadowsocksX-NG

    Next Generation of ShadowsocksX

    Project mention: I need to create an exception to a website... | reddit.com/r/shadowsocks | 2021-03-31

    Customize your rules for PAC with a similar client. I can provide you an access too :)

  • GitHub repo open-source-ios-apps

    :iphone: Collaborative List of Open-Source iOS Apps

    Project mention: Apple CEO Tim Cook: Sideloading Apps Would 'Destroy the Security' of the iPhone | reddit.com/r/apple | 2021-06-16

    First of all, the list of open source iOS apps isn't exactly small.

  • GitHub repo iina

    The modern video player for macOS.

    Project mention: Video player app that has its own volume control | reddit.com/r/iosapps | 2021-06-16

    #1: Will You Help Save Amphetamine? #2: IINA is the best thing to happen to my Mac since NetNewsWire | 49 comments #3: Unique new system monitor app - Pluto | 82 comments

  • GitHub repo open-source-mac-os-apps

    🚀 Awesome list of open source applications for macOS. https://t.me/opensourcemacosapps

    Project mention: Why is it not more common for people to fork projects to create variations? | reddit.com/r/opensource | 2021-02-25

    open-source-mac-os-apps and awesome-selfhosted which between them have >1600 items (just by counting list items) and the word "fork" occurs 12 times. Obviously the descriptions are really short and not comprehensive so necessarily a lowball.

  • GitHub repo swift-algorithm-club

    Algorithms and data structures in Swift, with explanations!

    Project mention: I can't code projects without Google | reddit.com/r/iOSProgramming | 2021-02-09

    If you need a project to work on, try implementing some algorithms in Swift, each based on a description of how that algorithm works. You can use projects like Swift Algorithm Club for ideas.

  • GitHub repo awesome-swift

    A collaborative list of awesome Swift libraries and resources. Feel free to contribute!

    Project mention: Universal Systems Programming with Swift ! | reddit.com/r/SystemsSwift | 2021-03-09

    Here are some of the awesome things that have already been done with Swift ! https://github.com/matteocrippa/awesome-swift

  • GitHub repo SwiftyJSON

    The better way to deal with JSON data in Swift.

    Project mention: Need help with json data formatting | reddit.com/r/swift | 2021-01-09

    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

  • GitHub repo Vapor

    💧 A server-side Swift web framework.

    Project mention: How to adjust Data Privacy in an App, that use Firebase Firestore | reddit.com/r/iOSProgramming | 2021-05-13

    You could create your own API using swift vapor https://vapor.codes/ I’m currently doing that, working on the web version and then building the iOS app.

  • GitHub repo RxSwift

    Reactive Programming in Swift

    Project mention: DispatchGroup in Swift | dev.to | 2021-03-06

    We have defined what async code is, and two basic issues we could have when working with it: running tasks serially and in parallel. For running tasks in parallel we saw that DispatchGroup can be a simple solution for that. I will recommend using a library for this though. What I taught you here is basic async knowledge, but in real world scenarios, this won't be this straightforward, so using a battle tested library is always an advantage when working in production. I personally recommend using Apple's Combine if you can (it is supported in iOS 13 and above) or using RxSwift otherwise Finally, I can't finish this article without mentioning async-await. With async-await, probably all of this discussion will be a thing of the past. It lets us write async code that can be written like sync code. You can see the proposal (already implemented and that will be released in the next version of swift) here, and even try it in your code following a tutorial like this one.

  • GitHub repo Hero

    Elegant transition library for iOS & tvOS

    Project mention: Generics in Swift: Why we need them? | reddit.com/r/swift | 2021-03-28
  • GitHub repo ReactiveCocoa

    Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.

  • GitHub repo Kingfisher

    A lightweight, pure-Swift library for downloading and caching images from the web.

    Project mention: How do you handle fetching data from REST API and caching? | reddit.com/r/SwiftUI | 2021-05-31

    Image loading, displaying and caching is a very similar problem and it seems there are some pretty good solutions available (e.g. Kingfisher), so I'm quite surprised that I'm struggling to find a popular/reliable/stable solution for (REST) API data.

  • GitHub repo SnapKit

    A Swift Autolayout DSL for iOS & OS X

    Project mention: I usually use layout anchors, but this is kinda nice | reddit.com/r/iOSProgramming | 2021-03-20

    It strikes me as a nice middle ground between the verbosity of layout anchors and something as complex as SnapKit.

  • GitHub repo Carthage

    A simple, decentralized dependency manager for Cocoa

    Project mention: How to migrate your project with Carthage to Xcode 12 | dev.to | 2021-03-07

    Carthage / Building platform-independent XCFrameworks (Xcode 12 and above)

  • GitHub repo Perfect

    Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)

  • GitHub repo PromiseKit

    Promises for Swift & ObjC.

    Project mention: DispatchGroup in Swift | dev.to | 2021-03-06

    The most typical way to solve this problem is by using Combine's Future or PromiseKit's Promise, or by using RxSwift's flatMap. If you're interested on how this works under the hood, I plan to write another article for this case, but for now you can check my code for a simple Promise in this gist, or check this quite old but incredibly mind blowing talk from Javi Soto.

  • GitHub repo Moya

    Network abstraction layer written in Swift.

    Project mention: RetroSwift new library to make API requests | reddit.com/r/swift | 2021-01-26

    What is the advantage of your library over established solutions like Moya or protocol oriented networking approaches?

  • GitHub repo Material

    A UI/UX framework for creating beautiful applications. (by CosmicMind)

  • GitHub repo Eureka

    Elegant iOS form builder in Swift

    Project mention: Eureka | Elegant iOS form builder in Swift | reddit.com/r/davidblue | 2021-04-03
  • GitHub repo animated-tab-bar

    :octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion

  • GitHub repo firefox-ios

    Firefox for iOS

    Project mention: best content blocker/ adblocker for privacy (preferrably system wide) for ios/ipad os/macos | reddit.com/r/mac | 2021-06-16

    Further more, Apple is gradually tighten grip of 3rd party blockers on iOS over the past few years. There were some 3rd party blockers that bypass Apple's restriction on iOS, and they all abandon these unconventional approaches, including FireFox Focus (they now dropped UIWebView). So you don't really have any choice.

  • GitHub repo SkeletonView

    ☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-16.

Index

What are some of the best open-source Swift projects in Swift? This list will help you:

Project Stars
1 Alamofire 35,839
2 ShadowsocksX-NG 29,491
3 open-source-ios-apps 27,483
4 iina 27,166
5 open-source-mac-os-apps 26,059
6 swift-algorithm-club 24,986
7 awesome-swift 20,833
8 SwiftyJSON 20,629
9 Vapor 20,426
10 RxSwift 20,235
11 Hero 20,117
12 ReactiveCocoa 19,986
13 Kingfisher 18,528
14 SnapKit 17,601
15 Carthage 14,336
16 Perfect 13,879
17 PromiseKit 13,432
18 Moya 13,098
19 Material 11,778
20 Eureka 11,179
21 animated-tab-bar 10,781
22 firefox-ios 10,348
23 SkeletonView 10,227