Posts

Post not yet marked as solved
1 Replies
For others, I resolved this issue by: Rewrite my own version of the synthesized Bundle.module SPM provides and adding Bundle.allBundles.first(where: { $0.resourceURL?.pathExtension == "app" })?.resourceURL as a candidate location for the resource bundle. Adding a python script to remove the duplicate bundles as a build phase.
Post not yet marked as solved
14 Replies
This does not appear to be resolved in Xcode 14.3.
Post not yet marked as solved
3 Replies
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?