开发杂记

来源:互联网 发布:cisco 端口隔离 编辑:程序博客网 时间:2024/04/30 13:06

#ifndef examination_PrefixHeader_pch

#define examination_PrefixHeader_pch


// Include any system framework and library headers here that should be included in all compilation units.

// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.


#endif


#import <Availability.h>


#ifdef __OBJC__


#import <UIKit/UIKit.h>

#import <Foundation/Foundation.h>


#endif


/*动画效果

 [UIView animateWithDuration:1.0 animations:^{

 self.vvv.alpha = 0.0;

 }];

 */



/*

 ios注释标准

 */

//这样的注释适用于在方法中逻辑思维比较麻烦的时候做个简单的说明

/** 这样的注释可以在属性引用的时候显示中文注释*/

/*!这样的注释适用于方法的注释

 @method

 @abstract这里可以写一些关于这个方法的一些简要描述

 @discussion这里可以具体写写这个方法如何使用,注意点之类的。如果你是设计一个抽象类或者一个

 共通类给给其他类继承的话,建议在这里具体描述一下怎样使用这个方法。

 @param text文字 (这里把这个方法需要的参数列出来)

 @param error 错误参照

 @result 返回结果

 */



/*

 本程序的文件备注,主要描述文件代表的模块与功能。

 PrefixHeader.pch 文件定义以及宏定义

 InfoPlist.strings 程序名称的中英文设定

 SidebarViewController 菜单栏框架

 LeftSideBarViewController 左边菜单栏

 AboutViewController 关于我们

 CheckViewController 检查更新

 OpinionViewController 意见反馈

 MainViewController 首页

*/



/*

 本程序的宏定义

 */

/** 当前设备页面宽 */

#define Main_width [UIScreen mainScreen].bounds.size.width

/** 当前设备页面高 */

#define Main_height [UIScreen mainScreen].bounds.size.height

/** 颜色设定 */

#define color(a,b,c) [UIColor colorWithRed:a/255.0 green:b/255.0 blue:c/255.0 alpha:1]




[selfperformSelector:@selector(getData)withObject:nilafterDelay:0.1];


0 0