Apple for the teacher

A baby’s busy board is boring if it lacks color.

Add a colorwell to the BusyBoard application and report the red, green, blue and alpha components as the user selects new colors in the Colors panel.

This looks straightforward, and it is. But beware: The Colors panel is a sophisticated control that can return colors that lack red, green and blue components. Attempting to query these colors for red, green or blue components will raise an exception. Handle this with grace.

My BusyBoard app, including the solution to the color challenge, may be found at:

https://github.com/BersearchInformation/BusyBoard

Hi, your code is very clear, but it looks like as one with many years of Objective C developing