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) | |
} | |
} |
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: String = "" | |
@State var isEditing: Bool = false | |
var body: some View { | |
iPhoneNumberField("(000) 000-0000", text: $text, isEditing: $isEditing) | |
.flagHidden(false) | |
.flagSelectable(true) |
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 iTextField | |
import iPhoneNumberField | |
struct ContentView: View { | |
@State var nameText = "" | |
@State var phoneText = "" | |
@State var phoneEditing = false | |
var body: some View { |
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(text: $text) | |
.flagHidden(false) | |
.flagSelectable(true) | |
} |
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) | |
} | |
} |
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
iPhoneNumberField("Phone", text: $text) |
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 iDummyCursor | |
struct ContentView: View { | |
var body: some View { | |
iDummyCursor() | |
} | |
} |
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 iTextField | |
struct ContentView: View { | |
@State var text: String = "" | |
@State var isEditing: Bool = false | |
var body: some View { | |
iTextField("Placeholder", | |
text: $text, |
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 iPhoneNumberTextField | |
struct ContentView: View { | |
@State var text: String = "" | |
@State var isEditing: Bool = false | |
var body: some View { | |
iPhoneNumberTextField("Placeholder", | |
text: $text, |
NewerOlder