Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Can't I Drag and Drop Objects from the Library to the Canvas in Xcode 15 using SwiftUI?

The canvas appears to be read-only... I can only drag and drop objects (Views & Modifiers & so on) from the Library onto the code itself. I'm doing a class on udemy where the instructor is literally dragging and dropping objects onto the canvas and it auto-updates the code and the canvas at the same time. She's using an older version of Xcode, however. Why did Apple remove this functionality? Or am I missing a setting somewhere? Even when I drag, say, a button into the code, I can't even drag and move the button around on the canvas, it's just unclickable.

like image 766
Jacob Jackson Avatar asked Dec 18 '25 17:12

Jacob Jackson


1 Answers

Yes, Apple confirmed that this feature was removed in Xcode 15.

https://developer.apple.com/forums/thread/746483

like image 169
Alexey3m Avatar answered Dec 20 '25 11:12

Alexey3m



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!