Skip to content

Shows the usage of ViewModifiers and FocusState in a simple Username and Password screen

Notifications You must be signed in to change notification settings

mikechan1234/SwiftUI-ViewModifier-FocusState

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SwiftUI-ViewModifier-FocusState

This project builds upon: SwiftUI-Learning-Binding-Basics

  • Developed in Xcode 13.2.1
  • The projects applies the @FocusState keyword to demonstrate the usage of how to dismiss the keyboard
  • The project also uses ViewModifier/TextFieldStyle in how to modify views. Whilst we can create custom extensions and add a function to a View, one of the biggest advantages of using a ViewModifier is that it can store properties.

About

Shows the usage of ViewModifiers and FocusState in a simple Username and Password screen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages