Re: dictionaryWithObjects:keys: looses elements

2023-01-04 Thread Sandor Szatmari via Cocoa-dev
Did you dump the arrays to the console to verify uniqueness of your keys? Can you show that output here? Sandor > On Jan 3, 2023, at 17:53, Gabriel Zachmann via Cocoa-dev > wrote: > > I have this line in my code: > >NSDictionary * temp = [NSDictionary dictionaryWithObjects: imagefiles_

Re: dictionaryWithObjects:keys: looses elements

2023-01-03 Thread Roland King via Cocoa-dev
First guess would be that only 7 of the 17 keys are actually unique dates so the dictionary only has 7 entries, one for each of them. > On 4 Jan 2023, at 06:52, Gabriel Zachmann via Cocoa-dev > wrote: > > I have this line in my code: > >NSDictionary * temp = [NSDictionary dictionaryWithO