Skip to content

Instantly share code, notes, and snippets.

@Thonyvb
Created Mar 18, 2022
Embed
What would you like to do?
SwiftUI ObservableObject
class Prices: ObservableObject {
@Published var prices: [Int]
// ... obtain prices via API
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment