Hi to everyone,
I have a trouble in Xcode, when i try to do "drag and drop " from storyboard to viewcontroller.swift to insert an @iboutlet, the system doesn't do it.
Hi to everyone,
I have a trouble in Xcode, when i try to do "drag and drop " from storyboard to viewcontroller.swift to insert an @iboutlet, the system doesn't do it.
Have you set the Custom Class in the identity inspector for the view controller?
(Also I am assuming by "drag and drop" you actually mean control-drag, which is how IB connects outlets / actions / constraints... if you are actually just doing a click & drag without the control key, don't do that 🙂 )
I'm experiencing the same problem.
Why doesn't the @IBOutlet code get inserted?