Swiftpack.co - danielsaidi/SwiftKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by danielsaidi.
danielsaidi/SwiftKit 1.0.0
SwiftKit contains additional functionality for Swift.
⭐️ 30
🕓 1 week ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/danielsaidi/SwiftKit.git", from: "1.0.0")

Version Swift UI Swift 5.3 MIT License Twitter: @danielsaidi

About SwiftKit

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

SwiftKit is divided into the following sections:

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

You can explore the various sections in the documentation or in the demo app.

Installation

Swift Package Manager

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

CocoaPods

pod DSSwiftKit

Documentation

The SwiftKit documentation contains curated and structured information that makes it easy to overview the various parts of the library, see how the various parts connect to each other etc.

Just download the documentation, extract the zip file and double-tap the SwiftKit.doccarchive file to view the documentation directly in Xcode.

Demo Application

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.

Contact

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.

GitHub

link
Stars: 30
Last commit: 3 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

3 days ago

I think it's finally time to push the major release button.

This version drastically improves documentation and ships with a DocC documentation archive.

This version also introduces a new StoreKit namespace with handy utils for managing StoreKit products and purchases.

✨ New features

  • Bundle has a new displayName extension.

  • Collection has new asyncCompactMap and asyncMap extensions.

  • Date has a new components extension for retrieving year, month, hour etc.

  • NSAttributedString has a new init(keyedArchiveData:) that can initialize an attributed string from NSKeyedArchiver generated data.

  • NSAttributedString has a new init(plainText:) that can initialize an attributed string from plain .utf8 text data.

  • NSAttributedString has a new init(rtfData:) that can initialize an attributed string from RTF data.

  • NSAttributedString has a new getKeyedArchiveData() function that can be used to generate RTF formatted data from an attributed string.

  • NSAttributedString has a new getPlainTextData() function that can be used to generate plain .utf8 formatted text data from an attributed string.

  • NSAttributedString has a new getRtfData() function that can be used to generate RTF formatted data from an attributed string.

  • String has new boolValue extension.

  • StoreService is a new protocol for managing StoreKit products and purchases.

  • StoreContext is a new class for managing StoreKit products and purchases.

  • StandardStoreService is a new class that implements the StoreService protocol.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics