码迷,mamicode.com
首页 >  
搜索关键字:nsinteger    ( 574个结果
GPUImage API文档之GPUImageInput协议
GPUImageInput协议主要包含一些输入需要渲染目标的操作。 - (void)newFrameReadyAtTime:(CMTime)frameTime atIndex:(NSInteger)textureIndex 说明:准备下一个要使用的新帧 - (void)setInputFr...
分类:Windows程序   时间:2015-11-15 17:34:10    阅读次数:210
iOS线程锁简单样例
#import?"ViewController.h" @interface?ViewController?() { ????NSInteger?_cnt; ????NSLock?*_lock; } @end @implementation?ViewController -?(void)viewDidLoad?{ ????[super?viewD...
分类:移动开发   时间:2015-11-12 16:20:12    阅读次数:287
【学习总结】整理一下int, NSInteger 等概念
基本需要知道的 :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
UIPickerview循环滚动
- (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 属性text
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
iOS面试题积累
属性readwrite,readonly,assign,retain,weak,strong,copy,nonatomic ,atomic的作用,使用情况及注意点 NSInteger 通知与协议的区别
分类:移动开发   时间:2015-11-05 23:58:20    阅读次数:389
NSDate 用法
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
574条   上一页 1 ... 19 20 21 22 23 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!