Swift Package that creates a ISBN
based on input value if it's valid.
dependencies: [
.package(url: "https://github.com/PeerBookClub/ISBNBuilder.git", exact: "1.0.0")
]
Create a ISBN
using the builder and switch on its result:
let result = ISBNBuilder.buildISBN(rawValue: input)
// return Result<ISBN, ISBNError>
ISBNBuilder is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 0 |
Last commit: 2 years ago |
Fixed Access level of ISBNBuilderResult
properties
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics