Bemmu
Bemmu

Reputation: 18247

Connecting UITextField in Interface Builder to IBOutlet defined in code

Any idea why IB doesn't let me make this connection?

alt text

Upvotes: 5

Views: 3348

Answers (2)

David Hancock
David Hancock

Reputation: 14991

In the Identity Inspector for that views File's Owner, make sure that the Class is set to MainScreenViewController. If you could add a screenshot of your MainScreenViewController.xib window that may be more helpful.

Upvotes: 3

vakio
vakio

Reputation: 3177

You are trying to link two different IB documents, i.e two different .xib files, which is not possible. I think you really only want to have one .xib file here.

Upvotes: 1

Related Questions