connectionWithRegisteredName:host:
名前とホスト名でコネクションを作って返します
+(NSConnection *)connectionWithRegisteredName:(NSString *)name:
host:(NSString *)hostName:
解説
名前とホスト名でコネクションを作って返します。
返り値
( NSConnection * )
コネクション
引数
( NSString * )name
名前
( NSString * )hostName
ホスト名
フレームワーク
Foundation
クラス
NSConnection
Class Methods
使用可能
10.0
参照
+ defaultConnection
+ connectionWithRegisteredName:host:usingNameServer:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSConnection *connection = [NSConnection connectionWithRegisteredName:@"name" host:@"www.oomori.com"]; } @end