misc Swift utils
  • Swift 99.8%
  • Makefile 0.2%
Find a file
2026-03-30 20:18:12 -06:00
.swiftpm/xcode pass margin to MarginScrollView update to Xcode 26 2025-09-17 16:32:31 -06:00
Sources/SwiftSys SetTextButton 2026-03-30 20:18:12 -06:00
Tests/SwiftSysTests Update LangTests.swift 2025-07-02 18:12:20 -06:00
.gitignore update gitignore for macos 2025-11-15 02:14:44 -07:00
LICENSE updated license added leanpub to link icons 2025-01-14 17:49:38 -07:00
Makefile add makefile 2025-05-28 01:21:28 -06:00
Package.swift require ios26 and macos26 2025-10-30 18:12:20 -06:00
README.md update readme 2025-08-09 13:25:57 -06:00

SwiftSys

A hodgepodge of Swift and SwiftUI code that I share or theoretically could among my apps (Talk Dim Sum on the App Store and Fedicat on Testflight)

  • 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).
  • LinkLabel wrapper for SwiftUI Link (clickable urls)
  • 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
  • Icon enum for SF Symbols
  • Label, button, and toggle wrappers that take Icon and automatically localize
  • Button wrappers automatically rumble
  • Text-to-speech
  • misc stuff

Formatted and linted with swift-format.

Should follow Swift API guidelines and DocC documentation.