NSCreateHashTableWithZone
指定したゾーンに新しいハッシュテーブルをつくります
NSHashTable * NSCreateHashTableWithZone ( NSHashTableCallBacks callBacks , unsigned int capacity , NSZone * zone );
解説
指定したゾーンに新しいハッシュテーブルをつくります。
返り値
引数
( NSHashTableCallBacks )callBacks
( unsigned int )capacity
( NSZone * )zone
フレームワーク
Foundation
クラス
NSCreateHashTableWithZone
Function
使用可能
10.0
参照
NSCreateHashTable
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSHashTable *hTable = NSCreateHashTableWithZone(NSNonOwnedPointerHashCallBacks, 10, [self zone]); NSLog([NSString stringWithFormat:@"%d",sizeof(&hTable)]); } @end