Create a xib UIViewController file for my existing ViewController file in Xcode 8

I have an existing View Controller file with a set of code. I want to create an interface constructor file for the ViewController and link them. Right now, it seems I don't see the UIViewController parameter in the New file parameters, like here. enter image description here

Can someone tell me how to do this?

+4
source share
3 answers

Now Apple prefers to use the storyboard as its easy to use and handle view controllers, but still if you want to create a separate view controller. Please follow these steps.

1- c ,
2- UIView UIViewController
3- xib
4- UIViewController, .
5- , " "

+5
0

, xib, . , kkRocks, , url xib.

0

Source: https://habr.com/ru/post/1657063/


All Articles