Post

Replies

Boosts

Views

Activity

Reply to Back menu Item not displaying or working
It looks like your content view isn't wrapped in a NavigationView, only the detail. That won't work, it's like a parent/detail relationship.ContentView.swift: var body: some View { NavigationView { HStack { NavigationLink(destination: DetailView()) { Text("Summary") } } } } From the DetailView.swift file (remove the second navigation view): var body: some View { VStack { Text("Detail View") } }
Feb ’20
Reply to Core Data complaining about store being opened without persistent history tracking... but I don't think that it has been
Compiling against beta 2 and I figured this out. Turns out I was setting my Spotlight delegate before setting the persistent history tracking attribute. Well, setting the Spotlight delegate must open the store and that's where this was coming from... this asserted in b2 making it obvious. The fix was to re-arrange the code so the Spotlight delegate is set last.
Jul ’20