Library for common enhancements to the Swift language.
For additional enhancments to more specific platforms see these other repositories:
- SwiftlierUIKit – UIKit helpers and improvements
- SwiftlierCLI – Command-Line Enhancements for macOS and Linux
Create a common library of generic extensions and types that are useful across many projects. This would allow developers to use more advanced features while maintaining readability. You are encouraged to submit pull requests or issues with additional features that we can discuss to see if they should be added.
import PackageDescription
let package = Package(
name: "web",
dependencies: [
.package(url: "https://github.com/drewag/Swiftlier.git", from: "5.0.0"),
]
)
- Coding+Helpers
- CodingKeys
- NativeTypesDecoder
- NativeTypesEncoder
- PercentEncodable
- SpecDecoder
- Collection+Enhancements
- Data+Processing
- Date+Helpers
- DispatchQueue+Enhancements
- String+Enhancements
- URL+Helpers
- AnySwiftlierError
- GenericSwiftlierError
- OperationBasedError
- OtherSwiftlierError
- SwiftlierError
- SwiftlierResult
- FileSystem+iOSDirectories
- FileSystem
- Path+Coding
- Path
- PersistenceService
- ReferenceTypePersistenceService
- ValueTypePersistenceService
- Bool+Formatting
- Data+Base64
- Date+Formatting
- Double+Formatting
- HeartRateFormatter
- TimeInterval+Formatting
- BinarySearchTree
- LimitedQueue
- OrderedDictionary
- PatchyRange
- SelectableValue
- Syncable
- WeakWrapper
- EventCenter
- MultiCallback
- Observable
- ObservableArray
- ObservableDictionary
- ObservableReference
- JSON
- NativeTypesStructured
- Structured
- XML
- Age
- AlwaysEqual
- Angle
- Day
- EmailAddress
- HTML
- Mass
- Price
- UniquelyIdentifiable
- CSVStreamReader
- DelimiterStreamReader
- StreamReader
- Date+Testable
- URLSession+Testing