摘要: 0CGContextRef context = UIGraphicsGetCurrentContext(); 设置上下文1 CGContextMoveToPoint 开始画线2 CGContextAddLineToPoint 画直线4 CGContextAddEllipseInRect 画一椭圆4 CGContextSetLineCap 设置线条终点形状4 CGContextSetLineDash 画虚线4 CGContextAddRect 画一方框4 CGContextStrokeRect 指定矩形4 CGContextStrokeRectWithWidth 指定矩形线宽度4 CGConte 阅读全文
posted @ 2012-01-09 14:47 周宏伟 阅读(10879) 评论(0) 推荐(0)
摘要: 官方地址:iOS App Programming Guide ->iCloud StorageiCloud支持两种应用存储:document storage:存储用户文档和应用数据到用户的iCloud账户key-value data storage:分享小量的非关键配置数据到应用的多个实例iCloud App的设计考虑首先需要确认的是采用document storage还是key-value data storage。document storage用于存储应用数据,要么是应用创建并私有管理的数据,要么是用户创建的数据。所有用户面对的数据都应该是document storage,例如用户 阅读全文
posted @ 2012-01-09 14:26 周宏伟 阅读(9379) 评论(0) 推荐(1)