- 博客(16)
- 收藏
- 关注
转载 CoreGraphics 学习摘记之 Gradients
Quartz provides two opaque data types for creating gradients—CGShadingRef and CGGradientRef.
2014-07-02 23:23:29 694
转载 CoreGraphics 学习摘记之 Shadows
A pattern is a sequence of drawing operations that is repeatedly painted to a graphics context.
2014-07-02 23:18:09 689
转载 CoreGraphics 学习摘记之 Transforms
The Quartz 2D drawing model defines two completely separate coordinate spaces: user space, which represents the document page, and device space, which represents the native resolution of a device. U
2014-07-02 14:05:18 609
原创 facebook pop spring和decay效果 学习纪要
facebook pop动画引擎新增了spring和decay两种动画特效。 下载就ji'l'b
2014-06-29 22:04:27 1335
原创 ARC中__block关键字修饰的local变量在Block中不会被强引用
实验代码:- (void)testLocalObj{ NSObject* localObject = [[NSObject alloc] init]; printf("localObject address out block: %p\n", localObject); void (^TestBlock)(void) = ^{ printf
2014-06-26 23:59:04 642 1
原创 NSString在内存管理中的怪象
如下代码: NSString* firstName = @"natsu"; __weak NSString * weakName = firstName; firstName = @"maki"; NSLog(@"weakName = %@;firstName = %@",weakName,firstName);你觉得输出结果是什么呢?
2014-06-26 00:48:01 626
原创 使用 facebook pop 遇见的问题及解决办法
Pop是Facebook写的一个animation engine,然后开源在了github上,赞一个! 要的请点击我:facebook pop 。下面是我在使用Pop的时候遇见的2个问题,希望可以给同样遇见问题的同学带来帮助。1:
2014-06-12 23:37:51 3284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人