Re: NSDictionary key from the content of a set

2009-01-15 Thread Tim McDonald
Thanks for the response. The code wasn't working as I expected because I'd failed to initialise the setOfValuesForCharacteristicTypes NSMutableSet which I was using check the hashFromCharacteristicTypes before sending the hash to the dictionary. I'd presumed it was a problem with set obje

Re: NSDictionary key from the content of a set

2009-01-15 Thread Benjamin Stiglitz
I'm trying to create an NSDictionary that uses key based upon the contents of a NSSet (specifically a set of NSManagedObjectID's). I'm currently at a bit loss as to how to do it. My various attempts at a hash based solution (see below) don't appear to be working. Are you creating a map from

NSDictionary key from the content of a set

2009-01-15 Thread Tim McDonald
Hi I'm trying to create an NSDictionary that uses key based upon the contents of a NSSet (specifically a set of NSManagedObjectID's). I'm currently at a bit loss as to how to do it. My various attempts at a hash based solution (see below) don't appear to be working. I don't suppose anyone