-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
479 changed files
with
641 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"topicSections":[{"title":"Protocols","identifiers":["doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/BackportTransferRepresentation","doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/BackportTransferable"]},{"title":"Structures","identifiers":["doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport"]},{"title":"Extended Modules","identifiers":["doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/ObjectiveC","doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Swift"]}],"hierarchy":{"paths":[[]]},"kind":"symbol","metadata":{"externalID":"SwiftBackports","role":"collection","title":"SwiftBackports","modules":[{"name":"SwiftBackports"}],"symbolKind":"module","roleHeading":"Framework"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swiftbackports"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports","interfaceLanguage":"swift"},"references":{"doc://SwiftBackports/documentation/SwiftBackports":{"role":"collection","title":"SwiftBackports","url":"\/documentation\/swiftbackports","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports","type":"topic","kind":"symbol","abstract":[]},"doc://SwiftBackports/documentation/SwiftBackports/Swift":{"role":"collection","kind":"symbol","title":"Swift","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Swift","type":"topic","abstract":[],"url":"\/documentation\/swiftbackports\/swift"},"doc://SwiftBackports/documentation/SwiftBackports/ObjectiveC":{"identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/ObjectiveC","title":"ObjectiveC","abstract":[],"kind":"symbol","type":"topic","role":"collection","url":"\/documentation\/swiftbackports\/objectivec"},"doc://SwiftBackports/documentation/SwiftBackports/BackportTransferable":{"url":"\/documentation\/swiftbackports\/backporttransferable","kind":"symbol","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/BackportTransferable","abstract":[{"text":"A protocol that describes how a type interacts with transport APIs","type":"text"},{"type":"text","text":" "},{"type":"text","text":"such as drag and drop or copy and paste."}],"title":"BackportTransferable","navigatorTitle":[{"kind":"identifier","text":"BackportTransferable"}],"fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"BackportTransferable"}],"deprecated":true,"role":"symbol","type":"topic"},"doc://SwiftBackports/documentation/SwiftBackports/Backport":{"role":"symbol","title":"Backport","url":"\/documentation\/swiftbackports\/backport","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Backport"}],"type":"topic","navigatorTitle":[{"text":"Backport","kind":"identifier"}],"kind":"symbol","abstract":[{"type":"text","text":"Provides a convenient method for backporting API,"},{"type":"text","text":" "},{"type":"text","text":"including types, functions, properties, property wrappers and more."}]},"doc://SwiftBackports/documentation/SwiftBackports/BackportTransferRepresentation":{"identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/BackportTransferRepresentation","navigatorTitle":[{"kind":"identifier","text":"BackportTransferRepresentation"}],"url":"\/documentation\/swiftbackports\/backporttransferrepresentation","title":"BackportTransferRepresentation","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"BackportTransferRepresentation","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"A declarative description of the process of importing and exporting a transferable item."}],"role":"symbol","kind":"symbol","deprecated":true}}} |
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
docs/data/documentation/swiftbackports/backport/data(for:).json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"abstract":[{"type":"text","text":"Start a data task with a "},{"code":"URLRequest","type":"codeVoice"},{"text":" using async\/await.","type":"text"}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport\/data(for:)"},"variants":[{"paths":["\/documentation\/swiftbackports\/backport\/data(for:)"],"traits":[{"interfaceLanguage":"swift"}]}],"metadata":{"platforms":[{"introducedAt":"13.0","name":"iOS","deprecated":false,"unavailable":false,"deprecatedAt":"15.0","beta":false},{"unavailable":false,"beta":false,"deprecatedAt":"15.0","deprecated":false,"introducedAt":"13.0","name":"tvOS"},{"unavailable":false,"deprecated":false,"deprecatedAt":"8.0","name":"watchOS","beta":false,"introducedAt":"6.0"}],"symbolKind":"method","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"data","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation10URLRequestV","text":"URLRequest"},{"text":") ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"text":"throws","kind":"keyword"},{"text":" -> (","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":", "},{"text":"URLResponse","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSURLResponse"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","extendedModule":"SwiftBackports","role":"symbol","title":"data(for:)","externalID":"s:14SwiftBackports8BackportVAASo12NSURLSessionCRbzlE4data3for10Foundation4DataV_So13NSURLResponseCtAH10URLRequestV_tYaKF","conformance":{"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Wrapped"},{"text":" inherits ","type":"text"},{"type":"codeVoice","code":"URLSession"},{"text":".","type":"text"}],"conformancePrefix":[{"text":"Conforms when","type":"text"}]},"modules":[{"name":"SwiftBackports"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/SwiftBackports\/documentation\/SwiftBackports","doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"data","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"request"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation10URLRequestV","text":"URLRequest"},{"kind":"text","text":") "},{"kind":"keyword","text":"async"},{"text":" ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> (","kind":"text"},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSURLResponse","kind":"typeIdentifier","text":"URLResponse"},{"text":")","kind":"text"}],"languages":["swift"]}]},{"parameters":[{"name":"request","content":[{"inlineContent":[{"text":"The ","type":"text"},{"code":"URLRequest","type":"codeVoice"},{"text":" that the data task should perform.","type":"text"}],"type":"paragraph"}]}],"kind":"parameters"},{"kind":"content","content":[{"level":2,"anchor":"return-value","type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A tuple containing the binary "},{"code":"Data","type":"codeVoice"},{"text":" that was downloaded,","type":"text"},{"type":"text","text":" "},{"text":"as well as a ","type":"text"},{"type":"codeVoice","code":"URLResponse"},{"text":" representing the server’s response.","type":"text"}]}]},{"content":[{"type":"heading","text":"Discussion","anchor":"discussion","level":2},{"style":"note","name":"Throws","content":[{"inlineContent":[{"text":"Any error encountered while performing the data task.","type":"text"}],"type":"paragraph"}],"type":"aside"}],"kind":"content"}],"references":{"doc://SwiftBackports/documentation/SwiftBackports":{"role":"collection","title":"SwiftBackports","url":"\/documentation\/swiftbackports","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports","type":"topic","kind":"symbol","abstract":[]},"doc://SwiftBackports/documentation/SwiftBackports/Backport":{"role":"symbol","title":"Backport","url":"\/documentation\/swiftbackports\/backport","identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Backport"}],"type":"topic","navigatorTitle":[{"text":"Backport","kind":"identifier"}],"kind":"symbol","abstract":[{"type":"text","text":"Provides a convenient method for backporting API,"},{"type":"text","text":" "},{"type":"text","text":"including types, functions, properties, property wrappers and more."}]},"doc://SwiftBackports/documentation/SwiftBackports/Backport/data(for:)":{"url":"\/documentation\/swiftbackports\/backport\/data(for:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"data"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation10URLRequestV","text":"URLRequest","kind":"typeIdentifier"},{"text":") ","kind":"text"},{"kind":"keyword","text":"async"},{"kind":"text","text":" "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> ("},{"text":"Data","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DataV"},{"text":", ","kind":"text"},{"text":"URLResponse","preciseIdentifier":"c:objc(cs)NSURLResponse","kind":"typeIdentifier"},{"text":")","kind":"text"}],"identifier":"doc:\/\/SwiftBackports\/documentation\/SwiftBackports\/Backport\/data(for:)","title":"data(for:)","conformance":{"conformancePrefix":[{"text":"Conforms when","type":"text"}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"constraints":[{"type":"codeVoice","code":"Wrapped"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"URLSession"},{"type":"text","text":"."}]},"kind":"symbol","deprecated":true,"role":"symbol","type":"topic","abstract":[{"text":"Start a data task with a ","type":"text"},{"code":"URLRequest","type":"codeVoice"},{"text":" using async\/await.","type":"text"}]}}} |
Oops, something went wrong.