• 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
[Extreme Newbie] Cannot find class (factory) method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [Extreme Newbie] Cannot find class (factory) method
      • From: Chris Gehlker <email@hidden>
  • Prev by Date: Re: Why is NSTableView scrolling in Cocoa apps so slow?
  • Next by Date: Re: LSGetApplicationForItem -or- my crazy adventure with launch services
  • Previous by thread: Re: Dates
  • Next by thread: Re: [Extreme Newbie] Cannot find class (factory) method
  • Index(es):
    • Date
    • Thread