cachedHandleForURL:
キャッシュからURLハンドルを作って返します
+(NSURLHandle *)cachedHandleForURL:(NSURL*)sender:
解説
キャッシュからURLハンドルを作って返します。
返り値
( NSURLHandle * )
URLハンドル
引数
( NSURL* )sender
URL
フレームワーク
Foundation
クラス
NSURLHandle
Class Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSURLHandle *handle; NSURL *url = [NSURL URLWithString:@"http://www.oomori.com/"]; handle = [NSURLHandle cachedHandleForURL:url]; NSLog([handle className]); } @end