DataField: A SwiftUI view that wraps a text field to only accept specific data

DataField Repository

SwiftUI's native TextField is a great tool to allow users to edit text in your app. Oftentimes what we actually want to edit though is data that is not text. And further, it's usually required that the data fulfills certain requirements.
DataField provides a text field to edit any kind of data, declare constraints on the user's inputs and gives you options for handling invalid inputs.

Terms of Service

Privacy Policy

Cookie Policy