Problem with creating button in Xcode 15

Hello,

I've started using Xcode 15 two days ago and I've used the developper article found on your site to create a new application.

However, I'm not able to create a button which could allow me to click on an open a new windows on the simulator. I've looked on internet and so one without finding anything.

I've tried to insert a Button code with label but without success.

Here is the code I've done in "contentview".

Coudl you help me by giving me the correct code ?

Thank you

Problem with creating button in Xcode 15
 
 
Q