Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. if (self.SwitchOutlet.on){
  2. self.LabelForSwitch.text = [NSString stringWithFormat:
  3.  
  4. @"Temperature in Fahrenheit is .: %2.1f n",
  5. theWeather.tempCurrentInF
  6. ];
  7.  
  8. }
  9. else
  10. {
  11. self.LabelForSwitch.text = [NSString stringWithFormat:
  12. @"Temperature in Celsius is.: %2.1f n",
  13. theWeather.tempCurrent
  14. ];
  15.  
  16. }
  17.  
  18. @"Temperature in Fahrenheit is .: %2.1f n",
  19. theWeather.tempCurrentInF
  20. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement