[英]Xib view controller in storyboard
I'm trying to use this repository from Github and to use it you must have a xib file whether it's in your storyboard or not and I wanted to know how I can do to have my view controllers acting like xib but in my storyboard. 我正在尝试使用来自Github的此存储库 ,并且要使用它,无论它是否在情节提要中,您都必须具有一个xib文件,并且我想知道如何做才能使我的视图控制器像我的情节提要一样出现在我的情节提要中。
I'm sorry if I'm not clear enough but just tell me in the comments and I'll try my best to be clearer. 很抱歉,如果我还不够清楚,请在评论中告诉我,我会尽力使自己更加清晰。
Kindest regards, 最亲切的问候,
All you have to do is in your project select New File
from the file menu or by right clicking in your file navigator. 所有您需要做的是在项目中,从文件菜单中选择“
New File
,或在文件导航器中单击鼠标右键。 On the popupWindow select iOS on the left (This will let you see all the options) find the "View Option". 在popupWindow上,选择左侧的iOS(这将使您看到所有选项),找到“查看选项”。
and this will create a View.Xib file. 这将创建一个View.Xib文件。 This is just the UI file for a view.
这只是视图的UI文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.