网易彩票-基本框架

1. 创建App:Single View APP->Product Name:Lottery

2. Lottery目录下新建3个文件夹:Classes、Comman、Other

3. Classes目录下新建5个文件夹,并在每个文件夹下再新建4个文件夹:

  Arena(竞技场) :          OtherModelViewController            

  Discovery(发现):        Other、Model、View、Controller

  Hall(购彩大厅):           Other、Model、View、Controller

  History(开奖信息):      Other、Model、View、Controller   

  MyLottery(我的彩票):  Other、Model、View、Controller

  Main(主框架):            Other、Model、View、Controller

4. 将“AppDelegate.h”和“AppDelegate.m”移到“Other”目录下

5. 删除项目目录文件:“viewController.h”、“viewController.m”、“Main.storyboard”->Move to Trash

6. 设置禁用系统自带的“Main”:General->Deployment Info->Main Interface:清空

7. 禁止横屏:General->Deployment Info->Device Orientation->Landscape Left:勾勾去掉Landscape Right:勾勾去掉

8. 应用图标设置:将素材图片拖进Assets.xcassets->appIcon

9. 应用启动图片设置:

  9.1 General->App Icons and Launch Images->Launch Images Source:Assets->MigrateLaunch Screen File:清空

  9.2 将素材图片拖进Assets.xcassets->LaunchImage

10. 其它素材图片拖进Assets.xcassets

猜你喜欢

转载自www.cnblogs.com/diexin/p/9824259.html