macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

subentities

サブエンティティを返します

解説

サブエンティティを返します。

返り値

( NSArray * )

なし

引数

クラス

NSEntityDescription

Instance Methods

使用可能

10.4

参照

例文

// エンティティ
NSEntityDescription *entity = [NSEntityDescription entityForName:@"Entity"
           inManagedObjectContext:[self managedObjectContext]];


NSLog(@"subentities %@",[[entity subentities] description]);