setEntryType:
フォーマットをセットします
-(void)setEntryType:(int)aType:
解説
フォーマットをセットします。
このメソッドは古いので、NSFormatを使ったほうが良いです。
【aType】
● NSIntType 整数値
● NSPositiveIntType 正の数
● NSFloatType 単精度浮動小数点値
● NSPositiveFloatType 負の単精度浮動小数点値
● NSDoubleType Must be between 倍精度浮動小数点値
● NSPositiveDoubleType 正の倍精度浮動小数点値
● NSAnyType どんな値でも
返り値
( void )
なし
引数
( int )aType
フォーマットタイプ
フレームワーク
ApplicationKit
クラス
NSCell
Instance Methods
使用可能
10.0
参照
- entryType
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [bCell1 setEntryType:2]; NSLog([NSString stringWithFormat:@"%d",[bCell1 entryType]]); } @end