Pure Code Project
New Construction
- File ---> New ---> Project ---> Single View App
The left | Explanation |
---|---|
Product Name | Product name, project name, the name of the software |
Team | Development team (optional) |
Organization Name | Company name, organization name |
Organization Identifier | The company's unique identification |
Bundle Identifier | Unique identification software (usually Organization Identifier + Product Name) |
Language | Objective-C / Swift |
Use Core Data | Frame: the call in a manner corresponding to the object data access interface to access data |
Include Unit Tests | Unit Testing included |
Include UI Tests | Automated testing automated testing framework UI interactions |
- Remove unnecessary classes
ViewController.h
ViewController.m
Main.storyboard
- Click Project ---> General
Identity
The left | Explanation |
---|---|
Display Name | Application name on the phone screen |
Bundle Identifier | Unique identification software |
Version | App Store and the version number displayed in iTunes |
Build | Developers version (test) |
Deployment Info
The left | Explanation |
---|---|
Deployment Target | Adjustment supported version |
Devices | Choose to develop devices (Universal / iPhone / Ipad) |
Main interface | The main interface (if implemented 2: Remove unnecessary class, the delete option and press Enter) |
Device Orientation | Machine direction (Portrait: Default / Upside Down: turned upside / Landscape Left: Flip left / Landscape Right: right inversion) |
Status Bar Style | The status bar style (Default: Default Black / Light: bright white) |
Hide status bar | Hide Status Bar |
Requires full screen | 是否全屏 |
-
点击项目 ---> Build Settings ---> Build Options --->Enable Bitcode 改为NO。BitCode功能详解
对应iOS,bitcode是可选的。
对于watchOS,bitcode是必须的。
Mac OS不支持bitcode。 info.plist中添加 App Transport Security Settings的Allow Arbitrary Loads 设置为YES,开启http。
添加应用白名单:在info.plist增加key:LSApplicationQueriesSchemes,类型为NSArray
配置项目
导入第三方库
手动拖进去,需要根据官方文档安装
常用的库
常用的第三方服务
编写代码
创建接口文件
写代码
最后,觉得有用记得给个喜欢❤️!非常感谢!
简书个人主页:https://www.jianshu.com/u/281c41cc90bc
转载于:https://www.jianshu.com/p/57225eedc5ac