Use Breakpoint instead of print(…) to debug your app
When I started learning Swift and iOS development, I used to love writing print() in my source code to debug and check the value. Here is an example of what I normally do: And, the console result will be: However, I soon discover there is a better way to do debugging using breakpoint. Why use …
Use Breakpoint instead of print(…) to debug your app Read More »