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