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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!