Examining an app without concurrency
You’ve seen how asynchronous and parallel operations can help you prepare breakfast faster and allow you to use your phone while you’re doing it. Now let’s look at a sample app that simulates the process of preparing breakfast. Initially, this app does not have concurrency implemented, so you can see how that affects the app. Follow these steps:
- If you have not already done so, download the
Chapter09
folder of the code bundle for this book at this link: https://github.com/PacktPublishing/iOS-17-Programming-for-Beginners-Eighth-Edition. - Open the
Chapter09
folder, and you’ll see two folders,BreakfastMaker-start
andBreakfastMaker-complete
. The first folder contains the app that you will be modifying in this chapter, and the second contains the completed app. - Open the
BreakfastMaker-start
folder and open theBreakfastMaker
Xcode project. Click on theMain
storyboard file in the Project navigator...