Drag and Drop does not work in Xcode

I am working on my first Swift project in Xcode, and I'm having trouble dragging items from the storyboard to the code.

Nothing happens when I try to drag and drop. I am running the latest version of Xcode and using Swift.

The ViewController class , and the ViewController.swift file

I am trying to drag a text box into a class.

+4
source share
3 answers

I have a question and a possible solution for you, Sam.

? , mac , , , Interface Builder . Chrome, VNC. , . mac , , Interface Builder .

, ? ... - .

, !

+2

ViewController Storyboard, , . viewcontroller.

viewcontroller, iOS. .

enter image description here

+1

(Main.storyboard - ).

.swift.

, "" UIViewController ( ) Identity Inspector ( this)

0

Source: https://habr.com/ru/post/1650593/


All Articles