Created
December 8, 2016 08:14
-
-
Save norio-nomura/0c7d4cd1ef7dc8e604c140fca2719ab0 to your computer and use it in GitHub Desktop.
sourcekitten doc --objc NSURLResponse.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sourcekitten doc --objc /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSURLResponse.h -- -x objective-c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/ | |
[ | |
{ | |
"\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h" : { | |
"key.substructure" : [ | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.substructure" : [ | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 36, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.ivar", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 36, | |
"key.doc.column" : 28, | |
"key.name" : "_internal", | |
"key.usr" : "c:objc(cs)NSURLResponse@_internal", | |
"key.parsed_declaration" : "NSURLResponseInternal *_internal", | |
"key.parsed_scope.end" : 36 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.doc.parameters" : [ | |
{ | |
"name" : "URL", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "the URL\n " | |
} | |
] | |
}, | |
{ | |
"name" : "MIMETYPE", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "the MIME content type of the response\n " | |
} | |
] | |
}, | |
{ | |
"name" : "expectedContentLength", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "the expected content length of the associated data\n " | |
} | |
] | |
}, | |
{ | |
"name" : "textEncodingName", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "the name of the text encoding for the associated data, if applicable, else nil\n " | |
} | |
] | |
} | |
], | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 49, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.method.instance", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 49, | |
"key.doc.column" : 17, | |
"key.name" : "-initWithURL:MIMEType:expectedContentLength:textEncodingName:", | |
"key.usr" : "c:objc(cs)NSURLResponse(im)initWithURL:MIMEType:expectedContentLength:textEncodingName:", | |
"key.parsed_declaration" : "- (nonnull instancetype)initWithURL:(nonnull NSURL *)URL\n MIMEType:(nullable NSString *)MIMEType\n expectedContentLength:(NSInteger)length\n textEncodingName:(nullable NSString *)name;", | |
"key.parsed_scope.end" : 49 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 56, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 56, | |
"key.doc.column" : 45, | |
"key.name" : "URL", | |
"key.usr" : "c:objc(cs)NSURLResponse(py)URL", | |
"key.parsed_declaration" : "@property (readonly, copy, atomic, nullable) NSURL *URL;", | |
"key.parsed_scope.end" : 56 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 69, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 69, | |
"key.doc.column" : 48, | |
"key.name" : "MIMEType", | |
"key.usr" : "c:objc(cs)NSURLResponse(py)MIMEType", | |
"key.parsed_declaration" : "@property (readonly, copy, atomic, nullable) NSString *MIMEType;", | |
"key.parsed_scope.end" : 69 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 84, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 84, | |
"key.doc.column" : 32, | |
"key.name" : "expectedContentLength", | |
"key.usr" : "c:objc(cs)NSURLResponse(py)expectedContentLength", | |
"key.parsed_declaration" : "@property (readonly, atomic) long long expectedContentLength;", | |
"key.parsed_scope.end" : 84 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 97, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 97, | |
"key.doc.column" : 48, | |
"key.name" : "textEncodingName", | |
"key.usr" : "c:objc(cs)NSURLResponse(py)textEncodingName", | |
"key.parsed_declaration" : "@property (readonly, copy, atomic, nullable) NSString *textEncodingName;", | |
"key.parsed_scope.end" : 97 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 111, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 111, | |
"key.doc.column" : 48, | |
"key.name" : "suggestedFilename", | |
"key.usr" : "c:objc(cs)NSURLResponse(py)suggestedFilename", | |
"key.parsed_declaration" : "@property (readonly, copy, atomic, nullable) NSString *suggestedFilename;", | |
"key.parsed_scope.end" : 111 | |
} | |
], | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 33, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.class", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 33, | |
"key.doc.column" : 12, | |
"key.name" : "NSURLResponse", | |
"key.usr" : "c:objc(cs)NSURLResponse", | |
"key.parsed_declaration" : "@interface NSURLResponse : NSObject <NSSecureCoding, NSCopying> {\n NSURLResponseInternal *_internal;\n}", | |
"key.parsed_scope.end" : 113 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.substructure" : [ | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 130, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.ivar", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 130, | |
"key.doc.column" : 32, | |
"key.name" : "_httpInternal", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse@_httpInternal", | |
"key.parsed_declaration" : "NSHTTPURLResponseInternal *_httpInternal", | |
"key.parsed_scope.end" : 130 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.doc.parameters" : [ | |
{ | |
"name" : "url", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "the URL from which the response was generated.\n " | |
} | |
] | |
}, | |
{ | |
"name" : "statusCode", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "an HTTP status code.\n " | |
} | |
] | |
}, | |
{ | |
"name" : "HTTPVersion", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "The version of the HTTP response as represented by the server. This is typically represented as \"HTTP\/1.1\".\n " | |
} | |
] | |
}, | |
{ | |
"name" : "headerFields", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "A dictionary representing the header keys and values of the server response.\n " | |
} | |
] | |
} | |
], | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 143, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.method.instance", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 143, | |
"key.doc.column" : 26, | |
"key.name" : "-initWithURL:statusCode:HTTPVersion:headerFields:", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse(im)initWithURL:statusCode:HTTPVersion:headerFields:", | |
"key.parsed_declaration" : "- (nullable instancetype)\n initWithURL:(nonnull NSURL *)url\n statusCode:(NSInteger)statusCode\n HTTPVersion:(nullable NSString *)HTTPVersion\nheaderFields:(nullable NSDictionary<NSString *, NSString *> *)headerFields;", | |
"key.parsed_scope.end" : 143 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 150, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 150, | |
"key.doc.column" : 32, | |
"key.name" : "statusCode", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse(py)statusCode", | |
"key.parsed_declaration" : "@property (readonly, atomic) NSInteger statusCode;", | |
"key.parsed_scope.end" : 150 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 163, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.property", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 163, | |
"key.doc.column" : 42, | |
"key.name" : "allHeaderFields", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse(py)allHeaderFields", | |
"key.parsed_declaration" : "@property (readonly, copy, atomic) NSDictionary *_Nonnull allHeaderFields;", | |
"key.parsed_scope.end" : 163 | |
}, | |
{ | |
"key.filepath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.doc.file" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Headers\/NSURLResponse.h", | |
"key.deprecation_message" : "", | |
"key.always_unavailable" : false, | |
"key.doc.parameters" : [ | |
{ | |
"name" : "the", | |
"discussion" : [ | |
{ | |
"kind" : "", | |
"Para" : "status code to use to produce a localized string.\n " | |
} | |
] | |
} | |
], | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 172, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.method.class", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 172, | |
"key.doc.column" : 15, | |
"key.name" : "+localizedStringForStatusCode:", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse(cm)localizedStringForStatusCode:", | |
"key.parsed_declaration" : "+ (nonnull NSString *)localizedStringForStatusCode:(NSInteger)statusCode;", | |
"key.parsed_scope.end" : 172 | |
} | |
], | |
"key.unavailable_message" : "", | |
"key.parsed_scope.start" : 127, | |
"key.kind" : "sourcekitten.source.lang.objc.decl.class", | |
"key.always_deprecated" : false, | |
"key.doc.line" : 127, | |
"key.doc.column" : 12, | |
"key.name" : "NSHTTPURLResponse", | |
"key.usr" : "c:objc(cs)NSHTTPURLResponse", | |
"key.parsed_declaration" : "@interface NSHTTPURLResponse : NSURLResponse {\n NSHTTPURLResponseInternal *_httpInternal;\n}", | |
"key.parsed_scope.end" : 174 | |
} | |
], | |
"key.diagnostic_stage" : "" | |
} | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment