How do I fix the error on first app Swift

3205 views swift
6

This is my first experiment on swift and I don't know what's wrong! https://i.stack.imgur.com/e3ElA.png https://i.stack.imgur.com/0B8b2.png

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

6

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

posted this

Have an answer?

JD

Please login first before posting an answer.