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 cannot find in scope
Ha, sorry Claude. I posted my tidy-up of his code and completely forgot to fix his issues :)
Replies
Boosts
Views
Activity
Dec ’24
Comment on Deep Link not working - what am I missing?
Lols :)
Replies
Boosts
Views
Activity
Dec ’24
Comment on TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION
No need to delete the post, as like you said, someone else may stumble across this and get the answer. Also, you can only edit your posts within an hour.
Replies
Boosts
Views
Activity
Dec ’24
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 NavigationStack Fatal error: ‘try!
As I said before, onChange has not been deprecated. onChange(of:perform:) has been deprecated in favour of onChange(of:) which is the version I told you to use.
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Dec ’24
Comment on NavigationStack Fatal error: ‘try!
I didn't say anything about multiple brackets...?
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Nov ’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
Comment on iOS widget crashing in body getter with -[NSTaggedPointerString identifier]: unrecognized selector sent to instance
I cannot recommend this suggestion enough. AppIntents are a much better solution, and honestly should've been brought in years ago. Glomming widgets onto Siri Intents was so fragile and caused so many problems.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on iOS 18.1 is the only version that will download
Hey, this is nothing to do with the Simulator...
Replies
Boosts
Views
Activity
Aug ’24
Comment on Can someone explain why this state property is nil despite being updated before the other state property?
Oh, how annoying. Well, glad you've fixed it.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Aug ’24
Comment on Can someone explain why this state property is nil despite being updated before the other state property?
How about wrapping showingShare = true in a Dispatch After call with a delay of, say, 3 seconds? It might then correctly show the sheet, which suggests it is a timing issue.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Aug ’24
Comment on Looking for testers
I was trying to help you out. I see you don't want that.
Replies
Boosts
Views
Activity
Aug ’24
Comment on App Rejection
Reminder to put all your code inside the code block.
Replies
Boosts
Views
Activity
Aug ’24
Comment on I keep getting "Terminating app due to uncaught exception 'NSRangeException', reason: 'Attempted to scroll the table view to an out-of-bounds row...."
This would be easier to help you with if you added a minimum reproducible bit of code.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24