OSDN Git Service

FetchPredicateをFilterPredicateに変更
authormasakih <masakih@users.sourceforge.jp>
Thu, 8 May 2014 13:05:06 +0000 (22:05 +0900)
committermasakih <masakih@users.sourceforge.jp>
Thu, 8 May 2014 13:05:06 +0000 (22:05 +0900)
KCD/HMShipViewController.m

index 295a96e..f34dd6f 100644 (file)
@@ -73,7 +73,7 @@ typedef NS_ENUM(NSInteger, ViewType) {
        if(tag != 0 && tag < 8) {
                predicate = [NSPredicate predicateWithFormat:@"master_ship.stype.id  in %@", categories[tag - 1]];
        }
-       [self.shipController setFetchPredicate:predicate];
+       [self.shipController setFilterPredicate:predicate];
        [self.shipController rearrangeObjects];
 }