美文网首页
swift 创建xib项目

swift 创建xib项目

作者: HitlerCoding | 来源:发表于2019-01-24 11:18 被阅读6次
swift 使用xib布局创建带有xib的ViewController
1. 在AppDelegate 引用创建的ViewController
image
2. 点击项目选择general 设置main interface 为空 设置 lauch Screen file 为启动的ViewController 的XIb
3. 删除对应的默认创建的ViewController 和main.Storyboard 和lauch screen file
image
4. 删除对应的默认创建的ViewController 和main.Storyboard 和lauch screen file

相关文章

网友评论

      本文标题:swift 创建xib项目

      本文链接:https://www.haomeiwen.com/subject/toryjqtx.html