Post

Replies

Boosts

Views

Activity

Reply to Game wont run.
Well then, can you ask them what the problem is, and whether they've reported it to Apple? If they haven't they should. If they'll let you know what the issue is, you can raise the issue yourself via the usual site: https://feedbackassistant.apple.com/ then post the FB number here.
1w
Reply to Software
You really - REALLY - need to make use of the Feedback website, and stop spamming these Developer Forums... These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have a suggestion, you should raise it at: https://www.apple.com/feedback/ Thank you.
1w
Reply to Store SwiftUI Color in SwiftData
I store Strings, and have no issue. Try this function and extension, and confirm that they encode and decode your colours correctly: func colorToHex(_ colour: Color) -> String { guard let components: [CGFloat] = colour.cgColor?.components else { return "#FFFFFFFF" } if(components.count == 2) { return String(format: "#%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0)) } return String(format: "#%02lX%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[1]) * 255.0), lroundf(Float(components[2]) * 255.0), lroundf(Float(components[3]) * 255.0)) } extension UIColor { public convenience init?(fromHex: String) { if(!fromHex.hasPrefix("#")) { return nil; } let r, g, b, a: CGFloat let start = fromHex.index(fromHex.startIndex, offsetBy: 1) let hexColor = String(fromHex[start...]) if(hexColor.count == 8) { let scanner = Scanner(string: hexColor) var hexNumber: UInt64 = 0 if(scanner.scanHexInt64(&hexNumber)) { r = CGFloat((hexNumber & 0xff000000) >> 24) / 255 g = CGFloat((hexNumber & 0x00ff0000) >> 16) / 255 b = CGFloat((hexNumber & 0x0000ff00) >> 8) / 255 a = CGFloat(hexNumber & 0x000000ff) / 255 self.init(red: r, green: g, blue: b, alpha: a) return } } return nil; } } Note, the extension is on UIColor, but it's trivial to convert to Color.
1w
Reply to IOS18
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. This isn't the place for your product issues. The fact that you randomly picked a couple of tags for your post, which obviously have nothing to do with your issue, should've suggested you were in the wrong place. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
1w