When I set the model key path for the vertical slider to the temperature variable, I see the error message “The value binding expects to be bound to an object of type NSNumber, but temperature is of type int”. So I change the temperature definition to "var temperature = 68 as NSNumber. This takes care of the first error.
Now when I set the model key path for the label I get the error message “The value binding expects to be bound to an object of type NSString, but temperature is of type NSNumber” It would appear that I want something other than a Label to display the value of the temperature variable. I have deleted the label and added a text field with number formatter but now Xcode just hangs. Very perplexing.
Did anyone else have this sort of issue?