Skip to content

LawrenceHan/SwiftUI-Sign-Up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI-Sign-Up

A simple SwiftUI sign up demo:

  • Observable object
  • Keyboard avoiding
  • Animation
  • Translate Chinese characters to pinyin

Demo Chinese version

Know issues:

  • The TextField cannot process Chinese character (Xcode GM2 bug)
  • The observed object User doesn't passes as @Binding to PYTextFieldView cus it breaks animation somehow.
  • The enum PYTextFieldType's raw value doesn't display localized string, so I have to create a get method.

Please feel free to change & use the code

P.S:

- PY means PinYin instead of PiYan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages