Technical requirements
The Xcode playground for this chapter is in the Chapter06 folder of the code bundle for this book, which can be downloaded here:https://github.com/PacktPublishing/-iOS-19-Programming-for-Beginners-10E.Check out the following video to see the code in action:To be added laterIf you wish to start from scratch, create a new playground and name it FunctionsAndClosures.You can type in and run all the code in this chapter as you go along. Let’s start by learning about functions.