- 博客(7)
- 收藏
- 关注
转载 Run loops
首页编程指南中文手册/API技术杂文软件与源码遐想录关于iOS多线程编程指南(三)Run Loop2012-04-29 10:55:37 alienblue iOS多线程开发指南thread
2014-11-21 07:32:18 404
原创 NSObject类别-NSThreadPerformAdditions
- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array
2014-11-19 22:28:23 457
原创 NSThread详解
1. NSThread 创建:1)- (id)initWithTarget:(id)target selector:(SEL)selector object:(id)argumentParameterstargetselector消息发送的对象selector线程执行的方法,这个selector只能有一个参数,而且不能有返回值。argument传输给target的唯一参数,也可以是nilRet
2014-11-19 20:00:30 795
原创 Cocoa初识
Cocoa可以理解成一个对象层,充当程序与操作系统之间的媒介与协调人的角色。把操作系统提供的功能以面向对象的方式提供给应用。Cocoa主要包括2个框架:Foundation框架和ApplicationKit框架。Foundation框架:根对象类,NSObject。表示基本数据类型的类,如字符串和字节数组。存储其他对象的集合类。表达系统信息和服务的类。类型及其操
2014-11-14 18:49:11 281
原创 UIBezierPath CGContextSaveGState: invalid context 0x0. This is a serious error.
用UIBezierPath画图,: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall de
2014-11-12 17:56:02 1509
原创 ios应用执行顺序,是根据编译器,还是根据操作系统?
苹果升级ios8和xcode6.1以后,有些方法调用顺序改变了。比如A类有个变量_b,_b是B类的对象。旧的Xcode,要是在A类里调用[_b method];,如果_b还没初始化,会先初始化;Xcode6里,不初始化_b,直接调用method
2014-11-01 11:02:18 445
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人