Show
Ignore:
Timestamp:
06/13/08 15:57:37 (4 years ago)
Author:
gbooker
Message:

Changed the filtering method and the check for unwatched/favorite. This new system is far more powerful, and should actually be faster too. Implemented a bit more caching to help speed as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/MetaData/Support/SapphireEntityDirectory.m

    r585 r588  
    3434        moc = [context retain]; 
    3535        nameKey = [@"name" retain]; 
     36        Basic_Directory_Function_Inits 
    3637         
    3738        return self; 
     
    102103        { 
    103104                id obj = [objects objectAtIndex:i]; 
    104                 if(filterPredicate != nil && ![obj checkPredicate:filterPredicate]) 
     105                if(filterPredicate != nil && ![obj containsFileMatchingFilterPredicate:filterPredicate]) 
    105106                        continue; 
    106107                NSString *key = [obj valueForKey:nameKey];