- July 26, 2025
- Mins Read
The numbers that the user enters in the field are automatically formatted to display in the dollar amount format. For example, if the user enters the numbers 1 and 2, the text in the field is formatted to display $0.12 . If the user enters 3, 4, 5, 6 after that.. the field displays $1,234.56
If the user presses the delete key, the text field displays $123.45
Add the dependency to your Podfile:
use_frameworks!
target TARGET_NAME do
pod ‘CurrencyTextField’
end
Run pod install to install the dependencies.
Source files
Clone this repository or download it in zip-file. Then you will find source files under CurrencyTextField directory. Copy them to your project.
Import CurrencyTextField and add it programatically to your view or add UITextField in your Storyboard, and then change the custom class to CurrencyTextField
@IBOutlet weak var textField: CurrencyTextField!
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. đ» Installation đŠ Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...