图 1-2 命名新项
Language选择Objective-C,Devices选择iPhone。单击Next按钮,显最
后个界,保存项。单击Create, 蓦然项就创建好了。
1.2搭建基本框架
在项导航板中找到系统动成的ViewController.h和ViewController.m件
和Main.storyboard件并删除。
在项导航板中的蓦然件夹上,右键选择Show in Finder,添加Models
录、Views录、Controllers录、Resources录、APP录、Supporting Files
录,如图(1-3)
图 1-3创建新录
将info.plist、main.m放Supporting Files录,AppDelegate.h和AppDelegate.m
放APP录,Images.xcassets和LaunchScreen.xib放Resources录后,回到
Xcode中项导航板,在蓦然件上右键选择Add Files to “蓦然”…
评论0