Skip to content

Commit 104917c

Browse files
Merge pull request #13 from michaelbabiy/as/principals/michael/swift-6
Atom 4.0
2 parents 80715af + 74d331f commit 104917c

File tree

325 files changed

+10547
-29373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+10547
-29373
lines changed

Atom.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 47 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<title>Classes Reference</title>
4+
<title>Actors Reference</title>
55
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
66
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
77
<meta charset='utf-8'>
@@ -13,42 +13,36 @@
1313
<script src="js/jazzy.search.js" defer></script>
1414
</head>
1515
<body>
16-
<a name="//apple_ref/swift/Section/Classes" class="dashAnchor"></a>
17-
<a title="Classes Reference"></a>
16+
<a name="//apple_ref/swift/Section/Actors" class="dashAnchor"></a>
17+
<a title="Actors Reference"></a>
1818
<header>
1919
<div class="content-wrapper">
20-
<p><a href="index.html">Atom Docs</a> (98% documented)</p>
21-
<p class="header-right">
20+
<p><a href="index.html">AtomNetworking Docs</a> (100% documented)</p>
21+
<div class="header-right">
2222
<form role="search" action="search.json">
2323
<input type="text" placeholder="Search documentation" data-typeahead>
2424
</form>
25-
</p>
25+
</div>
2626
</div>
2727
</header>
2828
<div class="content-wrapper">
2929
<p id="breadcrumbs">
30-
<a href="index.html">Atom Reference</a>
31-
<img id="carat" src="img/carat.png" />
32-
Classes Reference
30+
<a href="index.html">AtomNetworking</a>
31+
<img id="carat" src="img/carat.png" alt=""/>
32+
Actors Reference
3333
</p>
3434
</div>
3535
<div class="content-wrapper">
3636
<nav class="sidebar">
3737
<ul class="nav-groups">
3838
<li class="nav-group-name">
39-
<a href="Classes.html">Classes</a>
39+
<a href="Actors.html">Actors</a>
4040
<ul class="nav-group-tasks">
4141
<li class="nav-group-task">
42-
<a href="Classes/Atom.html">Atom</a>
42+
<a href="Actors/Atom.html">Atom</a>
4343
</li>
4444
<li class="nav-group-task">
45-
<a href="Classes/Service.html">Service</a>
46-
</li>
47-
<li class="nav-group-task">
48-
<a href="Classes/ServiceConfiguration.html">ServiceConfiguration</a>
49-
</li>
50-
<li class="nav-group-task">
51-
<a href="Classes/ServiceConfiguration/Configuration.html">– Configuration</a>
45+
<a href="Actors/Service.html">Service</a>
5246
</li>
5347
</ul>
5448
</li>
@@ -61,12 +55,21 @@
6155
<li class="nav-group-task">
6256
<a href="Enums/AuthenticationMethod.html">AuthenticationMethod</a>
6357
</li>
58+
<li class="nav-group-task">
59+
<a href="Enums/BaseURLScheme.html">BaseURLScheme</a>
60+
</li>
61+
<li class="nav-group-task">
62+
<a href="Enums/GrantType.html">GrantType</a>
63+
</li>
6464
<li class="nav-group-task">
6565
<a href="Enums/HTTPMethod.html">HTTPMethod</a>
6666
</li>
6767
<li class="nav-group-task">
6868
<a href="Enums/RequestableError.html">RequestableError</a>
6969
</li>
70+
<li class="nav-group-task">
71+
<a href="Enums/SessionConfiguration.html">SessionConfiguration</a>
72+
</li>
7073
</ul>
7174
</li>
7275
<li class="nav-group-name">
@@ -78,9 +81,6 @@
7881
<li class="nav-group-task">
7982
<a href="Extensions.html#/s:10Foundation4DataV">Data</a>
8083
</li>
81-
<li class="nav-group-task">
82-
<a href="Extensions/URLRequest.html">URLRequest</a>
83-
</li>
8484
<li class="nav-group-task">
8585
<a href="Extensions/URLResponse.html">URLResponse</a>
8686
</li>
@@ -102,7 +102,7 @@
102102
<a href="Protocols/ClientCredentialConvertible.html">ClientCredentialConvertible</a>
103103
</li>
104104
<li class="nav-group-task">
105-
<a href="Protocols.html#/s:4Atom5ModelP">Model</a>
105+
<a href="Protocols.html#/s:14AtomNetworking5ModelP">Model</a>
106106
</li>
107107
<li class="nav-group-task">
108108
<a href="Protocols/Requestable.html">Requestable</a>
@@ -127,24 +127,24 @@
127127
<li class="nav-group-task">
128128
<a href="Structs/BaseURL.html">BaseURL</a>
129129
</li>
130-
<li class="nav-group-task">
131-
<a href="Structs/BaseURL/Scheme.html">– Scheme</a>
132-
</li>
133130
<li class="nav-group-task">
134131
<a href="Structs/BasicCredential.html">BasicCredential</a>
135132
</li>
136133
<li class="nav-group-task">
137134
<a href="Structs/ClientCredential.html">ClientCredential</a>
138135
</li>
139-
<li class="nav-group-task">
140-
<a href="Structs/ClientCredential/GrantType.html">– GrantType</a>
141-
</li>
142136
<li class="nav-group-task">
143137
<a href="Structs/HeaderItem.html">HeaderItem</a>
144138
</li>
145139
<li class="nav-group-task">
146140
<a href="Structs/QueryItem.html">QueryItem</a>
147141
</li>
142+
<li class="nav-group-task">
143+
<a href="Structs/ServiceConfiguration.html">ServiceConfiguration</a>
144+
</li>
145+
<li class="nav-group-task">
146+
<a href="Structs/ServiceTimeout.html">ServiceTimeout</a>
147+
</li>
148148
<li class="nav-group-task">
149149
<a href="Structs/TokenCredential.html">TokenCredential</a>
150150
</li>
@@ -158,8 +158,8 @@
158158
<article class="main-content">
159159
<section>
160160
<section class="section">
161-
<h1>Classes</h1>
162-
<p>The following classes are available globally.</p>
161+
<h1>Actors</h1>
162+
<p>The following actors are available globally.</p>
163163

164164
</section>
165165
<section class="section task-group-section">
@@ -168,9 +168,9 @@ <h1>Classes</h1>
168168
<li class="item">
169169
<div>
170170
<code>
171-
<a name="/s:4AtomAAC"></a>
172-
<a name="//apple_ref/swift/Class/Atom" class="dashAnchor"></a>
173-
<a class="token" href="#/s:4AtomAAC">Atom</a>
171+
<a name="/s:14AtomNetworking0A0C"></a>
172+
<a name="//apple_ref/swift/Actor/Atom" class="dashAnchor"></a>
173+
<a class="token" href="#/s:14AtomNetworking0A0C">Atom</a>
174174
</code>
175175
</div>
176176
<div class="height-container">
@@ -180,13 +180,13 @@ <h1>Classes</h1>
180180
<div class="abstract">
181181
<p>The lightweight &amp; delightful networking library.</p>
182182

183-
<a href="Classes/Atom.html" class="slightly-smaller">See more</a>
183+
<a href="Actors/Atom.html" class="slightly-smaller">See more</a>
184184
</div>
185185
<div class="declaration">
186186
<h4>Declaration</h4>
187187
<div class="language">
188188
<p class="aside-title">Swift</p>
189-
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">Atom</span></code></pre>
189+
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">actor</span> <span class="kt">Atom</span> <span class="p">:</span> <span class="kt">Sendable</span></code></pre>
190190

191191
</div>
192192
</div>
@@ -196,59 +196,30 @@ <h4>Declaration</h4>
196196
<li class="item">
197197
<div>
198198
<code>
199-
<a name="/s:4Atom7ServiceC"></a>
200-
<a name="//apple_ref/swift/Class/Service" class="dashAnchor"></a>
201-
<a class="token" href="#/s:4Atom7ServiceC">Service</a>
199+
<a name="/s:14AtomNetworking7ServiceC"></a>
200+
<a name="//apple_ref/swift/Actor/Service" class="dashAnchor"></a>
201+
<a class="token" href="#/s:14AtomNetworking7ServiceC">Service</a>
202202
</code>
203203
</div>
204204
<div class="height-container">
205205
<div class="pointer-container"></div>
206206
<section class="section">
207207
<div class="pointer"></div>
208208
<div class="abstract">
209-
<p><code>Service</code> is a public facing class responsible for managing
210-
<code>URLSession</code> configuration, network calls, and decoding instances of a
211-
data type into internal models.</p>
212-
213-
<p><code>Service</code> is available through the <code><a href="Classes/Atom.html">Atom</a></code> instance only and cannot be
214-
initialized dirrectly. This behavior is intentional to allow for better separation
215-
of responsibilities such as creating a request, network call, and data decoding.</p>
209+
<p><code>Service</code> is a public facing class responsible for managing <code>URLSession</code> configuration,
210+
network calls, and decoding instances of a data type into internal models.</p>
216211

217-
<a href="Classes/Service.html" class="slightly-smaller">See more</a>
218-
</div>
219-
<div class="declaration">
220-
<h4>Declaration</h4>
221-
<div class="language">
222-
<p class="aside-title">Swift</p>
223-
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">Service</span></code></pre>
224-
225-
</div>
226-
</div>
227-
</section>
228-
</div>
229-
</li>
230-
<li class="item">
231-
<div>
232-
<code>
233-
<a name="/s:4Atom20ServiceConfigurationC"></a>
234-
<a name="//apple_ref/swift/Class/ServiceConfiguration" class="dashAnchor"></a>
235-
<a class="token" href="#/s:4Atom20ServiceConfigurationC">ServiceConfiguration</a>
236-
</code>
237-
</div>
238-
<div class="height-container">
239-
<div class="pointer-container"></div>
240-
<section class="section">
241-
<div class="pointer"></div>
242-
<div class="abstract">
243-
<p>Model object representing Service configuration.</p>
212+
<p><code>Service</code> is available through the <code><a href="Actors/Atom.html">Atom</a></code> instance only and cannot be initialized dirrectly. This
213+
behavior is intentional to allow for better separation of responsibilities such as creating a request,
214+
network call, and data decoding.</p>
244215

245-
<a href="Classes/ServiceConfiguration.html" class="slightly-smaller">See more</a>
216+
<a href="Actors/Service.html" class="slightly-smaller">See more</a>
246217
</div>
247218
<div class="declaration">
248219
<h4>Declaration</h4>
249220
<div class="language">
250221
<p class="aside-title">Swift</p>
251-
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">ServiceConfiguration</span></code></pre>
222+
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">actor</span> <span class="kt">Service</span> <span class="p">:</span> <span class="kt">Sendable</span></code></pre>
252223

253224
</div>
254225
</div>
@@ -260,11 +231,10 @@ <h4>Declaration</h4>
260231
</section>
261232
</section>
262233
<section id="footer">
263-
<p>&copy; 2020 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2020-12-21)</p>
264-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
234+
<p>&copy; 2025 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2025-01-13)</p>
235+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
265236
</section>
266237
</article>
267238
</div>
268239
</body>
269-
</div>
270240
</html>

0 commit comments

Comments
 (0)