Post

Replies

Boosts

Views

Activity

Reply to Drag & Drop issues in SwiftUI in a Playground App
To test my hypothesis about the environment being the cause, I replaced my two custom UTIs with system UTIs (public.item and public.folder). The missing provider issues went away, my code was working but the system was not making the custom UTIs available to the DropDelegate. However, the issue I raised with the filter not working in onDrop(of:delegate:) still seems broken.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to Display a LazyVGrid with Sections
Resolved the problem. The layout above works fine, the problem was with my Model. Items in the collection had unstable identifiers.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Drag & Drop issues in SwiftUI in a Playground App
To test my hypothesis about the environment being the cause, I replaced my two custom UTIs with system UTIs (public.item and public.folder). The missing provider issues went away, my code was working but the system was not making the custom UTIs available to the DropDelegate. However, the issue I raised with the filter not working in onDrop(of:delegate:) still seems broken.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22