integerValue
レシーバーのNSInteger値を返します
解説
レシーバーのNSInteger値を返します。
セルの値がスキャンできない場合は0を返します。
返り値
( NSInteger )
整数値
引数
フレームワーク
ApplicationKit
クラス
NSCell
使用可能
10.5
参照
-setIntegerValue:
-intValue
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [bCell1 setIntegerValue:12345]; //bCell1はテキストフィールドセル NSLog([NSString stringWithFormat:@"%d",[bCell1 integerValue]]); } @end