technicat / swiftsys

misc Swift utils used in my apps. moved to codeberg.

Home Page:https://technicat.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

misc Swift utils used in my apps. moved to codeberg.

https://technicat.com/

License:MIT License


Languages

Language:Swift 100.0%