• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Commmunication between classes....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Commmunication between classes....


  • Subject: Commmunication between classes....
  • From: Albert Atkinson <email@hidden>
  • Date: Sun, 1 Sep 2002 11:10:08 -0500

Greetings!

I am having trouble calling an action from another class....here is my action:

- (void)doAllBlinky
{
allBlinky = [[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(doAll:) userInfo:nil repeats:YES] retain];
}

This resides in a file called Blinky.m Here is a snippet that is attempting to execute that action, this snippet resides in Preferences.m:

#import "Blinky.h"

--SNIPPED--

- (IBAction)saveChanges:(id)sender
{
[self save];
[Blinky doAllBlinky];
}

I have a feeling I am doing this way wrong...can someone give me a suggestion?

Thanks!

Albert
_______________________________________________
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.

  • Follow-Ups:
    • Re: Commmunication between classes....
      • From: Hasan Diwan <email@hidden>
    • Re: Commmunication between classes....
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Deprecation Warning for archivedDataWithRootObject(Object) in NSArchiver (10.2 Cocoa - Java)
  • Next by Date: Re: Commmunication between classes....
  • Previous by thread: Re: Deprecation Warning for archivedDataWithRootObject(Object) in NSArchiver (10.2 Cocoa - Java)
  • Next by thread: Re: Commmunication between classes....
  • Index(es):
    • Date
    • Thread