Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create a model segue by dragging in Xcode

Tags:

xcode

swift

I am new for Xcode , I am trying to build my first easy project by following this video:

https://www.youtube.com/watch?v=v9bsZvHuQYI

However , between 2:23 to 2:25 , the way he try to create a segue from home to another view controller is not working , I try to drag by holding ctrl and left mouse to another view controller there is nothing response (usually it will appear a blue window to tell you can link with it) , is that cause by the new version of Xcode?

I'm appreciate for any advice, thanks!

like image 686
Yank Avatar asked Aug 18 '26 21:08

Yank


1 Answers

It may have to do with the version of your editor, but you can always create a segue that's not associated with a button click or a table row click by control dragging from the View Controller icon on the controller. I had trouble making a screenshot so please excuse my drawn in mouse.

enter image description here

like image 184
mitrenegade Avatar answered Aug 20 '26 10:08

mitrenegade



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!