简体   繁体   中英

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.

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. On the popupWindow select iOS on the left (This will let you see all the options) find the "View Option".

在此处输入图片说明

and this will create a View.Xib file. This is just the UI file for a view.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM