Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
iOS 26 Programming for Beginners

You're reading from   iOS 26 Programming for Beginners A hands-on guide to kickstarting your iOS app development journey with Swift 6, UIKit, and Xcode 26

Arrow left icon
Product type Paperback
Published in Nov 2025
Publisher Packt
ISBN-13 9781806023936
Length 634 pages
Edition 10th Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ahmad Sahar Ahmad Sahar
Author Profile Icon Ahmad Sahar
Ahmad Sahar
Arrow right icon
View More author details
Toc

Table of Contents (35) Chapters Close

Preface 1. Swift
2. Hello, 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. Design
12. Set Up the User Interface 13. Build the User Interface 14. Complete the User Interface 15. Modify App Screens 16. Code
17. MVC and Table Views 18. Get Data into Table Views 19. Pass Data Between View Controllers 20. Core Location and MapKit 21. JSON Files 22. Custom Views 23. Camera and Photo Library 24. Search 25. Collection Views 26. Features
27. Adopt Liquid Glass 28. Icon Composer 29. Apple Intelligence 30. Foundation Models 31. Test and Submit Your App to the App Store 32. Unlock Your Exclusive Benefits 33. Other Books You May Enjoy
34. Index

The MVC design pattern

The Model-View-Controller (MVC design pattern is a common approach used when building iOS apps. MVC divides an app into three different parts:

  • Model: This handles data storage and representation and data processing tasks
  • View: This includes all the things that are on the screen that the user can interact with
  • Controller: This manages the flow of information between the model and the view

One notable feature of MVC is that the view and model do not interact with one another; instead, all communication is managed by the controller.

For example, imagine you’re at a restaurant. You look at a menu and choose something you want. Then, a waiter comes, takes your order, and sends it to the cook. The cook prepares your order, and when it is done, the waiter takes the order and brings it out to you. In this scenario, the menu is the view, the waiter is the controller, and the cook is the model. Also, note that all interactions...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
iOS 26 Programming for Beginners
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
Modal Close icon
Modal Close icon