diff --git a/CHANGELOG.md b/CHANGELOG.md index a3cb9f8..4df2afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/Sources/RVS_Checkbox/RVS_Checkbox.swift b/Sources/RVS_Checkbox/RVS_Checkbox.swift index 03d17ff..706d03e 100644 --- a/Sources/RVS_Checkbox/RVS_Checkbox.swift +++ b/Sources/RVS_Checkbox/RVS_Checkbox.swift @@ -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 - /* ################################################################################################################################## */ @@ -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. @@ -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. @@ -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. diff --git a/docs/Classes.html b/docs/Classes.html index e2a6117..31e9439 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -42,7 +42,7 @@
@@ -115,7 +115,8 @@Swift
@IBDesignable
-open class RVS_Checkbox : UIControl
+@MainActor
+open class RVS_Checkbox : UISwitch