iPhone-Poly-DemoiPhone应用开发演示

联合创作 · 2023-09-25 06:10

该程序只是为了验证 iPhone 的应用程序开发,学习 iPhone 的开发人员不妨看看。该项目主要包含 iPhone 的一些编程概念包括:

  1. MVC patterns: this application uses the Interface Builder and an MVC approach to modeling a polygon shape.
  2. 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.
  3. Animation: using an NSTimer this application animates the active polygon. This uses the Affine transforms in Quartz2D.
  4. Multi-touch: detects swipes to allow the user to speed up or slow down the spinning of the animated polygon.
浏览 11
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报