Last active
November 6, 2020 22:40
-
-
Save blsage/7fd9d51021ed60ffbda5ac39e68abe99 to your computer and use it in GitHub Desktop.
FORMAT PHONE NUMBERS IN SWIFTUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import iPhoneNumberField | |
struct ContentView: View { | |
@State var text = "" | |
var body: some View { | |
iPhoneNumberField("Phone", text: $text) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YouTube Tutorial: https://youtu.be/4SnmiWFvolM
Medium: https://benjaminlsage.medium.com/format-phone-numbers-entirely-in-swiftui-9456f52990a1
GITHUB: https://github.com/MojtabaHs/iPhoneNumberField