A Swift framework for validating text field and text view inputs with customizable conditions and validators.
FormValidatorSwift is a Swift framework designed to validate user inputs in text fields and text views across iOS, macOS, and tvOS apps. It provides reusable UI components and a flexible validation system that helps ensure data integrity and improve user experience by giving clear feedback on invalid inputs.
iOS, macOS, and tvOS developers who need robust, customizable input validation in their applications, particularly those building forms or data-entry interfaces.
Developers choose FormValidatorSwift for its seamless integration with native UIKit/AppKit controls, extensible validation system, and cross-platform support, which reduces boilerplate code and ensures consistent validation logic across Apple ecosystems.
A framework to validate inputs of text fields and text views in a convenient way.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
ValidatorTextField and ValidatorTextView seamlessly replace native UITextField/NSTextField with built-in validation, reducing boilerplate code for form handling.
Allows creating conditions using regex or custom checks, and combining them into validators for flexible, declarative rule definition tailored to app needs.
Returns arrays of violated conditions upon validation failure, enabling precise error messages and easier debugging for developers and users.
Supports iOS, macOS, and tvOS with the same API, simplifying validation logic across Apple ecosystems and reducing platform-specific code.
Built on UIKit/AppKit, so it doesn't natively support SwiftUI, requiring bridging with UIViewRepresentable which adds complexity for modern iOS development.
Only validates text fields and text views, excluding other common form elements like toggles or pickers, which may necessitate additional validation frameworks.
Relies on CocoaPods or manual framework embedding, which can be less convenient than Swift Package Manager and adds setup time for some projects.