Build Information
Failed to build Snap, reference 0.2.2 (29943b
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:42:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
160 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
161 | @ViewBuilder content: @escaping () -> Content) {
162 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:161:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
:
154 | }
155 |
156 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
157 | large: SnapPoint,
158 | tiny: SnapPoint,
159 | allowInvisible: Bool = true,
160 | backgroundColor: Color,
161 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
162 |
163 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:144:74: error: 'Color' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:169:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
170 |
171 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:171:24: error: 'Binding' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
172 | large: SnapPoint,
173 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:175:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
172 | large: SnapPoint,
173 | tiny: SnapPoint,
174 | allowInvisible: Bool = true,
175 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
176 |
177 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:180:24: error: 'Binding' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
:
178 | }
179 |
180 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
181 | large: SnapPoint,
182 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:184:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
:
178 | }
179 |
180 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
181 | large: SnapPoint,
182 | tiny: SnapPoint,
183 | allowInvisible: Bool = true,
184 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
185 |
186 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:194:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:199:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
197 | tiny: SnapPoint,
198 | allowInvisible: Bool = true,
199 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
200 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:200:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
:
198 | allowInvisible: Bool = true,
199 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
200 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
201 |
202 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:212:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:217:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
215 | tiny: SnapPoint,
216 | allowInvisible: Bool = true,
217 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
218 | @ViewBuilder content: @escaping () -> Content) {
219 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:218:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
:
216 | allowInvisible: Bool = true,
217 | @ViewBuilder background: @escaping () -> Background,
218 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
219 |
220 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:223:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
221 | }
222 |
223 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
224 | large: SnapPoint,
225 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:229:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
221 | }
222 |
223 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
224 | large: SnapPoint,
225 | medium: SnapPoint,
:
227 | allowInvisible: Bool = true,
228 | background: Background,
229 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
230 |
231 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:234:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
232 | }
233 |
234 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
235 | large: SnapPoint,
236 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:240:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
232 | }
233 |
234 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
235 | large: SnapPoint,
236 | medium: SnapPoint,
:
238 | allowInvisible: Bool = true,
239 | background: Background,
240 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
241 |
242 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:249:24: error: 'Binding' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:254:34: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
252 | tiny: SnapPoint,
253 | allowInvisible: Bool = true,
254 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
255 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
256 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:255:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
:
253 | allowInvisible: Bool = true,
254 | backgroundColor: Color,
255 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
256 |
257 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:260:24: error: 'Binding' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:265:34: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
263 | tiny: SnapPoint,
264 | allowInvisible: Bool = true,
265 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
266 | @ViewBuilder content: @escaping () -> Content) {
267 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:266:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
:
264 | allowInvisible: Bool = true,
265 | backgroundColor: Color,
266 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
267 |
268 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:247:75: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:274:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
275 |
276 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:276:24: error: 'Binding' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
277 | large: SnapPoint,
278 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:281:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
277 | large: SnapPoint,
278 | medium: SnapPoint,
279 | tiny: SnapPoint,
280 | allowInvisible: Bool = true,
281 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
282 |
283 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:286:24: error: 'Binding' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
:
284 | }
285 |
286 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
287 | large: SnapPoint,
288 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:291:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
:
284 | }
285 |
286 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
287 | large: SnapPoint,
288 | medium: SnapPoint,
289 | tiny: SnapPoint,
290 | allowInvisible: Bool = true,
291 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
292 |
293 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:304:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
303 | allowInvisible: Bool = true,
304 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
305 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
306 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:305:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
303 | allowInvisible: Bool = true,
304 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
305 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
306 |
307 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:317:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
313 | }
314 |
315 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
316 | allowInvisible: Bool = true,
317 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
318 | @ViewBuilder content: @escaping () -> Content) {
319 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:318:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
313 | }
314 |
315 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
316 | allowInvisible: Bool = true,
317 | @ViewBuilder background: @escaping () -> Background,
318 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
319 |
320 | self.init(large: large, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:326:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
321 | }
322 |
323 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
324 | allowInvisible: Bool = true,
325 | background: Background,
326 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
327 |
328 | self.init(large: large, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:334:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
329 | }
330 |
331 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
332 | allowInvisible: Bool = true,
333 | background: Background,
334 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
335 |
336 | self.init(large: large, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:345:34: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
344 | allowInvisible: Bool = true,
345 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
346 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:346:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
344 | allowInvisible: Bool = true,
345 | backgroundColor: Color,
346 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
347 |
348 | self.init(large: large, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:353:34: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
:
349 | }
350 |
351 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
352 | allowInvisible: Bool = true,
353 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
354 | @ViewBuilder content: @escaping () -> Content) {
355 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:354:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
:
349 | }
350 |
351 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
352 | allowInvisible: Bool = true,
353 | backgroundColor: Color,
354 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
355 |
356 | self.init(large: large, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:341:71: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:362:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
363 |
364 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:366:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
363 |
364 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
365 | allowInvisible: Bool = true,
366 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
367 |
368 | self.init(large: large, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:373:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
363 |
364 | public init(large: SnapPoint,
:
369 | }
370 |
371 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
372 | allowInvisible: Bool = true,
373 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
374 |
375 | self.init(large: large, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:386:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
384 | tiny: SnapPoint,
385 | allowInvisible: Bool = true,
386 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
387 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
388 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:387:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
384 | tiny: SnapPoint,
385 | allowInvisible: Bool = true,
386 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
387 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
388 |
389 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:401:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
396 | }
397 |
398 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
399 | tiny: SnapPoint,
400 | allowInvisible: Bool = true,
401 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
402 | @ViewBuilder content: @escaping () -> Content) {
403 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:402:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
396 | }
397 |
398 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
399 | tiny: SnapPoint,
400 | allowInvisible: Bool = true,
401 | @ViewBuilder background: @escaping () -> Background,
402 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
403 |
404 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:411:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
405 | }
406 |
407 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
408 | tiny: SnapPoint,
409 | allowInvisible: Bool = true,
410 | background: Background,
411 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
412 |
413 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:420:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
414 | }
415 |
416 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
417 | tiny: SnapPoint,
418 | allowInvisible: Bool = true,
419 | background: Background,
420 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
421 |
422 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:432:34: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
430 | tiny: SnapPoint,
431 | allowInvisible: Bool = true,
432 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
433 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
434 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:433:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
430 | tiny: SnapPoint,
431 | allowInvisible: Bool = true,
432 | backgroundColor: Color,
433 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
434 |
435 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:441:34: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
:
436 | }
437 |
438 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
439 | tiny: SnapPoint,
440 | allowInvisible: Bool = true,
441 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
442 | @ViewBuilder content: @escaping () -> Content) {
443 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:442:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
:
436 | }
437 |
438 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
439 | tiny: SnapPoint,
440 | allowInvisible: Bool = true,
441 | backgroundColor: Color,
442 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
443 |
444 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:427:74: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:450:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
451 |
452 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:455:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
451 |
452 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
453 | tiny: SnapPoint,
454 | allowInvisible: Bool = true,
455 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
456 |
457 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:463:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
451 |
452 | public init(large: SnapPoint,
:
458 | }
459 |
460 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
461 | tiny: SnapPoint,
462 | allowInvisible: Bool = true,
463 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
464 |
465 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:477:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
474 | medium: SnapPoint,
475 | tiny: SnapPoint,
476 | allowInvisible: Bool = true,
477 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
478 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
479 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:478:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
474 | medium: SnapPoint,
475 | tiny: SnapPoint,
476 | allowInvisible: Bool = true,
477 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
478 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
479 |
480 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:494:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
488 | }
489 |
490 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
491 | medium: SnapPoint,
492 | tiny: SnapPoint,
493 | allowInvisible: Bool = true,
494 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
495 | @ViewBuilder content: @escaping () -> Content) {
496 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:495:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
488 | }
489 |
490 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
491 | medium: SnapPoint,
492 | tiny: SnapPoint,
493 | allowInvisible: Bool = true,
494 | @ViewBuilder background: @escaping () -> Background,
495 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
496 |
497 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:505:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
498 | }
499 |
500 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
501 | medium: SnapPoint,
502 | tiny: SnapPoint,
503 | allowInvisible: Bool = true,
504 | background: Background,
505 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
506 |
507 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:515:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
508 | }
509 |
510 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
511 | medium: SnapPoint,
512 | tiny: SnapPoint,
513 | allowInvisible: Bool = true,
514 | background: Background,
515 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
516 |
517 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:528:34: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
525 | medium: SnapPoint,
526 | tiny: SnapPoint,
527 | allowInvisible: Bool = true,
528 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
529 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
530 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:529:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
525 | medium: SnapPoint,
526 | tiny: SnapPoint,
527 | allowInvisible: Bool = true,
528 | backgroundColor: Color,
529 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
530 |
531 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:538:34: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
:
532 | }
533 |
534 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
535 | medium: SnapPoint,
536 | tiny: SnapPoint,
537 | allowInvisible: Bool = true,
538 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
539 | @ViewBuilder content: @escaping () -> Content) {
540 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:539:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
:
532 | }
533 |
534 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
535 | medium: SnapPoint,
536 | tiny: SnapPoint,
537 | allowInvisible: Bool = true,
538 | backgroundColor: Color,
539 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
540 |
541 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:522:75: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:547:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
548 |
549 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:553:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
548 |
549 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
550 | medium: SnapPoint,
551 | tiny: SnapPoint,
552 | allowInvisible: Bool = true,
553 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
554 |
555 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:562:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
548 |
549 | public init(large: SnapPoint,
:
556 | }
557 |
558 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
559 | medium: SnapPoint,
560 | tiny: SnapPoint,
561 | allowInvisible: Bool = true,
562 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
563 |
564 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:10:24: error: 'Binding' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
10 | private var state: Binding<StateType>?
| `- error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | private let background: (StateType.Visible) -> Background
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
13 | private let content: (StateType.Visible) -> Content
14 |
15 | @State
| `- error: 'State' is only available in macOS 10.15 or newer
16 | private var currentResult: SnapPointCalculator<StateType>.SnapResult {
17 | didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:22:6: error: 'GestureState' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
20 | }
21 |
22 | @GestureState
| `- error: 'GestureState' is only available in macOS 10.15 or newer
23 | private var dragState = DragState.inactive
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:29:17: error: 'Binding' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
26 | private var maxDrag: CGFloat
27 |
28 | init(snaps: [SnapPointCalculator<StateType>.Input],
| `- note: add @available attribute to enclosing initializer
29 | state: Binding<StateType>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
30 | background: @escaping (StateType.Visible) -> Background,
31 | content: @escaping (StateType.Visible) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:42:27: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:73:36: error: 'DragGesture' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
71 | }
72 |
73 | private func onDragEnded(drag: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
74 | self.currentResult = calculator(current: currentResult, drag: drag)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:7:61: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:7:76: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:79:20: error: 'View' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:20:23: warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'ModalSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum ModalSnapState: SnapState {
| `- note: consider making enum 'ModalSnapState' conform to the 'Sendable' protocol
16 | public enum Visible {
17 | case large
18 | }
19 |
20 | public static let largeState: ModalSnapState = .large
| |- warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'ModalSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'largeState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let invisibleState: ModalSnapState = .invisible
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:21:23: warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'ModalSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum ModalSnapState: SnapState {
| `- note: consider making enum 'ModalSnapState' conform to the 'Sendable' protocol
16 | public enum Visible {
17 | case large
:
19 |
20 | public static let largeState: ModalSnapState = .large
21 | public static let invisibleState: ModalSnapState = .invisible
| |- warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'ModalSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invisibleState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | case large
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:42:23: warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'OvercastSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public enum OvercastSnapState: SnapState {
| `- note: consider making enum 'OvercastSnapState' conform to the 'Sendable' protocol
37 | public enum Visible {
38 | case large
:
40 | }
41 |
42 | public static let largeState: OvercastSnapState = .large
| |- warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'OvercastSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'largeState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let invisibleState: OvercastSnapState = .invisible
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:43:23: warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'OvercastSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public enum OvercastSnapState: SnapState {
| `- note: consider making enum 'OvercastSnapState' conform to the 'Sendable' protocol
37 | public enum Visible {
38 | case large
:
41 |
42 | public static let largeState: OvercastSnapState = .large
43 | public static let invisibleState: OvercastSnapState = .invisible
| |- warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'OvercastSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invisibleState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | case large
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:68:23: warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'AppleMapsSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public enum AppleMapsSnapState: SnapState {
| `- note: consider making enum 'AppleMapsSnapState' conform to the 'Sendable' protocol
62 | public enum Visible {
63 | case large
:
66 | }
67 |
68 | public static let largeState: AppleMapsSnapState = .large
| |- warning: static property 'largeState' is not concurrency-safe because non-'Sendable' type 'AppleMapsSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'largeState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let invisibleState: AppleMapsSnapState = .invisible
70 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapState.swift:69:23: warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'AppleMapsSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | public enum AppleMapsSnapState: SnapState {
| `- note: consider making enum 'AppleMapsSnapState' conform to the 'Sendable' protocol
62 | public enum Visible {
63 | case large
:
67 |
68 | public static let largeState: AppleMapsSnapState = .large
69 | public static let invisibleState: AppleMapsSnapState = .invisible
| |- warning: static property 'invisibleState' is not concurrency-safe because non-'Sendable' type 'AppleMapsSnapState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invisibleState' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | case large
[6/9] Compiling Snap SnapDrawer+init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:7:24: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
8 | large: SnapPoint,
9 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:10:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
8 | large: SnapPoint,
9 | allowInvisible: Bool = true,
10 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:11:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
8 | large: SnapPoint,
9 | allowInvisible: Bool = true,
10 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
11 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |
13 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:21:24: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
19 | }
20 |
21 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
22 | large: SnapPoint,
23 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:24:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
19 | }
20 |
21 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
22 | large: SnapPoint,
23 | allowInvisible: Bool = true,
24 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
25 | @ViewBuilder content: @escaping () -> Content) {
26 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:25:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
19 | }
20 |
21 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
22 | large: SnapPoint,
23 | allowInvisible: Bool = true,
24 | @ViewBuilder background: @escaping () -> Background,
25 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
26 |
27 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:30:24: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
28 | }
29 |
30 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | large: SnapPoint,
32 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:34:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
28 | }
29 |
30 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
31 | large: SnapPoint,
32 | allowInvisible: Bool = true,
33 | background: Background,
34 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
35 |
36 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:39:24: error: 'Binding' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
37 | }
38 |
39 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
40 | large: SnapPoint,
41 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:43:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
6 |
7 | public init(state: Binding<StateType>,
:
37 | }
38 |
39 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
40 | large: SnapPoint,
41 | allowInvisible: Bool = true,
42 | background: Background,
43 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 |
45 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:52:24: error: 'Binding' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
53 | large: SnapPoint,
54 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:55:34: error: 'Color' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
53 | large: SnapPoint,
54 | allowInvisible: Bool = true,
55 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
56 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:56:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
53 | large: SnapPoint,
54 | allowInvisible: Bool = true,
55 | backgroundColor: Color,
56 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
57 |
58 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:61:24: error: 'Binding' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
:
59 | }
60 |
61 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
62 | large: SnapPoint,
63 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:64:34: error: 'Color' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
:
59 | }
60 |
61 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
62 | large: SnapPoint,
63 | allowInvisible: Bool = true,
64 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
65 | @ViewBuilder content: @escaping () -> Content) {
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:65:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
:
59 | }
60 |
61 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
62 | large: SnapPoint,
63 | allowInvisible: Bool = true,
64 | backgroundColor: Color,
65 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
66 |
67 | self.init(state: state, large: large, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:50:71: error: 'Color' is only available in macOS 10.15 or newer
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:73:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
71 | }
72 |
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
74 |
75 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:75:24: error: 'Binding' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
74 |
75 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
76 | large: SnapPoint,
77 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:78:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
74 |
75 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
76 | large: SnapPoint,
77 | allowInvisible: Bool = true,
78 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
79 |
80 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:83:24: error: 'Binding' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
74 |
75 | public init(state: Binding<StateType>,
:
81 | }
82 |
83 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
84 | large: SnapPoint,
85 | allowInvisible: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:86:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
74 |
75 | public init(state: Binding<StateType>,
:
81 | }
82 |
83 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
84 | large: SnapPoint,
85 | allowInvisible: Bool = true,
86 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
87 |
88 | self.init(state: state, large: large, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:96:24: error: 'Binding' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
97 | large: SnapPoint,
98 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:100:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
97 | large: SnapPoint,
98 | tiny: SnapPoint,
99 | allowInvisible: Bool = true,
100 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
101 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:101:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
97 | large: SnapPoint,
98 | tiny: SnapPoint,
99 | allowInvisible: Bool = true,
100 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
101 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
102 |
103 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:112:24: error: 'Binding' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
110 | }
111 |
112 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
113 | large: SnapPoint,
114 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:116:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
110 | }
111 |
112 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
113 | large: SnapPoint,
114 | tiny: SnapPoint,
115 | allowInvisible: Bool = true,
116 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
117 | @ViewBuilder content: @escaping () -> Content) {
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:117:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
110 | }
111 |
112 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
113 | large: SnapPoint,
114 | tiny: SnapPoint,
115 | allowInvisible: Bool = true,
116 | @ViewBuilder background: @escaping () -> Background,
117 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
118 |
119 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:122:24: error: 'Binding' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
120 | }
121 |
122 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
123 | large: SnapPoint,
124 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:127:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
120 | }
121 |
122 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
123 | large: SnapPoint,
124 | tiny: SnapPoint,
125 | allowInvisible: Bool = true,
126 | background: Background,
127 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
128 |
129 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:132:24: error: 'Binding' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
130 | }
131 |
132 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
133 | large: SnapPoint,
134 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:137:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
95 |
96 | public init(state: Binding<StateType>,
:
130 | }
131 |
132 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
133 | large: SnapPoint,
134 | tiny: SnapPoint,
135 | allowInvisible: Bool = true,
136 | background: Background,
137 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
138 |
139 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:146:24: error: 'Binding' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
147 | large: SnapPoint,
148 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:150:34: error: 'Color' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
147 | large: SnapPoint,
148 | tiny: SnapPoint,
149 | allowInvisible: Bool = true,
150 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
151 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:151:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
147 | large: SnapPoint,
148 | tiny: SnapPoint,
149 | allowInvisible: Bool = true,
150 | backgroundColor: Color,
151 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
152 |
153 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:156:24: error: 'Binding' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
:
154 | }
155 |
156 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
157 | large: SnapPoint,
158 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:160:34: error: 'Color' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
:
154 | }
155 |
156 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
157 | large: SnapPoint,
158 | tiny: SnapPoint,
159 | allowInvisible: Bool = true,
160 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
161 | @ViewBuilder content: @escaping () -> Content) {
162 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:161:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
:
154 | }
155 |
156 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
157 | large: SnapPoint,
158 | tiny: SnapPoint,
159 | allowInvisible: Bool = true,
160 | backgroundColor: Color,
161 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
162 |
163 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:144:74: error: 'Color' is only available in macOS 10.15 or newer
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:169:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
170 |
171 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:171:24: error: 'Binding' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
172 | large: SnapPoint,
173 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:175:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
172 | large: SnapPoint,
173 | tiny: SnapPoint,
174 | allowInvisible: Bool = true,
175 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
176 |
177 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:180:24: error: 'Binding' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
:
178 | }
179 |
180 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
181 | large: SnapPoint,
182 | tiny: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:184:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
167 | }
168 |
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
170 |
171 | public init(state: Binding<StateType>,
:
178 | }
179 |
180 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
181 | large: SnapPoint,
182 | tiny: SnapPoint,
183 | allowInvisible: Bool = true,
184 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
185 |
186 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:194:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:199:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
197 | tiny: SnapPoint,
198 | allowInvisible: Bool = true,
199 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
200 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:200:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
195 | large: SnapPoint,
196 | medium: SnapPoint,
:
198 | allowInvisible: Bool = true,
199 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
200 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
201 |
202 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:212:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:217:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
215 | tiny: SnapPoint,
216 | allowInvisible: Bool = true,
217 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
218 | @ViewBuilder content: @escaping () -> Content) {
219 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:218:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
210 | }
211 |
212 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
213 | large: SnapPoint,
214 | medium: SnapPoint,
:
216 | allowInvisible: Bool = true,
217 | @ViewBuilder background: @escaping () -> Background,
218 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
219 |
220 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:223:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
221 | }
222 |
223 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
224 | large: SnapPoint,
225 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:229:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
221 | }
222 |
223 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
224 | large: SnapPoint,
225 | medium: SnapPoint,
:
227 | allowInvisible: Bool = true,
228 | background: Background,
229 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
230 |
231 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:234:24: error: 'Binding' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
232 | }
233 |
234 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
235 | large: SnapPoint,
236 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:240:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
193 |
194 | public init(state: Binding<StateType>,
:
232 | }
233 |
234 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
235 | large: SnapPoint,
236 | medium: SnapPoint,
:
238 | allowInvisible: Bool = true,
239 | background: Background,
240 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
241 |
242 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:249:24: error: 'Binding' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:254:34: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
252 | tiny: SnapPoint,
253 | allowInvisible: Bool = true,
254 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
255 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
256 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:255:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
:
253 | allowInvisible: Bool = true,
254 | backgroundColor: Color,
255 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
256 |
257 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:260:24: error: 'Binding' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:265:34: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
263 | tiny: SnapPoint,
264 | allowInvisible: Bool = true,
265 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
266 | @ViewBuilder content: @escaping () -> Content) {
267 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:266:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
:
258 | }
259 |
260 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
261 | large: SnapPoint,
262 | medium: SnapPoint,
:
264 | allowInvisible: Bool = true,
265 | backgroundColor: Color,
266 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
267 |
268 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:247:75: error: 'Color' is only available in macOS 10.15 or newer
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:274:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
275 |
276 | public init(state: Binding<StateType>,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:276:24: error: 'Binding' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
277 | large: SnapPoint,
278 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:281:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
277 | large: SnapPoint,
278 | medium: SnapPoint,
279 | tiny: SnapPoint,
280 | allowInvisible: Bool = true,
281 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
282 |
283 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:286:24: error: 'Binding' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
:
284 | }
285 |
286 | public init(state: Binding<StateType>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
287 | large: SnapPoint,
288 | medium: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:291:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
272 | }
273 |
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
275 |
276 | public init(state: Binding<StateType>,
:
284 | }
285 |
286 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
287 | large: SnapPoint,
288 | medium: SnapPoint,
289 | tiny: SnapPoint,
290 | allowInvisible: Bool = true,
291 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
292 |
293 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:304:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
303 | allowInvisible: Bool = true,
304 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
305 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
306 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:305:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
303 | allowInvisible: Bool = true,
304 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
305 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
306 |
307 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:317:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
313 | }
314 |
315 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
316 | allowInvisible: Bool = true,
317 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
318 | @ViewBuilder content: @escaping () -> Content) {
319 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:318:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
313 | }
314 |
315 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
316 | allowInvisible: Bool = true,
317 | @ViewBuilder background: @escaping () -> Background,
318 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
319 |
320 | self.init(large: large, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:326:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
321 | }
322 |
323 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
324 | allowInvisible: Bool = true,
325 | background: Background,
326 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
327 |
328 | self.init(large: large, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:334:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: add @available attribute to enclosing extension
301 |
302 | public init(large: SnapPoint,
:
329 | }
330 |
331 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
332 | allowInvisible: Bool = true,
333 | background: Background,
334 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
335 |
336 | self.init(large: large, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:345:34: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
344 | allowInvisible: Bool = true,
345 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
346 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:346:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
344 | allowInvisible: Bool = true,
345 | backgroundColor: Color,
346 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
347 |
348 | self.init(large: large, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:353:34: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
:
349 | }
350 |
351 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
352 | allowInvisible: Bool = true,
353 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
354 | @ViewBuilder content: @escaping () -> Content) {
355 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:354:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
:
349 | }
350 |
351 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
352 | allowInvisible: Bool = true,
353 | backgroundColor: Color,
354 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
355 |
356 | self.init(large: large, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:341:71: error: 'Color' is only available in macOS 10.15 or newer
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:362:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
363 |
364 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:366:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
363 |
364 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
365 | allowInvisible: Bool = true,
366 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
367 |
368 | self.init(large: large, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:373:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
360 | }
361 |
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
363 |
364 | public init(large: SnapPoint,
:
369 | }
370 |
371 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
372 | allowInvisible: Bool = true,
373 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
374 |
375 | self.init(large: large, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:386:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
384 | tiny: SnapPoint,
385 | allowInvisible: Bool = true,
386 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
387 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
388 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:387:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
384 | tiny: SnapPoint,
385 | allowInvisible: Bool = true,
386 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
387 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
388 |
389 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:401:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
396 | }
397 |
398 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
399 | tiny: SnapPoint,
400 | allowInvisible: Bool = true,
401 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
402 | @ViewBuilder content: @escaping () -> Content) {
403 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:402:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
396 | }
397 |
398 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
399 | tiny: SnapPoint,
400 | allowInvisible: Bool = true,
401 | @ViewBuilder background: @escaping () -> Background,
402 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
403 |
404 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:411:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
405 | }
406 |
407 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
408 | tiny: SnapPoint,
409 | allowInvisible: Bool = true,
410 | background: Background,
411 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
412 |
413 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:420:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: add @available attribute to enclosing extension
382 |
383 | public init(large: SnapPoint,
:
414 | }
415 |
416 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
417 | tiny: SnapPoint,
418 | allowInvisible: Bool = true,
419 | background: Background,
420 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
421 |
422 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:432:34: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
430 | tiny: SnapPoint,
431 | allowInvisible: Bool = true,
432 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
433 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
434 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:433:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
430 | tiny: SnapPoint,
431 | allowInvisible: Bool = true,
432 | backgroundColor: Color,
433 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
434 |
435 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:441:34: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
:
436 | }
437 |
438 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
439 | tiny: SnapPoint,
440 | allowInvisible: Bool = true,
441 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
442 | @ViewBuilder content: @escaping () -> Content) {
443 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:442:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
:
436 | }
437 |
438 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
439 | tiny: SnapPoint,
440 | allowInvisible: Bool = true,
441 | backgroundColor: Color,
442 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
443 |
444 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:427:74: error: 'Color' is only available in macOS 10.15 or newer
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:450:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
451 |
452 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:455:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
451 |
452 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
453 | tiny: SnapPoint,
454 | allowInvisible: Bool = true,
455 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
456 |
457 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:463:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
451 |
452 | public init(large: SnapPoint,
:
458 | }
459 |
460 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
461 | tiny: SnapPoint,
462 | allowInvisible: Bool = true,
463 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
464 |
465 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:477:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
474 | medium: SnapPoint,
475 | tiny: SnapPoint,
476 | allowInvisible: Bool = true,
477 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
478 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
479 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:478:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
474 | medium: SnapPoint,
475 | tiny: SnapPoint,
476 | allowInvisible: Bool = true,
477 | @ViewBuilder background: @escaping (StateType.Visible) -> Background,
478 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
479 |
480 | let snaps = [
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:494:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
488 | }
489 |
490 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
491 | medium: SnapPoint,
492 | tiny: SnapPoint,
493 | allowInvisible: Bool = true,
494 | @ViewBuilder background: @escaping () -> Background,
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
495 | @ViewBuilder content: @escaping () -> Content) {
496 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:495:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
488 | }
489 |
490 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
491 | medium: SnapPoint,
492 | tiny: SnapPoint,
493 | allowInvisible: Bool = true,
494 | @ViewBuilder background: @escaping () -> Background,
495 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
496 |
497 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background() }) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:505:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
498 | }
499 |
500 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
501 | medium: SnapPoint,
502 | tiny: SnapPoint,
503 | allowInvisible: Bool = true,
504 | background: Background,
505 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
506 |
507 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: { _ in background }, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:515:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: add @available attribute to enclosing extension
472 |
473 | public init(large: SnapPoint,
:
508 | }
509 |
510 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
511 | medium: SnapPoint,
512 | tiny: SnapPoint,
513 | allowInvisible: Bool = true,
514 | background: Background,
515 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
516 |
517 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: background) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:528:34: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
525 | medium: SnapPoint,
526 | tiny: SnapPoint,
527 | allowInvisible: Bool = true,
528 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
529 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
530 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:529:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
525 | medium: SnapPoint,
526 | tiny: SnapPoint,
527 | allowInvisible: Bool = true,
528 | backgroundColor: Color,
529 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
530 |
531 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:538:34: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
:
532 | }
533 |
534 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
535 | medium: SnapPoint,
536 | tiny: SnapPoint,
537 | allowInvisible: Bool = true,
538 | backgroundColor: Color,
| `- error: 'Color' is only available in macOS 10.15 or newer
539 | @ViewBuilder content: @escaping () -> Content) {
540 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:539:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
:
532 | }
533 |
534 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
535 | medium: SnapPoint,
536 | tiny: SnapPoint,
537 | allowInvisible: Bool = true,
538 | backgroundColor: Color,
539 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
540 |
541 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, backgroundColor: backgroundColor) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:522:75: error: 'Color' is only available in macOS 10.15 or newer
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:547:1: error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- error: no type for 'Background' can satisfy both 'Background == BlurView' and 'Background : View'
548 |
549 | public init(large: SnapPoint,
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:553:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
548 |
549 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
550 | medium: SnapPoint,
551 | tiny: SnapPoint,
552 | allowInvisible: Bool = true,
553 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
554 |
555 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:562:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
545 | }
546 |
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
| `- note: add @available attribute to enclosing extension
548 |
549 | public init(large: SnapPoint,
:
556 | }
557 |
558 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
559 | medium: SnapPoint,
560 | tiny: SnapPoint,
561 | allowInvisible: Bool = true,
562 | @ViewBuilder content: @escaping () -> Content) {
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
563 |
564 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:58:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
48 | }
49 |
50 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
51 |
52 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
53 | large: SnapPoint,
54 | allowInvisible: Bool = true,
:
56 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
57 |
58 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:80:14: error: referencing initializer 'init(state:large:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
3 | import SwiftUI
4 |
5 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: where 'Background' = 'BlurView'
6 |
7 | public init(state: Binding<StateType>,
:
78 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
79 |
80 | self.init(state: state, large: large, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(state:large:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:88:14: error: initializer 'init(state:large:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
73 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
74 |
75 | public init(state: Binding<StateType>,
| `- note: where 'Background' = 'BlurView'
76 | large: SnapPoint,
77 | allowInvisible: Bool = true,
:
86 | @ViewBuilder content: @escaping () -> Content) {
87 |
88 | self.init(state: state, large: large, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(state:large:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:153:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
142 | }
143 |
144 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
145 |
146 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
147 | large: SnapPoint,
148 | tiny: SnapPoint,
:
151 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
152 |
153 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:177:14: error: referencing initializer 'init(state:large:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
92 | }
93 |
94 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: where 'Background' = 'BlurView'
95 |
96 | public init(state: Binding<StateType>,
:
175 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
176 |
177 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(state:large:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:186:14: error: initializer 'init(state:large:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
169 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
170 |
171 | public init(state: Binding<StateType>,
| `- note: where 'Background' = 'BlurView'
172 | large: SnapPoint,
173 | tiny: SnapPoint,
:
184 | @ViewBuilder content: @escaping () -> Content) {
185 |
186 | self.init(state: state, large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(state:large:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
187 | }
188 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:257:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
245 | }
246 |
247 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
248 |
249 | public init(state: Binding<StateType>,
| `- note: add @available attribute to enclosing initializer
250 | large: SnapPoint,
251 | medium: SnapPoint,
:
255 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
256 |
257 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
258 | }
259 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:283:14: error: referencing initializer 'init(state:large:medium:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
190 | }
191 |
192 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: where 'Background' = 'BlurView'
193 |
194 | public init(state: Binding<StateType>,
:
281 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
282 |
283 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(state:large:medium:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
284 | }
285 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:293:14: error: initializer 'init(state:large:medium:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
274 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
275 |
276 | public init(state: Binding<StateType>,
| `- note: where 'Background' = 'BlurView'
277 | large: SnapPoint,
278 | medium: SnapPoint,
:
291 | @ViewBuilder content: @escaping () -> Content) {
292 |
293 | self.init(state: state, large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(state:large:medium:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:348:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
339 | }
340 |
341 | extension SnapDrawer where StateType == ModalSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
342 |
343 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
344 | allowInvisible: Bool = true,
345 | backgroundColor: Color,
346 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
347 |
348 | self.init(large: large, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
349 | }
350 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:368:14: error: referencing initializer 'init(large:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
298 | // Without State
299 |
300 | extension SnapDrawer where StateType == ModalSnapState {
| `- note: where 'Background' = 'BlurView'
301 |
302 | public init(large: SnapPoint,
:
366 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
367 |
368 | self.init(large: large, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(large:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
369 | }
370 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:375:14: error: initializer 'init(large:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
362 | extension SnapDrawer where StateType == ModalSnapState, Background == BlurView {
363 |
364 | public init(large: SnapPoint,
| `- note: where 'Background' = 'BlurView'
365 | allowInvisible: Bool = true,
366 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
:
373 | @ViewBuilder content: @escaping () -> Content) {
374 |
375 | self.init(large: large, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(large:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:435:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
425 | }
426 |
427 | extension SnapDrawer where StateType == OvercastSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
428 |
429 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
430 | tiny: SnapPoint,
431 | allowInvisible: Bool = true,
:
433 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
434 |
435 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
436 | }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:457:14: error: referencing initializer 'init(large:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
379 | }
380 |
381 | extension SnapDrawer where StateType == OvercastSnapState {
| `- note: where 'Background' = 'BlurView'
382 |
383 | public init(large: SnapPoint,
:
455 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
456 |
457 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(large:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
458 | }
459 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:465:14: error: initializer 'init(large:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
450 | extension SnapDrawer where StateType == OvercastSnapState, Background == BlurView {
451 |
452 | public init(large: SnapPoint,
| `- note: where 'Background' = 'BlurView'
453 | tiny: SnapPoint,
454 | allowInvisible: Bool = true,
:
463 | @ViewBuilder content: @escaping () -> Content) {
464 |
465 | self.init(large: large, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(large:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
466 | }
467 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:531:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
520 | }
521 |
522 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == Color {
| `- note: add @available attribute to enclosing extension
523 |
524 | public init(large: SnapPoint,
| `- note: add @available attribute to enclosing initializer
525 | medium: SnapPoint,
526 | tiny: SnapPoint,
:
529 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
530 |
531 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: backgroundColor, content: content)
| |- warning: conformance of 'Color' 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
532 | }
533 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:555:14: error: referencing initializer 'init(large:medium:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
469 | }
470 |
471 | extension SnapDrawer where StateType == AppleMapsSnapState {
| `- note: where 'Background' = 'BlurView'
472 |
473 | public init(large: SnapPoint,
:
553 | @ViewBuilder content: @escaping (StateType.Visible) -> Content) {
554 |
555 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible, background: BlurView(), content: content)
| `- error: referencing initializer 'init(large:medium:tiny:allowInvisible:background:content:)' on 'SnapDrawer' requires that 'BlurView' conform to 'View'
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer+init.swift:564:14: error: initializer 'init(large:medium:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
547 | extension SnapDrawer where StateType == AppleMapsSnapState, Background == BlurView {
548 |
549 | public init(large: SnapPoint,
| `- note: where 'Background' = 'BlurView'
550 | medium: SnapPoint,
551 | tiny: SnapPoint,
:
562 | @ViewBuilder content: @escaping () -> Content) {
563 |
564 | self.init(large: large, medium: medium, tiny: tiny, allowInvisible: allowInvisible) { _ in content() }
| `- error: initializer 'init(large:medium:tiny:allowInvisible:content:)' requires that 'BlurView' conform to 'View'
565 | }
566 |
[7/9] Compiling Snap SnapDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:10:24: error: 'Binding' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
10 | private var state: Binding<StateType>?
| `- error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | private let background: (StateType.Visible) -> Background
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
13 | private let content: (StateType.Visible) -> Content
14 |
15 | @State
| `- error: 'State' is only available in macOS 10.15 or newer
16 | private var currentResult: SnapPointCalculator<StateType>.SnapResult {
17 | didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:22:6: error: 'GestureState' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
20 | }
21 |
22 | @GestureState
| `- error: 'GestureState' is only available in macOS 10.15 or newer
23 | private var dragState = DragState.inactive
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:29:17: error: 'Binding' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
26 | private var maxDrag: CGFloat
27 |
28 | init(snaps: [SnapPointCalculator<StateType>.Input],
| `- note: add @available attribute to enclosing initializer
29 | state: Binding<StateType>?,
| `- error: 'Binding' is only available in macOS 10.15 or newer
30 | background: @escaping (StateType.Visible) -> Background,
31 | content: @escaping (StateType.Visible) -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:42:27: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:73:36: error: 'DragGesture' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
71 | }
72 |
73 | private func onDragEnded(drag: DragGesture.Value) {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
74 | self.currentResult = calculator(current: currentResult, drag: drag)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:7:61: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:7:76: error: 'View' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:79:20: error: 'View' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:37:31: error: 'State' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
26 | private var maxDrag: CGFloat
27 |
28 | init(snaps: [SnapPointCalculator<StateType>.Input],
| `- note: add @available attribute to enclosing initializer
29 | state: Binding<StateType>?,
30 | background: @escaping (StateType.Visible) -> Background,
:
35 | self.background = background
36 | self.content = content
37 | self._currentResult = State(initialValue: calculator(state: .largeState))
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | self.minDrag = self.calculator.results.first?.offset ?? 0
39 | self.maxDrag = self.calculator.results.last?.offset ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:45:17: error: setter for 'currentResult' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
45 | self.currentResult = self.calculator(state: state.wrappedValue)
| |- error: setter for 'currentResult' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:49:20: error: 'DragGesture' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
:
47 | }
48 |
49 | let drag = DragGesture()
| |- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | .updating($dragState) { drag, state, transaction in
51 | state = .dragging(translation: drag.translation)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:49:20: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
:
47 | }
48 |
49 | let drag = DragGesture()
| |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
50 | .updating($dragState) { drag, state, transaction in
51 | state = .dragging(translation: drag.translation)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:50:14: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
:
48 |
49 | let drag = DragGesture()
50 | .updating($dragState) { drag, state, transaction in
| |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | state = .dragging(translation: drag.translation)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:53:14: error: 'onEnded' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
40 | }
41 |
42 | public var body: some View {
| `- note: add @available attribute to enclosing property
43 | if let state = state, currentResult.state != state.wrappedValue {
44 | DispatchQueue.main.async {
:
51 | state = .dragging(translation: drag.translation)
52 | }
53 | .onEnded(onDragEnded)
| |- error: 'onEnded' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 |
55 | return ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:65:24: error: cannot find 'UIScreen' in scope
63 | }
64 | }
65 | .frame(height: UIScreen.main.bounds.height)
| `- error: cannot find 'UIScreen' in scope
66 | .clipShape(RoundedRectangle(cornerRadius: 20))
67 | .shadow(color: Color(.sRGBLinear, white: 0, opacity: 0.9), radius: 10.0)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:74:9: error: setter for 'currentResult' is only available in macOS 10.15 or newer
5 | let handleThickness: CGFloat = 5
6 |
7 | public struct SnapDrawer<StateType: SnapState, Background : View, Content: View> : View {
| `- note: add @available attribute to enclosing generic struct
8 | private let calculator: SnapPointCalculator<StateType>
9 |
:
71 | }
72 |
73 | private func onDragEnded(drag: DragGesture.Value) {
| `- note: add @available attribute to enclosing instance method
74 | self.currentResult = calculator(current: currentResult, drag: drag)
| |- error: setter for 'currentResult' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:80:9: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .frame(width: 40, height: handleThickness)
82 | .foregroundColor(Color.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:81:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .foregroundColor(Color.secondary)
83 | .padding(.vertical, handleVerticalPadding)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:82:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
82 | .foregroundColor(Color.secondary)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .padding(.vertical, handleVerticalPadding)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:82:30: error: 'Color' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
82 | .foregroundColor(Color.secondary)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .padding(.vertical, handleVerticalPadding)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:82:36: error: 'secondary' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
82 | .foregroundColor(Color.secondary)
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .padding(.vertical, handleVerticalPadding)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapDrawer.swift:83:14: error: 'padding' is only available in macOS 10.15 or newer
76 | }
77 |
78 | struct Handle : View {
| `- note: add @available attribute to enclosing struct
79 | var body: some View {
| `- note: add @available attribute to enclosing property
80 | RoundedRectangle(cornerRadius: handleThickness / 2.0)
81 | .frame(width: 40, height: handleThickness)
82 | .foregroundColor(Color.secondary)
83 | .padding(.vertical, handleVerticalPadding)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[8/9] Compiling Snap SnapCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:41:52: error: 'DragGesture' is only available in macOS 10.15 or newer
3 | import SwiftUI
4 |
5 | struct SnapPointCalculator<State: SnapState> {
| `- note: add @available attribute to enclosing generic struct
6 | struct SnapResult {
7 | let state: State
:
39 | }
40 |
41 | func callAsFunction(current: SnapResult, drag: DragGesture.Value) -> SnapResult {
| | `- error: 'DragGesture' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | // TODO: this still has some work todo
43 | let verticalDirection = drag.predictedEndLocation.y - drag.location.y
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:93:68: error: cannot find type 'UIEdgeInsets' in scope
91 | extension SnapPoint {
92 |
93 | fileprivate func offset(deviceHeight: CGFloat, safeAreaInsets: UIEdgeInsets) -> CGFloat {
| `- error: cannot find type 'UIEdgeInsets' in scope
94 | switch self {
95 | case .fraction(let fraction):
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:12:63: error: cannot find 'UIScreen' in scope
10 |
11 | static var zero: SnapResult {
12 | return SnapResult(state: .invisibleState, offset: UIScreen.main.bounds.height, contentHeight: 0)
| `- error: cannot find 'UIScreen' in scope
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:75:30: error: cannot find 'UIApplication' in scope
73 |
74 | init(snaps: [Input]) {
75 | let safeAreaInsets = UIApplication.shared.windows.first(where: { $0.isKeyWindow })?.safeAreaInsets ?? .zero
| `- error: cannot find 'UIApplication' in scope
76 | let deviceHeight = UIScreen.main.bounds.height
77 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/SnapCalculator.swift:76:28: error: cannot find 'UIScreen' in scope
74 | init(snaps: [Input]) {
75 | let safeAreaInsets = UIApplication.shared.windows.first(where: { $0.isKeyWindow })?.safeAreaInsets ?? .zero
76 | let deviceHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
77 |
78 | let results = snaps.map { input -> SnapResult in
[9/9] Compiling Snap BlurView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:6:78: error: cannot find type 'UIView' in scope
4 |
5 | public struct BlurView: UIViewRepresentable {
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIView' in scope
7 | let view = UIView(frame: .zero)
8 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:6:37: error: cannot find type 'UIViewRepresentableContext' in scope
4 |
5 | public struct BlurView: UIViewRepresentable {
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
7 | let view = UIView(frame: .zero)
8 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:24:40: error: cannot find type 'UIView' in scope
22 | }
23 |
24 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
| `- error: cannot find type 'UIView' in scope
25 | guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:24:57: error: cannot find type 'UIViewRepresentableContext' in scope
22 | }
23 |
24 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
25 | guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:5:25: error: cannot find type 'UIViewRepresentable' in scope
3 | import SwiftUI
4 |
5 | public struct BlurView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
7 | let view = UIView(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:7:20: error: cannot find 'UIView' in scope
5 | public struct BlurView: UIViewRepresentable {
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
7 | let view = UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
8 | view.backgroundColor = .clear
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:7:35: error: cannot infer contextual base in reference to member 'zero'
5 | public struct BlurView: UIViewRepresentable {
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
7 | let view = UIView(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
8 | view.backgroundColor = .clear
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:8:33: error: cannot infer contextual base in reference to member 'clear'
6 | public func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
7 | let view = UIView(frame: .zero)
8 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
10 | let blurView = UIVisualEffectView(effect: blurEffect)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:9:26: error: cannot find 'UIBlurEffect' in scope
7 | let view = UIView(frame: .zero)
8 | view.backgroundColor = .clear
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
| `- error: cannot find 'UIBlurEffect' in scope
10 | let blurView = UIVisualEffectView(effect: blurEffect)
11 | blurView.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:9:90: error: cannot infer contextual base in reference to member 'dark'
7 | let view = UIView(frame: .zero)
8 | view.backgroundColor = .clear
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
| `- error: cannot infer contextual base in reference to member 'dark'
10 | let blurView = UIVisualEffectView(effect: blurEffect)
11 | blurView.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:10:24: error: cannot find 'UIVisualEffectView' in scope
8 | view.backgroundColor = .clear
9 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
10 | let blurView = UIVisualEffectView(effect: blurEffect)
| `- error: cannot find 'UIVisualEffectView' in scope
11 | blurView.translatesAutoresizingMaskIntoConstraints = false
12 | view.insertSubview(blurView, at: 0)
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:25:58: error: cannot find type 'UIVisualEffectView' in scope
23 |
24 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
25 | guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
| `- error: cannot find type 'UIVisualEffectView' in scope
26 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
27 | effectView.effect = blurEffect
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:26:26: error: cannot find 'UIBlurEffect' in scope
24 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
25 | guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
| `- error: cannot find 'UIBlurEffect' in scope
27 | effectView.effect = blurEffect
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Snap/BlurView.swift:26:90: error: cannot infer contextual base in reference to member 'dark'
24 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<BlurView>) {
25 | guard let effectView = uiView.subviews.first as? UIVisualEffectView else { return }
26 | let blurEffect = UIBlurEffect(style: context.environment.colorScheme == .dark ? .dark : .light)
| `- error: cannot infer contextual base in reference to member 'dark'
27 | effectView.effect = blurEffect
28 |
BUILD FAILURE 6.0 macosSpm