Post

Replies

Boosts

Views

Activity

Reply to Get SectionIdentifier from DiffableDataSource using IndexPath
I'd love for this operation to be O(1) like itemIdentifier(for:) - https://developer.apple.com/documentation/uikit/uicollectionviewdiffabledatasourcereference/3182924-itemidentifier: This method is a constant time operation, O(1), which means you can look up an item identifier from its corresponding index path with no significant overhead. I fear, perhaps unnecessarily, that snapshot() is an O(n) operation meaning retrieving the section identifier turns into an expensive operation. Can someone from Apple chime in here?
Feb ’21
Reply to Odd dyld crash: '/usr/lib/libc++.1.dylib' (no such file, no dyld cache)
Thank you for checking! We are seeing consistent failure on all devices that our developers are using, and restarting the device does not resolve the issue. I spent a fair amount of time performing a git bisect to narrow down the issue, but strangely enough, we begin seeing intermittent failures the farther we go back in history making it difficult to track down the exact commit that may have introduced an issue. For example, starting the app ~40 times results in a handful of failures where as it consistently fails today. Our RELEASE builds currently work correctly. The issue appears to only occur when installing from Xcode from what we can tell.
Sep ’24