What's Changed
- Fixed a bug where a property attributed with
@Validatedcouldn't be mutated.
Full Changelog: https://github.com/SvenTiigi/ValidatedPropertyKit/compare/0.0.6...0.0.7
Unclaimed project
Are you a maintainer of ValidatedPropertyKit? Claim this project to take control of your public changelog and roadmap.
Changelog
Easily validate your Properties with Property Wrappers 👮
@Validated couldn't be mutated.Full Changelog: https://github.com/SvenTiigi/ValidatedPropertyKit/compare/0.0.6...0.0.7
Full Changelog: https://github.com/SvenTiigi/ValidatedPropertyKit/compare/0.0.5...0.0.6
This release contains breaking changes and introduces a more SwiftUI oriented architecture.
struct LoginView: View {
@Validated(!.isEmpty && .isEmail)
var mailAddress = String()
@Validated(.range(8...))
var password = String()
var body: some View {
List {
TextField("E-Mail", text: self.$mailA...
Updated @Validated initializer to accept a initial value
Updated Swift toolchain to 5.0 and declared platforms