GPUImageInput协议主要包含一些输入需要渲染目标的操作。 - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex 说明:准备下一个要使用的新帧 - (void)setInputFr...
#import?"ViewController.h"
@interface?ViewController?()
{
????NSInteger?_cnt;
????NSLock?*_lock;
}
@end
@implementation?ViewController
-?(void)viewDidLoad?{
????[super?viewD...
分类:
移动开发 时间:
2015-11-12 16:20:12
阅读次数:
287
基本需要知道的 :unsigned : 没符号的signed : 有符号的int : 整型看看OC的定义 :1 #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LI...
分类:
其他好文 时间:
2015-11-09 20:33:09
阅读次数:
284
- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView { ? ? return 1; } - (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component { ? ? re...
分类:
其他好文 时间:
2015-11-09 19:22:22
阅读次数:
262
创建对象类型assign:用于非指针变量,用于基础数据类型(例如NSInteger)和C数据类 型(int, float,double,char,等)另外还有id如:@property(nonatomic,assign) int number@property (nonatomic,assign) ...
分类:
其他好文 时间:
2015-11-09 15:45:51
阅读次数:
290
UILabel *pLabel = [[UILabel alloc]initWithFrame:CGRectMake(0,100,200,100)];pLabel.text = @"测试到吗";NSInteger leght = [pLabel.text length];NSMutableAttri...
分类:
其他好文 时间:
2015-11-09 15:42:52
阅读次数:
122
#import "SizeCopy.h"@implementation SizeCopy-(void)accordingByteCopy:(NSInteger)size{ //获取桌面上的文件路径,以便拷贝 NSString *oldPath=@"/Users/scjy/Desktop/video....
分类:
其他好文 时间:
2015-11-06 22:11:59
阅读次数:
239
属性readwrite,readonly,assign,retain,weak,strong,copy,nonatomic ,atomic的作用,使用情况及注意点 NSInteger 通知与协议的区别
分类:
移动开发 时间:
2015-11-05 23:58:20
阅读次数:
389
1 NSDate *date = [NSDate date];//获取当前时间 // NSLog(@"%@",date); NSTimeZone *zone = [NSTimeZone systemTimeZone]; NSInteger timeOff = [zone secondsFromGM....
分类:
其他好文 时间:
2015-11-03 17:30:32
阅读次数:
220
#import @class XWDropdownMenu;#pragma mark 数据源方法@protocol XWDropdownMenuDataSource @required/** * 主表格一共有多少行 */- (NSInteger)numberOfRowsInMainTable:(X....
分类:
其他好文 时间:
2015-11-03 00:31:20
阅读次数:
181