URLHandleClassForURL:
指定したURLでURLハンドルのクラスを返します
+(Class)URLHandleClassForURL:(NSURL *)sender:
解説
指定したURLでURLハンドルのクラスを返します。
返り値
( Class )
クラス
引数
( NSURL * )sender
URL
フレームワーク
Foundation
クラス
NSURLHandle
Class Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { id class; NSURL *url = [NSURL URLWithString:@"http://www.oomori.com/"]; class = [NSURLHandle URLHandleClassForURL:url]; NSLog([class className]); } @end