Post

Replies

Boosts

Views

Activity

Reply to Swift Playgrounds .environmentObject error CreatureZoo()
Try adding .environmentObject(data) after the navigationStack closure var body: some Scene { SPCAssessableWindowGroup(app: self, assessmentCandidates: [CreatureZoo()]) { NavigationStack{ ContentView() .navigationTitle("My Creatures") }.environmentObject(data)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Get Started with Apps Stuck in Playgrounds
Having the same issue... Can't move forward
Replies
Boosts
Views
Activity
Jan ’23