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
Comment on SwiftUI view printout on paper
The last solution is about MacOS. I am building an iPad app. I am relatively new to the Apple development, so it is not obvious to me how to make that work for my use case. Need more help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
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:
Replies
Boosts
Views
Activity
Jun ’23
Comment on SwiftUI view printout on paper
First, it is a View that I want to print and not just some text. It can have formatting, charts, etc. So I am not sure copy-paste will work. Secondly, It is not a great experience for the users to copy-paste and switch apps every-time.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on Learning path for MacOS app development
Can you please suggest some good example apps to study?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on How SwiftUI Table sorting works ?
Thank you! It is clear to me now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’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:
Replies
Boosts
Views
Activity
Jan ’23
Comment on How SwiftUI Table sorting works ?
Also, how does the SwiftUI know the Comparator for the other columns? How can I provide custom Comparator for different columns?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Jan ’23