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.
我在iphone中创建了一个应用程序。我创建了没有xib的所有控制器文件。在控制器从用户界面部分分离创建了xib之后,我开始将我与控制器分开创建的xib链接起来。但问题是它确实与我的类连接。如何将xib与我的类连接。请有人帮我解决这个问题。
1 个解决方案
#1
1
- open inspector for the xib file
- go to the last tab of it
- select the controller class for the xib
打开xib文件的检查器
转到它的最后一个标签
选择xib的控制器类
then open the xib and open the interface builder and make the connection with the view component if you have any
然后打开xib并打开界面构建器并与视图组件建立连接(如果有)
run and enjoy.
跑步和享受。
#1
1
- open inspector for the xib file
- go to the last tab of it
- select the controller class for the xib
打开xib文件的检查器
转到它的最后一个标签
选择xib的控制器类
then open the xib and open the interface builder and make the connection with the view component if you have any
然后打开xib并打开界面构建器并与视图组件建立连接(如果有)
run and enjoy.
跑步和享受。