QuantumQuillSwift

1.1.0

Some Swift extensions for a cleaner and better code
Flexible-Universe/QuantumQuillSwift

What's New

1.1.0

2024-01-03T22:41:05Z

This new features are added:

  • Convert Celsius to Kelvin
  • Convert Kelvin to Celsius
  • Convert Fahrenheit to Kelvin
  • Convert Kelvin to Fahrenheit
  • Convert HEX Color Value to Swift Color

Quantum Quill Swift

The Quantum Quill Swift package offers extensions and functions for daily use, promoting cleaner code.

Several extensions are sourced from this site. A special thanks to Alisa "Foxicorn" Nekrasova for her excellent article, which served as inspiration for this Swift package. Additionally, some extensions were discovered in the past year, while others were authored for specific use cases.

Table of Contents

Features

  • Create colors using HTML Hex values
  • Simplify date formatting
  • Convert Celsius to Fahrenheit and vice versa
  • Convert kilometers to miles and vice versa
  • Convert kilowatts to horsepower and vice versa
  • Double formatting utilities
  • Integer formatting utilities
  • Validate email addresses
  • Validate phone numbers
  • Add a prefix if it does not exist
  • Check if a string is alphanumeric
  • Check if a string contains only digits
  • Various path functions and formatting utilities
  • Date formating and calculation utilities

Requirements

The following table outlines the requirements for this package:

Platform Minimum Swift Version Installation
iOS 14.0+ / macOS 10.15+ 5.3 Swift Package Manager

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/Flexible-Universe/QuantumQuillSwift.git", .upToNextMajor(from: "1.0.0"))
]

Documentation

The comprehensive documentation is accessible through this link.

License

QuantumQuillSwift is released under the MIT license. See LICENSE for details.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Sep 10 2024 16:48:07 GMT-0900 (Hawaii-Aleutian Daylight Time)