Top 23 Swift Utility Projects
Algorithms and data structures in Swift, with explanations!Project mention: Fetch all words from long TXT file | reddit.com/r/swift | 2021-08-16
You probably want to populate a Trie. You can find a completed implementation at this link
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.
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Strong typed, autocompleted resources like images, fonts and segues in Swift projectsProject 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.
Hide menu bar icons on macOSProject mention: Less known macOS apps you will legitimately want to use every day | news.ycombinator.com | 2021-10-01
✨ Super sweet syntactic sugar for Swift initializers
Functional programming in Swift
Run Linux Software Faster and Safer than Linux with Unikernels.
💻 A fast and flexible O(n) difference algorithm framework for Swift collection.
:smirk: How Swift standard types and classes were supposed to work.
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
Swift type modelling the success/failure of arbitrary operations.
:package: Nothing but Cache.Project mention: SwiftUI jobs with low compensation? | reddit.com/r/SwiftUI | 2021-08-19
For data storage, we have a caching layer that receives data from the cloud and stores it both in memory and on device. Then there is a pub model that notifies listeners when the data has been updated. it's pretty simple but works great! I like hyperoslo's implementation for cache: https://github.com/hyperoslo/Cache For units, we just build a protocol for the internet piece and provide the data locally. We cache the unit test data in a different folder on device and it all works seamlessly. I think the hardest part there was intercepting the HTTP requests and forking to the local test data. The key there was implementing a URLProtocol subclass.
Showcase your awesome new app features 📱
Swifty closures for UIKit and Foundation
Showcase new features after an app update similar to Pages, Numbers and Keynote.
Light weight tool for detecting the current device and screen size written in swift.Project mention: Is there a check to only show a tile for devices that are from iPhone X and up? Something like UIDevice.current.isSmallerDevice(), but that checks for the iPhone version to be >= iPhone X | reddit.com/r/iOSProgramming | 2021-09-30
Random data generation in Swift
Extensions giving Swift's Codable API type inference super powers 🦸♂️🦹♀️
Tweak your iOS app without recompiling! (by Khan)
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
Delightful on-disk cache (written in Swift)
Send better feedback
:coffee: Something sweet that goes great with your Cocoa (by hyperoslo)
What are some of the best open-source Utility projects in Swift? This list will help you:
Are you hiring? Post a new remote job listing for free.