摘要: 转自:http://blog.csdn.net/wangyuchun_799/article/details/7736928,尊重原创! 3.1创建渲染缓冲区 GLuint m_renderbuffer;//创建一个渲染缓冲区对象 glGenRenderbuffers(1, &m_renderbuf 阅读全文
posted @ 2017-05-09 19:49 little_star 阅读(1893) 评论(0) 推荐(0) 编辑
摘要: //当上传或下载数据成功时执行;当任务被取消时也会执行 - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error /* Since iO 阅读全文
posted @ 2016-08-09 11:43 little_star 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 参考自:http://perpendiculo.us/2009/09/synchronized-nslock-pthread-osspinlock-showdown-done-right/,尊重原创!苹果多线程 锁的文档https://developer.apple.com/library/ios/... 阅读全文
posted @ 2016-01-22 11:11 little_star 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 1、ios8.3上键盘莫名弹出 工作中遇到这样一个问题,在某个界面上弹了个alertViewController后,进入下一个界面时,会莫名其妙的弹出一个键盘。 hook了UIResponder的becomeFirstResponder后,发觉最后触发键盘的堆栈是这样子的: 很清楚的表明,这... 阅读全文
posted @ 2015-07-03 11:52 little_star 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blog.csdn.net/zhaoxy_thu/article/details/30073485,尊重原创!最近在开发一个大项目的时候遇到一个很头疼的问题,由于项目代码较多,每次都要编译链接1分钟左右,调试的时候很浪费时间,于是研究了一下如何提高编译链接的速度,在这里分享给大... 阅读全文
posted @ 2015-03-15 09:41 little_star 阅读(1788) 评论(1) 推荐(0) 编辑
摘要: https://developer.apple.com/library/ios/documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html#//apple_ref/doc/uid/TP30000897... 阅读全文
posted @ 2014-11-12 17:33 little_star 阅读(3013) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blog.sina.com.cn/s/blog_6dce99b10101atsu.html, http://blog.csdn.net/q199109106q/article/details/8566300 ,尊重原创!详解IOS开发应用之并发Dispatch Queues是本... 阅读全文
posted @ 2014-11-07 11:06 little_star 阅读(746) 评论(1) 推荐(0) 编辑
摘要: 转载自:http://blog.csdn.net/q199109106q/article/details/8566222,尊重原创! 阅读全文
posted @ 2014-11-07 11:05 little_star 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blog.csdn.net/q199109106q/article/details/8565923,尊重原创!NSOperation 是抽象类,对它的使用可以直接使用系统提供的两个子类:NSInvocationOperation、NSBlockOperation,也可以自己写个... 阅读全文
posted @ 2014-11-07 11:03 little_star 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 前言:iPhone 中的线程应用并不是无节制的,官方给出的资料显示iPhone OS下的主线程的堆栈大小是1M,第二个线程开始都是512KB。并且该值不能通过编译器开关或线程API函数来更改。实现ios多线程主要有3种方法:NSThread 、NSOperation 、GCD。iOS支持多个层次的多... 阅读全文
posted @ 2014-11-06 17:37 little_star 阅读(329) 评论(0) 推荐(0) 编辑