Post

Replies

Boosts

Views

Activity

Comment on SwiftUI view printout on paper
Thanks for all the replies and the help. However, copy-paste approach suggested above is not the one I am looking for. I want to provide a button that when clicked, displays the printer selection sheet and rest of the standard process to printout. I am also OK to convert my swiftUI view first to some kind of document(like PDF or something) which can later be printed on paper. The app is basically a report generation tool and users should be able to printout the report from the app itself.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’23
Comment on How SwiftUI Table sorting works ?
Still not completely clear to me. Lets say I click on "Family name" column, what happens next? Does the value of sortOrder variable change if I click on "Family name" column? If yes, what will be the new value? Also, how can I use custom Comparator for different columns?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’23
Comment on How SwiftUI Table sorting works ?
Thanks for the reply. The flow of control is still not clear to me.  What happens if I click on the “Family name” column, for example? Which line of code gets called first? Does the value of the sortOrder variable change? If yes, what will be the new value?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’23