isAbstract
レシーバーは抽象エンティティかを返します
解説
レシーバーは抽象エンティティかを返します。
抽象エンティティならYESを、そうでなければNOを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
CoreData
クラス
NSEntityDescription
Instance Methods
使用可能
10.4
参照
例文
// エンティティ NSEntityDescription *entity = [NSEntityDescription entityForName:@"Entity" inManagedObjectContext:[self managedObjectContext]]; if ([entity isAbstract]) { NSLog(@"is Abstract "); }else{ NSLog(@"not Abstract "); }