Re: Retrieving the EXIF date/time from 250k images

2023-01-08 Thread Chris Ridd via Cocoa-dev
> On 7 Jan 2023, at 23:31, Gabriel Zachmann via Cocoa-dev > wrote: > >> >> I wonder if there is a method to load the EXIF data out of the files without >> opening them completely. That would seem like the ideal approach. > > That's the approach I am looking for, but I haven't found any

NSCollectionView, disappearing items on reloadData

2023-01-08 Thread Arved von Brasch via Cocoa-dev
Hello list, I’ve encountered a bug for the life of me I can’t work out. I’m restricted to supporting Mojave (10.14) for the time being, so it is possible this has been fixed / not an issue on later releases. This is a Core Data backed application, with several Xib loaded views that are swapped

Re: NSCollectionView, disappearing items on reloadData

2023-01-08 Thread Rob Petrovec via Cocoa-dev
NSCollectionView, like NSTableView/NSOutlineView, will reuse existing views instead of recreating them when it can to speed up the UI. This is most commonly used during scrolling where views that scroll out of view will be reused with new data and scrolled into view. It will call

Re: NSCollectionView, disappearing items on reloadData

2023-01-08 Thread Arved von Brasch via Cocoa-dev
Thanks Rob. I can confirm that ‘prepareForReuse()’ is *not* called after the ‘reloadData()’ call. I can also confirm the Data Source functions still contain the expected information. Again, this is an interesting case where the working Collection View behaves as expected (prepareForReuse() is