All Projects β†’ marinofelipe β†’ CurrencyText

marinofelipe / CurrencyText

Licence: MIT License
Currency text field formatter available for UIKit and SwiftUI πŸ’ΆβœοΈ

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to CurrencyText

Tweetextfield
Lightweight set of text fields with nice animation and functionality. πŸš€ Inspired by https://uimovement.com/ui/2524/input-field-help/
Stars: ✭ 421 (+239.52%)
Mutual labels:  uikit, uitextfield, swift-package-manager, textfield
column-text-view-ui
πŸ“„ Column Text View is an adaptive UI component that renders text in columns, horizontally [iOS 12, UIKit, TextKit, SwiftUI].
Stars: ✭ 11 (-91.13%)
Mutual labels:  uikit, swift-package-manager, swiftui
SwiftCurrent
A library for managing complex workflows in Swift
Stars: ✭ 286 (+130.65%)
Mutual labels:  uikit, swift-package-manager, swiftui
SwiftUI-Shapes
Commonly Used Shapes and Utilities In SwiftUI
Stars: ✭ 52 (-58.06%)
Mutual labels:  swift-package-manager, swiftui
SwiftUI-Color-Kit
SwiftUI Color Pickers, Gradient Pickers And All The Utilities Needed To Make Your Own!
Stars: ✭ 120 (-3.23%)
Mutual labels:  swift-package-manager, swiftui
ScrollViewProxy
ScrollViewProxy for SwiftUI on iOS 13 and up
Stars: ✭ 135 (+8.87%)
Mutual labels:  swift-package-manager, swiftui
SwiftUI-Currency-Converter
Currency Converter project coded by SwiftUI and Swift5
Stars: ✭ 56 (-54.84%)
Mutual labels:  currency, swiftui
Shift
Light-weight EventKit wrapper.
Stars: ✭ 31 (-75%)
Mutual labels:  swift-package-manager, swiftui
TextInputLayout
The objective of this code is to guide you to create login screen with TextInputLayout in iOS app.
Stars: ✭ 30 (-75.81%)
Mutual labels:  uitextfield, textfield
Laden
SwiftUI loading indicator view
Stars: ✭ 23 (-81.45%)
Mutual labels:  swift-package-manager, swiftui
tapit-app
App which lets two people share their social media details by simply putting one phone on top of the other ("tapping"). Currently in development by Nikita Mounier.
Stars: ✭ 18 (-85.48%)
Mutual labels:  swift-package-manager, swiftui
Movie Trailers SwiftUI
A simple app which shows the lastest movies trailers based on different genres developed using SwiftUI.
Stars: ✭ 51 (-58.87%)
Mutual labels:  uikit, swiftui
Redux
Manage iOS App state with Redux and Async/Await :)
Stars: ✭ 18 (-85.48%)
Mutual labels:  uikit, swiftui
SwiftUIKit
πŸ“± UIKit code that is fun to write
Stars: ✭ 71 (-42.74%)
Mutual labels:  uikit, swiftui
swift-composable-app-example
Example iOS app built with module composition in mind.
Stars: ✭ 79 (-36.29%)
Mutual labels:  swift-package-manager, swiftui
LocalConsole
In-app console and debug tools for iOS developers
Stars: ✭ 595 (+379.84%)
Mutual labels:  uikit, swiftui
awesome-flutter-ui
10+ flutter(android, ios) UI design examples ⚑ - login, books, profile, food order, movie streaming, walkthrough, widgets
Stars: ✭ 848 (+583.87%)
Mutual labels:  uikit, textfield
LycricsTextView
No description or website provided.
Stars: ✭ 14 (-88.71%)
Mutual labels:  uitextfield, textfield
BottomSheet
Access UISheetPresentationController in SwiftUI on iOS 15 using a simple .bottomSheet modifier.
Stars: ✭ 332 (+167.74%)
Mutual labels:  uikit, swiftui
iOS14-Resources
A curated collection of iOS 14 projects ranging from SwiftUI to ML, AR etc.
Stars: ✭ 85 (-31.45%)
Mutual labels:  uikit, swiftui

Build status Coverate status Swift Platform Swift Package Manager CocoaPods Compatible Twitter

CurrencyText provides lightweight libraries for formating text field text as currency, available for both UIKit and SwiftUI.

Its main core, the CurrencyFormatter class, can also be used a part from text fields to format any value that can be monetary represented.

If you need to present currency formatted text or allow users to input currency data, CurrencyText is going to help you do it in a readable and configurable matter.

Documentation

For details on how to use CurrencyText libraries please refer to the docs.

Installation

Swift Package Manager

To install it using Swift Package Manager, just add this repository through Xcode built-in Swift Packages, or by manually adding it to your Package.swift Package's dependencies:

dependencies: [
    .package(
    	url: "https://github.com/marinofelipe/CurrencyText.git", 
    	.upToNextMinor(from: .init(2, 1, 0)
    )
]

.target(
    name: "MyTarget",
    dependencies: [
    	// Can be imported to consume the formatter in insolation
        .target(name: "CurrencyFormatter"),

        // UIKit library - Provide access to "CurrencyFormatter" and "CurrencyUITextFieldDelegate" targets
        .target(name: "CurrencyText"),

        // SwiftUI library - Provide access to "CurrencyFormatter" and "CurrencyTextField" targets
        .target(name: "CurrencyTextSwiftUI")
    ],
    ...
)

Install via CocoaPods

To integrate CurrencyText using CocoaPods, specify it, one or more of its sub-specs in your Podfile:

# Podfile
use_frameworks!

target 'YOUR_TARGET_NAME' do
     pod 'CurrencyText'

     # sub-specs

     # pod 'CurrencyText/CurrencyFormatter'
     # pod 'CurrencyText/CurrencyUITextField'
     # pod 'CurrencyText/CurrencyTextField'
end

Contributing

Contributions and feedbacks are always welcome. Please feel free to fork, follow, open issues and pull requests. The issues, milestones, and what we are currently working on can be seen in the main Project.

Special Thanks

To @malcommac for his awesome work with SwiftRichString and SwiftDate, that inspired me when creating this project. Also to myanalysis for contributing so much by finding issues and giving nice suggestions.

Copyright

CurrencyText is released under the MIT license. See LICENSE for details.

Felipe Marino: [email protected], @_marinofelipe

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].