What this book covers
Chapter 1, Getting Familiar with Xcode, takes you through a tour of Xcode and talks about all the different panes that you will use throughout the book.
Chapter 2, Simple Values and Types, deals with how values and types are implemented by the Swift language.
Chapter 3, Conditionals and Optionals, shows how if
and switch
statements are implemented, and how to implement variables that may or may not have a value.
Chapter 4, Range Operators and Loops, shows how to work with ranges and the different ways loops are implemented in Swift.
Chapter 5, Collection Types, covers the common collection types, which are arrays, dictionaries, and sets.
Chapter 6, Functions and Closures, covers how you can group instructions together using functions and closures.
Chapter 7, Classes, Structures, and Enumerations, talks about how complex objects containing state and behavior are represented in Swift.
Chapter 8, Protocols, Extensions, and Error Handling, talks about creating protocols that complex data types can adopt, extending the capabilities of existing types, and how to handle errors in your code.
Chapter 9, Setting Up the User Interface, deals with creating the Let's Eat app, adding graphical assets, and setting up the initial screen that the users will see.
Chapter 10, Building Your User Interface, covers setting up the main screen for the Let's Eat app.
Chapter 11, Finishing Up Your User Interface, covers setting up the remaining screens for the Let's Eat app.
Chapter 12, Modifying and Configuring Cells, is about designing the table and collection view cells in a storyboard.
Chapter 13, Getting Started with MVC and Collection Views, concerns working with collection views and how you can use them to display a grid of items.
Chapter 14, Getting Data into Collection Views, concerns the incorporation of data into collection views.
Chapter 15, Getting Started with Table Views, teaches you how to work with table views and takes an in-depth look at dynamic table views.
Chapter 16, Getting Started with MapKit, deals with working with MapKit and adding annotations to a map. You will also create custom annotations for your map.
Chapter 17, Getting Started with JSON Files, involves learning how to use a data manager class to read a JSON file and use the data inside your app.
Chapter 18, Displaying Data in a Static Table View, teaches you how to populate a static table view with data passed from one view controller to another using segues.
Chapter 19, Getting Started with Custom UIControls, takes a look at how to create your own custom views.
Chapter 20, Getting Started with Cameras and Photo Libraries, talks about working with the device's camera and photo library.
Chapter 21, Understanding Core Data, covers the basics of using Core Data, and how to save reviews and restaurant photos.
Chapter 22, Getting Started with Apple Silicon Macs, deals with modifying your app to work well on the iPad's larger screen, as well as how to make it work on an Apple Silicon Mac.
Chapter 23, Getting Started with SwiftUI, is about building an app using Apple's new SwiftUI technology.
Chapter 24, Getting Started with Widgets, shows you how you can add a widget for your app on your Home Screen.
Chapter 25, Getting Started with App Clips, shows you how you can add an app clip to your app, and provide relevant information to your users.
Chapter 26, Testing and Submitting Your App to the App Store, concerns how to test your apps with internal and external testers, as well as submitting apps to the App Store.