Build Information
Failed to build SwiftyFilters, reference 1.1.0 (cff313), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 21:56:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- 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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:14: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- warning: conformance of 'Group<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
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:62:10: error: 'navigationTitle' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
60 | }
61 | }
62 | .navigationTitle(node.title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:72:9: error: 'VStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | headerView(title: title, isActive: isActive, onReset: onReset)
74 | datePickerView(date: date, range: range)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:9: error: 'HStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- 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
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:81:18: error: 'bold()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:46: error: 'blue' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:54: error: 'black' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- warning: conformance of 'Spacer' 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
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: error: 'Spacer' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'Button' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'init(_:action:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:85:18: error: 'disabled' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
83 | Spacer()
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | }
87 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- warning: conformance of 'Spacer' 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:87:10: error: 'padding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
85 | .disabled(!isActive)
86 | }
87 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'DatePicker' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'DatePicker' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:14: error: 'datePickerStyle' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| |- error: 'datePickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .labelsHidden()
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:31: error: 'wheel' is unavailable in macOS
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| `- error: 'wheel' is unavailable in macOS
93 | .labelsHidden()
94 | }
SwiftUI.DatePickerStyle.wheel:2:46: note: 'wheel' has been explicitly marked unavailable here
1 | protocol DatePickerStyle {
2 | @MainActor @preconcurrency public static var wheel: WheelDatePickerStyle { get }}
| `- note: 'wheel' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:93:14: error: 'labelsHidden()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
| |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[58/60] Compiling SwiftyFilters SFFilterMultiSelectionViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
| `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |
36 | @Environment(\.dateString) private var dateString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:36:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
| `- error: 'Environment' is only available in macOS 10.15 or newer
37 | @Environment(\.resetString) private var resetString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:37:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
37 | @Environment(\.resetString) private var resetString
| `- error: 'Environment' is only available in macOS 10.15 or newer
38 |
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:40:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:43: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:179: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:78:91: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:31: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:80: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'List' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- warning: conformance of 'Group<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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'Group' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- 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
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'ForEach' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:46:30: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | child.isItemEnabled.toggle()
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:47:33: error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
47 | child.isItemEnabled.toggle()
| |- error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- 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
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:50:17: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
48 | }
49 | }
50 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | dateSection(title: dateString,
52 | date: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:52:35: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
50 | }
51 | dateSection(title: dateString,
52 | date: Binding(
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | get: { node.value ?? Date() },
54 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:55:37: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
53 | get: { node.value ?? Date() },
54 | set: { newValue in
55 | node.value = newValue
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }),
57 | isActive: node.value != nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:58:40: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
56 | }),
57 | isActive: node.value != nil,
58 | onReset: { node.value = nil }
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | )
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:19: 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 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- 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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:14: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- warning: conformance of 'Group<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
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:62:10: error: 'navigationTitle' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
60 | }
61 | }
62 | .navigationTitle(node.title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:72:9: error: 'VStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | headerView(title: title, isActive: isActive, onReset: onReset)
74 | datePickerView(date: date, range: range)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:9: error: 'HStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- 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
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:81:18: error: 'bold()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:46: error: 'blue' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:54: error: 'black' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- warning: conformance of 'Spacer' 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
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: error: 'Spacer' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'Button' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'init(_:action:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:85:18: error: 'disabled' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
83 | Spacer()
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | }
87 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- warning: conformance of 'Spacer' 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:87:10: error: 'padding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
85 | .disabled(!isActive)
86 | }
87 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'DatePicker' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'DatePicker' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:14: error: 'datePickerStyle' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| |- error: 'datePickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .labelsHidden()
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:31: error: 'wheel' is unavailable in macOS
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| `- error: 'wheel' is unavailable in macOS
93 | .labelsHidden()
94 | }
SwiftUI.DatePickerStyle.wheel:2:46: note: 'wheel' has been explicitly marked unavailable here
1 | protocol DatePickerStyle {
2 | @MainActor @preconcurrency public static var wheel: WheelDatePickerStyle { get }}
| `- note: 'wheel' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:93:14: error: 'labelsHidden()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
| |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[59/60] Compiling SwiftyFilters SFFilterRangeViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
| `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |
36 | @Environment(\.dateString) private var dateString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:36:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
| `- error: 'Environment' is only available in macOS 10.15 or newer
37 | @Environment(\.resetString) private var resetString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:37:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
37 | @Environment(\.resetString) private var resetString
| `- error: 'Environment' is only available in macOS 10.15 or newer
38 |
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:40:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:43: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:179: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:78:91: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:31: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:80: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'List' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- warning: conformance of 'Group<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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'Group' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- 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
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'ForEach' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:46:30: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | child.isItemEnabled.toggle()
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:47:33: error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
47 | child.isItemEnabled.toggle()
| |- error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- 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
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:50:17: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
48 | }
49 | }
50 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | dateSection(title: dateString,
52 | date: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:52:35: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
50 | }
51 | dateSection(title: dateString,
52 | date: Binding(
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | get: { node.value ?? Date() },
54 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:55:37: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
53 | get: { node.value ?? Date() },
54 | set: { newValue in
55 | node.value = newValue
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }),
57 | isActive: node.value != nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:58:40: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
56 | }),
57 | isActive: node.value != nil,
58 | onReset: { node.value = nil }
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | )
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:19: 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 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- 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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:14: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- warning: conformance of 'Group<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
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:62:10: error: 'navigationTitle' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
60 | }
61 | }
62 | .navigationTitle(node.title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:72:9: error: 'VStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | headerView(title: title, isActive: isActive, onReset: onReset)
74 | datePickerView(date: date, range: range)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:9: error: 'HStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- 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
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:81:18: error: 'bold()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:46: error: 'blue' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:54: error: 'black' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- warning: conformance of 'Spacer' 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
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: error: 'Spacer' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'Button' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'init(_:action:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:85:18: error: 'disabled' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
83 | Spacer()
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | }
87 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- warning: conformance of 'Spacer' 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:87:10: error: 'padding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
85 | .disabled(!isActive)
86 | }
87 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'DatePicker' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'DatePicker' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:14: error: 'datePickerStyle' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| |- error: 'datePickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .labelsHidden()
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:31: error: 'wheel' is unavailable in macOS
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| `- error: 'wheel' is unavailable in macOS
93 | .labelsHidden()
94 | }
SwiftUI.DatePickerStyle.wheel:2:46: note: 'wheel' has been explicitly marked unavailable here
1 | protocol DatePickerStyle {
2 | @MainActor @preconcurrency public static var wheel: WheelDatePickerStyle { get }}
| `- note: 'wheel' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:93:14: error: 'labelsHidden()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
| |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
[60/60] Compiling SwiftyFilters SFFilterSingleValueViewProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:34:6: error: 'StateObject' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
| `- error: 'StateObject' is only available in macOS 11.0 or newer
35 |
36 | @Environment(\.dateString) private var dateString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:36:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
| `- error: 'Environment' is only available in macOS 10.15 or newer
37 | @Environment(\.resetString) private var resetString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:37:6: error: 'Environment' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
35 |
36 | @Environment(\.dateString) private var dateString
37 | @Environment(\.resetString) private var resetString
| `- error: 'Environment' is only available in macOS 10.15 or newer
38 |
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:40:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:43: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:71:179: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
73 | headerView(title: title, isActive: isActive, onReset: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:78:91: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:31: error: 'Binding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:90:80: error: 'View' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'List' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:9: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- warning: conformance of 'Group<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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'Group' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:13: error: 'init(content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- 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
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'ForEach' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:44:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:46:30: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | child.isItemEnabled.toggle()
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:47:33: error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
45 | SFFilterCellView(node: child)
46 | .onTapGesture {
47 | child.isItemEnabled.toggle()
| |- error: cannot pass as inout because setter for 'isItemEnabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: 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
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- 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
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:43:46: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
43 | if !node.nestedNodes.isEmpty {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | ForEach(node.nestedNodes) { child in
45 | SFFilterCellView(node: child)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:50:17: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
48 | }
49 | }
50 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | dateSection(title: dateString,
52 | date: Binding(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:52:35: error: 'Binding' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
50 | }
51 | dateSection(title: dateString,
52 | date: Binding(
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | get: { node.value ?? Date() },
54 | set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:55:37: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
53 | get: { node.value ?? Date() },
54 | set: { newValue in
55 | node.value = newValue
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | }),
57 | isActive: node.value != nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:58:40: error: setter for 'value' is only available in macOS 10.15 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
56 | }),
57 | isActive: node.value != nil,
58 | onReset: { node.value = nil }
| |- error: setter for 'value' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | )
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:42:19: 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 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
| |- 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
43 | if !node.nestedNodes.isEmpty {
44 | ForEach(node.nestedNodes) { child in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:41:14: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
| |- warning: conformance of 'Group<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
42 | Group {
43 | if !node.nestedNodes.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:62:10: error: 'navigationTitle' is only available in macOS 11.0 or newer
30 | /// Example view for single value filter component
31 | ///
32 | public struct SFFilterSingleDateView<FilteredItem>: View {
| `- note: add '@available' attribute to enclosing generic struct
33 |
34 | @StateObject var node: SFFilterSingleValueNode<FilteredItem, Date>
:
38 |
39 |
40 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
41 | List {
42 | Group {
:
60 | }
61 | }
62 | .navigationTitle(node.title)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:72:9: error: 'VStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
72 | VStack(spacing: 8) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | headerView(title: title, isActive: isActive, onReset: onReset)
74 | datePickerView(date: date, range: range)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:9: error: 'HStack' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- 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
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:80:13: error: 'Text' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:81:18: error: 'bold()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:46: error: 'blue' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:82:54: error: 'black' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | Spacer()
84 | Button(resetString, action: onReset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- warning: conformance of 'Spacer' 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
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:83:13: error: 'Spacer' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
81 | .bold()
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'Button' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:84:13: error: 'init(_:action:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
82 | .foregroundStyle(isActive ? .blue : .black)
83 | Spacer()
84 | Button(resetString, action: onReset)
| |- error: 'init(_:action:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | .disabled(!isActive)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:85:18: error: 'disabled' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
83 | Spacer()
84 | Button(resetString, action: onReset)
85 | .disabled(!isActive)
| |- error: 'disabled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | }
87 | .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: 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
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:79:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
| |- warning: conformance of 'Spacer' 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
80 | Text(title)
81 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:87:10: error: 'padding' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
76 | }
77 |
78 | func headerView(title: String, isActive: Bool, onReset: @escaping () -> Void) -> some View {
| `- note: add '@available' attribute to enclosing instance method
79 | HStack {
80 | Text(title)
:
85 | .disabled(!isActive)
86 | }
87 | .padding(.horizontal)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'DatePicker' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'DatePicker' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:9: error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'init(_:selection:in:displayedComponents:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:91:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:14: error: 'datePickerStyle' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| |- error: 'datePickerStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .labelsHidden()
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:92:31: error: 'wheel' is unavailable in macOS
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
| `- error: 'wheel' is unavailable in macOS
93 | .labelsHidden()
94 | }
SwiftUI.DatePickerStyle.wheel:2:46: note: 'wheel' has been explicitly marked unavailable here
1 | protocol DatePickerStyle {
2 | @MainActor @preconcurrency public static var wheel: WheelDatePickerStyle { get }}
| `- note: 'wheel' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/UI/ExampleViews/SingleValueFilterView/SFFilterSingleDateView.swift:93:14: error: 'labelsHidden()' is only available in macOS 10.15 or newer
67 | // MARK: - UI Components
68 |
69 | private extension SFFilterSingleDateView {
| `- note: add '@available' attribute to enclosing extension
70 |
71 | func dateSection(title: String, date: Binding<Date>, range: ClosedRange<Date> = Date.distantPast...Date.distantFuture, isActive: Bool, onReset: @escaping () -> Void) -> some View {
:
88 | }
89 |
90 | func datePickerView(date: Binding<Date>, range: ClosedRange<Date>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
91 | DatePicker("", selection: date, in: range, displayedComponents: .date)
92 | .datePickerStyle(.wheel)
93 | .labelsHidden()
| |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterKeywordsViewProvider.swift:72:87: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterKeywordsViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: StringProtocol {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the keyword-based filter component.
71 | ///
72 | func makeView(with node: SFFilterKeywordsNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterMultiSelectionViewProvider.swift:70:79: error: 'View' is only available in macOS 10.15 or newer
55 | /// ```
56 | ///
57 | public protocol SFFilterMultiSelectionViewProvider<FilteredItem> {
| `- note: add '@available' attribute to enclosing protocol
58 |
59 | associatedtype FilteredItem
:
68 | /// - Returns: A view representing the multi-selection filter component.
69 | ///
70 | func makeView(with node: SFFilterMultiSelectionNode<FilteredItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterRangeViewProvider.swift:72:84: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterRangeViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Comparable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the range-based filter component.
71 | ///
72 | func makeView(with node: SFFilterRangeNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyFilters/ViewProviding/SFFilterSingleValueViewProvider.swift:72:90: error: 'View' is only available in macOS 10.15 or newer
56 | /// ```
57 | ///
58 | public protocol SFFilterSingleValueViewProvider<FilteredItem, CriteriaItem> where CriteriaItem: Equatable {
| `- note: add '@available' attribute to enclosing protocol
59 |
60 | associatedtype FilteredItem
:
70 | /// - Returns: A view representing the single-value filter component.
71 | ///
72 | func makeView(with node: SFFilterSingleValueNode<FilteredItem, CriteriaItem>) -> any View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
73 | }
74 |
BUILD FAILURE 6.3 macosSpm