iPhone-Poly-Demo 介绍
该程序只是为了验证 iPhone 的应用程序开发,学习 iPhone 的开发人员不妨看看。该项目主要包含 iPhone 的一些编程概念包括:
- MVC patterns : this application uses the Interface Builder and an MVC approach to modeling a polygon shape.
- Custom UIViews and Drawing : Using Quartz2D, this program renders a polygon based on user actions. This is done using a child of the UIView class and overriding the drawRect: method.
- Animation : using an NSTimer this application animates the active polygon. This uses the Affine transforms in Quartz2D.
- Multi-touch : detects swipes to allow the user to speed up or slow down the spinning of the animated polygon.
iPhone-Poly-Demo 官网
http://code.google.com/p/iphone-poly-demo/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。