How does one create a NSSet of objects from an array based on a property.
NSSet
e.g. Array of objects, each with a strong reference to a type pro
type
NSSet *distinctSet = [NSSet setWithArray:[array valueForKeyPath:@"@distinctUnionOfObjects.property"]];