Packages for keyword “validation”
These packages are available as a package collection, usable in Xcode or SwiftPM.
PhoneNumberKit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
Frames
Frames iOS: making native card payments simple
Validator
Validator is a modern, lightweight Swift framework that provides elegant and type-safe input validation.
SmartText
Swift library that provides a set of useful text formatting and validation tools that can be useful in your project
swift-arazzo
Swift library for OpenAPI Arazzo 1.0 and 1.1 workflows: typed Codable models, runtime expressions, criteria evaluation (simple, regex, JSONPath) and validation. Swift 6, Sendable, Linux first-class.
ValidatedPropertyKit
Easily validate your Properties with Property Wrappers 👮
Peppermint
Declarative data validation framework, written in Swift
SwiftUIFormValidator
Declarative form validator for SwiftUI.
swift-validated
🛂 A result type that accumulates multiple errors.
Formhaus
Native Swift engine for formhaus JSON form definitions: validation, conditional fields, multi-step and branching on iOS and macOS. Zero dependencies, same conformance suite as the TypeScript core.
Formidable
Simple, declarative form validation for SwiftUI. Declare FormField properties with rules, then validate, reset and track changes, with localized error messages under each field via a single modifier.
FormsKit
Modern SwiftUI form validation for iOS 17+. @Validate property wrapper with composable typed rules over any Equatable, @Observable FormController with a submission state machine and automatic server-error remap, plus SwiftUI modifiers for inline errors and a dirty-aware toolbar. Swift 6, zero dependencies.
SwiftProtoParser
Native Swift library for parsing .proto files (proto2 & proto3) into SwiftProtobuf descriptors. Full syntax support, well-known types, and detailed error reporting.
swift-valid
✅ Trust nothing, validate everything
ValidationKit
A Swift library for validating user input, for example in forms.
PodcastFeedMaker
Reference-quality Swift library for generating, parsing, and validating podcast RSS feeds. 7 namespaces, 5 platform validators, builder DSL, CLI tool.
CombineValidate
🚦 Validation library depends on SwiftUI & Combine. Reactive and fully customizable.
swift-draft
Swift macros for generating editable, validated draft models with defaults, field tracking and safe model conversion.
EmailValidator
A simple, robust email validation library for Swift, inspired by WordPress's battle-tested validation logic. Designed to be lightweight, fast, and RFC-compliant while providing convenient Swift-native APIs.
GherkinGenerator
A Swift library for composing, validating, importing, and exporting Gherkin .feature files programmatically.