advertisement

Article:
  Creating a Color Meter Using Cocoa
Subject:   Color wheel...
Date:   2001-06-20 19:54:29
From:   johnts
Response to: Color wheel...

Ok. I figured it out. The code was fine. What I didn't do was connect the Sliders to the slider outlets (Control drag from the Controller object to each slider, and click the corresponding outlet and clicking Connect). Once I did that and rebuilt, it works! What helped me was I put


NSLog(@"redSlider %@",redSlider);


into the setRed: method. It wasn't showing anything for the value of the redSlider,


A lot to remember - connecting everything up to everything - both ways.