iOS 18 App Development Essentials
eBook - ePub

iOS 18 App Development Essentials

Developing iOS Apps with SwiftUI, Swift, and Xcode 16

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

iOS 18 App Development Essentials

Developing iOS Apps with SwiftUI, Swift, and Xcode 16

About this book

This book aims to teach the skills necessary to build iOS 18 applications using SwiftUI, Xcode 16, and the Swift programming language.

Beginning with the basics, this book outlines the steps to set up an iOS development environment, together with an introduction to using Swift Playgrounds to learn and experiment with Swift.

The book also includes in-depth chapters introducing the Swift programming language, including data types, control flow, functions, object-oriented programming, property wrappers, structured concurrency, and error handling.

A guided tour of Xcode in SwiftUI development mode follows an introduction to the key concepts of SwiftUI and project architecture. The book also covers creating custom SwiftUI views and explains how these views are combined to create user interface layouts, including stacks, frames, and forms.

Other topics covered include data handling using state properties and observable, state, and environment objects, as are key user interface design concepts such as modifiers, lists, tabbed views, context menus, user interface navigation, and outline groups.

The book also includes chapters covering graphics and chart drawing, user interface animation, view transitions and gesture handling, WidgetKit, Live Activities, document-based apps, Core Data, SwiftData, and CloudKit.

Chapters also explain how to integrate SwiftUI views into existing UIKit-based projects and integrate UIKit code into SwiftUI.

Finally, the book explains how to package up a completed app and upload it to the App Store for publication.

Along the way, the topics covered in the book are put into practice through detailed tutorials, the source code for which is also available for download, and over 50 online knowledge test quizzes.

The aim of this book, therefore, is to teach you the skills to build your own apps for iOS 18 using SwiftUI. Assuming you are ready to download the iOS 18 SDK and Xcode 16 and have an Apple Mac system, you are ready to get started.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access iOS 18 App Development Essentials by Neil Smyth in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Mobile Devices. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. 1. Start Here
  2. 2. Joining the Apple Developer Program
  3. 3. Installing Xcode 16 and the iOS 18 SDK
  4. 4. An Introduction to Xcode 16 Playgrounds
  5. 5. Swift Data Types, Constants, and Variables
  6. 6. Swift Operators and Expressions
  7. 7. Swift Control Flow
  8. 8. The Swift Switch Statement
  9. 9. Swift Functions, Methods, and Closures
  10. 10. The Basics of Swift Object-Oriented Programming
  11. 11. An Introduction to Swift Subclassing and Extensions
  12. 12. An Introduction to Swift Structures and Enumerations
  13. 13. An Introduction to Swift Property Wrappers
  14. 14. Working with Array and Dictionary Collections in Swift
  15. 15. Understanding Error Handling in Swift 5
  16. 16. An Overview of SwiftUI
  17. 17. Using Xcode in SwiftUI Mode
  18. 18. SwiftUI Architecture
  19. 19. The Anatomy of a Basic SwiftUI Project
  20. 20. Creating Custom Views with SwiftUI
  21. 21. SwiftUI Stacks and Frames
  22. 22. SwiftUI State Properties, Observation, and Environment Objects
  23. 23. A SwiftUI Example Tutorial
  24. 24. SwiftUI Stack Alignment and Alignment Guides
  25. 25. Predictive Code Completion in Xcode
  26. 26. An Overview of Swift Structured Concurrency
  27. 27. An Introduction to Swift Actors
  28. 28. SwiftUI Concurrency and Lifecycle Event Modifiers
  29. 29. SwiftUI Observable and Environment Objects – A Tutorial
  30. 30. SwiftUI Data Persistence using AppStorage and SceneStorage
  31. 31. SwiftUI Lists and Navigation
  32. 32. A SwiftUI List and NavigationStack Tutorial
  33. 33. An Overview of Split View Navigation
  34. 34. A NavigationSplitView Tutorial
  35. 35. An Overview of List, OutlineGroup and DisclosureGroup
  36. 36. A SwiftUI List, OutlineGroup, and DisclosureGroup Tutorial
  37. 37. Building SwiftUI Grids with LazyVGrid and LazyHGrid
  38. 38. Building SwiftUI Grids with Grid and GridRow
  39. 39. Building Custom Containers
  40. 40. A SwiftUI Custom Container Tutorial
  41. 41. Building Tabbed and Paged Views in SwiftUI
  42. 42. Building Context Menus in SwiftUI
  43. 43. Basic SwiftUI Graphics Drawing
  44. 44. SwiftUI Animation and Transitions
  45. 45. Working with Gesture Recognizers in SwiftUI
  46. 46. Creating a Customized SwiftUI ProgressView
  47. 47. Presenting Data with SwiftUI Charts
  48. 48. A SwiftUI Charts Tutorial
  49. 49. An Overview of SwiftUI DocumentGroup Scenes
  50. 50. A SwiftUI DocumentGroup Tutorial
  51. 51. An Introduction to Core Data and SwiftUI
  52. 52. A SwiftUI Core Data Tutorial
  53. 53. An Overview of SwiftUI Core Data and CloudKit Storage
  54. 54. A SwiftUI Core Data and CloudKit Tutorial
  55. 55. An Introduction to SwiftData
  56. 56. A SwiftData Tutorial
  57. 57. Building Widgets with SwiftUI and WidgetKit
  58. 58. A SwiftUI WidgetKit Tutorial
  59. 59. Supporting WidgetKit Size Families
  60. 60. A SwiftUI WidgetKit Deep Link Tutorial
  61. 61. Adding Configuration Options to a WidgetKit Widget
  62. 62. An Overview of Live Activities in SwiftUI
  63. 63. A SwiftUI Live Activity Tutorial
  64. 64. Adding a Refresh Button to a Live Activity
  65. 65. A Live Activity Push Notifications Tutorial
  66. 66. Testing Live Activity Push Notifications
  67. 67. Troubleshooting Live Activity Push Notifications
  68. 68. Integrating UIViews with SwiftUI
  69. 69. Integrating UIViewControllers with SwiftUI
  70. 70. Integrating SwiftUI with UIKit
  71. 71. Preparing and Submitting an iOS 18 Application to the App Store
  72. Index