Post

Replies

Boosts

Views

Activity

Comment on Picker freezes
Thanks for feed back. It was effectively a bug. You close by marking the answer you consider correct (the circle with the √ sign below the up and down arrow next to the answer. So you can also close your bug report.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Comment on How to add UserDefaults to save a table view button status?
Thanks for the feedback. I had the same feeling when starting of others experts (on this forum notably) knowing so much more than me.I learned first from books, then by practicing. I used forums a lot. I followed online courses (Stanford iOS is excellent, but there are others) ; when I had an issue and most important, I took time to read technical articles for in depth understanding (Ray Wanderlich is excellent at this). So, just be curious, don't simply copy code for a quick fix but understand what it does, why it works and why previous code didn't. Good continuation and enjoy.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’22
Comment on What is the difference between func (to view: UIView) and not using the 'to'?
There is a third case: ignoring completely label. func anchorSizePercent(_ view: UIView, sFactor: CGSize) { } that you would call as myHeader.anchorSizePercent(myView, sFactor: CGSize(width: 0.8, height: 0.2)).    So it is a question of preference and that often depends on the name of the function itself to see if you need label or not and if label is the same name as parameter or not.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’22
Comment on Picker freezes
Thanks for feed back. It was effectively a bug. You close by marking the answer you consider correct (the circle with the √ sign below the up and down arrow next to the answer. So you can also close your bug report.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on How to add UserDefaults to save a table view button status?
Thanks for the feedback. I had the same feeling when starting of others experts (on this forum notably) knowing so much more than me.I learned first from books, then by practicing. I used forums a lot. I followed online courses (Stanford iOS is excellent, but there are others) ; when I had an issue and most important, I took time to read technical articles for in depth understanding (Ray Wanderlich is excellent at this). So, just be curious, don't simply copy code for a quick fix but understand what it does, why it works and why previous code didn't. Good continuation and enjoy.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on What is the difference between func (to view: UIView) and not using the 'to'?
There is a third case: ignoring completely label. func anchorSizePercent(_ view: UIView, sFactor: CGSize) { } that you would call as myHeader.anchorSizePercent(myView, sFactor: CGSize(width: 0.8, height: 0.2)).    So it is a question of preference and that often depends on the name of the function itself to see if you need label or not and if label is the same name as parameter or not.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22