Thanks, mmalc. That little sheet looked so simple it didn't occur to me that there would be a whole chapter of documentation on it, including what I needed...

   "Control-click ^empty^space^ in the line of the criteria".

Now that's what I call a hidden feature!

I'm that if I file a bug asking the Xcode folks to add a button or something to un-hide this feature, it would be marked as a Duplicate, but if anyone thinks I should file a bug, I shall.

*****

Speaking of duplicates ... As I expected when I saw the word "fetch", the method of finding duplicates which I described in my original post, using a fetched property, is quite slow.

I reckon that finding all duplicates in a set of N objects requires N*(N-1)/2 comparisons. I tried this on a test data set I have of 1200 objects containing just a few actual duplicates. Doing it in code took 750 milliseconds. Asking for the 'dupes' fetched property as described in my original post, for each object, took 100 times longer, 75 seconds.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to