Re: Commmunication between classes....
Re: Commmunication between classes....
- Subject: Re: Commmunication between classes....
- From: Hasan Diwan <email@hidden>
- Date: Sun, 01 Sep 2002 11:02:28 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Albert:
Create an instance of Blinky, and use that to execute doAllBlinky. The
'-'indicates an instance method, not a class method. To indicate a class
method, use a '+' instead.
On 1/9/02 9:10 AM, "Albert Atkinson" <email@hidden> wrote:
>
- (void)doAllBlinky
>
{
>
allBlinky = [[NSTimer scheduledTimerWithTimeInterval:1 target:self
>
selector:@selector(doAll:) userInfo:nil repeats:YES] retain];
>
}
>
>
#import "Blinky.h"
>
>
--SNIPPED--
>
>
- (IBAction)saveChanges:(id)sender
>
{
>
[self save];
>
[Blinky doAllBlinky];
>
}
- --
Hasan Diwan
OpenPGP KeyID: BE42DCA6
OpenPGP Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9clYq8WZAwr5C3KYRAhKcAJsEn1CpYGxxl6Mr2rYo9xCsjeOjRACeMrfF
5ODxZj5g8fPwz1bHlvEY0Yg=
=+42S
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.