Andres.g
Andres.g

Reputation: 23

New to swift, my program will crash pressing open

I press open on the simulator and the program crashes and gives me that side panel and bottom pressing open is sliding to the right and displaying the 3 objects Hello, second, World.

enter image description here

Upvotes: 0

Views: 152

Answers (2)

Suraj Sonawane
Suraj Sonawane

Reputation: 2494

Your program is not crashing . It was stopped at the breakpoint you have used in your code.

Upvotes: 0

Dharmesh Kheni
Dharmesh Kheni

Reputation: 71854

Your program is crashing because you have added break point into you code which is looks like:

enter image description here

You can remove all by dragging it out side this way:

enter image description here

Do same thing for all breakpoints.

Upvotes: 1

Related Questions