SwiftKit

0.6.0

SwiftKit contains additional functionality for Swift.
danielsaidi/SwiftKit

What's New

2021-05-01T23:08:45Z

New features

  • ApiRoute has more explicit properties for working with post data.
  • ApiRoute has a new shouldUrlEncodeParams parameter.
  • iCloudDocumentSync is a new protocol for syncing iCloud document changes.
  • String+Slugify is a new extension that can convert a string to a slugified version.
  • StandardiCloudDocumentSync is a new class for syncing iCloud document changes.
  • URL+iCloud contains iCloud-specific URLs and fallback URLs.

💡 Behavior changes

  • ApiRoute has more required properties.
  • URL+setQueryParameter no longer url encodes the strings you send in.

💥 Breaking changes

  • ApiRoute requires new post properties to be defined.

Version Swift UI Swift 5.3 MIT License Twitter: @danielsaidi

About SwiftKit

SwiftKit adds extra functionality to Swift, like extensions to already existing types as well as completely new utilites, services etc.

SwiftKit is divided into these areas:

  • Authentication
  • Data
  • Date
  • Device
  • Extensions
  • Files
  • Geo
  • iCloud
  • IoC
  • Keychain
  • Localization
  • Messaging
  • Network
  • Services

You can explore the various sections in the demo app. Let me know if some feature is missing.

Demo App

This project contains a demo app that lets you explore SwiftKit through interactive demos.

The demo app provides an intuitive way to explore the library. Together with the extensive documentation and SwiftUI previews, I hope you'll find it easy to understand how the various parts of the library works.

To run the demo app, just open and run the Demo/Demo.xcodeproj project. It's a universal app project, but the macOS app is currenty not working that well.

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.

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.

Description

  • Swift Tools 5.3.0

Dependencies

Last updated: Thu May 13 2021 02:18:44 GMT-0500 (GMT-05:00)