Creating a Color Meter Using Cocoa
Subject:   Problems with Color Meter
Date:   2001-07-19 14:02:22
From:   iansloman
I get the following messages when I build my code:
Controller.m(2 Warnings)
cannot find class (factory) method.
return type for 'colorWithCalibratedRED:green:blue:alpha' defaults to id

it is refering to the first line in - (void)updateColor
NSColor *aColour = [NSColor colorwithCalibratedRed:redValue green:greenValue blue:blueValue alpha:alphaValue];
[colourWell setColor:aColour];

Yes, I used a different spelling for colourWell and aColour, but I used the spelling consistently.


1 to 2 of 2
  1. Problems with Color Meter
    2001-07-22 03:26:08  pengo98 [View]

    • Problems with Color Meter
      2001-07-23 11:38:02  iansloman [View]

      • Problems with Color Meter
        2001-07-23 17:31:05  pengo98 [View]

        • Thanks
          2001-07-24 09:18:37  iansloman [View]

  2. Problems with Color Meter cont'd.
    2001-07-19 14:09:33  iansloman [View]

1 to 2 of 2