Tekkaman

导航

 

2014年2月23日

摘要: 【Path Creation and Path Painting】 Path creation and path painting are separate tasks. First you create a path. When you want to render a path, you request Quartz to paint it. As you can see in Figure 3-1, you can choose to stroke the path, fill the path, or both stroke and fill the path. You can al. 阅读全文
posted @ 2014-02-23 21:40 Tekkaman 阅读(530) 评论(0) 推荐(0)
 
摘要: 【Quartz2D】 Quartz 2D is a two-dimensional drawing engine.Quartz 2D is resolution- and device-independent; you don’t need to think about the final destination when you use the Quartz 2D application programming interface (API) for drawing. The Quartz 2D API is part of the Core Graphics framework, so.. 阅读全文
posted @ 2014-02-23 20:08 Tekkaman 阅读(284) 评论(0) 推荐(0)
 
摘要: 【Tagged Pointers】1、what is tagged pointer? 2、原理剖析 阅读全文
posted @ 2014-02-23 17:40 Tekkaman 阅读(238) 评论(0) 推荐(0)
 
摘要: 【Advance Objective-C Feature】1、@import避免反复解析头文件,本地宏对框架API定义无影响。 2、可以导入单独一个头文件。 3、使用了@import后,不再需要选择linked binary 4、#import与#include会默认使用@import 6、@import特性对compile和indexing的速度都有显著提升 7、@import默认会被打开 8、ios7, osx10.9以后才能用,只有内置框架才能使用此特性。 【Garbage Collection】 阅读全文
posted @ 2014-02-23 17:29 Tekkaman 阅读(578) 评论(0) 推荐(0)
 
摘要: 【Improved logging in Objective-C】 Example of logging the current method and line number. Paste it into your project, and see what it prints! Preprocessor macros and for logging in C/C++/Objective-C. 阅读全文
posted @ 2014-02-23 11:10 Tekkaman 阅读(327) 评论(0) 推荐(0)