Skip to content

mikechan1234/SwiftUI-StateObject-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

SwiftUI-StateObject-Example

Xcode Version 12.0 beta (12A6159)

This demonstrates the usage of StateObject v ObservedObject Property Wrapper.

Just comment out the StateObject/ObservedObject to use the other and tap on the steppers to see the result on the label.

About

Showing the difference between ObservedObject and StateObject in SwiftUI

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages