Xcode6之后增加pch文件并且常用设置属性
来源:互联网 发布:简述单片机的发展趋势 编辑:程序博客网 时间:2024/06/08 23:25
//
// ZZ_APP主流框架-Prefix.pch
// ZZ_APP主流框架
//
// Created by ZZ_Macpro on 15/9/25.
// Copyright (c) 2015年 ZZ_Macpro. All rights reserved.
//
#import <Availability.h>
#ifndef __IPHONE_7_0
#warning "This project uses features only available in iOS SDK 8.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "UIImage+ZZ.h"
#import "NSString+ZZ.h"
#endif
#ifndef ZZ_APP_____ZZ_APP_____Prefix_pch
#define ZZ_APP_____ZZ_APP_____Prefix_pch
// 1.判断是否为iOS7
#define iOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0)
// 2.获得RGB颜色
#define ZZColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
// 3.全局背景色
#define ZZGlobalBg ZZColor(232, 233, 232)
// 4.自定义Log
#ifdef DEBUG
#define ZZLog(...) NSLog(__VA_ARGS__)
#else
#define ZZLog(...)
#endif
// 5.颜色、字体常量
/** 导航栏 */
// 导航栏标题颜色
#define ZZNavigationBarTitleColor ZZColor(65, 65, 65)
// 导航栏标题字体
#define ZZNavigationBarTitleFont [UIFont boldSystemFontOfSize:19]
// 导航栏按钮文字颜色
#define ZZBarButtonTitleColor (iOS7 ? ZZColor(239,113, 0) : ZZColor(119,119, 119))
#define ZZBarButtonTitleDisabledColor ZZColor(208,208, 208)
// 导航栏按钮文字字体
#define ZZBarButtonTitleFont (iOS7 ? [UIFont systemFontOfSize:15] : [UIFont boldSystemFontOfSize:12])
// 6.数据存储
#define ZZUserDefaults [NSUserDefaults standardUserDefaults]
// 7.常用对象
#define ZZNotificationCenter [NSNotificationCenter defaultCenter]
// tableView 常用尺寸
#define ZZTableBorderW 6
#define ZZCellMargin 6
#endif
- Xcode6之后增加pch文件并且常用设置属性
- Xcode6 之后 PCH 文件创建
- Xcode6之后添加 .pch 文件
- Xcode6之后添加PCH文件
- xcode6中增加pch文件
- XCode6之后如何创建一个pch文件
- xcode6之后添加.pch文件的方法
- Xcode6 自行添加.pch文件设置方法
- xcode 6之后手动创建pch文件并且添加到工程设置中去
- 基本配置之(Xcode6之后如何添加.pch文件)
- xcode6缺少pch文件
- xcode6缺少pch文件
- xcode6添加pch文件
- xcode6添加pch文件
- Xcode6添加pch文件
- xcode6 添加.pch文件
- xcode6 新建Pch文件
- Xcode6 创建.pch文件
- 深入了解vray材质的属性
- iOS 8 Auto Layout界面自动布局系列5-自身内容尺寸约束、修改约束、布局动画
- 移动web开发笔记(1)
- 数据结构-树-学习笔记
- 软考——计算机组成原理
- Xcode6之后增加pch文件并且常用设置属性
- 函数调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。
- golang 数组长度与定义长度(容量)
- PHP中的cURL的简单应用
- node Express安装和使用
- STM32中GPIO_ReadOutputDataBit及GPIO_ReadInputDataBit区别;上拉输入_IPU,下拉输入_IPD,模拟输入_AIN ;开漏输出_Out_OD, 推挽输出_O
- 【FastDev4Android框架开发】AndroidAnnnotations注入框架使用之最佳实践之Adapters和lists(十六)
- 欢迎使用CSDN-markdown编辑器
- session的使用