{"id":13496723,"url":"https://github.com/marinofelipe/CurrencyText","last_synced_at":"2025-03-28T19:30:55.380Z","repository":{"id":41055388,"uuid":"130617198","full_name":"marinofelipe/CurrencyText","owner":"marinofelipe","description":"Currency text field formatter available for UIKit and SwiftUI 💶✏️","archived":false,"fork":false,"pushed_at":"2025-01-01T18:17:10.000Z","size":462,"stargazers_count":231,"open_issues_count":4,"forks_count":30,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-01T21:01:49.716Z","etag":null,"topics":["cocoapods","currency","currency-formatting","ios","swift","swift-package-manager","swiftui","textfield","uikit","uitextfield"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marinofelipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-22T23:45:16.000Z","updated_at":"2025-02-12T04:11:50.000Z","dependencies_parsed_at":"2024-06-19T02:10:44.919Z","dependency_job_id":"8eef5dd4-d5e7-41bc-84fe-88c29629700f","html_url":"https://github.com/marinofelipe/CurrencyText","commit_stats":{"total_commits":259,"total_committers":6,"mean_commits":"43.166666666666664","dds":0.07335907335907332,"last_synced_commit":"32c6f6859b9833a35559a6193cb7c34eb08f5f60"},"previous_names":["marinofelipe/uicurrencytextfield"],"tags_count":17,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinofelipe%2FCurrencyText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinofelipe%2FCurrencyText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinofelipe%2FCurrencyText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinofelipe%2FCurrencyText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marinofelipe","download_url":"https://codeload.github.com/marinofelipe/CurrencyText/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246088393,"owners_count":20721678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","currency","currency-formatting","ios","swift","swift-package-manager","swiftui","textfield","uikit","uitextfield"],"created_at":"2024-07-31T19:01:57.975Z","updated_at":"2025-03-28T19:30:55.031Z","avatar_url":"https://github.com/marinofelipe.png","language":"Swift","funding_links":[],"categories":["TextField","Swift"],"sub_categories":["Content"],"readme":"![Build status](https://github.com/marinofelipe/CurrencyText/actions/workflows/ci.yml/badge.svg)\n[![Coverate status](https://codecov.io/gh/marinofelipe/CurrencyText/branch/main/graph/badge.svg?token=K4VOS8NH7A)](https://codecov.io/gh/marinofelipe/CurrencyText)\n\u003ca href=\"https://swift.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swift-5.3-orange.svg?style=flat\" alt=\"Swift\" /\u003e\u003c/a\u003e\n[![Platform](https://img.shields.io/cocoapods/p/CurrencyText.svg?style=flat)]()\n[![Swift Package Manager](https://rawgit.com/jlyonsmith/artwork/master/SwiftPackageManager/swiftpackagemanager-compatible.svg)](https://swift.org/package-manager/)\n[![CocoaPods Compatible](https://img.shields.io/badge/pod-v2.2.0-blue.svg)](https://cocoapods.org/pods/CurrencyText)\n[![Twitter](https://img.shields.io/badge/twitter-@_marinofelipe-blue.svg?style=flat)](https://twitter.com/_marinofelipe)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/logo.png\" width=\"350\" title=\"Currency Text's logo\"\u003e\n\u003c/p\u003e\n\nCurrencyText provides lightweight libraries for formating text field text as currency, available for both `UIKit` and `SwiftUI`.\n\nIts main core, the `CurrencyFormatter` class, can also be used _a part from text fields_ to format any value that can be monetary represented.\n\nIf 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.\n\n## Documentation\n\nFor details on how to use `CurrencyText` libraries please refer to [the docs](/documentation/Documentation.md).\n\n## Installation\n\n### Swift Package Manager\n\nTo 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:\n\n```swift\ndependencies: [\n    .package(\n    \turl: \"https://github.com/marinofelipe/CurrencyText.git\", \n    \t.upToNextMinor(from: .init(2, 1, 0)\n    )\n]\n\n.target(\n    name: \"MyTarget\",\n    dependencies: [\n    \t// Can be imported to consume the formatter in insolation\n        .target(name: \"CurrencyFormatter\"),\n\n        // UIKit library - Provide access to \"CurrencyFormatter\" and \"CurrencyUITextFieldDelegate\" targets\n        .target(name: \"CurrencyText\"),\n\n        // SwiftUI library - Provide access to \"CurrencyFormatter\" and \"CurrencyTextField\" targets\n        .target(name: \"CurrencyTextSwiftUI\")\n    ],\n    ...\n)\n```\n\n### Install via CocoaPods\n\nTo integrate `CurrencyText` using CocoaPods, specify it, one or more of its sub-specs in your `Podfile`:\n\n```ruby\n# Podfile\nuse_frameworks!\n\ntarget 'YOUR_TARGET_NAME' do\n     pod 'CurrencyText'\n\n     # sub-specs\n\n     # pod 'CurrencyText/CurrencyFormatter'\n     # pod 'CurrencyText/CurrencyUITextField'\n     # pod 'CurrencyText/CurrencyTextField'\nend\n```\n\n## Contributing\nContributions 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](https://github.com/marinofelipe/CurrencyText/projects/1).\n\n## Special Thanks\nTo [@malcommac](https://github.com/malcommac) for his awesome work with [SwiftRichString](https://github.com/malcommac/SwiftRichString) and [SwiftDate](https://github.com/malcommac/SwiftDate), that inspired me when creating this project.\nAlso to [myanalysis](https://github.com/myanalysis) for contributing so much by finding issues and giving nice suggestions.\n\n## Copyright\nCurrencyText is released under the MIT license. [See LICENSE](https://github.com/marinofelipe/CurrencyText/blob/master/LICENSE) for details.\n\nFelipe Marino: [felipemarino91@gmail.com](mailto:felipemarino91@gmail.com), [@_marinofelipe](https://twitter.com/_marinofelipe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinofelipe%2FCurrencyText","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarinofelipe%2FCurrencyText","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinofelipe%2FCurrencyText/lists"}