Post

Replies

Boosts

Views

Activity

Reply to SwiftUI List and ForEach
For the first error, you need to add an 'id' clause, like this: ForEach(menuItems, id: \.self) { menuLine in Here is an explanation of the reason for this (better than I could give): https://www.hackingwithswift.com/books/ios-swiftui/why-does-self-work-for-foreach For the second error, the ForEach statement needs to return a view, which print does not do. So you could include a Text within the ForEach, for example: Text(menuLine)
Jun ’24
Reply to VStack showing error. I'm unable to figure out why
I get this problem too. I tried using Group{} inside both of the VStacks in my SwiftUI module. But then that resulted in this error message: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions on this line: var body: some View { I'm creating a Feedback Assistant request for this.
Jul ’22
Reply to SF Symbols 3 app crashes
Happened for me too, thanks for the pointer to the custom symbols directory. I filed a Feedback Assistant request. I am wondering what about my custom symbol template caused this crash? Did I do something wrong or is it just a bug?
Jun ’21
Reply to Safari in Big Sur
Thanks, deleting ~/Library/Preferences/*Safari*, as well as the whole ~/Library/Safari folder worked for me (not sure if the second part was necessary). The problem I was having is that Safari was working mostly without crashing, but using up to 700% CPU and running the fan in my Macbook Pro continuously. I had reported this to Apple in the Feedback Assistant app so I will update with this workaround.
Jun ’20