setAttributeType:
アトリビュートタイプをセットします
-(void)setAttributeType:(NSAttributeType)type:
解説
アトリビュートタイプをセットします。
返り値
( void )
なし
引数
( NSAttributeType )type
フレームワーク
CoreData
クラス
NSAttributeDescription
Instance Methods
使用可能
10.4
参照
-attributeType
-attributeType
例文
NSAttributeDescription *dateAttribute;
dateAttribute = [[[NSAttributeDescription alloc] init] autorelease];
[dateAttribute setName:@"date"];
[dateAttribute setAttributeType:NSDateAttributeType];
[dateAttribute setOptional:NO];