Particle Variable help

Hi, I’m using the iOS sdk to build a simple app, but my programming skills aren’t quite good enough. Can anyone help me with a line of objective C code to display an int variable from my photon to a UILabel? The variable shows up when I list devices, and is printed to the NSlog, but I can’t figure out how to make it print to the UILabel.

The photon name is MKXVI
The variable name is lineSpeed.

Thx!!

OK, got it.

self.lineSpeed.text = [NSString stringWithFormat:@"%@", temperatureReading];