Rocky
Rocky

Reputation: 1423

How to connect an xib to my application in iphone

i have created an application in iphone. i have created all my controller files without an xib. After the controllers have seperatedly created xib from the user interface section and and i started linking the xibs that i have created seperatedly with my controllers .But the problem is that it does get connected with my class.How to connect the xib with my class.Please anybody help me in solving this problem.

Upvotes: 2

Views: 1958

Answers (1)

Badr
Badr

Reputation: 10648

  1. open inspector for the xib file
  2. go to the last tab of it
  3. select the controller class for the xib

then open the xib and open the interface builder and make the connection with the view component if you have any

run and enjoy.

Upvotes: 1

Related Questions