spec/integration_specs/document_alamofire/after/docs/Extensions.html in jazzy-0.0.14 vs spec/integration_specs/document_alamofire/after/docs/Extensions.html in jazzy-0.0.15

- old
+ new

@@ -1,10 +1,11 @@ <!DOCTYPE html> <html lang="en"> <head> <title>Extensions Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> + <link rel="stylesheet" type="text/css" href="css/github_syntax_highlighting.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/jazzy.js" defer></script> </head> <body id="reference" class="Swift"> @@ -162,14 +163,16 @@ <p class="para">The following extensions are available globally.</p> </section> <section class="section task-group-section"> <div class="task-group"> <div class="task-name-container"> - <a name="/Children"></a> - <a href="#/Children"> - <h3 class="section-name"></h3> + <hr/> + <a name="/URLStringConvertible"></a> + <a href="#/URLStringConvertible"> + <h3 class="section-name">URLStringConvertible</h3> </a> + </div> <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> @@ -180,11 +183,11 @@ <div class="height-container"> <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> - <p class="para">An arbitrary Unicode string value.Unicode-Correct ===============Swift strings are designed to be Unicode-correct. In particular, the APIs make it easy to write code that works correctly, and does not surprise end-users, regardless of where you venture in the Unicode character space. For example,<ul><li>The <code>==</code> operator checks for Unicode canonical equivalence, so two different representations of the same string will always compare equal.</li><li>String elements are <code>Characters</code> (Unicode extended grapheme clusters), a unit of text that is meaningful to most humans.</li></ul>Locale-Insensitive ==================The fundamental operations on Swift strings are not sensitive to locale settings. That&#39;s because, for example, the validity of a <code>Dictionary&lt;String, T&gt;</code> in a running program depends on a given string comparison having a single, stable result. Therefore, Swift always uses the default, un-tailored Unicode algorithms for basic string operations.Importing <code>Foundation</code> endows swift strings with the full power of the <code>NSString</code> API, which allows you to choose more complex locale-sensitive operations explicitly.Value Semantics ===============Each string variable, <code>let</code> binding, or stored property has an independent value, so mutations to the string are not observable through its copies::<blockquote>var a = &quot;foo&quot; var b = a b[b.endIndex.predecessor()] = &quot;x&quot; println(&quot;a=(a), b=(b)&quot;) // a=foo, b=fox</blockquote>Strings use Copy-on-Write so that their data is only copied lazily, upon mutation, when more than one string instance is using the same buffer. Therefore, the first in any sequence of mutating operations may cost <code>O(N)</code> time and space, where <code>N</code> is the length of the string&#39;s (unspecified) underlying representation,.Growth and Capacity ===================When a string&#39;s contiguous storage fills up, new storage must be allocated and characters must be moved to the new storage. <code>String</code> uses an exponential growth strategy that makes <code>append</code> a constant time operation <em>when amortized over many invocations</em>.Objective-C Bridge ==================<code>String</code> is bridged to Objective-C as <code>NSString</code>, and a <code>String</code> that originated in Objective-C may store its characters in an <code>NSString</code>. Since any arbitrary subclass of <code>NSSString</code> can become a <code>String</code>, there are no guarantees about representation or efficiency in this case. Since <code>NSString</code> is immutable, it is just as though the storage was shared by some copy: the first in any sequence of mutating operations causes elements to be copied into unique, contiguous storage which may cost <code>O(N)</code> time and space, where <code>N</code> is the length of the string representation (or more, if the underlying <code>NSString</code> is has unusual performance characteristics).</p> + <p class="para">An arbitrary Unicode string value.Unicode-Correct ===============Swift strings are designed to be Unicode-correct. In particular, the APIs make it easy to write code that works correctly, and does not surprise end-users, regardless of where you venture in the Unicode character space. For example,<ul><li>The <code>==</code> operator checks for Unicode canonical equivalence, so two different representations of the same string will always compare equal.</li><li>String elements are <code>Characters</code> (Unicode extended grapheme clusters), a unit of text that is meaningful to most humans.</li></ul>Locale-Insensitive ==================The fundamental operations on Swift strings are not sensitive to locale settings. That&rsquo;s because, for example, the validity of a <code>Dictionary&lt;String, T&gt;</code> in a running program depends on a given string comparison having a single, stable result. Therefore, Swift always uses the default, un-tailored Unicode algorithms for basic string operations.Importing <code>Foundation</code> endows swift strings with the full power of the <code>NSString</code> API, which allows you to choose more complex locale-sensitive operations explicitly.Value Semantics ===============Each string variable, <code>let</code> binding, or stored property has an independent value, so mutations to the string are not observable through its copies::<blockquote>var a = <q>foo</q> var b = a b[b.endIndex.predecessor()] = <q>x</q> println(<q>a=\(a), b=\(b)</q>) // a=foo, b=fox</blockquote>Strings use Copy-on-Write so that their data is only copied lazily, upon mutation, when more than one string instance is using the same buffer. Therefore, the first in any sequence of mutating operations may cost <code>O(N)</code> time and space, where <code>N</code> is the length of the string&rsquo;s (unspecified) underlying representation,.Growth and Capacity ===================When a string&rsquo;s contiguous storage fills up, new storage must be allocated and characters must be moved to the new storage. <code>String</code> uses an exponential growth strategy that makes <code>append</code> a constant time operation <em>when amortized over many invocations</em>.Objective-C Bridge ==================<code>String</code> is bridged to Objective-C as <code>NSString</code>, and a <code>String</code> that originated in Objective-C may store its characters in an <code>NSString</code>. Since any arbitrary subclass of <code>NSSString</code> can become a <code>String</code>, there are no guarantees about representation or efficiency in this case. Since <code>NSString</code> is immutable, it is just as though the storage was shared by some copy: the first in any sequence of mutating operations causes elements to be copied into unique, contiguous storage which may cost <code>O(N)</code> time and space, where <code>N</code> is the length of the string representation (or more, if the underlying <code>NSString</code> is has unusual performance characteristics).</p> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -229,10 +232,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h#L173">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + <hr/> + <a name="/URLRequestConvertible"></a> + <a href="#/URLRequestConvertible"> + <h3 class="section-name">URLRequestConvertible</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/c:objc(cs)NSURLRequest"> <a class="x-instance-method Swift" href="#/c:objc(cs)NSURLRequest">NSURLRequest</a> @@ -263,10 +278,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h#L173">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + <hr/> + <a name="/Validation"></a> + <a href="#/Validation"> + <h3 class="section-name">Validation</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Request"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a> @@ -276,10 +303,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -293,10 +321,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + <hr/> + <a name="/Upload"></a> + <a href="#/Upload"> + <h3 class="section-name">Upload</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Manager"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Manager">Manager</a> @@ -306,10 +346,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <p class="para">Responsible for creating and managing <code>Request</code> objects, as well as their underlying <code>NSURLSession</code>.</p> + <a href="Extensions/Manager.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -353,10 +394,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + <hr/> + <a name="/Download"></a> + <a href="#/Download"> + <h3 class="section-name">Download</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Manager"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Manager">Manager</a> @@ -366,10 +419,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <p class="para">Responsible for creating and managing <code>Request</code> objects, as well as their underlying <code>NSURLSession</code>.</p> + <a href="Extensions/Manager.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -396,10 +450,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -413,10 +468,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + <hr/> + <a name="/Printable"></a> + <a href="#/Printable"> + <h3 class="section-name">Printable</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Request"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a> @@ -426,10 +493,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -456,10 +524,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -473,10 +542,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + + <a name="/String"></a> + <a href="#/String"> + <h3 class="section-name">String</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Request"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a> @@ -486,10 +567,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -503,10 +585,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + + <a name="/JSON"></a> + <a href="#/JSON"> + <h3 class="section-name">JSON</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Request"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a> @@ -516,10 +610,11 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift"> @@ -533,10 +628,22 @@ <a href="https://github.com/Alamofire/Alamofire/blob/1.1.0/Source/Alamofire.swift#L522">Show on GitHub</a> </div> </section> </div> </li> + </ul> + </div> + <div class="task-group"> + <div class="task-name-container"> + + <a name="/Property%20List"></a> + <a href="#/Property%20List"> + <h3 class="section-name">Property List</h3> + </a> + + </div> + <ul class="task-group-list"> <li class="item symbol"> <div class="task-group-term"> <code> <a name="/s:C9Alamofire7Request"> <a class="x-instance-method Swift" href="#/s:C9Alamofire7Request">Request</a> @@ -546,9 +653,10 @@ <div class="pointy-thing-container"></div> <section class="section instance-method"> <div class="pointy-thing"></div> <div class="abstract"> <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> + <a href="Extensions/Request.html" class="see-more">See more</a> </div> <div class="declaration"> <h4>Declaration</h4> <div class="Swift">