Book Image

iOS 15 Programming for Beginners - Sixth Edition

By : Ahmad Sahar, Craig Clayton
5 (1)
Book Image

iOS 15 Programming for Beginners - Sixth Edition

5 (1)
By: Ahmad Sahar, Craig Clayton

Overview of this book

With almost 2 million apps on the App Store, iOS mobile apps continue to be incredibly popular. Anyone can reach millions of customers around the world by publishing their apps on the App Store. iOS 15 Programming for Beginners is a comprehensive introduction for those who are new to iOS. It covers the entire process of learning the Swift language, writing your own app, and publishing it on the App Store. Complete with hands-on tutorials, projects, and self-assessment questions, this easy-to-follow guide will help you get well-versed with the Swift language to build your apps and introduce exciting new technologies that you can incorporate into your apps. You'll learn how to publish iOS apps and work with Mac Catalyst, SharePlay, SwiftUI, Swift concurrency, and much more. By the end of this iOS development book, you'll have the knowledge and skills to write and publish interesting apps, and more importantly, to use the online resources available to enhance your app development journey.
Table of Contents (32 chapters)
1
Part 1: Swift
10
Part 2: Design
15
Part 3: Code
25
Part 4: Features

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 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 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 customizing 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 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 the 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 Mac Catalyst, deals with modifying your app to work well on the iPad's larger screen, and to make it work on a Mac.

Chapter 23, Getting Started with SwiftUI, is about building an app using Apple's new SwiftUI technology.

Chapter 24, Getting Started with Swift Concurrency, introduces you to the concepts of parallel and asynchronous programming, and shows you how you can implement it in your app.

Chapter 25, Getting Started with SharePlay, shows you how you can implement shared experiences for your users by using SharePlay and the Group Activities framework.

Chapter 26, Testing and Submitting Your App to the App Store, concerns how to test and submit your apps to the App Store.