Post

Replies

Boosts

Views

Activity

Reply to Type does not conform to protocol 'PersistentModel'
It's a bug. I just saw this: https://mastodon.social/@denisdepalatis/110561280521551715
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to SwiftData - Thread 1: Fatal error: Illegal attempt to use a nil as an Attribute
I'm seeing this when I attempt to use a ClosedRange as the type of a model property.
Replies
Boosts
Views
Activity
Jul ’23
Reply to SwiftData - Thread 1: Fatal error: Illegal attempt to use a nil as an Attribute
Yep, I'm still seeing the issue with ClosedRanges on beta 5.
Replies
Boosts
Views
Activity
Jul ’23
Reply to Including a prefpane in App bundle?
Thanks Quinn! I guess it is just my head playing tricks on me. Damn... and the sandbox means that there is no way to do this from an App Store app?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Symbol not found after updating dev machine to 14.6 with Xcode 16b4
I've verified this on a second machine. Easy to see the issue by adding an image to your Assets and this piece of code: Button("Test", image: .myImage, action: {}) This will build but crash on launch.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Symbol not found after updating dev machine to 14.6 with Xcode 16b4
Yep, that works. Here is the workaround: @MainActor func Button(_ str: String, image: ImageResource, action: @escaping () -> ()) -> some View { Button(action: action) { Label(str, image: image) } }
Replies
Boosts
Views
Activity
Aug ’24