initWithProperties:
クッキープロパティの辞書で、クッキーを初期化して返します
-(id)initWithProperties:(NSDictionary *)properties:
解説
クッキープロパティの辞書で、クッキーを初期化して返します。
引数
( NSDictionary * )properties
フレームワーク
Foundation
クラス
NSHTTPCookie
Instance Methods
使用可能
10.2.7(10.2+safari)
参照
例文
NSHTTPCookie *cook5 = [[NSHTTPCookie alloc] initWithProperties:
[NSDictionary dictionaryWithObjectsAndKeys:
@"www.oomori.com",@"Domain",
@"2005-03-05 08:03:02 +0900",@"Expires",
@"style2",@"Name",
@"/",@"Path",
@"metal2",@"Value",
nil]];