AnyFormatKitSwiftUI
No description available
Install / Use
/learn @luximetr/AnyFormatKitSwiftUIREADME

Text formatting framework written for SwiftUI and based on AnyFormatKit.
Demo




Requirements
- iOS 13.0+
- Swift 4.0+
- Xcode 11.0+
Installation
Swift Package Manager
AnyFormatKit is available with Swift Package Manager.
Once you have your Swift package set up, than simply add AnyFormatKitSwiftUI to the dependencies value of your Package.swift
dependencies: [
.package(url: "https://github.com/luximetr/AnyFormatKitSwiftUI.git", .upToNextMajor(from: "0.5.3"))
]
CocoaPods
AnyFormatKitSwiftUI is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AnyFormatKitSwiftUI', '~> 0.5.3'
Then, run the following command:
$ pod install
Usage
import SwiftUI
import AnyFormatKitSwiftUI
struct ContentView: View {
@State var text = ""
var body: some View {
FormatTextField(
unformattedText: $text,
textPattern: "### (###) ###-##-##"
)
}
}
For more details look example
TextField types
FormatTextField- formatting symbol by symbolFormatSumTextField- formatting like a money formatFormatStartTextField- formatting with all textPattern as placeholder
Features
| |Features | |-------------------|------------------------------------------------------------| :bicyclist:| Formatting text during typing :hash:| Set format using '#' characters like '### ##-###' :stuck_out_tongue:| Supporting emojis :heavy_dollar_sign:| Formatting money amount :parking:| Formatting with placeholders
Author
luximetr, luximetr.notification@gmail.com
Say thank you
<a href="https://paypal.me/luximetr/"><img src="https://github.com/andreostrovsky/donate-with-paypal/blob/master/PNG/blue.png" height="40"></a>
License
AnyFormatKitSwiftUI is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
