From 133c6b9a9c673786d0de797a1dc18d00329dbae6 Mon Sep 17 00:00:00 2001 From: Roman Podymov Date: Sun, 31 Mar 2024 19:54:24 +0200 Subject: [PATCH] CASwitch --- Package.swift | 2 +- Sources/CommonAppleKit/CommonAppleKit.swift | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 6cac61c..e43f60c 100644 --- a/Package.swift +++ b/Package.swift @@ -8,7 +8,7 @@ let package = Package( platforms: [ .iOS(.v12), .tvOS(.v12), - .macOS(.v10_13) + .macOS(.v10_15) ], products: [ diff --git a/Sources/CommonAppleKit/CommonAppleKit.swift b/Sources/CommonAppleKit/CommonAppleKit.swift index 5033276..dcf78f4 100644 --- a/Sources/CommonAppleKit/CommonAppleKit.swift +++ b/Sources/CommonAppleKit/CommonAppleKit.swift @@ -48,6 +48,7 @@ public typealias CAStackView = UIStackView public typealias CAImageView = UIImageView public typealias CAEvent = UIEvent + public typealias CASwitch = UISwitch public extension CALabel { var stringValue: String { @@ -163,6 +164,7 @@ public typealias CAStackView = NSStackView public typealias CAImageView = NSImageView public typealias CAEvent = NSEvent + public typealias CASwitch = NSSwitch public extension CAImage { @available(macOS 11.0, *)