Swift Utility

Open-source Swift projects categorized as Utility

Top 23 Swift Utility Projects

  • 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 SwifterSwift

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

    Project mention: Weekly Developer Roundup #23 - Sun Nov 22 2020 | dev.to | 2020-11-21

    SwifterSwift/SwifterSwift (Swift): A handy collection of more than 500 native Swift extensions to boost your productivity.

  • GitHub repo R.swift

    Strong typed, autocompleted resources like images, fonts and segues in Swift projects

    Project mention: Did you also know? In Xcode you can use the refactoring tool to wrap a literal string into a call to NSLocalizedString! Even better, you can assign a keyboard shortcut to make it even more efficient 🤓 | reddit.com/r/swift | 2020-12-23

    Same was posted on the /r/iOSProgramming post for this, but I'm definitely not going back to using the raw NSLocalizedString call or extensions after I started using R.swift. Type safety and auto complete for all your assets is a real win in my book.

  • GitHub repo Dozer

    Hide menu bar icons on macOS

    Project mention: Alternative to Bartenders "Reduce Menu Bar Icon Spacing" feature? | reddit.com/r/macapps | 2021-02-27

    Maybe https://matthewpalmer.net/vanilla/ Or Dozer, but not sure if BigSur compatible https://github.com/Mortennn/Dozer

  • GitHub repo Dollar

    A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

  • GitHub repo Then

    ✨ Super sweet syntactic sugar for Swift initializers

  • GitHub repo Swiftz

    Functional programming in Swift

  • GitHub repo EZSwiftExtensions

    :smirk: How Swift standard types and classes were supposed to work.

  • GitHub repo DifferenceKit

    💻 A fast and flexible O(n) difference algorithm framework for Swift collection.

  • GitHub repo Reusable

    A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…)

    Project mention: Do you have any good practice to reduce the chance of providing wrong name? | reddit.com/r/iOSProgramming | 2021-01-18

    Good alternative to R.swift and SwiftGen (which do much more then you need here) is Reusable

  • GitHub repo Result

    Swift type modelling the success/failure of arbitrary operations.

  • GitHub repo Cache

    :package: Nothing but Cache.

  • GitHub repo WhatsNewKit

    Showcase your awesome new app features 📱

  • GitHub repo Closures

    Swifty closures for UIKit and Foundation

  • GitHub repo WhatsNew

    Showcase new features after an app update similar to Pages, Numbers and Keynote.

  • GitHub repo RandomKit

    Random data generation in Swift

  • GitHub repo Device

    Light weight tool for detecting the current device and screen size written in swift.

  • GitHub repo Codextended

    Extensions giving Swift's Codable API type inference super powers 🦸‍♂️🦹‍♀️

  • GitHub repo AwesomeCache

    Delightful on-disk cache (written in Swift)

  • GitHub repo SwiftLinkPreview

    It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.

  • GitHub repo PinpointKit

    Send better feedback

  • GitHub repo Sugar

    :coffee: Something sweet that goes great with your Cocoa (by hyperoslo)

  • GitHub repo protobuf-swift

    Google ProtocolBuffers for Apple Swift

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-02-27.


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

Project Stars
1 swift-algorithm-club 24,446
2 SwifterSwift 9,507
3 R.swift 7,916
4 Dozer 4,691
5 Dollar 4,148
6 Then 3,374
7 Swiftz 3,322
8 EZSwiftExtensions 2,867
9 DifferenceKit 2,749
10 Reusable 2,609
11 Result 2,500
12 Cache 2,258
13 WhatsNewKit 2,184
14 Closures 1,694
15 WhatsNew 1,496
16 RandomKit 1,447
17 Device 1,441
18 Codextended 1,276
19 AwesomeCache 1,223
20 SwiftLinkPreview 1,213
21 PinpointKit 1,113
22 Sugar 1,057
23 protobuf-swift 924