From e7b97e09bc18850bff66f22f24579e7ba4baf58c Mon Sep 17 00:00:00 2001 From: Sophia Date: Tue, 20 Jul 2021 13:54:16 -0700 Subject: [PATCH] added annotation to silence xcode 13 beta 3 errors https://github.com/Skyscanner/SkyFloatingLabelTextField/issues/331 --- Sources/SkyFloatingLabelTextField.swift | 1 + Sources/SkyFloatingLabelTextFieldWithIcon.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/SkyFloatingLabelTextField.swift b/Sources/SkyFloatingLabelTextField.swift index e7afae3c..40b44365 100644 --- a/Sources/SkyFloatingLabelTextField.swift +++ b/Sources/SkyFloatingLabelTextField.swift @@ -25,6 +25,7 @@ public enum ErrorMessagePlacement { A beautiful and flexible textfield implementation with support for title label, error message and placeholder. */ @IBDesignable +@available(iOSApplicationExtension, unavailable) open class SkyFloatingLabelTextField: UITextField { // swiftlint:disable:this type_body_length /** A Boolean value that determines if the language displayed is LTR. diff --git a/Sources/SkyFloatingLabelTextFieldWithIcon.swift b/Sources/SkyFloatingLabelTextFieldWithIcon.swift index 8bcc9da9..239b0b37 100644 --- a/Sources/SkyFloatingLabelTextFieldWithIcon.swift +++ b/Sources/SkyFloatingLabelTextFieldWithIcon.swift @@ -24,6 +24,7 @@ public enum IconType: Int { /** A beautiful and flexible textfield implementation with support for icon, title label, error message and placeholder. */ +@available(iOSApplicationExtension, unavailable) open class SkyFloatingLabelTextFieldWithIcon: SkyFloatingLabelTextField { @IBInspectable