Mac OS X Reference Library Apple Developer
Search

ReadMe.txt

### TargetGallery ###
 
===========================================================================
DESCRIPTION:
 
Simple project that demonstrates how mouse events are routed though a Cocoa Application. It also modifies the event routing by overriding -hitTest:.
 
===========================================================================
BUILD REQUIREMENTS:
 
Mac OS X v10.5
 
===========================================================================
RUNTIME REQUIREMENTS:
 
Mac OS X v10.5
 
===========================================================================
PACKAGING LIST:
 
TargetView.h/m
  This class demonstrates responding to a mouse down event via implementing the -mouseDown: responder method.
 
TargetGallery.h/m
  This class handles drawing and animating the individual targets. It also demonstrates how to change the initial point in the responder chain for pointer events by overriding -hitTest:.
 
TargetGalleryController.h/m
  The main controller for this application. This class demonstrates how events may flow up the responder chain to the NSWindowController by implementing mouse tracking to drag targets when in editing mode.
 
===========================================================================
CHANGES FROM PREVIOUS VERSIONS:
 
Version 1.0
- First version.
 
===========================================================================
Copyright (C) 2009 Apple Inc. All rights reserved.



Last updated: 2009-06-05

Did this document help you? Yes It's good, but... Not helpful...