Build Information
Failed to build Reorderable, reference 1.3.2 (b24bb0), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 19:34:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/visfitness/reorderable.git
Reference: 1.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/visfitness/reorderable
* tag 1.3.2 -> FETCH_HEAD
HEAD is now at b24bb02 Changed autoscroll to use task instead of timer
Cloned https://github.com/visfitness/reorderable.git
Revision (git rev-parse @):
b24bb0285de065df1e46bf288eba770202e79482
SUCCESS checkout https://github.com/visfitness/reorderable.git at 1.3.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "reorderable",
"name": "Reorderable",
"url": "https://github.com/visfitness/reorderable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/reorderable",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/visfitness/reorderable.git
[1/7008] Fetching reorderable
Fetched https://github.com/visfitness/reorderable.git from cache (1.83s)
Creating working copy for https://github.com/visfitness/reorderable.git
Working copy of https://github.com/visfitness/reorderable.git resolved at 1.3.2 (b24bb02)
warning: '.resolve-product-dependencies': dependency 'reorderable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/visfitness/reorderable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Compiling Reorderable Bindings.swift
[4/12] Compiling Reorderable DragHandle.swift
[5/12] Compiling Reorderable Axis.swift
[6/12] Compiling Reorderable Autoscroll.swift
[7/12] Compiling Reorderable ReorderableStack.swift
[8/12] Emitting module Reorderable
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:54:14: error: cannot find type 'UIColor' in scope
52 |
53 | private struct Sample: Identifiable {
54 | var color: UIColor
| `- error: cannot find type 'UIColor' in scope
55 | var id: UUID = UUID()
56 | var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:58:17: error: cannot find type 'UIColor' in scope
56 | var width: CGFloat
57 |
58 | init(_ color: UIColor, _ height: CGFloat) {
| `- error: cannot find type 'UIColor' in scope
59 | self.color = color
60 | self.width = height
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:12: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:45: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:78: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:12: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:45: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:78: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:12: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:45: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:79: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:12: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:45: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:78: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:12: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:45: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:79: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:112: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:145: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:181: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:12: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:45: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:79: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:112: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:145: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:180: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:12: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:45: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:79: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:112: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:145: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:180: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:214:21: error: cannot find 'UIColor' in scope
212 | HStack {
213 | RoundedRectangle(cornerRadius: 32, style: .continuous)
214 | .fill(Color(UIColor.systemIndigo))
| `- error: cannot find 'UIColor' in scope
215 | .frame(width: 300)
216 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:243:21: error: cannot find 'UIColor' in scope
241 |
242 | RoundedRectangle(cornerRadius: 32, style: .continuous)
243 | .fill(Color(UIColor.systemRed))
| `- error: cannot find 'UIColor' in scope
244 | .frame(width: 300)
245 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:12: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:45: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:79: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:259:25: error: cannot find 'UIColor' in scope
257 | VStack {
258 | Button {
259 | data.append(.init(UIColor.systemMint, 100))
| `- error: cannot find 'UIColor' in scope
260 | } label: {
261 | Text("Add Element")
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:54:14: error: cannot find type 'UIColor' in scope
52 |
53 | private struct Sample: Identifiable {
54 | var color: UIColor
| `- error: cannot find type 'UIColor' in scope
55 | var id: UUID = UUID()
56 | var height: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:58:17: error: cannot find type 'UIColor' in scope
56 | var height: CGFloat
57 |
58 | init(_ color: UIColor, _ height: CGFloat) {
| `- error: cannot find type 'UIColor' in scope
59 | self.color = color
60 | self.height = height
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:12: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:45: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:79: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:12: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:45: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:79: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:12: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:45: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:79: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:12: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:45: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:79: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:12: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:45: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:79: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:112: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:145: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:180: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:12: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:45: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:79: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:112: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:145: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:180: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:12: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:45: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:79: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:112: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:145: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:180: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:214:21: error: cannot find 'UIColor' in scope
212 | VStack {
213 | RoundedRectangle(cornerRadius: 32, style: .continuous)
214 | .fill(Color(UIColor.systemIndigo))
| `- error: cannot find 'UIColor' in scope
215 | .frame(height: 300)
216 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:243:21: error: cannot find 'UIColor' in scope
241 |
242 | RoundedRectangle(cornerRadius: 32, style: .continuous)
243 | .fill(Color(UIColor.systemRed))
| `- error: cannot find 'UIColor' in scope
244 | .frame(height: 300)
245 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:12: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:45: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:79: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:260:25: error: cannot find 'UIColor' in scope
258 | VStack {
259 | Button {
260 | data.append(.init(UIColor.systemMint, 100))
| `- error: cannot find 'UIColor' in scope
261 | } label: {
262 | Text("Add Element")
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:23: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:55: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:88: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:23: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:54: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:86: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:23: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:57: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:89: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:308:23: error: cannot find 'UIColor' in scope
306 | ZStack {
307 | RoundedRectangle(cornerRadius: 24, style: .continuous)
308 | .fill(Color(UIColor.systemOrange))
| `- error: cannot find 'UIColor' in scope
309 | .frame(width: 64, height: 64)
310 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:12: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:45: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:79: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:27: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:46: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:68: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:23: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:55: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:88: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:23: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:54: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:86: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:23: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:57: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:89: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:363:23: error: cannot find 'UIColor' in scope
361 | ZStack {
362 | RoundedRectangle(cornerRadius: 24, style: .continuous)
363 | .fill(Color(UIColor.systemOrange))
| `- error: cannot find 'UIColor' in scope
364 | .frame(width: 64, height: 64)
365 | .padding()
[9/12] Compiling Reorderable Disabling.swift
[10/12] Compiling Reorderable Position.swift
[11/12] Compiling Reorderable ReorderableVStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:54:14: error: cannot find type 'UIColor' in scope
52 |
53 | private struct Sample: Identifiable {
54 | var color: UIColor
| `- error: cannot find type 'UIColor' in scope
55 | var id: UUID = UUID()
56 | var height: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:58:17: error: cannot find type 'UIColor' in scope
56 | var height: CGFloat
57 |
58 | init(_ color: UIColor, _ height: CGFloat) {
| `- error: cannot find type 'UIColor' in scope
59 | self.color = color
60 | self.height = height
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:12: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:45: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:66:79: error: cannot find 'UIColor' in scope
64 | #Preview("Short Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:12: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:45: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:84:79: error: cannot find 'UIColor' in scope
82 | #Preview("Short Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:12: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:45: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:110:79: error: cannot find 'UIColor' in scope
108 | #Preview("Short Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:12: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:45: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:130:79: error: cannot find 'UIColor' in scope
128 | #Preview("Short Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableVStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:12: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:45: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:79: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:112: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:145: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:155:180: error: cannot find 'UIColor' in scope
153 | #Preview("Tall Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:12: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:45: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:79: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:112: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:145: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:182:180: error: cannot find 'UIColor' in scope
180 | #Preview("Tall Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:12: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:45: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:79: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:112: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:145: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:209:180: error: cannot find 'UIColor' in scope
207 | #Preview("Tall Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:214:21: error: cannot find 'UIColor' in scope
212 | VStack {
213 | RoundedRectangle(cornerRadius: 32, style: .continuous)
214 | .fill(Color(UIColor.systemIndigo))
| `- error: cannot find 'UIColor' in scope
215 | .frame(height: 300)
216 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:243:21: error: cannot find 'UIColor' in scope
241 |
242 | RoundedRectangle(cornerRadius: 32, style: .continuous)
243 | .fill(Color(UIColor.systemRed))
| `- error: cannot find 'UIColor' in scope
244 | .frame(height: 300)
245 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:12: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:45: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:255:79: error: cannot find 'UIColor' in scope
253 | #Preview("Short Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)
| `- error: cannot find 'UIColor' in scope
256 | ]
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:260:25: error: cannot find 'UIColor' in scope
258 | VStack {
259 | Button {
260 | data.append(.init(UIColor.systemMint, 100))
| `- error: cannot find 'UIColor' in scope
261 | } label: {
262 | Text("Add Element")
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:23: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:55: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:294:88: error: cannot find 'UIColor' in scope
292 | #Preview("Short Stack of Narrow Stack") {
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:23: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:54: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:295:86: error: cannot find 'UIColor' in scope
293 | @Previewable @State var data: [Sample2D] = [
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
297 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:23: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:57: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:296:89: error: cannot find 'UIColor' in scope
294 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
295 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
296 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
297 | ]
298 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:308:23: error: cannot find 'UIColor' in scope
306 | ZStack {
307 | RoundedRectangle(cornerRadius: 24, style: .continuous)
308 | .fill(Color(UIColor.systemOrange))
| `- error: cannot find 'UIColor' in scope
309 | .frame(width: 64, height: 64)
310 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:12: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:45: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:336:79: error: cannot find 'UIColor' in scope
334 | #Preview("Using Binding") {
335 | @Previewable @State var data = [
336 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 300)]
| `- error: cannot find 'UIColor' in scope
337 |
338 | ReorderableVStack($data) { $sample in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:27: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:46: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:345:68: error: cannot find 'UIColor' in scope
343 | .onTapGesture {
344 | withAnimation {
345 | sample.color = [UIColor.systemRed, UIColor.systemYellow, UIColor.systemMint].randomElement()!
| `- error: cannot find 'UIColor' in scope
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:23: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:55: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:354:88: error: cannot find 'UIColor' in scope
352 | #Preview("Short Stack of Narrow Stack using bindings") {
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
| `- error: cannot find 'UIColor' in scope
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:23: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:54: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:355:86: error: cannot find 'UIColor' in scope
353 | @Previewable @State var data: [Sample2D] = [
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
| `- error: cannot find 'UIColor' in scope
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
357 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:23: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:57: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:356:89: error: cannot find 'UIColor' in scope
354 | .init(row: [.init(UIColor.systemBlue, 200), .init(UIColor.systemGreen, 100), .init(UIColor.systemGray, 200)]),
355 | .init(row: [.init(UIColor.systemRed, 200), .init(UIColor.systemMint, 100), .init(UIColor.systemPurple, 200)]),
356 | .init(row: [.init(UIColor.systemIndigo, 200), .init(UIColor.systemTeal, 100), .init(UIColor.systemYellow, 200)]),
| `- error: cannot find 'UIColor' in scope
357 | ]
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableVStack.swift:363:23: error: cannot find 'UIColor' in scope
361 | ZStack {
362 | RoundedRectangle(cornerRadius: 24, style: .continuous)
363 | .fill(Color(UIColor.systemOrange))
| `- error: cannot find 'UIColor' in scope
364 | .frame(width: 64, height: 64)
365 | .padding()
[12/12] Compiling Reorderable ReorderableHStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:54:14: error: cannot find type 'UIColor' in scope
52 |
53 | private struct Sample: Identifiable {
54 | var color: UIColor
| `- error: cannot find type 'UIColor' in scope
55 | var id: UUID = UUID()
56 | var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:58:17: error: cannot find type 'UIColor' in scope
56 | var width: CGFloat
57 |
58 | init(_ color: UIColor, _ height: CGFloat) {
| `- error: cannot find type 'UIColor' in scope
59 | self.color = color
60 | self.width = height
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:12: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:45: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:66:78: error: cannot find 'UIColor' in scope
64 | #Preview("Narrow Stack") {
65 | @Previewable @State var data = [
66 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
67 |
68 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:12: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:45: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:84:78: error: cannot find 'UIColor' in scope
82 | #Preview("Narrow Stack with Disable Toggle") {
83 | @Previewable @State var data = [
84 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
85 |
86 | @Previewable @State var disableToggle: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:12: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:45: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:110:79: error: cannot find 'UIColor' in scope
108 | #Preview("Narrow Stack with Drag State") {
109 | @Previewable @State var data = [
110 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
111 |
112 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:12: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:45: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:130:78: error: cannot find 'UIColor' in scope
128 | #Preview("Narrow Stack with Handles") {
129 | @Previewable @State var data = [
130 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 50), Sample(UIColor.systemGray, 150)]
| `- error: cannot find 'UIColor' in scope
131 |
132 | ReorderableHStack(data, onMove: { from, to in
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:12: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:45: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:79: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:112: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:145: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:155:181: error: cannot find 'UIColor' in scope
153 | #Preview("Wide Stack without Autoscroll") {
154 | @Previewable @State var data = [
155 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
156 |
157 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:12: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:45: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:79: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:112: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:145: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:182:180: error: cannot find 'UIColor' in scope
180 | #Preview("Wide Stack with Autoscroll") {
181 | @Previewable @State var data = [
182 | Sample(UIColor.systemBlue, 100), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 150), Sample(UIColor.systemMint, 100), Sample(UIColor.systemPurple, 150), Sample(UIColor.orange, 100)]
| `- error: cannot find 'UIColor' in scope
183 |
184 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:12: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:45: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:79: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:112: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:145: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:209:180: error: cannot find 'UIColor' in scope
207 | #Preview("Wide Stack with Autoscroll and Content Before + After") {
208 | @Previewable @State var data = [
209 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 200), Sample(UIColor.systemGray, 300), Sample(UIColor.systemMint, 200), Sample(UIColor.systemPurple, 300), Sample(UIColor.orange, 200)]
| `- error: cannot find 'UIColor' in scope
210 |
211 | ScrollView([.horizontal]) {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:214:21: error: cannot find 'UIColor' in scope
212 | HStack {
213 | RoundedRectangle(cornerRadius: 32, style: .continuous)
214 | .fill(Color(UIColor.systemIndigo))
| `- error: cannot find 'UIColor' in scope
215 | .frame(width: 300)
216 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:243:21: error: cannot find 'UIColor' in scope
241 |
242 | RoundedRectangle(cornerRadius: 32, style: .continuous)
243 | .fill(Color(UIColor.systemRed))
| `- error: cannot find 'UIColor' in scope
244 | .frame(width: 300)
245 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:12: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:45: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:255:79: error: cannot find 'UIColor' in scope
253 | #Preview("Narrow Stack with Add/Remove") {
254 | @Previewable @State var data = [
255 | Sample(UIColor.systemBlue, 200), Sample(UIColor.systemGreen, 100), Sample(UIColor.systemGray, 200)]
| `- error: cannot find 'UIColor' in scope
256 |
257 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Reorderable/ReorderableHStack.swift:259:25: error: cannot find 'UIColor' in scope
257 | VStack {
258 | Button {
259 | data.append(.init(UIColor.systemMint, 100))
| `- error: cannot find 'UIColor' in scope
260 | } label: {
261 | Text("Add Element")
[13/13] Compiling Reorderable SensoryFeedback.swift
BUILD FAILURE 6.3 macosSpm