iOS 8 - Swift - Xcode 6 Beta - working without interface builder (no nibs and no storyboard)

后端 未结 2 1931
你的背包
你的背包 2021-01-14 05:19

I have been searching a lot in the inter webs and Stackoverflow. Unfortunately there doesn\'t seem to be much info around the new Xcode version, iOS 8 specifically with Swif

2条回答
  •  青春惊慌失措
    2021-01-14 05:49

    In my opinion storyBoards are awesome. They make the development cycle easy and quick. But if you do not want them you can create a Single View Application template.

    Delete the storyBoard and Follow these steps

    1) Go to Your Target

    2) Deployment Info

    3) Main Interface -> Delete Main and keep field empty

    enter image description here

    It will not load a storyboard or any view. Now it's your responsibility to load Window and create rootViewControllers and views programmatically

提交回复
热议问题