© Beau Nouvelle 2019
B. NouvelleSimulations in Swift 5https://doi.org/10.1007/978-1-4842-5337-3_4

4. Theatre Seating

Beau Nouvelle1 
(1)
Victoria, Australia
 

This time around I’ll be introducing some new data types and walk you through how you can create your own. While they’re not completely necessary to complete the tasks in this chapter, they will make things a little easier to understand what’s going on and become essential tools for us to use in future projects.

Further on in the chapter, we’ll make use of separate source files. You have noticed that your playgrounds spend a lot of time logging their output. Sometimes you’ll even see the numbers in the side bar continue to clime, long after you get an output in the debug area. Playgrounds are slow, ...

Get Simulations in Swift 5: Design and Implement with Swift Playgrounds now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.