Post

Replies

Boosts

Views

Activity

Comment on Working of List and ForEach in SwiftUI
Sadly (at least with Xcode 13.1.2) this behaviour is not supported in MacOS, because the List protocol does not have a Selection marker (as in IOS). Also, it is not possible to do multiple selections on MacOS within a List or ForEach. I am assuming this is going to be added at some point, but for now you have to capture the selection and store it somehow.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Comment on TabularData Framework: DataFrame as a List in SwiftUI
Would you be able to give us a few lines of code to illustrate this? I am building an app that needs a lot of input from .csv files and I can get the DataFrame to load but am having trouble accessing the data, and you seem to be one of the few people who have actually used the TabularData framework... I would be very grateful as I have been wrestling with this for weeks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’22
Comment on Dismiss of SwiftUI Views one after the other programmatically does not work
I have the same problem but .isDetailLink is not available on MacOS-- has anyone found a way to circumvent this for a Mac App (I am using ForEach navigation links, and have not found a way to dismiss the generated views without crashing the app).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Working of List and ForEach in SwiftUI
Sadly (at least with Xcode 13.1.2) this behaviour is not supported in MacOS, because the List protocol does not have a Selection marker (as in IOS). Also, it is not possible to do multiple selections on MacOS within a List or ForEach. I am assuming this is going to be added at some point, but for now you have to capture the selection and store it somehow.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on TabularData Framework: DataFrame as a List in SwiftUI
Lovely, thanks a lot! I was having trouble with the unwrapping which threw a lot of errors in the view, will try using your suggestions.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on TabularData Framework: DataFrame as a List in SwiftUI
Would you be able to give us a few lines of code to illustrate this? I am building an app that needs a lot of input from .csv files and I can get the DataFrame to load but am having trouble accessing the data, and you seem to be one of the few people who have actually used the TabularData framework... I would be very grateful as I have been wrestling with this for weeks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22