[Extreme Newbie] Cannot find class (factory) method
[Extreme Newbie] Cannot find class (factory) method
- Subject: [Extreme Newbie] Cannot find class (factory) method
- From: "Paul Carvill" <email@hidden>
- Date: Thu, 6 Sep 2001 15:51:16 +0100
Hello all,
Please can someone tell me what's gone wrong here. I've got two objects -
one's a controller that manages the interface and actions, the other simply
multiplies two variables and returns the result.
the line:
total = [twice multiply:x by:y];
when built gives the warning:
cannot find class (factory) method.
return type for "multiply:by:" defaults to id
assignment makes integer from pointer without a cast
Any help would be very appreciated. Apologies for my staggering
newbie-ness.
Paul Carvill