KiwiDesigns KiwiDesigns - 2 years ago 160
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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download