iPhone应用开发演示 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.
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!