ctietze,
@ctietze@mastodon.social avatar

@gernot @uliwitness Can you explain?

It looks to me like it can parse "round trip" values, i.e.
String→PhoneNumber→String→PhoneNumber

You can have it parse any String input,

get a structured PhoneNumber value,
(display this in the UI),

encode that into a String (with the .e164 strategy, the other one uses a dictionary),

then parse that again.

If the UI starts with empty fields, and the user pastes +1234567 into a text field, that should work to kick-start things?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • SwiftUI
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines