Created
November 30, 2011 07:39
-
-
Save yasirmturk/1408350 to your computer and use it in GitHub Desktop.
A generic core data function to Get all records
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
/* | |
* Get all records | |
*/ | |
-(NSArray*)getAllRecordsFromEntity:(NSString *)entity{ | |
NSArray *arr = [self queryDBForEntity:entity predicate:nil sortByField:nil]; | |
//NSLog(@"%@", arr); | |
return arr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment