Created
August 30, 2014 21:10
-
-
Save ivangodfather/c9c089f0a836d4225584 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSMutableArray *CustomClassArray = //Objects of type array | |
| class CustomClass : Object | |
| { | |
| @property NSString *objectID; | |
| } | |
| NSMutableArray *filteredArray = [NSMutableArray new]; | |
| for (CustomClass *customClass in CustomClassArray) { | |
| [filteredArray addObject:.... ?] //Only if filteredArray not contains another customClass object with the same objectID | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment