jazzy 0.0.20 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +6 -3
- data/.travis.yml +1 -1
- data/CHANGELOG.md +23 -1
- data/Gemfile.lock +41 -5
- data/Rakefile +21 -0
- data/jazzy.gemspec +1 -0
- data/lib/jazzy/assets/css/jazzy.css.scss +26 -0
- data/lib/jazzy/config.rb +29 -0
- data/lib/jazzy/doc_builder.rb +17 -9
- data/lib/jazzy/docset_builder.rb +13 -4
- data/lib/jazzy/gem_version.rb +1 -1
- data/lib/jazzy/jazzy_markdown.rb +2 -1
- data/lib/jazzy/podspec_documenter.rb +109 -0
- data/lib/jazzy/readme_generator.rb +33 -6
- data/lib/jazzy/sourcekitten.rb +15 -2
- data/lib/jazzy/sourcekitten/Commandant.framework/Commandant +0 -0
- data/lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Commandant +0 -0
- data/lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Modules/module.modulemap +10 -0
- data/{spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures → lib/jazzy/sourcekitten/Commandant.framework/Versions/A/Resources}/Info.plist +21 -7
- data/lib/jazzy/sourcekitten/LlamaKit.framework/LlamaKit +0 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/LlamaKit +0 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Modules/module.modulemap +10 -0
- data/lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Resources/Info.plist +47 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/SourceKittenFramework +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/module.modulemap +10 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Resources/Info.plist +42 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/SwiftXPC +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCore.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCoreGraphics.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDarwin.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDispatch.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftFoundation.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftObjectiveC.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftSecurity.dylib +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftdoc +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftmodule +0 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Modules/module.modulemap +10 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Resources/Info.plist +42 -0
- data/lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/SourceKittenFramework +0 -0
- data/lib/jazzy/sourcekitten/sourcekitten +0 -0
- data/spec/integration_spec.rb +6 -0
- metadata +50 -122
- data/bin/sourcekitten +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/Classes.html +0 -268
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Manager.html +0 -488
- data/spec/integration_specs/document_alamofire/after/docs/Classes/Request.html +0 -842
- data/spec/integration_specs/document_alamofire/after/docs/Enums.html +0 -258
- data/spec/integration_specs/document_alamofire/after/docs/Enums/ParameterEncoding.html +0 -383
- data/spec/integration_specs/document_alamofire/after/docs/Extensions.html +0 -703
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Manager.html +0 -345
- data/spec/integration_specs/document_alamofire/after/docs/Extensions/Request.html +0 -369
- data/spec/integration_specs/document_alamofire/after/docs/Functions.html +0 -1041
- data/spec/integration_specs/document_alamofire/after/docs/Global Variables.html +0 -227
- data/spec/integration_specs/document_alamofire/after/docs/Protocols.html +0 -276
- data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLRequestConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/Protocols/URLStringConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/css/highlight.css +0 -202
- data/spec/integration_specs/document_alamofire/after/docs/css/jazzy.css +0 -708
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Info.plist +0 -20
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes.html +0 -268
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes/Manager.html +0 -488
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Classes/Request.html +0 -842
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Enums.html +0 -258
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Enums/ParameterEncoding.html +0 -383
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Extensions.html +0 -703
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Extensions/Manager.html +0 -345
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Extensions/Request.html +0 -369
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Functions.html +0 -1041
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Global Variables.html +0 -227
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Manager.html +0 -345
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/ParameterEncoding.html +0 -383
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Protocols.html +0 -276
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Protocols/URLRequestConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Protocols/URLStringConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/Request.html +0 -369
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/URLRequestConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/URLStringConvertible.html +0 -228
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/carat.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/css/highlight.css +0 -202
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/css/jazzy.css +0 -708
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/dash.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/gh.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/highlight.css +0 -202
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/img/carat.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/img/dash.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/img/gh.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/index.html +0 -756
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/jazzy.css +0 -708
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/jazzy.js +0 -21
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/jquery.min.js +0 -4
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/jazzy.js +0 -21
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/js/jquery.min.js +0 -4
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/Documents/undocumented.txt +0 -18
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.docset/Contents/Resources/docSet.dsidx.csv +0 -80
- data/spec/integration_specs/document_alamofire/after/docs/docsets/Alamofire.xml +0 -1
- data/spec/integration_specs/document_alamofire/after/docs/img/carat.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/img/dash.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/img/gh.png +0 -0
- data/spec/integration_specs/document_alamofire/after/docs/index.html +0 -756
- data/spec/integration_specs/document_alamofire/after/docs/js/jazzy.js +0 -21
- data/spec/integration_specs/document_alamofire/after/docs/js/jquery.min.js +0 -4
- data/spec/integration_specs/document_alamofire/after/docs/undocumented.txt +0 -18
- data/spec/integration_specs/document_alamofire/after/execution_output.txt +0 -5
- data/spec/integration_specs/misc_jazzy_features/after/docs/Classes.html +0 -333
- data/spec/integration_specs/misc_jazzy_features/after/docs/Classes/ImplicitlyInternalTopLevelClass.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/Enums.html +0 -171
- data/spec/integration_specs/misc_jazzy_features/after/docs/Enums/DocumentedEnum.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/Global Variables.html +0 -152
- data/spec/integration_specs/misc_jazzy_features/after/docs/css/highlight.css +0 -202
- data/spec/integration_specs/misc_jazzy_features/after/docs/css/jazzy.css +0 -708
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Info.plist +0 -20
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes.html +0 -333
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/Classes/ImplicitlyInternalTopLevelClass.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/DocumentedEnum.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums.html +0 -171
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/Enums/DocumentedEnum.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/Global Variables.html +0 -152
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/ImplicitlyInternalTopLevelClass.html +0 -149
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/highlight.css +0 -202
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/css/jazzy.css +0 -708
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/highlight.css +0 -202
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/img/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/index.html +0 -112
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.css +0 -708
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/jazzy.js +0 -21
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/jquery.min.js +0 -4
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jazzy.js +0 -21
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/js/jquery.min.js +0 -4
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/Documents/undocumented.txt +0 -3
- data/spec/integration_specs/misc_jazzy_features/after/docs/docsets/MiscJazzyFeatures.docset/Contents/Resources/docSet.dsidx.csv +0 -17
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/img/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/after/docs/index.html +0 -112
- data/spec/integration_specs/misc_jazzy_features/after/docs/js/jazzy.js +0 -21
- data/spec/integration_specs/misc_jazzy_features/after/docs/js/jquery.min.js +0 -4
- data/spec/integration_specs/misc_jazzy_features/after/docs/undocumented.txt +0 -3
- data/spec/integration_specs/misc_jazzy_features/after/execution_output.txt +0 -5
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures.xcodeproj/project.pbxproj +0 -293
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures/Classes.swift +0 -60
- data/spec/integration_specs/misc_jazzy_features/before/MiscJazzyFeatures/MiscJazzyFeatures.h +0 -10
- data/spec/integration_specs/misc_jazzy_features/before/docs/Classes.html +0 -317
- data/spec/integration_specs/misc_jazzy_features/before/docs/Classes/ImplicitlyInternalTopLevelClass.html +0 -138
- data/spec/integration_specs/misc_jazzy_features/before/docs/Enums.html +0 -155
- data/spec/integration_specs/misc_jazzy_features/before/docs/Enums/DocumentedEnum.html +0 -128
- data/spec/integration_specs/misc_jazzy_features/before/docs/Global Variables.html +0 -138
- data/spec/integration_specs/misc_jazzy_features/before/docs/css/jazzy.css +0 -609
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/carat.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/dash.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/img/gh.png +0 -0
- data/spec/integration_specs/misc_jazzy_features/before/docs/index.html +0 -99
- data/spec/integration_specs/misc_jazzy_features/before/docs/js/jazzy.js +0 -15
- data/spec/integration_specs/misc_jazzy_features/before/docs/js/jquery.min.js +0 -4
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>CFBundleIdentifier</key>
|
6
|
-
<string>com.jazzy.alamofire</string>
|
7
|
-
<key>CFBundleName</key>
|
8
|
-
<string>Alamofire</string>
|
9
|
-
<key>DocSetPlatformFamily</key>
|
10
|
-
<string>jazzy</string>
|
11
|
-
<key>isDashDocset</key>
|
12
|
-
<true/>
|
13
|
-
<key>dashIndexFilePath</key>
|
14
|
-
<string>index.html</string>
|
15
|
-
<key>isJavaScriptEnabled</key>
|
16
|
-
<true/>
|
17
|
-
<key>DashDocSetFamily</key>
|
18
|
-
<string>dashtoc</string>
|
19
|
-
</dict>
|
20
|
-
</plist>
|
@@ -1,268 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<title>Classes Reference</title>
|
5
|
-
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
|
6
|
-
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
|
7
|
-
<meta charset='utf-8'>
|
8
|
-
<script type="text/javascript">
|
9
|
-
window.jazzy = {'docset': false}
|
10
|
-
if (typeof window.dash != 'undefined') {
|
11
|
-
document.documentElement.className += ' dash'
|
12
|
-
window.jazzy.docset = true
|
13
|
-
}
|
14
|
-
if (navigator.userAgent.match(/xcode/i)) {
|
15
|
-
document.documentElement.className += ' xcode'
|
16
|
-
window.jazzy.docset = true
|
17
|
-
}
|
18
|
-
</script>
|
19
|
-
<script src="js/jquery.min.js" defer></script>
|
20
|
-
<script src="js/jazzy.js" defer></script>
|
21
|
-
</head>
|
22
|
-
<body id="reference" class="Swift">
|
23
|
-
<a title="Classes Reference"></a>
|
24
|
-
<header>
|
25
|
-
<div class="content-wrapper">
|
26
|
-
<p class="header-text"><a href="index.html">Alamofire Docs</a> (83% documented)</p>
|
27
|
-
<p id="header-links"><a href="https://github.com/Alamofire/Alamofire"><img id="header-icon" src="img/gh.png" height="16px" width="16px" />View on GitHub</a></p>
|
28
|
-
<p id="header-links"><a href="dash-feed://http%3A%2F%2Fstatic%2Erealm%2Eio%2Fjazzy_demo%2FAlamofire%2Fdocsets%2FAlamofire%2Exml"><img id="header-icon" src="img/dash.png" height="16px" width="16px" />Install in Dash</a></p>
|
29
|
-
</div>
|
30
|
-
</header>
|
31
|
-
<section id="valence">
|
32
|
-
<div class="content-wrapper">
|
33
|
-
<p id="hierarchial_navigation">
|
34
|
-
<a href="index.html" id="design_resources_link">Alamofire Reference</a>
|
35
|
-
<img id="carat" src="img/carat.png" height="10px" width="6px" />
|
36
|
-
Classes Reference
|
37
|
-
</p>
|
38
|
-
</div>
|
39
|
-
</section>
|
40
|
-
<div class="content-wrapper">
|
41
|
-
<nav class="book-parts">
|
42
|
-
<ul class="nav-parts">
|
43
|
-
<li class="part-name tasks">
|
44
|
-
<a href="Classes.html">Classes</a>
|
45
|
-
<ul class="nav-chapters">
|
46
|
-
<li class="nav-chapter">
|
47
|
-
<a href="Classes/Manager.html">Manager</a>
|
48
|
-
</li>
|
49
|
-
<li class="nav-chapter">
|
50
|
-
<a href="Classes/Request.html">Request</a>
|
51
|
-
</li>
|
52
|
-
</ul>
|
53
|
-
</li>
|
54
|
-
<li class="part-name tasks">
|
55
|
-
<a href="Global Variables.html">Global Variables</a>
|
56
|
-
<ul class="nav-chapters">
|
57
|
-
<li class="nav-chapter">
|
58
|
-
<a href="Global Variables.html#/s:v9Alamofire20AlamofireErrorDomainSS">AlamofireErrorDomain</a>
|
59
|
-
</li>
|
60
|
-
</ul>
|
61
|
-
</li>
|
62
|
-
<li class="part-name tasks">
|
63
|
-
<a href="Enums.html">Enums</a>
|
64
|
-
<ul class="nav-chapters">
|
65
|
-
<li class="nav-chapter">
|
66
|
-
<a href="Enums.html#/s:O9Alamofire6Method">Method</a>
|
67
|
-
</li>
|
68
|
-
<li class="nav-chapter">
|
69
|
-
<a href="Enums/ParameterEncoding.html">ParameterEncoding</a>
|
70
|
-
</li>
|
71
|
-
</ul>
|
72
|
-
</li>
|
73
|
-
<li class="part-name tasks">
|
74
|
-
<a href="Extensions.html">Extensions</a>
|
75
|
-
<ul class="nav-chapters">
|
76
|
-
<li class="nav-chapter">
|
77
|
-
<a href="Extensions/Manager.html">Manager</a>
|
78
|
-
</li>
|
79
|
-
<li class="nav-chapter">
|
80
|
-
<a href="Extensions/Manager.html">Manager</a>
|
81
|
-
</li>
|
82
|
-
<li class="nav-chapter">
|
83
|
-
<a href="Extensions.html#/c:objc(cs)NSURLRequest">NSURLRequest</a>
|
84
|
-
</li>
|
85
|
-
<li class="nav-chapter">
|
86
|
-
<a href="Extensions.html#/c:objc(cs)NSURLRequest">NSURLRequest</a>
|
87
|
-
</li>
|
88
|
-
<li class="nav-chapter">
|
89
|
-
<a href="Extensions.html#/s:C9Alamofire7Request">Request</a>
|
90
|
-
</li>
|
91
|
-
<li class="nav-chapter">
|
92
|
-
<a href="Extensions/Request.html">Request</a>
|
93
|
-
</li>
|
94
|
-
<li class="nav-chapter">
|
95
|
-
<a href="Extensions/Request.html">Request</a>
|
96
|
-
</li>
|
97
|
-
<li class="nav-chapter">
|
98
|
-
<a href="Extensions/Request.html">Request</a>
|
99
|
-
</li>
|
100
|
-
<li class="nav-chapter">
|
101
|
-
<a href="Extensions/Request.html">Request</a>
|
102
|
-
</li>
|
103
|
-
<li class="nav-chapter">
|
104
|
-
<a href="Extensions/Request.html">Request</a>
|
105
|
-
</li>
|
106
|
-
<li class="nav-chapter">
|
107
|
-
<a href="Extensions/Request.html">Request</a>
|
108
|
-
</li>
|
109
|
-
<li class="nav-chapter">
|
110
|
-
<a href="Extensions/Request.html">Request</a>
|
111
|
-
</li>
|
112
|
-
<li class="nav-chapter">
|
113
|
-
<a href="Extensions.html#/s:SS">String</a>
|
114
|
-
</li>
|
115
|
-
</ul>
|
116
|
-
</li>
|
117
|
-
<li class="part-name tasks">
|
118
|
-
<a href="Functions.html">Functions</a>
|
119
|
-
<ul class="nav-chapters">
|
120
|
-
<li class="nav-chapter">
|
121
|
-
<a href="Functions.html#/s:F9Alamofire8downloadFTPS_21URLRequestConvertible_FTCSo5NSURLCSo17NSHTTPURLResponse_S1__CS_7Request">download(_:_:)</a>
|
122
|
-
</li>
|
123
|
-
<li class="nav-chapter">
|
124
|
-
<a href="Functions.html#/s:F9Alamofire8downloadFTOS_6MethodPS_20URLStringConvertible_FTCSo5NSURLCSo17NSHTTPURLResponse_S2__CS_7Request">download(_:_:_:)</a>
|
125
|
-
</li>
|
126
|
-
<li class="nav-chapter">
|
127
|
-
<a href="Functions.html#/s:F9Alamofire8downloadFT10resumeDataCSo6NSDataFTCSo5NSURLCSo17NSHTTPURLResponse_S1__CS_7Request">download(resumeData:_:)</a>
|
128
|
-
</li>
|
129
|
-
<li class="nav-chapter">
|
130
|
-
<a href="Functions.html#/s:F9Alamofire7requestFPS_21URLRequestConvertible_CS_7Request">request(_:)</a>
|
131
|
-
</li>
|
132
|
-
<li class="nav-chapter">
|
133
|
-
<a href="Functions.html#/s:F9Alamofire7requestFTOS_6MethodPS_20URLStringConvertible_10parametersGSqGVSs10DictionarySSPSs9AnyObject___8encodingOS_17ParameterEncoding_CS_7Request">request(_:_:parameters:encoding:)</a>
|
134
|
-
</li>
|
135
|
-
<li class="nav-chapter">
|
136
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo6NSData_CS_7Request">upload(_:_:)</a>
|
137
|
-
</li>
|
138
|
-
<li class="nav-chapter">
|
139
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo13NSInputStream_CS_7Request">upload(_:_:)</a>
|
140
|
-
</li>
|
141
|
-
<li class="nav-chapter">
|
142
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo5NSURL_CS_7Request">upload(_:_:)</a>
|
143
|
-
</li>
|
144
|
-
<li class="nav-chapter">
|
145
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo13NSInputStream_CS_7Request">upload(_:_:_:)</a>
|
146
|
-
</li>
|
147
|
-
<li class="nav-chapter">
|
148
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo5NSURL_CS_7Request">upload(_:_:_:)</a>
|
149
|
-
</li>
|
150
|
-
<li class="nav-chapter">
|
151
|
-
<a href="Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo6NSData_CS_7Request">upload(_:_:_:)</a>
|
152
|
-
</li>
|
153
|
-
</ul>
|
154
|
-
</li>
|
155
|
-
<li class="part-name tasks">
|
156
|
-
<a href="Protocols.html">Protocols</a>
|
157
|
-
<ul class="nav-chapters">
|
158
|
-
<li class="nav-chapter">
|
159
|
-
<a href="Protocols/URLRequestConvertible.html">URLRequestConvertible</a>
|
160
|
-
</li>
|
161
|
-
<li class="nav-chapter">
|
162
|
-
<a href="Protocols/URLStringConvertible.html">URLStringConvertible</a>
|
163
|
-
</li>
|
164
|
-
</ul>
|
165
|
-
</li>
|
166
|
-
</ul>
|
167
|
-
</nav>
|
168
|
-
<div class="pixel-line"></div>
|
169
|
-
<div class="rubber-band-gap"></div>
|
170
|
-
<article class="chapter">
|
171
|
-
<a name="/"></a>
|
172
|
-
<h1 class="chapter-name">Classes</h1>
|
173
|
-
<section>
|
174
|
-
<section class="section">
|
175
|
-
<p class="para">The following classes are available globally.</p>
|
176
|
-
</section>
|
177
|
-
<section class="section task-group-section">
|
178
|
-
<div class="task-group">
|
179
|
-
<div class="task-name-container">
|
180
|
-
<hr/>
|
181
|
-
<a name="/Unnamed"></a>
|
182
|
-
|
183
|
-
</div>
|
184
|
-
<ul class="task-group-list">
|
185
|
-
<li class="item symbol">
|
186
|
-
<div class="task-group-term">
|
187
|
-
<code>
|
188
|
-
<a name="/s:C9Alamofire7Manager">
|
189
|
-
<a name="//apple_ref/swift/Class/Manager" class="dashAnchor"></a>
|
190
|
-
<a class="x-instance-method Swift" href="#/s:C9Alamofire7Manager">Manager</a>
|
191
|
-
</code>
|
192
|
-
</div>
|
193
|
-
<div class="height-container">
|
194
|
-
<div class="pointy-thing-container"></div>
|
195
|
-
<section class="section instance-method">
|
196
|
-
<div class="pointy-thing"></div>
|
197
|
-
<div class="abstract">
|
198
|
-
<p class="para">Responsible for creating and managing <code>Request</code> objects, as well as their underlying <code>NSURLSession</code>.</p>
|
199
|
-
<a href="Classes/Manager.html" class="see-more">See more</a>
|
200
|
-
</div>
|
201
|
-
<div class="declaration">
|
202
|
-
<h4>Declaration</h4>
|
203
|
-
|
204
|
-
<div class="Swift">
|
205
|
-
<p class="aside-title">Swift</p>
|
206
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">Manager</span></code></pre>
|
207
|
-
|
208
|
-
</div>
|
209
|
-
</div>
|
210
|
-
<div class="result-description view-on-github">
|
211
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L215">Show on GitHub</a>
|
212
|
-
</div>
|
213
|
-
</section>
|
214
|
-
</div>
|
215
|
-
</li>
|
216
|
-
</ul>
|
217
|
-
</div>
|
218
|
-
<div class="task-group">
|
219
|
-
<div class="task-name-container">
|
220
|
-
<hr/>
|
221
|
-
<a name="/Unnamed2"></a>
|
222
|
-
|
223
|
-
</div>
|
224
|
-
<ul class="task-group-list">
|
225
|
-
<li class="item symbol">
|
226
|
-
<div class="task-group-term">
|
227
|
-
<code>
|
228
|
-
<a name="/s:C9Alamofire7Request">
|
229
|
-
<a name="//apple_ref/swift/Class/Request" class="dashAnchor"></a>
|
230
|
-
<a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a>
|
231
|
-
</code>
|
232
|
-
</div>
|
233
|
-
<div class="height-container">
|
234
|
-
<div class="pointy-thing-container"></div>
|
235
|
-
<section class="section instance-method">
|
236
|
-
<div class="pointy-thing"></div>
|
237
|
-
<div class="abstract">
|
238
|
-
<p class="para">Responsible for sending a request and receiving the response and associated data from the server, as well as managing its underlying <code>NSURLSessionTask</code>.</p>
|
239
|
-
<a href="Classes/Request.html" class="see-more">See more</a>
|
240
|
-
</div>
|
241
|
-
<div class="declaration">
|
242
|
-
<h4>Declaration</h4>
|
243
|
-
|
244
|
-
<div class="Swift">
|
245
|
-
<p class="aside-title">Swift</p>
|
246
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">Request</span></code></pre>
|
247
|
-
|
248
|
-
</div>
|
249
|
-
</div>
|
250
|
-
<div class="result-description view-on-github">
|
251
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a>
|
252
|
-
</div>
|
253
|
-
</section>
|
254
|
-
</div>
|
255
|
-
</li>
|
256
|
-
</ul>
|
257
|
-
</div>
|
258
|
-
</section>
|
259
|
-
</section>
|
260
|
-
<section id="footer">
|
261
|
-
<p class="copyright">© YYYY <a class="link" href="https://nshipster.com/alamofire" target="_blank" rel="external">Alamofire</a>. All rights reserved. (Last updated: YYYY-MM-DD)</p>
|
262
|
-
<p class="copyright">Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ vX.X.X</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
263
|
-
</section>
|
264
|
-
</article>
|
265
|
-
</div>
|
266
|
-
</body>
|
267
|
-
</div>
|
268
|
-
</html>
|
@@ -1,488 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<title>Manager Class Reference</title>
|
5
|
-
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
|
6
|
-
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
|
7
|
-
<meta charset='utf-8'>
|
8
|
-
<script type="text/javascript">
|
9
|
-
window.jazzy = {'docset': false}
|
10
|
-
if (typeof window.dash != 'undefined') {
|
11
|
-
document.documentElement.className += ' dash'
|
12
|
-
window.jazzy.docset = true
|
13
|
-
}
|
14
|
-
if (navigator.userAgent.match(/xcode/i)) {
|
15
|
-
document.documentElement.className += ' xcode'
|
16
|
-
window.jazzy.docset = true
|
17
|
-
}
|
18
|
-
</script>
|
19
|
-
<script src="../js/jquery.min.js" defer></script>
|
20
|
-
<script src="../js/jazzy.js" defer></script>
|
21
|
-
</head>
|
22
|
-
<body id="reference" class="Swift">
|
23
|
-
<a name="//apple_ref/swift/Class/Manager" class="dashAnchor"></a>
|
24
|
-
<a title="Manager Class Reference"></a>
|
25
|
-
<header>
|
26
|
-
<div class="content-wrapper">
|
27
|
-
<p class="header-text"><a href="../index.html">Alamofire Docs</a> (83% documented)</p>
|
28
|
-
<p id="header-links"><a href="https://github.com/Alamofire/Alamofire"><img id="header-icon" src="../img/gh.png" height="16px" width="16px" />View on GitHub</a></p>
|
29
|
-
<p id="header-links"><a href="dash-feed://http%3A%2F%2Fstatic%2Erealm%2Eio%2Fjazzy_demo%2FAlamofire%2Fdocsets%2FAlamofire%2Exml"><img id="header-icon" src="../img/dash.png" height="16px" width="16px" />Install in Dash</a></p>
|
30
|
-
</div>
|
31
|
-
</header>
|
32
|
-
<section id="valence">
|
33
|
-
<div class="content-wrapper">
|
34
|
-
<p id="hierarchial_navigation">
|
35
|
-
<a href="../index.html" id="design_resources_link">Alamofire Reference</a>
|
36
|
-
<img id="carat" src="../img/carat.png" height="10px" width="6px" />
|
37
|
-
Manager Class Reference
|
38
|
-
</p>
|
39
|
-
</div>
|
40
|
-
</section>
|
41
|
-
<div class="content-wrapper">
|
42
|
-
<nav class="book-parts">
|
43
|
-
<ul class="nav-parts">
|
44
|
-
<li class="part-name tasks">
|
45
|
-
<a href="../Classes.html">Classes</a>
|
46
|
-
<ul class="nav-chapters">
|
47
|
-
<li class="nav-chapter">
|
48
|
-
<a href="../Classes/Manager.html">Manager</a>
|
49
|
-
</li>
|
50
|
-
<li class="nav-chapter">
|
51
|
-
<a href="../Classes/Request.html">Request</a>
|
52
|
-
</li>
|
53
|
-
</ul>
|
54
|
-
</li>
|
55
|
-
<li class="part-name tasks">
|
56
|
-
<a href="../Global Variables.html">Global Variables</a>
|
57
|
-
<ul class="nav-chapters">
|
58
|
-
<li class="nav-chapter">
|
59
|
-
<a href="../Global Variables.html#/s:v9Alamofire20AlamofireErrorDomainSS">AlamofireErrorDomain</a>
|
60
|
-
</li>
|
61
|
-
</ul>
|
62
|
-
</li>
|
63
|
-
<li class="part-name tasks">
|
64
|
-
<a href="../Enums.html">Enums</a>
|
65
|
-
<ul class="nav-chapters">
|
66
|
-
<li class="nav-chapter">
|
67
|
-
<a href="../Enums.html#/s:O9Alamofire6Method">Method</a>
|
68
|
-
</li>
|
69
|
-
<li class="nav-chapter">
|
70
|
-
<a href="../Enums/ParameterEncoding.html">ParameterEncoding</a>
|
71
|
-
</li>
|
72
|
-
</ul>
|
73
|
-
</li>
|
74
|
-
<li class="part-name tasks">
|
75
|
-
<a href="../Extensions.html">Extensions</a>
|
76
|
-
<ul class="nav-chapters">
|
77
|
-
<li class="nav-chapter">
|
78
|
-
<a href="../Extensions/Manager.html">Manager</a>
|
79
|
-
</li>
|
80
|
-
<li class="nav-chapter">
|
81
|
-
<a href="../Extensions/Manager.html">Manager</a>
|
82
|
-
</li>
|
83
|
-
<li class="nav-chapter">
|
84
|
-
<a href="../Extensions.html#/c:objc(cs)NSURLRequest">NSURLRequest</a>
|
85
|
-
</li>
|
86
|
-
<li class="nav-chapter">
|
87
|
-
<a href="../Extensions.html#/c:objc(cs)NSURLRequest">NSURLRequest</a>
|
88
|
-
</li>
|
89
|
-
<li class="nav-chapter">
|
90
|
-
<a href="../Extensions.html#/s:C9Alamofire7Request">Request</a>
|
91
|
-
</li>
|
92
|
-
<li class="nav-chapter">
|
93
|
-
<a href="../Extensions/Request.html">Request</a>
|
94
|
-
</li>
|
95
|
-
<li class="nav-chapter">
|
96
|
-
<a href="../Extensions/Request.html">Request</a>
|
97
|
-
</li>
|
98
|
-
<li class="nav-chapter">
|
99
|
-
<a href="../Extensions/Request.html">Request</a>
|
100
|
-
</li>
|
101
|
-
<li class="nav-chapter">
|
102
|
-
<a href="../Extensions/Request.html">Request</a>
|
103
|
-
</li>
|
104
|
-
<li class="nav-chapter">
|
105
|
-
<a href="../Extensions/Request.html">Request</a>
|
106
|
-
</li>
|
107
|
-
<li class="nav-chapter">
|
108
|
-
<a href="../Extensions/Request.html">Request</a>
|
109
|
-
</li>
|
110
|
-
<li class="nav-chapter">
|
111
|
-
<a href="../Extensions/Request.html">Request</a>
|
112
|
-
</li>
|
113
|
-
<li class="nav-chapter">
|
114
|
-
<a href="../Extensions.html#/s:SS">String</a>
|
115
|
-
</li>
|
116
|
-
</ul>
|
117
|
-
</li>
|
118
|
-
<li class="part-name tasks">
|
119
|
-
<a href="../Functions.html">Functions</a>
|
120
|
-
<ul class="nav-chapters">
|
121
|
-
<li class="nav-chapter">
|
122
|
-
<a href="../Functions.html#/s:F9Alamofire8downloadFTPS_21URLRequestConvertible_FTCSo5NSURLCSo17NSHTTPURLResponse_S1__CS_7Request">download(_:_:)</a>
|
123
|
-
</li>
|
124
|
-
<li class="nav-chapter">
|
125
|
-
<a href="../Functions.html#/s:F9Alamofire8downloadFTOS_6MethodPS_20URLStringConvertible_FTCSo5NSURLCSo17NSHTTPURLResponse_S2__CS_7Request">download(_:_:_:)</a>
|
126
|
-
</li>
|
127
|
-
<li class="nav-chapter">
|
128
|
-
<a href="../Functions.html#/s:F9Alamofire8downloadFT10resumeDataCSo6NSDataFTCSo5NSURLCSo17NSHTTPURLResponse_S1__CS_7Request">download(resumeData:_:)</a>
|
129
|
-
</li>
|
130
|
-
<li class="nav-chapter">
|
131
|
-
<a href="../Functions.html#/s:F9Alamofire7requestFPS_21URLRequestConvertible_CS_7Request">request(_:)</a>
|
132
|
-
</li>
|
133
|
-
<li class="nav-chapter">
|
134
|
-
<a href="../Functions.html#/s:F9Alamofire7requestFTOS_6MethodPS_20URLStringConvertible_10parametersGSqGVSs10DictionarySSPSs9AnyObject___8encodingOS_17ParameterEncoding_CS_7Request">request(_:_:parameters:encoding:)</a>
|
135
|
-
</li>
|
136
|
-
<li class="nav-chapter">
|
137
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo6NSData_CS_7Request">upload(_:_:)</a>
|
138
|
-
</li>
|
139
|
-
<li class="nav-chapter">
|
140
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo13NSInputStream_CS_7Request">upload(_:_:)</a>
|
141
|
-
</li>
|
142
|
-
<li class="nav-chapter">
|
143
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTPS_21URLRequestConvertible_CSo5NSURL_CS_7Request">upload(_:_:)</a>
|
144
|
-
</li>
|
145
|
-
<li class="nav-chapter">
|
146
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo13NSInputStream_CS_7Request">upload(_:_:_:)</a>
|
147
|
-
</li>
|
148
|
-
<li class="nav-chapter">
|
149
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo5NSURL_CS_7Request">upload(_:_:_:)</a>
|
150
|
-
</li>
|
151
|
-
<li class="nav-chapter">
|
152
|
-
<a href="../Functions.html#/s:F9Alamofire6uploadFTOS_6MethodPS_20URLStringConvertible_CSo6NSData_CS_7Request">upload(_:_:_:)</a>
|
153
|
-
</li>
|
154
|
-
</ul>
|
155
|
-
</li>
|
156
|
-
<li class="part-name tasks">
|
157
|
-
<a href="../Protocols.html">Protocols</a>
|
158
|
-
<ul class="nav-chapters">
|
159
|
-
<li class="nav-chapter">
|
160
|
-
<a href="../Protocols/URLRequestConvertible.html">URLRequestConvertible</a>
|
161
|
-
</li>
|
162
|
-
<li class="nav-chapter">
|
163
|
-
<a href="../Protocols/URLStringConvertible.html">URLStringConvertible</a>
|
164
|
-
</li>
|
165
|
-
</ul>
|
166
|
-
</li>
|
167
|
-
</ul>
|
168
|
-
</nav>
|
169
|
-
<div class="pixel-line"></div>
|
170
|
-
<div class="rubber-band-gap"></div>
|
171
|
-
<article class="chapter">
|
172
|
-
<a name="/"></a>
|
173
|
-
<h1 class="chapter-name">Manager</h1>
|
174
|
-
<section>
|
175
|
-
<section class="section">
|
176
|
-
<p class="para">Responsible for creating and managing <code>Request</code> objects, as well as their underlying <code>NSURLSession</code>.</p>
|
177
|
-
</section>
|
178
|
-
<section class="section task-group-section">
|
179
|
-
<div class="task-group">
|
180
|
-
<div class="task-name-container">
|
181
|
-
|
182
|
-
<a name="/Unnamed"></a>
|
183
|
-
|
184
|
-
</div>
|
185
|
-
<ul class="task-group-list">
|
186
|
-
<li class="item symbol">
|
187
|
-
<div class="task-group-term">
|
188
|
-
<code>
|
189
|
-
<a name="/s:vC9Alamofire7Manager14sharedInstanceS0_">
|
190
|
-
<a name="//apple_ref/swift/Property/sharedInstance" class="dashAnchor"></a>
|
191
|
-
<a class="x-instance-method Swift" href="#/s:vC9Alamofire7Manager14sharedInstanceS0_">sharedInstance</a>
|
192
|
-
</code>
|
193
|
-
</div>
|
194
|
-
<div class="height-container">
|
195
|
-
<div class="pointy-thing-container"></div>
|
196
|
-
<section class="section instance-method">
|
197
|
-
<div class="pointy-thing"></div>
|
198
|
-
<div class="abstract">
|
199
|
-
<p class="para">A shared instance of <code>Manager</code>, used by top-level Alamofire request methods, and suitable for use directly for any ad hoc requests.</p>
|
200
|
-
</div>
|
201
|
-
<div class="declaration">
|
202
|
-
<h4>Declaration</h4>
|
203
|
-
|
204
|
-
<div class="Swift">
|
205
|
-
<p class="aside-title">Swift</p>
|
206
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="k">var</span> <span class="nv">sharedInstance</span><span class="p">:</span> <span class="kt">Manager</span></code></pre>
|
207
|
-
|
208
|
-
</div>
|
209
|
-
</div>
|
210
|
-
<div class="result-description view-on-github">
|
211
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L220">Show on GitHub</a>
|
212
|
-
</div>
|
213
|
-
</section>
|
214
|
-
</div>
|
215
|
-
</li>
|
216
|
-
<li class="item symbol">
|
217
|
-
<div class="task-group-term">
|
218
|
-
<code>
|
219
|
-
<a name="/s:vC9Alamofire7Manager7sessionCSo12NSURLSession">
|
220
|
-
<a name="//apple_ref/swift/Property/session" class="dashAnchor"></a>
|
221
|
-
<a class="x-instance-method Swift" href="#/s:vC9Alamofire7Manager7sessionCSo12NSURLSession">session</a>
|
222
|
-
</code>
|
223
|
-
</div>
|
224
|
-
<div class="height-container">
|
225
|
-
<div class="pointy-thing-container"></div>
|
226
|
-
<section class="section instance-method">
|
227
|
-
<div class="pointy-thing"></div>
|
228
|
-
<div class="abstract">
|
229
|
-
<p class="para">The underlying session.</p>
|
230
|
-
</div>
|
231
|
-
<div class="declaration">
|
232
|
-
<h4>Declaration</h4>
|
233
|
-
|
234
|
-
<div class="Swift">
|
235
|
-
<p class="aside-title">Swift</p>
|
236
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">session</span><span class="p">:</span> <span class="kt">NSURLSession</span></code></pre>
|
237
|
-
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
<div class="result-description view-on-github">
|
241
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L279">Show on GitHub</a>
|
242
|
-
</div>
|
243
|
-
</section>
|
244
|
-
</div>
|
245
|
-
</li>
|
246
|
-
<li class="item symbol">
|
247
|
-
<div class="task-group-term">
|
248
|
-
<code>
|
249
|
-
<a name="/s:vC9Alamofire7Manager24startRequestsImmediatelySb">
|
250
|
-
<a name="//apple_ref/swift/Property/startRequestsImmediately" class="dashAnchor"></a>
|
251
|
-
<a class="x-instance-method Swift" href="#/s:vC9Alamofire7Manager24startRequestsImmediatelySb">startRequestsImmediately</a>
|
252
|
-
</code>
|
253
|
-
</div>
|
254
|
-
<div class="height-container">
|
255
|
-
<div class="pointy-thing-container"></div>
|
256
|
-
<section class="section instance-method">
|
257
|
-
<div class="pointy-thing"></div>
|
258
|
-
<div class="abstract">
|
259
|
-
<p class="para">Whether to start requests immediately after being constructed. <code>true</code> by default.</p>
|
260
|
-
</div>
|
261
|
-
<div class="declaration">
|
262
|
-
<h4>Declaration</h4>
|
263
|
-
|
264
|
-
<div class="Swift">
|
265
|
-
<p class="aside-title">Swift</p>
|
266
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">startRequestsImmediately</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">true</span></code></pre>
|
267
|
-
|
268
|
-
</div>
|
269
|
-
</div>
|
270
|
-
<div class="result-description view-on-github">
|
271
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L282">Show on GitHub</a>
|
272
|
-
</div>
|
273
|
-
</section>
|
274
|
-
</div>
|
275
|
-
</li>
|
276
|
-
<li class="item symbol">
|
277
|
-
<div class="task-group-term">
|
278
|
-
<code>
|
279
|
-
<a name="/s:FC9Alamofire7ManagercFMS0_FT13configurationGSqCSo25NSURLSessionConfiguration__S0_">
|
280
|
-
<a name="//apple_ref/swift/Method/init(configuration:)" class="dashAnchor"></a>
|
281
|
-
<a class="x-instance-method Swift" href="#/s:FC9Alamofire7ManagercFMS0_FT13configurationGSqCSo25NSURLSessionConfiguration__S0_">init(configuration:)</a>
|
282
|
-
</code>
|
283
|
-
</div>
|
284
|
-
<div class="height-container">
|
285
|
-
<div class="pointy-thing-container"></div>
|
286
|
-
<section class="section instance-method">
|
287
|
-
<div class="pointy-thing"></div>
|
288
|
-
<div class="abstract">
|
289
|
-
|
290
|
-
</div>
|
291
|
-
<div class="declaration">
|
292
|
-
<h4>Declaration</h4>
|
293
|
-
|
294
|
-
<div class="Swift">
|
295
|
-
<p class="aside-title">Swift</p>
|
296
|
-
<pre class="highlight"><code><span class="kd">required</span> <span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">configuration</span><span class="p">:</span> <span class="kt">NSURLSessionConfiguration</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>
|
297
|
-
|
298
|
-
</div>
|
299
|
-
</div>
|
300
|
-
<div class="parameters">
|
301
|
-
<h4>Parameters</h4>
|
302
|
-
<table class="graybox" border="0" cellspacing="0" cellpadding="5">
|
303
|
-
<tbody>
|
304
|
-
<tr>
|
305
|
-
<td scope="row">
|
306
|
-
<code>
|
307
|
-
<em class="term">configuration</em>
|
308
|
-
</code>
|
309
|
-
</td>
|
310
|
-
<td>
|
311
|
-
<div class="definition">
|
312
|
-
<p class="para">The configuration used to construct the managed session.</p>
|
313
|
-
</div>
|
314
|
-
</td>
|
315
|
-
</tr>
|
316
|
-
</tbody>
|
317
|
-
</table>
|
318
|
-
</div>
|
319
|
-
<div class="result-description view-on-github">
|
320
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L287">Show on GitHub</a>
|
321
|
-
</div>
|
322
|
-
</section>
|
323
|
-
</div>
|
324
|
-
</li>
|
325
|
-
</ul>
|
326
|
-
</div>
|
327
|
-
<div class="task-group">
|
328
|
-
<div class="task-name-container">
|
329
|
-
<hr/>
|
330
|
-
<a name="/Unnamed2"></a>
|
331
|
-
|
332
|
-
</div>
|
333
|
-
<ul class="task-group-list">
|
334
|
-
<li class="item symbol">
|
335
|
-
<div class="task-group-term">
|
336
|
-
<code>
|
337
|
-
<a name="/s:FC9Alamofire7Manager7requestFS0_FTOS_6MethodPS_20URLStringConvertible_10parametersGSqGVSs10DictionarySSPSs9AnyObject___8encodingOS_17ParameterEncoding_CS_7Request">
|
338
|
-
<a name="//apple_ref/swift/Method/request(_:_:parameters:encoding:)" class="dashAnchor"></a>
|
339
|
-
<a class="x-instance-method Swift" href="#/s:FC9Alamofire7Manager7requestFS0_FTOS_6MethodPS_20URLStringConvertible_10parametersGSqGVSs10DictionarySSPSs9AnyObject___8encodingOS_17ParameterEncoding_CS_7Request">request(_:_:parameters:encoding:)</a>
|
340
|
-
</code>
|
341
|
-
</div>
|
342
|
-
<div class="height-container">
|
343
|
-
<div class="pointy-thing-container"></div>
|
344
|
-
<section class="section instance-method">
|
345
|
-
<div class="pointy-thing"></div>
|
346
|
-
<div class="abstract">
|
347
|
-
<p class="para">Creates a request for the specified method, URL string, parameters, and parameter encoding.</p>
|
348
|
-
</div>
|
349
|
-
<div class="declaration">
|
350
|
-
<h4>Declaration</h4>
|
351
|
-
|
352
|
-
<div class="Swift">
|
353
|
-
<p class="aside-title">Swift</p>
|
354
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">request</span><span class="p">(</span><span class="nv">method</span><span class="p">:</span> <span class="kt">Method</span><span class="p">,</span> <span class="n">_</span> <span class="kt">URLString</span><span class="p">:</span> <span class="kt">URLStringConvertible</span><span class="p">,</span> <span class="nv">parameters</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="p">]?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">encoding</span><span class="p">:</span> <span class="kt">ParameterEncoding</span> <span class="o">=</span> <span class="o">.</span><span class="kt">URL</span><span class="p">)</span> <span class="o">-></span> <span class="kt">Request</span></code></pre>
|
355
|
-
|
356
|
-
</div>
|
357
|
-
</div>
|
358
|
-
<div class="parameters">
|
359
|
-
<h4>Parameters</h4>
|
360
|
-
<table class="graybox" border="0" cellspacing="0" cellpadding="5">
|
361
|
-
<tbody>
|
362
|
-
<tr>
|
363
|
-
<td scope="row">
|
364
|
-
<code>
|
365
|
-
<em class="term">method</em>
|
366
|
-
</code>
|
367
|
-
</td>
|
368
|
-
<td>
|
369
|
-
<div class="definition">
|
370
|
-
<p class="para">The HTTP method.</p>
|
371
|
-
</div>
|
372
|
-
</td>
|
373
|
-
</tr>
|
374
|
-
<tr>
|
375
|
-
<td scope="row">
|
376
|
-
<code>
|
377
|
-
<em class="term">URLString</em>
|
378
|
-
</code>
|
379
|
-
</td>
|
380
|
-
<td>
|
381
|
-
<div class="definition">
|
382
|
-
<p class="para">The URL string.</p>
|
383
|
-
</div>
|
384
|
-
</td>
|
385
|
-
</tr>
|
386
|
-
<tr>
|
387
|
-
<td scope="row">
|
388
|
-
<code>
|
389
|
-
<em class="term">parameters</em>
|
390
|
-
</code>
|
391
|
-
</td>
|
392
|
-
<td>
|
393
|
-
<div class="definition">
|
394
|
-
<p class="para">The parameters. <code>nil</code> by default.</p>
|
395
|
-
</div>
|
396
|
-
</td>
|
397
|
-
</tr>
|
398
|
-
<tr>
|
399
|
-
<td scope="row">
|
400
|
-
<code>
|
401
|
-
<em class="term">encoding</em>
|
402
|
-
</code>
|
403
|
-
</td>
|
404
|
-
<td>
|
405
|
-
<div class="definition">
|
406
|
-
<p class="para">The parameter encoding. <code>.URL</code> by default.</p>
|
407
|
-
</div>
|
408
|
-
</td>
|
409
|
-
</tr>
|
410
|
-
</tbody>
|
411
|
-
</table>
|
412
|
-
</div>
|
413
|
-
<div class="result-description">
|
414
|
-
<h4>Return Value</h4>
|
415
|
-
<p class="para">The created request.</p>
|
416
|
-
</div>
|
417
|
-
<div class="result-description view-on-github">
|
418
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L308">Show on GitHub</a>
|
419
|
-
</div>
|
420
|
-
</section>
|
421
|
-
</div>
|
422
|
-
</li>
|
423
|
-
<li class="item symbol">
|
424
|
-
<div class="task-group-term">
|
425
|
-
<code>
|
426
|
-
<a name="/s:FC9Alamofire7Manager7requestFS0_FPS_21URLRequestConvertible_CS_7Request">
|
427
|
-
<a name="//apple_ref/swift/Method/request(_:)" class="dashAnchor"></a>
|
428
|
-
<a class="x-instance-method Swift" href="#/s:FC9Alamofire7Manager7requestFS0_FPS_21URLRequestConvertible_CS_7Request">request(_:)</a>
|
429
|
-
</code>
|
430
|
-
</div>
|
431
|
-
<div class="height-container">
|
432
|
-
<div class="pointy-thing-container"></div>
|
433
|
-
<section class="section instance-method">
|
434
|
-
<div class="pointy-thing"></div>
|
435
|
-
<div class="abstract">
|
436
|
-
<p class="para">Creates a request for the specified URL request.If <code>startRequestsImmediately</code> is <code>true</code>, the request will have <code>resume()</code> called before being returned.</p>
|
437
|
-
</div>
|
438
|
-
<div class="declaration">
|
439
|
-
<h4>Declaration</h4>
|
440
|
-
|
441
|
-
<div class="Swift">
|
442
|
-
<p class="aside-title">Swift</p>
|
443
|
-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">request</span><span class="p">(</span><span class="kt">URLRequest</span><span class="p">:</span> <span class="kt">URLRequestConvertible</span><span class="p">)</span> <span class="o">-></span> <span class="kt">Request</span></code></pre>
|
444
|
-
|
445
|
-
</div>
|
446
|
-
</div>
|
447
|
-
<div class="parameters">
|
448
|
-
<h4>Parameters</h4>
|
449
|
-
<table class="graybox" border="0" cellspacing="0" cellpadding="5">
|
450
|
-
<tbody>
|
451
|
-
<tr>
|
452
|
-
<td scope="row">
|
453
|
-
<code>
|
454
|
-
<em class="term">URLRequest</em>
|
455
|
-
</code>
|
456
|
-
</td>
|
457
|
-
<td>
|
458
|
-
<div class="definition">
|
459
|
-
<p class="para">The URL request</p>
|
460
|
-
</div>
|
461
|
-
</td>
|
462
|
-
</tr>
|
463
|
-
</tbody>
|
464
|
-
</table>
|
465
|
-
</div>
|
466
|
-
<div class="result-description">
|
467
|
-
<h4>Return Value</h4>
|
468
|
-
<p class="para">The created request.</p>
|
469
|
-
</div>
|
470
|
-
<div class="result-description view-on-github">
|
471
|
-
<a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L322">Show on GitHub</a>
|
472
|
-
</div>
|
473
|
-
</section>
|
474
|
-
</div>
|
475
|
-
</li>
|
476
|
-
</ul>
|
477
|
-
</div>
|
478
|
-
</section>
|
479
|
-
</section>
|
480
|
-
<section id="footer">
|
481
|
-
<p class="copyright">© YYYY <a class="link" href="https://nshipster.com/alamofire" target="_blank" rel="external">Alamofire</a>. All rights reserved. (Last updated: YYYY-MM-DD)</p>
|
482
|
-
<p class="copyright">Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ vX.X.X</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
|
483
|
-
</section>
|
484
|
-
</article>
|
485
|
-
</div>
|
486
|
-
</body>
|
487
|
-
</div>
|
488
|
-
</html>
|