• 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
run method from other method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

run method from other method


  • Subject: run method from other method
  • From: Michael Swan <email@hidden>
  • Date: Sat, 15 Jan 2005 16:28:15 -0500

I am teaching myself, or trying anyway, Cocoa with Obj-C. I follow a few examples and then try to make something on my own. I have gotten stuck on my latest project. It has 3 buttons (a, b, & c) and a different method for each. a does one set of tasks, b a second, and c does both methods, (... or should anyway). a & b are fine but c is not working at all. I'm sure its something simple but I don't even know what to put into the search field (self returns no documents). Below is a copy of methodC, if anyone has any ideas I'd be grateful to hear them.

- (id)sender
{
// do both methods
[self methodA];
[self methodB];
}

- (id)sender
{
//do some stuff
}

- (id)sender
{
do some different stuff
}

Thanks,
Mike

"The Ego is the little self that pretends to be the only self and speaks so loudly that the still, small voice of the Greater Self, whose whisperings come from within the Soul, are rarely heard - unless we learn to listen."
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: run method from other method
      • From: Kevin Ballard <email@hidden>
    • Re: run method from other method
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Core Data
  • Next by Date: Re: Core Data
  • Previous by thread: Re: Core Data
  • Next by thread: Re: run method from other method
  • Index(es):
    • Date
    • Thread