This file contains 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
/** | |
* Return an array with SFMediaItems found in the local database for the given predicate. | |
*/ | |
-(NSArray *)fetchSFMediaItemWithPredicateFormat:(NSString *)format, ... { | |
NSFetchRequest *request = [[NSFetchRequest alloc] init]; | |
NSEntityDescription *entity = [NSEntityDescription entityForName:@"SFMediaItem" inManagedObjectContext:self.managedObjectContext]; | |
[request setEntity:entity]; | |
va_list args; |
NewerOlder