Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iOS 16 Programming for Beginners

You're reading from   iOS 16 Programming for Beginners Kickstart your iOS app development journey with a hands-on guide to Swift 5.7 and Xcode 14

Arrow left icon
Product type Paperback
Published in Nov 2022
Publisher Packt
ISBN-13 9781803237046
Length 686 pages
Edition 7th Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ahmad Sahar Ahmad Sahar
Author Profile Icon Ahmad Sahar
Ahmad Sahar
Craig Clayton Craig Clayton
Author Profile Icon Craig Clayton
Craig Clayton
Arrow right icon
View More author details
Toc

Table of Contents (34) Chapters Close

Preface 1. Part I: Swift
2. Getting Familiar with Xcode FREE CHAPTER 3. Simple Values and Types 4. Conditionals and Optionals 5. Range Operators and Loops 6. Collection Types 7. Functions and Closures 8. Classes, Structures, and Enumerations 9. Protocols, Extensions, and Error Handling 10. Swift Concurrency 11. Part II: Design
12. Setting Up the User Interface 13. Building Your User Interface 14. Finishing Up Your User Interface 15. Modifying and Configuring Cells 16. Part III: Code
17. Getting Started with MVC and Collection Views 18. Getting Data into Collection Views 19. Getting Started with Table Views 20. Getting Started with MapKit 21. Getting Started with JSON Files 22. Displaying Data in a Static Table View 23. Getting Started with Custom UIControls 24. Getting Started with Cameras and Photo Libraries 25. Understanding Core Data 26. Part IV: Features
27. Getting Started with Mac Catalyst 28. Getting Started with SwiftUI 29. Getting Started with Lock Screen Widgets 30. Getting Started with WeatherKit 31. Testing and Submitting Your App to the App Store 32. Other Books You May Enjoy
33. Index

To get the most out of this book

This book has been completely revised for iOS 16, macOS 13.0 Ventura, Xcode 14, and Swift 5.7. Part 4 of this book also covers the latest technologies introduced by Apple during WWDC 2022, which are Mac Catalyst, SwiftUI, Lock screen widgets, and WeatherKit.

To complete all the exercises in this book, you will need:

  • A Mac computer running macOS 12.0 Monterey, macOS 13.0 Ventura, or later
  • Xcode 14.0 or later

To check if your Mac supports macOS 13.0 Ventura, see this link: https://www.apple.com/my/macos/macos-ventura-preview/. If your Mac is supported, you can update macOS using Software Update in System Preferences.

To get the latest version of Xcode, you can download it from the Mac App Store. Most of the exercises can be completed without an Apple Developer account and use the iOS Simulator. If you wish to test the app you are developing on an actual iOS device, you will need a free or paid Apple Developer account, and the following chapters require a paid Apple Developer account:

  • Chapter 26, Getting Started with WeatherKit
  • Chapter 27, Testing and Submitting Your App to the App Store

Instructions on how to get a paid Apple Developer account are in Chapter 27, Testing and Submitting Your App to the App Store.

Download the example code files

The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/iOS-16-Programming-for-Beginners-Seventh-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Code in Action

The Code in Action videos for this book can be viewed at https://bit.ly/3MOasI3.

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/ybxJ5.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system.”

A block of code is set as follows:

class Animal {
   var name: String = "" 
   var sound: String = ""
   var numberOfLegs: Int = 0
   var breathesOxygen: Bool = true
   func makeSound() {
      print(self.sound)
   }
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

let cat = Animal()
cat.name = "Cat"
cat.sound = "Mew" 
cat.numberOfLegs = 4 
cat.breathesOxygen = true
print(cat.name)

Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “Launch Xcode and click Create a new Xcode project.”

Warnings or important notes appear like this.

Tips and tricks appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image