Hello everybody; My first post and first steps in iOS programming. Thanks in advance for help. Probably something basic... One the screen one button and one label. The idea is to generate a random number from 0 to 10, upon pressing the button and to keep going until the number is bigger than 5 (just for example). Every time the number is generated, I want to update the label with it. My controller is damn simple and has one "while" loop inside. The issue is, it won't update the label until it meets the condition. Even though inside the loop I am trying to update the text with the most recent value. It works fine if I remove the loop and execute everything once, upon pressing the button. What am I not getting? Thanks.