Go to file
Daniel Saidi e56f64daa3 Improve the version bump process to include test verification and linting 2020-09-05 11:30:35 +02:00
.github Create FUNDING.yml 2020-06-02 09:48:07 +02:00
Fastlane Improve the version bump process to include test verification and linting 2020-09-05 11:30:35 +02:00
Readmes Add more readmes 2020-08-31 20:59:31 +02:00
Resources Improve icon and logo 2020-04-28 11:10:18 +02:00
Sources/SwiftKit Disable biometric authentication for watchOS and tvOS 2020-09-05 11:02:23 +02:00
SwiftKitDemo Update test dependencies 2020-06-29 10:38:04 +02:00
SwiftKitDemo.xcodeproj Update package dependencies to latest majors 2020-06-29 10:42:44 +02:00
Tests Add more readmes 2020-08-31 20:59:31 +02:00
.gitignore Add project files 2020-04-28 10:50:03 +02:00
.swiftlint.yml Improve the version bump process to include test verification and linting 2020-09-05 11:30:35 +02:00
DSSwiftKit.podspec Bump to 0.2.0 2020-08-31 21:02:30 +02:00
LICENSE Add project files 2020-04-28 10:50:03 +02:00
Package.resolved Update to latest version of Mockery 2020-07-20 12:37:05 +02:00
Package.swift Add macOS 10.13 availability 2020-08-31 21:01:30 +02:00
README.md Add more readmes 2020-08-31 20:59:31 +02:00
Release Notes.md Improve the version bump process to include test verification and linting 2020-09-05 11:30:35 +02:00

README.md

Version Swift UI Swift 5.2 License Twitter: @danielsaidi

About SwiftKit

SwiftKit adds functionality to Swift, both extensions to existing types and components, as well as custom useful functionality.

You can read more about the different parts of SwiftKit in separate readmes:

If things that exist in this library are added to Swift, the corresponding functionality in this library will be deprecated and refer to those new features.

Demo App

This project contains a demo app that demonstrates most things from the library. To run the demo app, just open and run the SwiftKit.xcodeproj project.

Installation

Swift Package Manager

https://github.com/danielsaidi/SwiftKit.git

CocoaPods

pod DSSwiftKit

Note that you have to import SwiftKit with import DSSwiftKit if you add it with CocoaPods. The name SwiftKit was (not surprising) already taken.

Why a big "Kit"?

Having a big "kit" is a bad idea, since it may become too generic and hard to overview. For instance, if I want to modify dates, I'm probably not going to dig around in SwiftKit looking for extensions, but rather use the best single-purpose date library.

The GitHub stars confirm this as well. Many years ago, I started putting reusable iOS functionality into a library I call iExtra. I think it's an amazing library and I use it in most of my apps. To this day, it has 12 stars.

However, each project comes with overhead. If I decided to create a new library for each little thing I make, I'd spend a lot of time setting up each new project. There are funny names to come up with, icons and logos to be made, maintenance etc.

SO instead of honoring every little idea with a new library, I'm going to put most here until they are either too large or too good to be a part of this library. When that happens, they'll break out of their little cage and move into a library of their own.

Contact me

Feel free to reach out if you have questions or if you want to contribute in any way:

License

SwiftKit is available under the MIT license. See LICENSE file for more info.