https://github.com/YouXianMing
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 85 下一页
摘要: 使用NSOperation以及NSOperationQueueNSOperation vs. Grand Central Dispatch (GCD)在Mac OS X v10.6和iOS4之前,NSOperation 与 NSOperationQueue 不同于GCD,他们使用了完全不同的机制。从... 阅读全文
posted @ 2014-05-04 16:52 YouXianMing 阅读(1363) 评论(0) 推荐(1) 编辑
摘要: ARC中的@autoreleasepool还有作用吗?QUESTIONFor the most part with ARC (Automatic Reference Counting), we don't need to think about memory management at all wi... 阅读全文
posted @ 2014-05-04 13:21 YouXianMing 阅读(1189) 评论(1) 推荐(0) 编辑
摘要: iOS7中计算UILabel中字符串的高度iOS7中出现了新的方法计算UILabel中根据给定的Font以及str计算UILabel的frameSize的方法.本人提供category如下:UILabel+StringFrame.h//// UILabel+StringFrame.h// Lab... 阅读全文
posted @ 2014-05-04 10:57 YouXianMing 阅读(3440) 评论(1) 推荐(1) 编辑
摘要: Pop is an extensible animation engine for iOS and OS X. In addition to basic static animations, it supports spring and decay dynamic animations, makin... 阅读全文
posted @ 2014-05-03 19:29 YouXianMing 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: DTCoreText从HTML文档中创建富文本https://github.com/Cocoanetics/DTCoreText注意哦亲,DTRichTextEditor这个组件是收费的,不贵,才650美元而已^_^。DTCoreTextThis project aims to duplicate ... 阅读全文
posted @ 2014-05-03 07:34 YouXianMing 阅读(1560) 评论(0) 推荐(0) 编辑
摘要: ARC中block块作为属性的使用笔记block较难理解,根据在内存中的分布情况就分为3种类型,根据使用的情形又分为很多很多种。虽然用起来容易,但使用不当会造成内存泄露,虽然都是这么说,但你真的研究过为什么会泄露吗?为什么有些时候外部变量进入block的时候会导致引用计数+1呢?本人做过MRC以及A... 阅读全文
posted @ 2014-05-02 08:46 YouXianMing 阅读(840) 评论(3) 推荐(1) 编辑
摘要: Canvas 不用写代码的动画https://github.com/CanvasPod/CanvasCanvas is a project to simplify iOS development for both designers and developers. It had been diffi... 阅读全文
posted @ 2014-05-02 07:19 YouXianMing 阅读(453) 评论(0) 推荐(0) 编辑
摘要: Blocks and Variableshttps://developer.apple.com/library/ios/documentation/cocoa/conceptual/Blocks/Articles/bxVariables.htmlhttp://stackoverflow.com/qu... 阅读全文
posted @ 2014-05-01 07:42 YouXianMing 阅读(587) 评论(0) 推荐(0) 编辑
摘要: exclusiveTouchA Boolean value that indicates whether the receiver handles touch events exclusively.Setting this property to YES causes the receiver to... 阅读全文
posted @ 2014-04-30 15:56 YouXianMing 阅读(432) 评论(1) 推荐(0) 编辑
摘要: iOS中block类型大全typedef的block作为属性的block作为变量的block作为方法变量入参的block作为方法参数的block无名block内联函数的block递归调用的block作为方法返回值的block作为函数名的block(太过奇葩,完全不知道怎么用-_-!) 阅读全文
posted @ 2014-04-30 14:22 YouXianMing 阅读(827) 评论(0) 推荐(0) 编辑
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 85 下一页