自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 收藏
  • 关注

原创 iOS 开发遇见的略细节的问题

1. 下层函数定义时使用的 CG

2014-11-13 10:27:19 557

原创 使用facebook pop 与 CAShapeLayer 实现 画线条的动画效果

1.首先创建一个CAShapeLayer

2014-11-04 09:34:46 1291

原创 UINavigationBar 一些使用总结

1.修改title字体属性,例子是修改字体颜色

2014-08-19 10:25:28 3714

转载 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

转载 CoreGraphics 学习摘记 之 Color and Color Spaces

About Color and Color Spaces

2014-07-02 13:11:31 835

转载 CoreGraphics 学习摘记之 Paths

Points

2014-07-01 13:30:05 670

转载 Graphics Context 学籍摘记

Drawing to a View Graphics Context in iOS

2014-06-30 22:07:27 631

原创 facebook pop spring和decay效果 学习纪要

facebook pop动画引擎新增了spring和decay两种动画特效。 下载就ji'l'b

2014-06-29 22:04:27 1335

原创 ios开发 Socket编程

ios开发中 socket编程 根据使用库的不同 有不同f

2014-06-28 00:35:05 823

原创 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

原创 UIButton取消点击后的highlight效果(有背景图片)

当在一个UIButton添加了一个背景tu'p

2014-06-16 21:45:49 8429

原创 Autolayout下UILabel的自动换行实现

如果不使用Autolayout,UILabel的自动换行需要计算出文字

2014-06-13 00:22:22 8405 1

原创 使用 facebook pop 遇见的问题及解决办法

Pop是Facebook写的一个animation engine,然后开源在了github上,赞一个! 要的请点击我:facebook pop 。下面是我在使用Pop的时候遇见的2个问题,希望可以给同样遇见问题的同学带来帮助。1:

2014-06-12 23:37:51 3284

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除