摘要: // from StackOverflowCAShapeLayer *layer = [CAShapeLayer layer];UIBezierPath *linePath = [UIBezierPath bezierPath];[linePath moveToPoint: pointA];[li... 阅读全文
posted @ 2015-04-27 14:42 ximenchuixie 阅读(1562) 评论(0) 推荐(0) 编辑
摘要: 例:dict为从API请求返回的json调用NSJSONSerialization JSONObjectWithData:方法得到的NSDictionary实例。当执行以下语句时linkString不一定为NSString类型,需要进一步判断,否则当调用NSString特有的函数时(例如 [link... 阅读全文
posted @ 2015-04-27 14:12 ximenchuixie 阅读(134) 评论(0) 推荐(0) 编辑