首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一种基于斯坦福cs193p简单演示程序

一种基于斯坦福cs193p简单演示程序

资 源 简 介

About This application demonstrates several key iPhone programming concepts. 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. I do intend to add pinches as well, probably sometime this week. Caveat This mirrors rather closely an ongoing assignment from the CS193P offering at Stanford. Be respon

文 件 列 表

HelloPoly
.DS_Store
build
Classes
HelloPoly.xcodeproj
HelloPoly_Prefix.pch
Info.plist
main.m
MainWindow.xib
PolyView.h
PolyView.m
SideController.h
SideController.m
VIP VIP
0.170668s