Skip to content

Commit

Permalink
Updated the docs.
Browse files Browse the repository at this point in the history
Added '@unchecked Sendable' to the hardcoded default image classes.
  • Loading branch information
ChrisMarshallNY committed Nov 14, 2024
1 parent 24361e8 commit 92e0bc6
Show file tree
Hide file tree
Showing 22 changed files with 181 additions and 216 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# RVS_Checkbox Change Log
## 2.0.2

- **November 14, 2024**

- Added `@unchecked Sendable` to the hardcoded image classes.

## 2.0.1

- **January 6, 2024**
Expand Down
8 changes: 4 additions & 4 deletions Sources/RVS_Checkbox/RVS_Checkbox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ open class RVS_Checkbox: UISwitch {
This provides a base class for the three images to be used as switch elements.
The default uses code-drawn images that render in template mode, and use the tint color.
*/
class RVS_Checkbox_Image: UIImage {
class RVS_Checkbox_Image: UIImage, @unchecked Sendable {
/* ################################################################################################################################## */
// MARK: - Instance Stored Properties -
/* ################################################################################################################################## */
Expand Down Expand Up @@ -113,7 +113,7 @@ open class RVS_Checkbox: UISwitch {
/**
This is the "clear" (blank circle) image. In a two-state checkbox, it is also the "Off" value image.
*/
class RVS_Checkbox_Image_Clear: RVS_Checkbox_Image {
class RVS_Checkbox_Image_Clear: RVS_Checkbox_Image, @unchecked Sendable {
/* ################################################################## */
/**
This supplies a rendered image. It will use the myFillColor.
Expand All @@ -135,7 +135,7 @@ open class RVS_Checkbox: UISwitch {
/**
This is the "Checked," or "√" image. In a two-state checkbox, it is also the "On" value image.
*/
class RVS_Checkbox_Image_On: RVS_Checkbox_Image {
class RVS_Checkbox_Image_On: RVS_Checkbox_Image, @unchecked Sendable {
/* ################################################################## */
/**
This supplies a rendered image. It will use the myFillColor.
Expand Down Expand Up @@ -210,7 +210,7 @@ open class RVS_Checkbox: UISwitch {
/**
This is the "Unchecked," or "X" image. In a two-state checkbox, it is ignored.
*/
class RVS_Checkbox_Image_Off: RVS_Checkbox_Image {
class RVS_Checkbox_Image_Off: RVS_Checkbox_Image, @unchecked Sendable {
/* ################################################################## */
/**
This supplies a rendered image. It will use the myFillColor.
Expand Down
9 changes: 5 additions & 4 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</header>

<p class="breadcrumbs">
<a class="breadcrumb" href="index.html">RVS_Checkbox Reference</a>
<a class="breadcrumb" href="index.html">RVS_Checkbox</a>
<img class="carat" src="img/carat.png" alt=""/>
Classes Reference
</p>
Expand Down Expand Up @@ -115,7 +115,8 @@ <h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@IBDesignable</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">RVS_Checkbox</span> <span class="p">:</span> <span class="kt">UIControl</span></code></pre>
<span class="kd">@MainActor</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">RVS_Checkbox</span> <span class="p">:</span> <span class="kt">UISwitch</span></code></pre>

</div>
</div>
Expand All @@ -130,8 +131,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2022 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2022-05-31)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
<p>&copy; 2024 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2024-11-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</body>
</html>
135 changes: 52 additions & 83 deletions docs/Classes/RVS_Checkbox.html

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions docs/Classes/RVS_Checkbox/States.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
</header>

<p class="breadcrumbs">
<a class="breadcrumb" href="../../index.html">RVS_Checkbox Reference</a>
<a class="breadcrumb" href="../../index.html">RVS_Checkbox</a>
<img class="carat" src="../../img/carat.png" alt=""/>
<a class="breadcrumb" href="../../Classes.html">Classes</a>
<img class="carat" src="../../img/carat.png" alt=""/>
<a class="breadcrumb" href="../../Classes/RVS_Checkbox.html">RVS_Checkbox</a>
<img class="carat" src="../../img/carat.png" alt=""/>
States Enumeration Reference
</p>
Expand Down Expand Up @@ -173,8 +177,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2022 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2022-05-31)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
<p>&copy; 2024 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2024-11-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</body>
</html>
9 changes: 5 additions & 4 deletions docs/css/jazzy.css
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,11 @@ pre code {
padding-left: 3px;
margin-left: 20px;
font-size: 1rem; }
.item .declaration-note {
font-size: .85em;
color: #808080;
font-style: italic; }

.declaration-note {
font-size: .85em;
color: #808080;
font-style: italic; }

.pointer-container {
border-bottom: 1px solid #ddd;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</header>

<p class="breadcrumbs">
<a class="breadcrumb" href="index.html">RVS_Checkbox Reference</a>
<a class="breadcrumb" href="index.html">RVS_Checkbox</a>
<img class="carat" src="img/carat.png" alt=""/>
Classes Reference
</p>
Expand Down Expand Up @@ -115,7 +115,8 @@ <h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@IBDesignable</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">RVS_Checkbox</span> <span class="p">:</span> <span class="kt">UIControl</span></code></pre>
<span class="kd">@MainActor</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">RVS_Checkbox</span> <span class="p">:</span> <span class="kt">UISwitch</span></code></pre>

</div>
</div>
Expand All @@ -130,8 +131,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2022 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2022-05-31)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
<p>&copy; 2024 <a class="link" href="https://riftvalleysoftware.com" target="_blank" rel="external noopener">The Great Rift Valley Software Company</a>. All rights reserved. (Last updated: 2024-11-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
</section>
</body>
</html>
Loading

0 comments on commit 92e0bc6

Please sign in to comment.