zoukankan      html  css  js  c++  java
  • ios开发APP必须要了解的基本配置

    1,配置开发版本

      AdHoc开发版,AppStore正式版

      2,oc的宏转swift

      //常量=》ObjectC宏

      letLoadingTip="加载中..."

      letiOS8:Float=8.0

      letScreenHeight =UIScreen.mainScreen().bounds.size.height

      letPanWidth:CGFloat=100

      3,日志输出

      一,配置

      二,杭州APP开发定义方法

      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"

    PHP是世界上最好的语言
  • 相关阅读:
    Python将字符串转换成字典
    MySQL索引、视图
    MySQL高级查询
    MySQL函数应用
    MySQL约束
    MySQL基础查询
    MySQL数据库基本语法
    MySQL数据库存储引擎
    MySQL数据库简介与命令行操作
    MySQL 安装和配置环境变量
  • 原文地址:https://www.cnblogs.com/proginn/p/5584196.html
Copyright © 2011-2022 走看看