KiwiDesigns KiwiDesigns - 2 months ago 10x
iOS Question

Can´t make outlet Swift IOS Development

I have a problem i have 2 ViewController.swift files.

And in none of them i can make an outlet.

enter image description here


Be sure the ViewController class inspector in your canvas matches the ViewController class you want to make outlet to.

For example if you want to make an outlet in SecondViewController your ViewController in interface builder class inspector should be set to SecondViewCotroller too.

enter image description here

Now it works!

enter image description here