How to add new xib files

后端 未结 5 1322
别跟我提以往
别跟我提以往 2021-02-02 06:18

I have to develop an app with multiple screens. I have automatically generated xib file, but for my other screen I need another xib file. How do I create another xib file?

5条回答
  •  再見小時候
    2021-02-02 07:05

    In XCode 5: ( Created a NEW someVC.xib when you just Deleted your old someVC.xib )

    more Steps need to done:

    tap : ClassNameWithViewController.xib , as processes in last answer , and IB opened

    choice: File's owner

    tap : Identity Inspector

    in [Custom Class] -> pull-down the [Class] window to selected -> ClassNameWithViewController

    back to tap : File's owner

    2 finger tap : File's owner -> open the Links Menu -> drag a line from [view's small-circle] to [View] in IB

提交回复
热议问题