Posts

Post not yet marked as solved
0 Replies
131 Views
Hello, i would like to have the sidebar items highlighted transparently just like in the Finder or Music app. I tried to change the accent color and also have the list style as SidebarListStlye(). Best Regards Jonas
Posted
by Jonas54.
Last updated
.
Post marked as solved
1 Replies
338 Views
Hello, I am trying to use a NavigationLink in my macOS app. The problem is that the destination View is shown as a "speech bubble" and not as new normal View in the app. Here is a sample code to replicate the problem... import SwiftUI struct MainView: View {     var body: some View {         NavigationView {             Text("Sidebar")             NavigationLink(destination: SubView()) {                 Text("click me")             }         }     } } struct SubView: View {     var body: some View {         Text("Hello, World!")     } } // Preview struct MainView_Previews: PreviewProvider {     static var previews: some View {         MainView()     } } If the NavigationLink is in the Sidebar it works as intended (normal new View)
Posted
by Jonas54.
Last updated
.
Post marked as solved
3 Replies
802 Views
I opened the Session1 - Part1 - End file. In the "GardenDetail" view in the "Navigation" Folder of the project Xcode throws the error "cannot find 'Table' in scope". I did not changed anything from the original tutorial and have Xcode 13 and BigSur 11.6 on a M1 Mac.
Posted
by Jonas54.
Last updated
.