ios开发APP必须要了解的基本配置
2016-06-18 13:54
447 查看
1,配置开发版本
![](http://img.mp.itc.cn/upload/20160614/8e616f5504ec4a8db00671d542172b51_th.png)
AdHoc开发版,AppStore正式版 2,oc的宏转swift //常量=》ObjectC宏 letLoadingTip="加载中..." letiOS8:Float=8.0 letScreenHeight =UIScreen.mainScreen().bounds.size.height letPanWidth:CGFloat=100 3,日志输出 一,配置
![](http://img.mp.itc.cn/upload/20160614/f7c74e5825824fcbbeba165cfabc6f76_th.png)
二,定义方法 funcFxLog(message:String, function:String=__FUNCTION__) { #ifDEBUG print("Log:\(message),\(function)") #else #endif } funcisiPhone5()->Bool { #ifos(iOS) FxLog("iOS") #else #endif ifScreenHeight==568{ returntrue } returnfalse } #if buildAppStore #endif funcServerAddress()->String { varaddress ="http://172.16.19.18" #ifAppStore address ="http://www.uber.com" #endif returnaddress } letYLTnURL ="http://202.101.25.178:8080/sim/gettn"
程序员杭州软件测试杭州APP开发杭州PHP工程师
本文出自 “先来一杯java压压惊” 博客,请务必保留此出处http://maybeone.blog.51cto.com/11734094/1790569
![](http://img.mp.itc.cn/upload/20160614/8e616f5504ec4a8db00671d542172b51_th.png)
AdHoc开发版,AppStore正式版 2,oc的宏转swift //常量=》ObjectC宏 letLoadingTip="加载中..." letiOS8:Float=8.0 letScreenHeight =UIScreen.mainScreen().bounds.size.height letPanWidth:CGFloat=100 3,日志输出 一,配置
![](http://img.mp.itc.cn/upload/20160614/f7c74e5825824fcbbeba165cfabc6f76_th.png)
二,定义方法 funcFxLog(message:String, function:String=__FUNCTION__) { #ifDEBUG print("Log:\(message),\(function)") #else #endif } funcisiPhone5()->Bool { #ifos(iOS) FxLog("iOS") #else #endif ifScreenHeight==568{ returntrue } returnfalse } #if buildAppStore #endif funcServerAddress()->String { varaddress ="http://172.16.19.18" #ifAppStore address ="http://www.uber.com" #endif returnaddress } letYLTnURL ="http://202.101.25.178:8080/sim/gettn"
程序员杭州软件测试杭州APP开发杭州PHP工程师
本文出自 “先来一杯java压压惊” 博客,请务必保留此出处http://maybeone.blog.51cto.com/11734094/1790569
相关文章推荐
- APP数据分析的常用指标
- Android中Activity跳转过程中的反向传值
- Android高级_视频播放控件
- Android 获取系统的联系人
- Material Design系列探究之LinearLayoutCompat
- Appstore排名前十的程序员应用软件
- Objective-C Mojo和Django 对接
- RxJava与RxAndroid
- 玩转Chrome workplace
- 移动端App与后台服务的对接方案
- 【解决】MappingException提示Association references unmapped class错误
- JS交互的方法(上)UIWebView
- 总结iOS9中的新的方法
- Android 学习记录-游标适配器应用不同布局
- LinearLayout match_parent wrap_content layout_weight
- Android系统默认Home应用程序(Launcher)的启动过程源代码分析
- android机型占比
- 获取Object的所有keys or values
- Android的四大组件之BroadcastReceiver
- ios学习路线—iOS高级(AFNetworking)