pointerValue
ポインタ値を返します
解説
ポインタ値を返します。
返り値
( void * )
なし
引数
フレームワーク
Foundation
クラス
NSValue
Instance Methods
使用可能
10.0
参照
- getValue:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { char *buffer[100]; void *buffer2; NSValue *theValue = [NSValue valueWithNonretainedObject:@"the string"]; [theValue getValue:buffer]; buffer2 = [theValue pointerValue]; } @end