I have two sets one obtained using
NSMutableSet *monitoredRegionSet = [[locationManager monitoredRegions]mutableCopy];
and the other is obtained using the
NSMutableSet *regionSet = [NSMutableSet setWithCapacity:regionChunks.count];
CLRegion *region = [[CLRegion alloc] initCircularRegionWithCenter:coordinate radius:radius
identifier:regionString];
[regionSet addObject:region];
When I try to set operations between them it does not works.Should I implement a category of CLRegion and implement the isEqual: and hash: methods.Is there a better approach of doing this.
[monitoredRegionSet intersectSet:regionSet];
[monitoredRegionSet minusSet:regionSet];