Posts

Post not yet marked as solved
4 Replies
748 Views
I have a pretty standard UICollectionView with drag and drop in iOS that is working as intended. After converting to a Mac app using Mac Catalyst, however, the very first time a dragged item is dropped on itself (let's call it at indexPath X), performDropWith is not called, and following happens: 1) UIDragSession seems to be frozen, such that any new drag session will have the destination indexPath fixed to X 2) UIDragSession is not recreated for next drags, and you can check it by looking at the memory address of the session This behavior is only seen on the Mac Catalyst version of the app and the iOS app properly deallocates the drag session and creates a new one regardless of the drop location of the item. I'm using Xcode version 12.0 and swift version 5.0 Thanks, Behrang
Posted
by behrang.m.
Last updated
.
Post not yet marked as solved
1 Replies
445 Views
I know apple has documentation on what element is used where, but it lacks examples, making it hard to follow if you are not familiar with XML.Does anyone know of a good reference for tvOS XML design?If you know of any, it would be great if you can rank it as beginner/intermediate/expert.
Posted
by behrang.m.
Last updated
.