Reader small image

You're reading from  iOS 17 Programming for Beginners - Eighth Edition

Product typeBook
Published inOct 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781837630561
Edition8th Edition
Languages
Tools
Right arrow
Author (1)
Ahmad Sahar
Ahmad Sahar
author image
Ahmad Sahar

Ahmad Sahar is a trainer, presenter, and consultant at Tomafuwi Productions, specializing in conducting training courses for macOS and iOS, macOS Support Essentials certification courses, and iOS Development courses. He is a member of the DevCon iOS and MyCocoaHeads online communities in Malaysia and has conducted presentations and talks for both groups. In his spare time, he likes building and programming LEGO Mindstorms robots.
Read more about Ahmad Sahar

Right arrow

To get the most out of this book

This book has been completely revised for iOS 17, macOS 14.0 Sonoma, Xcode 15, and Swift 5.9. Part 4 of this book also covers the latest technologies introduced by Apple during WWDC 2023, which are SwiftData, SwiftUI, widgets, and visionOS.

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

  • A Mac computer running macOS 13.0 Ventura, macOS 14.0 Sonoma, or later
  • Xcode 15.0 or later

To check if your Mac supports macOS 14.0 Sonoma, see this link: https://www.apple.com/my/macos/sonoma/. 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 Apple 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 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

You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/iOS-17-Programming-for-Beginners-Eighth-Edition. If there’s an update to the code, it will be updated in the GitHub repository.

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

Visit the following link to check out videos of the code being run:

https://www.youtube.com/playlist?list=PLeLcvrwLe18524WgmKUez42tO6ppl2O76

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/gbp/9781837630561

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. Here is an example: “So, this is a very simple function, named serviceCharge().”

A block of code is set as follows:

class ClassName {
   property1
   property2 
   property3 
   method1() { 
      code
   }
   method2() {
      code
   }
} 

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 onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: “Launch Xcode and click Create a new Xcode project:”

Important notes

appear like this.

Tips

appear like this.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
iOS 17 Programming for Beginners - Eighth Edition
Published in: Oct 2023Publisher: PacktISBN-13: 9781837630561

Author (1)

author image
Ahmad Sahar

Ahmad Sahar is a trainer, presenter, and consultant at Tomafuwi Productions, specializing in conducting training courses for macOS and iOS, macOS Support Essentials certification courses, and iOS Development courses. He is a member of the DevCon iOS and MyCocoaHeads online communities in Malaysia and has conducted presentations and talks for both groups. In his spare time, he likes building and programming LEGO Mindstorms robots.
Read more about Ahmad Sahar