How do I fix the error on first app Swift

3205 views swift

This is my first experiment on swift and I don't know what's wrong!

everything is true why didn't output the number?!

answered question

Hi there, please look at this guide how to ask good questions. Specifically post your code here as text and format it and don't use images.

Put Breakpoints and debug value of n1,n1 and sum, move breakpoint step by step

1 Answer


Text is clipping because width of the Label is very small. Increase width of the Label.

posted this

Have an answer?


Please login first before posting an answer.