Post

Replies

Boosts

Views

Activity

Comment on Problem with Segue
It is really hard (and a bit frustrating) to try to help with the limited information you give and see that the problem is (according to you) in a place you did not show. So please, show comprehensive code if you want more help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23
Comment on What is Metal's “RG4B10Float” format (`MTLPixelFormatRG4B10Float` / `MTLPixelFormat.rg4b10Float`)?
Note: RG4B10Float would be 4*2 + 10 = 18 bits, not 32 bits.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Problem with Segue
It is really hard (and a bit frustrating) to try to help with the limited information you give and see that the problem is (according to you) in a place you did not show. So please, show comprehensive code if you want more help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Minor typo issue on Swift Fundamentals in iBooks
To file a bug report, connect to https://feedbackassistant.apple.com/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Return values for NSViewController
Thanks for the feedback. So your question was more about calling a func from VC2 in VC1. Effectively, in this case, delegation is a very good pattern. I had forgotten this old thread… Another one may be notification.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Replace substring using regex in a string
If you simply use String(Int(value)), 75.2 will return "75".
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Picker Animation get's in the way of buttons, what to do?
Thanks for feedback. Video was not accessible.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Passing object between NSViewController
Wish you good continuation.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Forum editor bug since last maintenance
Thanks. Sometimes, the forum software is like reggae: one step forward, 2 steps backward… 😉
Replies
Boosts
Views
Activity
Mar ’23
Comment on Picker with attached functions.
Thanks for the feedback and good continuation. The lesson is that in SwiftUI, modifiers are extremely important and useful.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on swiftui: navigationsplitview crashes in landscape on ipad (ios 16.2)
To solve the issue in my case, I replaced List with a ForEach.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on iOS 16.4 incompatible with Xcode 14.2 !
AFAIK, 16.4 is still beta (Beta 4), not a release version (unless I missed something), so there may be some delays to sync all tools.
Replies
Boosts
Views
Activity
Mar ’23
Comment on Playground do not respond .
Thanks for feedback. Don't forget to close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on How to add divider/border to footer in SwiftUI when using Section(footer: ) contructor
A good practice on the forum is to tell how you fixed it. Other developers may have spent time to analyse your question, it is fair to explain how you solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Goodbye SceneDelegate, what to do now?
Thanks for feedback. Don't forget to close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Why wont my decoder parse .json files
Unless T itself is an array, which is not told. Otherwise, load return which item from the file ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23