|
Version: 1.0 Posted: 2005-06-01 Build Requirements: N/A Runtime Requirements: N/A Download Sample (Worm.zip, 78.2K) |
||||
DescriptionThis sample code demonstrate multiple steps in improving the performance of a NSView based worm game. It demonstrates several versions of a WormView class that improve the performance of updating the view. The improvements include using setting the view as opaque; drawng only the necessary portions of the view; usage of Cocoa text system instead of NSString for faster string drawing; and using a periodic timer to update the view. Document Revision History
|
|