hachinoBlog

hachinobuのエンジニアライフ

2012-10-31から1日間の記事一覧

CoreDataでIN句を使う方法

CoreDataでIN句を使用する方法は NSArray *users = [NSArray arrayWithObjects:@"user1", @"user2", @"user3", nil]; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"user IN %@", users];Not INは NSArray *users = [NSArray arrayWithObjec…