zoukankan      html  css  js  c++  java
  • iOS-项目常见文件

    1.main.m
    * 里面有一个程序的入口:main函数
    
    2.Prefix.pch文件
    * pch文件中的内容 能被 项目中的其他任何文件 共享包含访问
    * 如果定义的内容只用在OC环境中,就必须定义在#ifdef __OBJC__和#endif之间
    
    3.发布程序的时候自动去除打印语句
    #ifdef DEBUG
    #define MyLog(...)  NSLog(__VA_ARGS__)
    #else
    #define MyLog(...)
    #endif
    
    4.InfoPlist.strings
    * 跟app的本地化相关(多语言版本)
    
    5.Info.plist
    1> 全局配置文件
    
    2> 新旧配置文件的对比
    Xcode3的时候,全局配置文件名:Info.plist
    Xcode4开始,全局配置文件名:项目名-Info.plist
    
    3> 项目中自定义的plist文件中不要包含info这个字眼
    
    4> 常见的配置
    Bundle display name : 软件名称
    Bundle identifier : app的唯一标识
    Bundle versions string, short : 软件版本号(更新app)
    Main storyboard file base name : 设置程序一启动就加载的storyboard文件
  • 相关阅读:
    接口测试之Postman简介
    postman发送get请求
    postman添加权限验证
    接口测试基础
    postman发送post请求
    postman测试上传文件
    1 R语言介绍
    《荣枯鉴》明鉴卷六
    《荣枯鉴》节仪卷五
    《荣枯鉴》交结卷四
  • 原文地址:https://www.cnblogs.com/DarbyCJ/p/3667266.html
Copyright © 2011-2022 走看看