macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSURLResponse

NSURLResponseクラス

INDEX>Foundation>apple(OS X) apple(iOS) 解説 継承 NSObject 準拠 NSCoding NSCopying NSObject (NSObject) フレームワーク /System/Library/Frameworks/Foundation.framework 使用可能 Mac OS X 10.2.7以降 iOS 2.0以降 定義 NSURLResponse.h 概要 適合す…

expectedContentLength

受け取る長さを返します 解説 受け取る長さを返します。 返り値 ( long long ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 expectedContentLength = [response expectedCo…

initWithURL:MIMEType:expectedContentLength:textEncodingName:

URLResponseを初期化して返します -(id)initWithURL:(NSURL *)URL: MIMEType:(NSString *)MIMEType: expectedContentLength:(int)length: textEncodingName:(NSString *)name: 解説 URLResponseを初期化して返します。 【エンコーディング名】 ● NSASCIIStri…

MIMEType

MIMEタイプを返します 解説 MIMEタイプを返します。 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 NSLog([response MIMEType]);

suggestedFilename

提案されるファイル名を返します 解説 提案されるファイル名を返します。(サーバー上でのファイル名であることが多い、) 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2…

textEncodingName

テキストエンコーディング名を返します 解説 テキストエンコーディング名を返します。 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 NSLog([response…

expectedContentLength

受け取る長さを返します 解説 受け取る長さを返します。 返り値 ( long long ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 expectedContentLength = [response expectedCo…

initWithURL:MIMEType:expectedContentLength:textEncodingName:

URLResponseを初期化して返します -(id)initWithURL:(NSURL *)URL: MIMEType:(NSString *)MIMEType: expectedContentLength:(int)length: textEncodingName:(NSString *)name: 解説 URLResponseを初期化して返します。 【エンコーディング名】 ● NSASCIIStri…

MIMEType

MIMEタイプを返します 解説 MIMEタイプを返します。 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 NSLog([response MIMEType]);

suggestedFilename

提案されるファイル名を返します 解説 提案されるファイル名を返します。(サーバー上でのファイル名であることが多い、) 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2…

textEncodingName

テキストエンコーディング名を返します 解説 テキストエンコーディング名を返します。 返り値 ( NSString * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 NSLog([response…

URL

URLを返します 解説 URLを返します。 返り値 ( NSURL * ) オブジェクト 引数 フレームワーク Foundation クラス NSURLResponse Instance Methods 使用可能 10.2.7(10.2+safari) 参照 例文 NSLog([[response URL] description]);