Multi-platform Swift shared code module with useful extension methods on standard library types.
The library has full unit test coverage and is actively used in production.
Add the package to your Xcode project using Swift Package Manager
https://github.com/orchetect/OTCoreas the URL.
Import the module in your *.swift files where needed.
In your Package.swift file:
dependencies: [ .package(url: "https://github.com/orchetect/OTCore", from: "1.4.16") ]
@_implementationOnly prevents the methods and properties in
OTCore from being exported to the consumer of your SPM package.
@_implementationOnly import OTCore
Most methods are implemented as category methods so they are generally discoverable.
All methods have inline help explaining their purpose and basic usage examples.
Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself @orchetect.
Licensed under the MIT license. See LICENSE for details.
Bug fixes and improvements are welcome. Please open an issue to discuss prior to submitting PRs.
|Last commit: 9 hours ago|
StringRegEx methods: Fixed bug where matches and capture groups were sometimes incorrect lengths if the source string contained UTF16 composed characters