摘要: 在iOS中经常碰到二者转换的情况,有啥区别呢,见《iPhone Programming》Chapter 18:UIKit (where we get UIImage and anything else prefixed with UI) only exists on the iPhone. Core Animation, however, exists on the iPhone and on the Mac.This means using the Core Graphics types makes your code portable between systems. Fortunatel 阅读全文
posted @ 2012-08-05 23:07 yingkong1987 阅读(835) 评论(0) 推荐(0)
摘要: 今天自已遇到这个问题了。google一下,很快找到了答案:在自定义的类里实现- (NSString *)description;这个方法就可以了。可是当我把这个类搁到一个数组里,然后输出数组的时候,还是乱了。2012-07-19 10:06:22.595 umiwiForTest[2927:17803] ( "{\n title = \U9093\U5cf0\Uff1a\U53cc\U5411\U4ea4\U6d41\U505a\U597d\U4e86\Uff0c\U624d\U80fd\U63d0\U9ad8\U6267\U884c\U529b,\n subtitle = \U65 阅读全文
posted @ 2012-08-05 11:28 yingkong1987 阅读(481) 评论(0) 推荐(0)