Two examples
Two examples
- Subject: Two examples
- From: Adam Atlas <email@hidden>
- Date: Sun, 28 Jan 2001 12:20:48 -0500
Hey, could anyone give me example code blocks that:
1. Demonstrate how to create an NSTimer that calls a method:
(void)updateImage
every 5 seconds. (Assume that the class that this code is in has a timer
variable called "theTimer" declared in the header file.)
2. Create and send an AppleEvent: class "aevt", event ID "quit", to the
Dock.