Maks-Jago / SwiftFoundation

MIT License
2 stars 1 forks source link

SwiftFoundation

SwiftFoundation is a collection of useful extensions and utilities for the Swift programming language. This library provides a variety of enhancements to existing Swift types, making common tasks more convenient and efficient. It also includes features for working with URLs, HTTP requests, date and time formatting, encoding/decoding, and more.

Table of Contents

Installation

To use SwiftFoundation in your project, you can simply include the source files in your project or add it as a Swift Package.

Usage

Each extension and utility included in this library extends existing Swift types or provides new functionality to make your code more concise and expressive. Refer to the extensions listed below for details on usage.

Extensions

Array

Bool

Bundle

Calendar

CharacterSet

CLLocation

CNMutablePostalAddress

CodingUserInfoKey

Data

Date

DateFormatter

Dictionary

Double

Encodable

Formatter

Int

JSONDecoder

KeyedDecodingContainer

NSSortDescriptor

Numeric

String

URL

URLRequest

Utilities

AnyCodable

EquatableNoop

Faking

HashableNoop

IndexedCollection

S3MediaResource

StorableValue

SafetyStorage

License

This library is released under the MIT license. See LICENSE for details.