What this book covers
Chapter 1, Exploring Xcode, takes you through a tour of Xcode and talks about all the different parts 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 complex data types can adopt, extending the capabilities of existing types, and how to handle errors in your code.
Chapter 9, Swift Concurrency, introduces you to the concepts of parallel and asynchronous programming, and shows you how you can implement it in your app.
Chapter 10, Setting Up the User Interface, deals with creating the JRNL app and setting up the initial screen the users will see.
Chapter 11, Building Your User Interface, covers setting up the main screen for the JRNL app.
Chapter 12, Finishing Up Your User Interface, covers setting up the remaining screens for the JRNL app.
Chapter 13, Modifying App Screens, is about configuring each screen of the app in a storyboard.
Chapter 14, Getting Started with MVC and Table Views, concerns working with a table view and how you can use it to display a list of items.
Chapter 15, Getting Data into Table Views, concerns the incorporation of data into table views using an array as a data source.
Chapter 16, Passing Data between View Controllers, teaches you how to add data entered using a view controller to an array, and how to pass data from the array to another view controller.
Chapter 17, Getting Started with Core Location and MapKit, deals with working with Core Location and MapKit to determine your device location and to add annotations on a map.
Chapter 18, Getting Started with JSON Files, involves learning how to store and retrieve user data using a JSON file.
Chapter 19, Getting Started with Custom Views, teaches you how to create and use a custom view that displays a star rating.
Chapter 20, Getting Started with the Camera and Photo Library, talks about how to get photos from your camera or photo library into your app.
Chapter 21, Getting Started with Search, teaches you how to implement a search bar for your main screen.
Chapter 22, Getting Started with Collection Views, shows you how to implement collection views in place of table views to suit devices with larger screens, such as Mac or iPad.
Chapter 23, Getting Started with SwiftData, deals with implementing Apple’s new SwiftData framework to persist data on your app.
Chapter 24, Getting Started with SwiftUI, introduces building an app using Apple’s new SwiftUI technology.
Chapter 25, Getting Started with Widgets, teaches you how to create widgets for iPhone, iPad and Mac using WidgetKit.
Chapter 26, Getting Started with visionOS, shows you how to prepare your app for Apple’s latest platform, visionOS.
Chapter 27, Testing and Submitting Your App to the App Store, concerns how to test and submit your apps to the App Store.