flexible-universe/quantumquillswift
The Quantum Quill Swift package offers extensions and functions for daily use, promoting cleaner code.
Table of Contents
Features
- Create colors using HTML Hex values for UIKit and SwiftUI
- Simplify date formatting
- Convert Celsius to Fahrenheit and vice versa
- Convert Celsius to Kelvin and vice versa
- Convert Fahrenheit to Kelvin 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
- Various date formating and calculation utilities
- Added some SwiftUI extensions
- SizeDisplay show the width and height of a component or Stack - LocalizationHelper shows if the text is translated or not - LayoutGuide sets some horizontal and vertical lines on the screen to align the components
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.
Package Metadata
Repository: flexible-universe/quantumquillswift
Default branch: main
README: README.md