I am trying to create an NSArray of sorted unique values excluding NULL values from an array of NSdictionaries I currently have. However I can do everything except remove the NULL values how would I do achieve this?
This is the code I currently have.
NSSet *uniqueAreaSet = [NSSet setWithArray:[tempArray valueForKey:@"stage"]];
NSArray *tempAreaArray = [uniqueAreaSet allObjects];
NSArray *sortedAreaArray = [tempAreaArray sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)];