Post

Replies

Boosts

Views

Activity

Comment on Store SwiftUI Color in SwiftData
What floating point numbers? If you're talking about, say 0.9, then that's 0.9 * 256 = 230.4, you round it down and store 230, which is E6. Did you actually try my code, or just look at it and say it's essentially the same? I'm not sure you're explaining yourself properly. Can you show us some code that exhibits the issue?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Comment on Chrome replaced by Safari after in-app upgrade
I can't remove your post, and there's no reason to. I'm not an Apple employee. These forums are primarily for developers writing apps for Apple's platforms to discuss code issues and ask for help. While some Apple staff do appear, this isn't their day job, and they do it as a friendly courtesy to us all.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on NavigationStack Fatal error: ‘try!
This is because, I think, the tag has to be an integer or a String, and cannot be a mix. So, yes, when I suggested you use a nil and the rest as Strings I was incorrect, but I'm doing this without using Xcode and going from memory.
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Dec ’24
Comment on Store SwiftUI Color in SwiftData
What floating point numbers? If you're talking about, say 0.9, then that's 0.9 * 256 = 230.4, you round it down and store 230, which is E6. Did you actually try my code, or just look at it and say it's essentially the same? I'm not sure you're explaining yourself properly. Can you show us some code that exhibits the issue?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24