[SR-8745] indexPathForItem(at point: CGPoint) terminating due to internal misuse of -[__NSArrayM insertObject:atIndex:] #51254
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Stable XCode and Swift
Additional Detail from JIRA
md5: 2a81948ba8c55df88834cbeae92e0e60
Issue Description:
I'm not sure if this is the correct place to be reporting bugs with UIKit, but let me know if I should move it elsewhere.
This bug triggers 100% of the time with my codebase in its current state, but it was working fine previously. I'm not going to be able to share the full project because it's proprietary, and I doubt I'll be able to create a simple repro, but I'm using this library:
https://github.com/mmick66/KDDragAndDropCollectionView
and the problem line is 62 of KDDragAndDropCollectionView.swift
In case you don't want to go looking through it:
But even if you execute
on its own within that method you hit the same error.
The issue is also not the point. For example, if I hard code (0, 0) and pass that instead, I get the same error.
Console output:
Googled around and couldn't find anyone with similar problems with {code:swift}indexPathForItem(at🙂
The text was updated successfully, but these errors were encountered: