Swiftpack.co - technicat/swiftsys as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by technicat.
technicat/swiftsys 1.0.4
misc Swift utils used in my apps
⭐️ 4
🕓 35 weeks ago
iOS
.package(url: "https://github.com/technicat/swiftsys.git", from: "1.0.4")

SwiftSys

In-progress, this is a hodgepodge of Swift and SwiftUI code that I reuse among apps (including Talk Dim Sum on the App Store and a Mastodon app in progress), including

  • displaying and speaking Chinese words (Cantonese, Mandarin, and Mandarin with simplified characters)
  • map display and info links of places collected by region and country (used for restaurants in Talk Dim Sum but could be anything)
  • Date extension for convenient formatting
  • String extensions for copy to pasteboard and URL creation
  • A Rumble class for convenience vibrations (UIFeedback).
  • ActionButton that by default rumbles softly and localizes the title
  • LLabel that localizes the title
  • LinkLabel wrapper for SwiftUI Link (clickable urls)
  • An IOS639_1 enum that lists two-letter language codes
  • LanguageChooser based on the aforementioned language codes
  • FutureDatePicker that picks dates and times starting from now
  • A Site class encapsulating URLs with support for markdown and various sites
  • misc stuff

Formatted and linted with swift-format.

Should follow Swift API guidelines.

and DocC documentation

GitHub

link
Stars: 4
Last commit: 1 week ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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