Build Information
Failed to build FloatingTextField, reference dev (ceca7b
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 23:21:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
| `- error: 'Font' is only available in macOS 10.15 or newer
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:61:22: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
62 | focusedBorderColor: Color = .gray,
63 | cornerRadius: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:62:29: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
62 | focusedBorderColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
63 | cornerRadius: CGFloat = .zero,
64 | placeholderBottomPadding: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:66:19: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
64 | placeholderBottomPadding: CGFloat = .zero,
65 | disabled: Bool = false,
66 | leftView: AnyView? = nil,
| `- error: 'AnyView' is only available in macOS 10.15 or newer
67 | rightView: AnyView? = nil
68 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:67:20: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
65 | disabled: Bool = false,
66 | leftView: AnyView? = nil,
67 | rightView: AnyView? = nil
| `- error: 'AnyView' is only available in macOS 10.15 or newer
68 | ) {
69 | self.isSecureTextEntry = isSecureTextEntry
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:56:30: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:57:36: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:58:34: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:59:23: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:61:31: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
62 | focusedBorderColor: Color = .gray,
63 | cornerRadius: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:62:38: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
62 | focusedBorderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
63 | cornerRadius: CGFloat = .zero,
64 | placeholderBottomPadding: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:10:45: error: 'ObservableObject' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:11:36: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration.placeholderColor = color
13 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:16:34: error: 'Font' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
14 | }
15 |
16 | func placeholderFont(_ font: Font) -> FloatingTextField {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | configuration.placeholderFont = font
18 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:21:23: error: 'Font' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
19 | }
20 |
21 | func font(_ font: Font) -> FloatingTextField {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
22 | configuration.font = font
23 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:26:31: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
24 | }
25 |
26 | func borderColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
27 | configuration.borderColor = color
28 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:51:29: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
49 | }
50 |
51 | func textColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | configuration.titleColor = color
53 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:61:44: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
59 | }
60 |
61 | func focusedBorderColor(_ borderColor: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
62 | configuration.focusedBorderColor = borderColor
63 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:66:22: error: 'View' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
68 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:66:29: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
68 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:71:23: error: 'View' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
73 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:71:30: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
73 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
35 | /// The top placeholder size.
36 | @State private var placeholderSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
37 | /// The text field size.
38 | @State private var textFieldSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
36 | @State private var placeholderSize: CGSize = .zero
37 | /// The text field size.
38 | @State private var textFieldSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
39 | /// The left view size.
40 | @State private var leftViewSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
38 | @State private var textFieldSize: CGSize = .zero
39 | /// The left view size.
40 | @State private var leftViewSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
41 |
42 | /// When focus moves to the view, the binding sets the bound value to true.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
41 |
42 | /// When focus moves to the view, the binding sets the bound value to true.
43 | @State private var isSelected = false
| `- error: 'State' is only available in macOS 10.15 or newer
44 | /// The text to display and edit.
45 | @Binding private var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:45:6: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
43 | @State private var isSelected = false
44 | /// The text to display and edit.
45 | @Binding private var text: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
46 | /// When focus moves to the view, the binding sets the bound value to true.
47 | @FocusState private var isFocused: Bool
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:47:6: error: 'FocusState' is only available in macOS 12.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
45 | @Binding private var text: String
46 | /// When focus moves to the view, the binding sets the bound value to true.
47 | @FocusState private var isFocused: Bool
| `- error: 'FocusState' is only available in macOS 12.0 or newer
48 | /// The text field configuratuion.
49 | @ObservedObject var configuration = FloatingTextFieldConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
47 | @FocusState private var isFocused: Bool
48 | /// The text field configuratuion.
49 | @ObservedObject var configuration = FloatingTextFieldConfiguration()
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 | /// A bool value that indicates whether the placeholder is shown or not.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:70:25: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
68 | /// - text: The text to display and edit.
69 | /// - placeholder: The title of the text view, describing its purpose.
70 | public init(_ text: Binding<String>, placeholder: String) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
71 | _text = text
72 | self.placeholder = placeholder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:77:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:115:42: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:122:39: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
124 | .foregroundColor(configuration.placeholderColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:128:35: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:137:33: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:146:35: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:160:32: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
158 | }
159 |
160 | private var leftView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
161 | configuration.leftView.map { $0 }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:164:33: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
162 | }
163 |
164 | private var rightView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
165 | configuration.rightView.map { $0 }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:194:35: error: 'View' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
[4/7] Compiling FloatingTextField FloatingTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
35 | /// The top placeholder size.
36 | @State private var placeholderSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
37 | /// The text field size.
38 | @State private var textFieldSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:38:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
36 | @State private var placeholderSize: CGSize = .zero
37 | /// The text field size.
38 | @State private var textFieldSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
39 | /// The left view size.
40 | @State private var leftViewSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
38 | @State private var textFieldSize: CGSize = .zero
39 | /// The left view size.
40 | @State private var leftViewSize: CGSize = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
41 |
42 | /// When focus moves to the view, the binding sets the bound value to true.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
41 |
42 | /// When focus moves to the view, the binding sets the bound value to true.
43 | @State private var isSelected = false
| `- error: 'State' is only available in macOS 10.15 or newer
44 | /// The text to display and edit.
45 | @Binding private var text: String
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:45:6: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
43 | @State private var isSelected = false
44 | /// The text to display and edit.
45 | @Binding private var text: String
| `- error: 'Binding' is only available in macOS 10.15 or newer
46 | /// When focus moves to the view, the binding sets the bound value to true.
47 | @FocusState private var isFocused: Bool
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:47:6: error: 'FocusState' is only available in macOS 12.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
45 | @Binding private var text: String
46 | /// When focus moves to the view, the binding sets the bound value to true.
47 | @FocusState private var isFocused: Bool
| `- error: 'FocusState' is only available in macOS 12.0 or newer
48 | /// The text field configuratuion.
49 | @ObservedObject var configuration = FloatingTextFieldConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:49:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
47 | @FocusState private var isFocused: Bool
48 | /// The text field configuratuion.
49 | @ObservedObject var configuration = FloatingTextFieldConfiguration()
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
50 |
51 | /// A bool value that indicates whether the placeholder is shown or not.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:56:30: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:57:36: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:58:34: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:59:23: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:61:31: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
62 | focusedBorderColor: Color = .gray,
63 | cornerRadius: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:62:38: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
62 | focusedBorderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
63 | cornerRadius: CGFloat = .zero,
64 | placeholderBottomPadding: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:70:25: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
68 | /// - text: The text to display and edit.
69 | /// - placeholder: The title of the text view, describing its purpose.
70 | public init(_ text: Binding<String>, placeholder: String) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
71 | _text = text
72 | self.placeholder = placeholder
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:77:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:115:42: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:122:39: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
124 | .foregroundColor(configuration.placeholderColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:128:35: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:137:33: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:146:35: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:160:32: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
158 | }
159 |
160 | private var leftView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
161 | configuration.leftView.map { $0 }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:164:33: error: 'View' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
162 | }
163 |
164 | private var rightView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
165 | configuration.rightView.map { $0 }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:194:35: error: 'View' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:78:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:78:24: warning: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
| |- warning: conformance of 'RoundedRectangle' to 'InsettableShape' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:78:24: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:79:13: error: 'VStack' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | ZStack(alignment: .leading) {
81 | topPlaceholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:79:32: error: 'leading' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | ZStack(alignment: .leading) {
81 | topPlaceholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:80:17: error: 'ZStack' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | topPlaceholderView
82 | .background(BackgroundGeometryReader(size: $placeholderSize))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:80:36: error: 'leading' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | topPlaceholderView
82 | .background(BackgroundGeometryReader(size: $placeholderSize))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:82:26: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
80 | ZStack(alignment: .leading) {
81 | topPlaceholderView
82 | .background(BackgroundGeometryReader(size: $placeholderSize))
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .opacity(isTopPlaceholderVisible ? 1 : .zero)
84 | .offset(x: leftSideOffset, y: isTopPlaceholderVisible ? -offset(for: placeholderSize) : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:83:26: error: 'opacity' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
81 | topPlaceholderView
82 | .background(BackgroundGeometryReader(size: $placeholderSize))
83 | .opacity(isTopPlaceholderVisible ? 1 : .zero)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | .offset(x: leftSideOffset, y: isTopPlaceholderVisible ? -offset(for: placeholderSize) : .zero)
85 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:84:26: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
82 | .background(BackgroundGeometryReader(size: $placeholderSize))
83 | .opacity(isTopPlaceholderVisible ? 1 : .zero)
84 | .offset(x: leftSideOffset, y: isTopPlaceholderVisible ? -offset(for: placeholderSize) : .zero)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 |
86 | HStack(alignment: .center, spacing: .spacing) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:86:21: error: 'HStack' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
84 | .offset(x: leftSideOffset, y: isTopPlaceholderVisible ? -offset(for: placeholderSize) : .zero)
85 |
86 | HStack(alignment: .center, spacing: .spacing) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | leftView
88 | .background(BackgroundGeometryReader(size: $leftViewSize))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:86:40: error: 'center' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
84 | .offset(x: leftSideOffset, y: isTopPlaceholderVisible ? -offset(for: placeholderSize) : .zero)
85 |
86 | HStack(alignment: .center, spacing: .spacing) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | leftView
88 | .background(BackgroundGeometryReader(size: $leftViewSize))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:88:30: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
86 | HStack(alignment: .center, spacing: .spacing) {
87 | leftView
88 | .background(BackgroundGeometryReader(size: $leftViewSize))
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | contentView
90 | .background(BackgroundGeometryReader(size: $textFieldSize))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:90:30: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
88 | .background(BackgroundGeometryReader(size: $leftViewSize))
89 | contentView
90 | .background(BackgroundGeometryReader(size: $textFieldSize))
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | .offset(y: isTopPlaceholderVisible ? offset(for: textFieldSize) : .zero)
92 | rightView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:91:30: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
89 | contentView
90 | .background(BackgroundGeometryReader(size: $textFieldSize))
91 | .offset(y: isTopPlaceholderVisible ? offset(for: textFieldSize) : .zero)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | rightView
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:96:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
94 | }
95 | }
96 | .onChange(of: isFocused) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
97 | withAnimation(.easeInOut(duration: .animationDuration)) {
98 | isSelected = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:97:17: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
95 | }
96 | .onChange(of: isFocused) { newValue in
97 | withAnimation(.easeInOut(duration: .animationDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | isSelected = newValue
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:97:32: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
95 | }
96 | .onChange(of: isFocused) { newValue in
97 | withAnimation(.easeInOut(duration: .animationDuration)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | isSelected = newValue
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:98:21: error: setter for 'isSelected' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
96 | .onChange(of: isFocused) { newValue in
97 | withAnimation(.easeInOut(duration: .animationDuration)) {
98 | isSelected = newValue
| |- error: setter for 'isSelected' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:101:14: error: 'padding' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
99 | }
100 | }
101 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | .frame(maxHeight: geometry.size.height)
103 | .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:102:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
100 | }
101 | .padding()
102 | .frame(maxHeight: geometry.size.height)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | .overlay(
104 | RoundedRectangle(cornerRadius: configuration.cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:103:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
101 | .padding()
102 | .frame(maxHeight: geometry.size.height)
103 | .overlay(
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | RoundedRectangle(cornerRadius: configuration.cornerRadius)
105 | .strokeBorder(
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:104:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
102 | .frame(maxHeight: geometry.size.height)
103 | .overlay(
104 | RoundedRectangle(cornerRadius: configuration.cornerRadius)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | .strokeBorder(
106 | isSelected ? configuration.borderColor : configuration.focusedBorderColor,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:105:22: error: 'strokeBorder(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
75 | // MARK: View
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | GeometryReader { geometry in
79 | VStack(alignment: .leading, spacing: .zero) {
:
103 | .overlay(
104 | RoundedRectangle(cornerRadius: configuration.cornerRadius)
105 | .strokeBorder(
| |- error: 'strokeBorder(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
106 | isSelected ? configuration.borderColor : configuration.focusedBorderColor,
107 | lineWidth: configuration.borderWidth
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:116:9: error: 'Text' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | .font(configuration.placeholderFont)
118 | .foregroundColor(configuration.placeholderColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:117:14: error: 'font' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .foregroundColor(configuration.placeholderColor)
119 | .frame(alignment: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:118:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
118 | .foregroundColor(configuration.placeholderColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .frame(alignment: .leading)
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:119:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
118 | .foregroundColor(configuration.placeholderColor)
119 | .frame(alignment: .leading)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:119:32: error: 'leading' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
113 | // MARK: Private
114 |
115 | private var topPlaceholderView: some View {
| `- note: add @available attribute to enclosing property
116 | Text(placeholder)
117 | .font(configuration.placeholderFont)
118 | .foregroundColor(configuration.placeholderColor)
119 | .frame(alignment: .leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:125:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
124 | .foregroundColor(configuration.placeholderColor)
125 | .font(configuration.font)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:123:9: error: 'Text' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | .foregroundColor(configuration.placeholderColor)
125 | .font(configuration.font)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:124:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
124 | .foregroundColor(configuration.placeholderColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | .font(configuration.font)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:125:14: error: 'font' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
120 | }
121 |
122 | private var placeholderView: some View {
| `- note: add @available attribute to enclosing property
123 | Text(placeholder)
124 | .foregroundColor(configuration.placeholderColor)
125 | .font(configuration.font)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:129:9: error: 'SecureField' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
| |- error: 'SecureField' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:129:9: error: 'init(_:text:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
| |- error: 'init(_:text:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:129:47: error: 'animation' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:130:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
131 | .multilineTextAlignment(.leading)
132 | .font(configuration.font)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:131:14: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
132 | .font(configuration.font)
133 | .focused($isFocused)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:132:14: error: 'font' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
132 | .font(configuration.font)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
133 | .focused($isFocused)
134 | .disabled(configuration.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:133:14: error: 'focused' is only available in macOS 12.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
131 | .multilineTextAlignment(.leading)
132 | .font(configuration.font)
133 | .focused($isFocused)
| |- error: 'focused' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
134 | .disabled(configuration.disabled)
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:134:14: error: 'disabled' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
126 | }
127 |
128 | private var secureField: some View {
| `- note: add @available attribute to enclosing property
129 | SecureField(String.empty, text: $text.animation())
130 | .foregroundColor(configuration.titleColor)
:
132 | .font(configuration.font)
133 | .focused($isFocused)
134 | .disabled(configuration.disabled)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:138:9: error: 'TextField' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
| |- error: 'TextField' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:138:9: error: 'init(_:text:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
| |- error: 'init(_:text:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:138:45: error: 'animation' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:139:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | .multilineTextAlignment(.leading)
141 | .font(configuration.font)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:140:14: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | .font(configuration.font)
142 | .focused($isFocused)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:141:14: error: 'font' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
141 | .font(configuration.font)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .focused($isFocused)
143 | .disabled(configuration.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:142:14: error: 'focused' is only available in macOS 12.0 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
140 | .multilineTextAlignment(.leading)
141 | .font(configuration.font)
142 | .focused($isFocused)
| |- error: 'focused' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
143 | .disabled(configuration.disabled)
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:143:14: error: 'disabled' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
135 | }
136 |
137 | private var textField: some View {
| `- note: add @available attribute to enclosing property
138 | TextField(String.empty, text: $text.animation())
139 | .foregroundColor(configuration.titleColor)
:
141 | .font(configuration.font)
142 | .focused($isFocused)
143 | .disabled(configuration.disabled)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:147:9: error: 'ZStack' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | if !isTopPlaceholderVisible {
149 | placeholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:147:28: error: 'leading' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | if !isTopPlaceholderVisible {
149 | placeholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:148:41: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | placeholderView
150 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:150:13: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
149 | placeholderView
150 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
151 |
152 | if configuration.isSecureTextEntry {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:152:48: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
:
150 | }
151 |
152 | if configuration.isSecureTextEntry {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
153 | secureField
154 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:154:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
148 | if !isTopPlaceholderVisible {
:
152 | if configuration.isSecureTextEntry {
153 | secureField
154 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | textField
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:147:37: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
148 | if !isTopPlaceholderVisible {
149 | placeholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:147:37: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
144 | }
145 |
146 | private var contentView: some View {
| `- note: add @available attribute to enclosing property
147 | ZStack(alignment: .leading) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
148 | if !isTopPlaceholderVisible {
149 | placeholderView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:161:32: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
158 | }
159 |
160 | private var leftView: some View {
| `- note: add @available attribute to enclosing property
161 | configuration.leftView.map { $0 }
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
162 | }
163 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:165:33: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// }
31 | /// ```
32 | public struct FloatingTextField: View {
| `- note: add @available attribute to enclosing struct
33 | // MARK: Properties
34 |
:
162 | }
163 |
164 | private var rightView: some View {
| `- note: add @available attribute to enclosing property
165 | configuration.rightView.map { $0 }
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
166 | }
167 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:195:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
197 | .borderWidth(1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:195:13: error: 'ForEach' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
197 | .borderWidth(1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:195:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
197 | .borderWidth(1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:195:21: error: 'ColorScheme' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
| |- error: 'ColorScheme' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
197 | .borderWidth(1)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:199:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
197 | .borderWidth(1)
198 | .cornerRadius(12)
199 | .frame(height: 60.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
200 | .preferredColorScheme($0)
201 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:200:22: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
:
198 | .cornerRadius(12)
199 | .frame(height: 60.0)
200 | .preferredColorScheme($0)
| |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
201 |
202 | FloatingTextField(.constant("text"), placeholder: "placeholder")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:205:42: error: 'gray' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
:
203 | .borderWidth(1)
204 | .cornerRadius(12)
205 | .focusedBorderColor(.gray)
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
206 | .frame(height: 60.0)
207 | .preferredColorScheme($0)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:206:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
:
204 | .cornerRadius(12)
205 | .focusedBorderColor(.gray)
206 | .frame(height: 60.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
207 | .preferredColorScheme($0)
208 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:207:22: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
:
205 | .focusedBorderColor(.gray)
206 | .frame(height: 60.0)
207 | .preferredColorScheme($0)
| |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
208 | }
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField.swift:194:40: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
191 | #if DEBUG
192 | // swiftlint:disable:next type_name
193 | struct FloatingTextField_Preview: PreviewProvider {
| `- note: add @available attribute to enclosing struct
194 | static var previews: some View {
| | |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing static property
195 | ForEach(ColorScheme.allCases, id: \.self) {
196 | FloatingTextField(.constant(""), placeholder: "placeholder")
[5/7] Compiling FloatingTextField BackgroundGeometryReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
12 | @Binding var size: CGSize
| `- error: 'Binding' is only available in macOS 10.15 or newer
13 |
14 | // MARK: View
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
18 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:17:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Color.clear
19 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:18:13: error: 'Color' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
18 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .onAppear {
20 | size = geometry.size
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:18:19: error: 'clear' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
18 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .onAppear {
20 | size = geometry.size
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:19:18: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
18 | Color.clear
19 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | size = geometry.size
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Helpers/BackgroundGeometryReader.swift:20:21: error: setter for 'size' is only available in macOS 10.15 or newer
7 |
8 | // A view that reads the geometry of its parent view and updates a binding variable with its size.
9 | struct BackgroundGeometryReader: View {
| `- note: add @available attribute to enclosing struct
10 | // MARK: Properties
11 |
:
14 | // MARK: View
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | GeometryReader { geometry in
18 | Color.clear
19 | .onAppear {
20 | size = geometry.size
| |- error: setter for 'size' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | }
[6/7] Compiling FloatingTextField FloatingTextFieldConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
13 | /// Determines whether the text input is treated as a secure entry (e.g., for passwords).
14 | @Published var isSecureTextEntry: Bool
| `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 | /// The color of the title when the text field is in its default state.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:17:32: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
15 |
16 | /// The color of the title when the text field is in its default state.
17 | @Published var titleColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | /// The color of the placeholder text.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:17:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
15 |
16 | /// The color of the title when the text field is in its default state.
17 | @Published var titleColor: Color
| `- error: 'Published' is only available in macOS 10.15 or newer
18 |
19 | /// The color of the placeholder text.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:20:38: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
18 |
19 | /// The color of the placeholder text.
20 | @Published var placeholderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
21 |
22 | /// The font used for the placeholder text.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
18 |
19 | /// The color of the placeholder text.
20 | @Published var placeholderColor: Color
| `- error: 'Published' is only available in macOS 10.15 or newer
21 |
22 | /// The font used for the placeholder text.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:23:37: error: 'Font' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
21 |
22 | /// The font used for the placeholder text.
23 | @Published var placeholderFont: Font
| `- error: 'Font' is only available in macOS 10.15 or newer
24 |
25 | /// The font used for the text input.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
21 |
22 | /// The font used for the placeholder text.
23 | @Published var placeholderFont: Font
| `- error: 'Published' is only available in macOS 10.15 or newer
24 |
25 | /// The font used for the text input.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:26:26: error: 'Font' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
24 |
25 | /// The font used for the text input.
26 | @Published var font: Font
| `- error: 'Font' is only available in macOS 10.15 or newer
27 |
28 | /// The width of the text field's border.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:26:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
24 |
25 | /// The font used for the text input.
26 | @Published var font: Font
| `- error: 'Published' is only available in macOS 10.15 or newer
27 |
28 | /// The width of the text field's border.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
27 |
28 | /// The width of the text field's border.
29 | @Published var borderWidth: CGFloat
| `- error: 'Published' is only available in macOS 10.15 or newer
30 |
31 | /// The color of the text field's border.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:32:33: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
30 |
31 | /// The color of the text field's border.
32 | @Published var borderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
33 |
34 | /// The color of the text field's border when it is focused.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:32:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
30 |
31 | /// The color of the text field's border.
32 | @Published var borderColor: Color
| `- error: 'Published' is only available in macOS 10.15 or newer
33 |
34 | /// The color of the text field's border when it is focused.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:35:40: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
33 |
34 | /// The color of the text field's border when it is focused.
35 | @Published var focusedBorderColor: Color
| `- error: 'Color' is only available in macOS 10.15 or newer
36 |
37 | /// The corner radius of the text field's border.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:35:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
33 |
34 | /// The color of the text field's border when it is focused.
35 | @Published var focusedBorderColor: Color
| `- error: 'Published' is only available in macOS 10.15 or newer
36 |
37 | /// The corner radius of the text field's border.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
36 |
37 | /// The corner radius of the text field's border.
38 | @Published var cornerRadius: CGFloat
| `- error: 'Published' is only available in macOS 10.15 or newer
39 |
40 | /// The amount of padding beneath the placeholder text.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
39 |
40 | /// The amount of padding beneath the placeholder text.
41 | @Published var placeholderBottomPadding: CGFloat
| `- error: 'Published' is only available in macOS 10.15 or newer
42 |
43 | /// A flag to disable user interaction with the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
42 |
43 | /// A flag to disable user interaction with the text field.
44 | @Published var disabled: Bool
| `- error: 'Published' is only available in macOS 10.15 or newer
45 |
46 | /// A custom view to display on the left side of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:47:30: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
45 |
46 | /// A custom view to display on the left side of the text field.
47 | @Published var leftView: AnyView?
| `- error: 'AnyView' is only available in macOS 10.15 or newer
48 |
49 | /// A custom view to display on the right side of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:47:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
45 |
46 | /// A custom view to display on the left side of the text field.
47 | @Published var leftView: AnyView?
| `- error: 'Published' is only available in macOS 10.15 or newer
48 |
49 | /// A custom view to display on the right side of the text field.
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:50:31: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
48 |
49 | /// A custom view to display on the right side of the text field.
50 | @Published var rightView: AnyView?
| `- error: 'AnyView' is only available in macOS 10.15 or newer
51 |
52 | // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:50:6: error: 'Published' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
48 |
49 | /// A custom view to display on the right side of the text field.
50 | @Published var rightView: AnyView?
| `- error: 'Published' is only available in macOS 10.15 or newer
51 |
52 | // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:56:21: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:57:27: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:58:26: error: 'Font' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
| `- error: 'Font' is only available in macOS 10.15 or newer
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:59:15: error: 'Font' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
| `- error: 'Font' is only available in macOS 10.15 or newer
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:61:22: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
62 | focusedBorderColor: Color = .gray,
63 | cornerRadius: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:62:29: error: 'Color' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
62 | focusedBorderColor: Color = .gray,
| `- error: 'Color' is only available in macOS 10.15 or newer
63 | cornerRadius: CGFloat = .zero,
64 | placeholderBottomPadding: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:66:19: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
64 | placeholderBottomPadding: CGFloat = .zero,
65 | disabled: Bool = false,
66 | leftView: AnyView? = nil,
| `- error: 'AnyView' is only available in macOS 10.15 or newer
67 | rightView: AnyView? = nil
68 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:67:20: error: 'AnyView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
65 | disabled: Bool = false,
66 | leftView: AnyView? = nil,
67 | rightView: AnyView? = nil
| `- error: 'AnyView' is only available in macOS 10.15 or newer
68 | ) {
69 | self.isSecureTextEntry = isSecureTextEntry
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:56:30: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:57:36: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:58:34: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:59:23: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
57 | placeholderColor: Color = .gray,
58 | placeholderFont: Font = .system(size: 15),
59 | font: Font = .system(size: 15),
| `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:61:31: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
59 | font: Font = .system(size: 15),
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
62 | focusedBorderColor: Color = .gray,
63 | cornerRadius: CGFloat = .zero,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:62:38: error: 'gray' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
60 | borderWidth: CGFloat = .zero,
61 | borderColor: Color = .gray,
62 | focusedBorderColor: Color = .gray,
| `- error: 'gray' is only available in macOS 10.15 or newer
63 | cornerRadius: CGFloat = .zero,
64 | placeholderBottomPadding: CGFloat = .zero,
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Bool>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Color>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Color>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Font>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Font>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Font>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Font>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Color>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Color>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Color>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, CGFloat>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, CGFloat>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, Bool>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, Bool>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, AnyView?>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, AnyView?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<FloatingTextFieldConfiguration, AnyView?>' to expected argument type 'ReferenceWritableKeyPath<FloatingTextFieldConfiguration, AnyView?>'
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:10:45: error: 'ObservableObject' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:69:9: error: setter for 'isSecureTextEntry' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
67 | rightView: AnyView? = nil
68 | ) {
69 | self.isSecureTextEntry = isSecureTextEntry
| |- error: setter for 'isSecureTextEntry' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | self.titleColor = titleColor
71 | self.placeholderColor = placeholderColor
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:70:9: error: setter for 'titleColor' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
68 | ) {
69 | self.isSecureTextEntry = isSecureTextEntry
70 | self.titleColor = titleColor
| |- error: setter for 'titleColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | self.placeholderColor = placeholderColor
72 | self.placeholderFont = placeholderFont
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:71:9: error: setter for 'placeholderColor' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
69 | self.isSecureTextEntry = isSecureTextEntry
70 | self.titleColor = titleColor
71 | self.placeholderColor = placeholderColor
| |- error: setter for 'placeholderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | self.placeholderFont = placeholderFont
73 | self.font = font
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:72:9: error: setter for 'placeholderFont' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
70 | self.titleColor = titleColor
71 | self.placeholderColor = placeholderColor
72 | self.placeholderFont = placeholderFont
| |- error: setter for 'placeholderFont' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | self.font = font
74 | self.borderWidth = borderWidth
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:73:9: error: setter for 'font' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
71 | self.placeholderColor = placeholderColor
72 | self.placeholderFont = placeholderFont
73 | self.font = font
| |- error: setter for 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | self.borderWidth = borderWidth
75 | self.borderColor = borderColor
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:74:9: error: setter for 'borderWidth' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
72 | self.placeholderFont = placeholderFont
73 | self.font = font
74 | self.borderWidth = borderWidth
| |- error: setter for 'borderWidth' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | self.borderColor = borderColor
76 | self.focusedBorderColor = focusedBorderColor
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:75:9: error: setter for 'borderColor' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
73 | self.font = font
74 | self.borderWidth = borderWidth
75 | self.borderColor = borderColor
| |- error: setter for 'borderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | self.focusedBorderColor = focusedBorderColor
77 | self.cornerRadius = cornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:76:9: error: setter for 'focusedBorderColor' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
74 | self.borderWidth = borderWidth
75 | self.borderColor = borderColor
76 | self.focusedBorderColor = focusedBorderColor
| |- error: setter for 'focusedBorderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | self.cornerRadius = cornerRadius
78 | self.placeholderBottomPadding = placeholderBottomPadding
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:77:9: error: setter for 'cornerRadius' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
75 | self.borderColor = borderColor
76 | self.focusedBorderColor = focusedBorderColor
77 | self.cornerRadius = cornerRadius
| |- error: setter for 'cornerRadius' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | self.placeholderBottomPadding = placeholderBottomPadding
79 | self.disabled = disabled
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:78:9: error: setter for 'placeholderBottomPadding' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
76 | self.focusedBorderColor = focusedBorderColor
77 | self.cornerRadius = cornerRadius
78 | self.placeholderBottomPadding = placeholderBottomPadding
| |- error: setter for 'placeholderBottomPadding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | self.disabled = disabled
80 | self.leftView = leftView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:79:9: error: setter for 'disabled' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
77 | self.cornerRadius = cornerRadius
78 | self.placeholderBottomPadding = placeholderBottomPadding
79 | self.disabled = disabled
| |- error: setter for 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | self.leftView = leftView
81 | self.rightView = rightView
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:80:9: error: setter for 'leftView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
78 | self.placeholderBottomPadding = placeholderBottomPadding
79 | self.disabled = disabled
80 | self.leftView = leftView
| |- error: setter for 'leftView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | self.rightView = rightView
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/Models/FloatingTextFieldConfiguration.swift:81:9: error: setter for 'rightView' is only available in macOS 10.15 or newer
8 |
9 | /// A configuration class for defining the appearance and behavior of a `FloatingTextField`.
10 | final class FloatingTextFieldConfiguration: ObservableObject {
| `- note: add @available attribute to enclosing class
11 | // MARK: Properties
12 |
:
52 | // MARK: Initialization
53 |
54 | init(
| `- note: add @available attribute to enclosing initializer
55 | isSecureTextEntry: Bool = false,
56 | titleColor: Color = .gray,
:
79 | self.disabled = disabled
80 | self.leftView = leftView
81 | self.rightView = rightView
| |- error: setter for 'rightView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | }
83 | }
[7/7] Compiling FloatingTextField FloatingTextField+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:11:36: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration.placeholderColor = color
13 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:16:34: error: 'Font' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
14 | }
15 |
16 | func placeholderFont(_ font: Font) -> FloatingTextField {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | configuration.placeholderFont = font
18 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:21:23: error: 'Font' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
19 | }
20 |
21 | func font(_ font: Font) -> FloatingTextField {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
22 | configuration.font = font
23 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:26:31: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
24 | }
25 |
26 | func borderColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
27 | configuration.borderColor = color
28 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:51:29: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
49 | }
50 |
51 | func textColor(_ color: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
52 | configuration.titleColor = color
53 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:61:44: error: 'Color' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
59 | }
60 |
61 | func focusedBorderColor(_ borderColor: Color) -> FloatingTextField {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
62 | configuration.focusedBorderColor = borderColor
63 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:66:22: error: 'View' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
68 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:66:29: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
68 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:71:23: error: 'View' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
73 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:71:30: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
73 | return self
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:12:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
12 | configuration.placeholderColor = color
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | return self
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:12:9: error: setter for 'placeholderColor' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
12 | configuration.placeholderColor = color
| |- error: setter for 'placeholderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | return self
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:17:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
14 | }
15 |
16 | func placeholderFont(_ font: Font) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
17 | configuration.placeholderFont = font
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | return self
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:17:9: error: setter for 'placeholderFont' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
14 | }
15 |
16 | func placeholderFont(_ font: Font) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
17 | configuration.placeholderFont = font
| |- error: setter for 'placeholderFont' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | return self
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:22:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
19 | }
20 |
21 | func font(_ font: Font) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
22 | configuration.font = font
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | return self
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:22:9: error: setter for 'font' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
19 | }
20 |
21 | func font(_ font: Font) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
22 | configuration.font = font
| |- error: setter for 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | return self
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:27:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
24 | }
25 |
26 | func borderColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
27 | configuration.borderColor = color
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | return self
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:27:9: error: setter for 'borderColor' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
24 | }
25 |
26 | func borderColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
27 | configuration.borderColor = color
| |- error: setter for 'borderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | return self
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:32:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
29 | }
30 |
31 | func borderWidth(_ lineWidth: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
32 | configuration.borderWidth = lineWidth
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | return self
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:32:9: error: setter for 'borderWidth' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
29 | }
30 |
31 | func borderWidth(_ lineWidth: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
32 | configuration.borderWidth = lineWidth
| |- error: setter for 'borderWidth' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | return self
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:37:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
34 | }
35 |
36 | func cornerRadius(_ cornerRadius: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
37 | configuration.cornerRadius = cornerRadius
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | return self
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:37:9: error: setter for 'cornerRadius' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
34 | }
35 |
36 | func cornerRadius(_ cornerRadius: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
37 | configuration.cornerRadius = cornerRadius
| |- error: setter for 'cornerRadius' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | return self
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:42:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
39 | }
40 |
41 | func placeholderBottomPadding(_ padding: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
42 | configuration.placeholderBottomPadding = padding
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | return self
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:42:9: error: setter for 'placeholderBottomPadding' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
39 | }
40 |
41 | func placeholderBottomPadding(_ padding: CGFloat) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
42 | configuration.placeholderBottomPadding = padding
| |- error: setter for 'placeholderBottomPadding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | return self
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:47:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
44 | }
45 |
46 | func disabled(_ disabled: Bool) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
47 | configuration.disabled = disabled
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | return self
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:47:9: error: setter for 'disabled' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
44 | }
45 |
46 | func disabled(_ disabled: Bool) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
47 | configuration.disabled = disabled
| |- error: setter for 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | return self
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:52:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
49 | }
50 |
51 | func textColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
52 | configuration.titleColor = color
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | return self
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:52:9: error: setter for 'titleColor' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
49 | }
50 |
51 | func textColor(_ color: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
52 | configuration.titleColor = color
| |- error: setter for 'titleColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | return self
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:57:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
54 | }
55 |
56 | func isSecureTextEntry(_ isSecureTextEntry: Bool) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
57 | configuration.isSecureTextEntry = isSecureTextEntry
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | return self
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:57:9: error: setter for 'isSecureTextEntry' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
54 | }
55 |
56 | func isSecureTextEntry(_ isSecureTextEntry: Bool) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
57 | configuration.isSecureTextEntry = isSecureTextEntry
| |- error: setter for 'isSecureTextEntry' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | return self
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:62:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
59 | }
60 |
61 | func focusedBorderColor(_ borderColor: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
62 | configuration.focusedBorderColor = borderColor
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | return self
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:62:9: error: setter for 'focusedBorderColor' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
59 | }
60 |
61 | func focusedBorderColor(_ borderColor: Color) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
62 | configuration.focusedBorderColor = borderColor
| |- error: setter for 'focusedBorderColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | return self
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:67:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | return self
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:67:9: error: setter for 'leftView' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
| |- error: setter for 'leftView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | return self
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:67:34: error: 'AnyView' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
64 | }
65 |
66 | func leftView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
67 | configuration.leftView = AnyView(view())
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | return self
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:72:9: error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
| |- error: cannot pass as inout because setter for 'configuration' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | return self
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:72:9: error: setter for 'rightView' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
| |- error: setter for 'rightView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | return self
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTextField/Classes/UI/FloatingTextField+Configuration.swift:72:35: error: 'AnyView' is only available in macOS 10.15 or newer
8 | // MARK: - Extensions
9 |
10 | public extension FloatingTextField {
| `- note: add @available attribute to enclosing extension
11 | func placeholderColor(_ color: Color) -> FloatingTextField {
12 | configuration.placeholderColor = color
:
69 | }
70 |
71 | func rightView<V: View>(@ViewBuilder _ view: @escaping () -> V) -> FloatingTextField {
| `- note: add @available attribute to enclosing instance method
72 | configuration.rightView = AnyView(view())
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | return self
74 | }
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/FloatingTextFieldTests/SnapshotTests/__Snapshots__/FloatingTextFieldSnapshotTests/test_thatFloatingTextFieldShowsOnlyPlaceholder_whenTextIsEmpty.1.png
/Users/admin/builder/spi-builder-workspace/Tests/FloatingTextFieldTests/SnapshotTests/__Snapshots__/FloatingTextFieldSnapshotTests/test_thatFloatingTextFieldShowsCustomizedView_whenCustomStyleDidSet.1.png
/Users/admin/builder/spi-builder-workspace/Tests/FloatingTextFieldTests/SnapshotTests/__Snapshots__/FloatingTextFieldSnapshotTests/test_thatFloatingTextFieldShowsSecureField.1.png
/Users/admin/builder/spi-builder-workspace/Tests/FloatingTextFieldTests/SnapshotTests/__Snapshots__/FloatingTextFieldSnapshotTests/test_thatFloatingTextFieldShowsCompactedPlaceholder_whenTextIsNotEmpty.1.png
/Users/admin/builder/spi-builder-workspace/Tests/FloatingTextFieldTests/SnapshotTests/__Snapshots__/FloatingTextFieldSnapshotTests/test_thatFloatingTextFieldShowsCustomizedView.1.png
BUILD FAILURE 6.1 macosSpm