NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

Does the boxes position matter?

Forums > 100 Days of SwiftUI

Apologies if this has been answered previously, but since I don't know what the different elements on the interface are called, I wasn't even sure how I would go about searching for this question.

Not sure what the proper name is but on MyPlayground on my device it has the boxes in front of the numbers instead of what Paul's looks like on the other side.

Does this newer version just display differently or am I missing something?

Mine: Paul's:



Hi! This box called "Show/Hide Result". It will show you basically the result of your code just below the line of code. Despite different location it does the same thing. In previous versions it was located on the right side.


Awesome! Figured it was just cosmetic, but wasn't sure. Thank you for taking the time to explain!


Hacking with Swift is sponsored by Judo

SPONSORED Let’s face it, SwiftUI previews are limited, slow, and painful. Judo takes a different approach to building visually—think Interface Builder for SwiftUI. Build your interface in a completely visual canvas, then drag and drop into your Xcode project and wire up button clicks to custom code. Download the Mac App and start your free trial today!

Try now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.