Editor > Embed and Embed Context Menu

I'm assuming that the Embed functionality that is part of Swift UI didn't make it into the Xcode 12 preview.

I don't see it in the Editor menu. I have no context menu that looks like the serving suggestion in the video.

Didn't see a reference in the release notes.

I'm assuming it's not just my fresh install.
Howdy,

Sorry to hear you are having problems. By "embed functionality", do you mean the menu that contains options such as "Embed in HStack", "Embed in VStack", etc? If so, you can access that contextual menu by holding down ctrl+cmd and clicking on the View (such as a Text).

Hope that helps!
That's it - thanks!

Option + command + click is the correct set of keyboard modifiers.

Control + command sends me to the code definition.

Wow, 3 context menus.

Is there a reason for differentiating Embed In for Storyboards and for Swift UI? Those who are used to Storyboards will search for Embed In in the Editor menu as well, but Swift UI doesn't have an Editor menu presence. The option+command+click concept doesn't work in Storyboards. Just thinking of having consistency between the two approaches and helping those learn or work across both techniques.
Editor > Embed and Embed Context Menu
 
 
Q