Lab 006 – Stage Manager Concept
What if Apple made Stage Manager available on visionOS?
When Apple released Stage Manager on macOS and iPadOS, I thought it would play a part in their Spatial Computing platform. When visionOS 1.0 arrived, I was surprised that it was nowhere to be seen.
This is just a simple concept of a similar feature. This feature could work as a way to group multiple windows into a single object. That object could be positioned in space.
This is a revamped version of Canvatorium Visio Lab 5032, adapted for Step Into Vision.
struct Lab006: View {
@State var items: [Color] = [.stepRed, .stepGreen, .stepBlue, .stepBackgroundSecondary]
var body: some View {
ZStack(alignment: .bottom) {
HStack (alignment: .center, spacing: 40){
VStack(alignment: .leading, spacing: 20) {
ForEach(items[1..<4], id: \.self) { item in
Rectangle()
.foregroundColor(item)
.cornerRadius(12)
.shadow(radius: 20)
.frame(width: 100, height: 75)
.onTapGesture {
withAnimation(.easeInOut(duration: 0.2)) {
let clickedIndex = items.firstIndex(of: item)!
items.swapAt(0, clickedIndex)
}
}
}
}
.offset(z: 24)
.rotation3DEffect(
Angle(degrees: 12 ),
axis: (x: 0, y: 1, z: 0)
)
Rectangle()
.foregroundColor(items[0])
.cornerRadius(24)
.shadow(radius: 20)
.frame(width: 400 , height: 300)
}
}
}
}Originally published as Lab 5032 in the Canvatorium Visio series.
Download the Xcode project with this and many more labs from Step Into Vision.

Follow Step Into Vision