Skip to content

Instantly share code, notes, and snippets.

@Thonyvb
Created March 18, 2022 19:37
Show Gist options
  • Save Thonyvb/dc539d304da4c022f8de017eb9bba851 to your computer and use it in GitHub Desktop.
Save Thonyvb/dc539d304da4c022f8de017eb9bba851 to your computer and use it in GitHub Desktop.
SwiftUI Property Wrapper ObservedObject
struct CartView: View {
@ObservedObject var prices: Prices
// …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment