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 now! 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
Conferences
Free Learning
Arrow right icon
An iOS Developer's Guide to SwiftUI
An iOS Developer's Guide to SwiftUI

An iOS Developer's Guide to SwiftUI: Design and build beautiful apps quickly and easily with minimum code

eBook
$24.99 $35.99
Paperback
$30.99 $44.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

An iOS Developer's Guide to SwiftUI

Part 1: Simple Views

In this part, you will be introduced to SwiftUI, the multiplatform UI framework from Apple that allows developers to build user interfaces for all Apple devices. These chapters have been designed for iOS developers in such a way that they guide you through the main concepts of SwiftUI and its practical implementation, offering a concrete base to develop powerful and visually beautiful applications.

You will start to explore the fundamentals of SwiftUI and its declarative syntax to build an intuitive and efficient UI. We’ll cover key concepts, such as views, modifiers, and state management, demonstrating how these components work together to build dynamic layouts.

You will learn to manage data well within SwiftUI, ensuring slick, dynamic user interfaces are produced through bindings, observable objects, and environment values.

This part will teach you how to work with animation and the gesture features of SwiftUI by applying them with a layer of polish and interactivity to your apps. You should reach the end of this section prepared with the knowledge and skills needed to begin using SwiftUI for your iOS development projects, making applications that are not only functional but also visually engaging.

This part contains the following chapters:

  • Chapter 1, Exploring the Environment – Xcode, Playgrounds, and SwiftUI
  • Chapter 2, Adding Basic UI Elements and Designing Layouts
  • Chapter 3, Adding Interactivity to a SwiftUI View
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how to structure and maintain clean app architecture
  • Under the guidance of industry expert Michele Fadda, build well-structured, maintainable, and high-performance applications
  • Understand the declarative functional approach and focus on asynchronous programming within the context of SwiftUI
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

– SwiftUI transforms Apple Platform app development with intuitive Swift code for seamless UI design. – Explore SwiftUI's declarative programming: define what the app should look like and do, while the OS handles the heavy lifting. – Hands-on approach covers SwiftUI fundamentals and often-omitted parts in introductory guides. – Progress from creating views and modifiers to intricate, responsive UIs and advanced techniques for complex apps. – Focus on new features in asynchronous programming and architecture patterns for efficient, modern app design. – Learn UIKit and SwiftUI integration, plus how to run tests for SwiftUI applications. – Gain confidence to harness SwiftUI's full potential for building professional-grade apps across Apple devices.

Who is this book for?

– This book is for iOS developers interested in mastering SwiftUI, software developers with extensive iOS development experience using UIkit transitioning to SwiftUI, as well as mobile consultants and engineers who want to gain an in-depth understanding of the framework. – Newcomers equipped with knowledge of Swift, UIkit, XCode, and asynchronous programming will find this book invaluable for launching a career in mobile software development with iOS.

What you will learn

  • Get to grips with UI coding across Apple platforms using SwiftUI
  • Build modern apps, delving into complex architecture and asynchronous programming
  • Explore animations, graphics, and user gestures to build responsive UIs
  • Respond to asynchronous events and store and share data the modern way
  • Add advanced features by integrating SwiftUI and UIKit to enhance your apps
  • Gain proficiency in testing and debugging SwiftUI applications

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 03, 2024
Length: 446 pages
Edition : 1st
Language : English
ISBN-13 : 9781801817912
Vendor :
Apple
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : May 03, 2024
Length: 446 pages
Edition : 1st
Language : English
ISBN-13 : 9781801817912
Vendor :
Apple
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 89.96 129.97 40.01 saved
An iOS Developer's Guide to SwiftUI
$30.99 $44.99
SwiftUI Cookbook
$30.99 $44.99
Swift Cookbook
$27.98 $39.99
Total $ 89.96 129.97 40.01 saved Stars icon

Table of Contents

24 Chapters
Part 1: Simple Views Chevron down icon Chevron up icon
Chapter 1: Exploring the Environment – Xcode, Playgrounds, and SwiftUI Chevron down icon Chevron up icon
Chapter 2: Adding Basic UI Elements and Designing Layouts Chevron down icon Chevron up icon
Chapter 3: Adding Interactivity to a SwiftUI View Chevron down icon Chevron up icon
Part 2: Scrollable Views Chevron down icon Chevron up icon
Chapter 4: Iterating Views, Scroll Views, FocusState, Lists, and Scroll View Reader Chevron down icon Chevron up icon
Chapter 5: The Art of Displaying Grids Chevron down icon Chevron up icon
Part 3: SwiftUI Navigation Chevron down icon Chevron up icon
Chapter 6: Tab Bars and Modal View Presentation Chevron down icon Chevron up icon
Chapter 7: All About Navigation Chevron down icon Chevron up icon
Part 4: Graphics and Animation Chevron down icon Chevron up icon
Chapter 8: Creating Custom Graphics Chevron down icon Chevron up icon
Chapter 9: An Introduction to Animations in SwiftUI Chevron down icon Chevron up icon
Part 5: App Architecture Chevron down icon Chevron up icon
Chapter 10: App Architecture and SwiftUI Part I: Practical Tools Chevron down icon Chevron up icon
Chapter 11: App Architecture and SwiftUI Part II – the Theory Chevron down icon Chevron up icon
Part 6: Beyond Basics Chevron down icon Chevron up icon
Chapter 12: Persistence with Core Data Chevron down icon Chevron up icon
Chapter 13: Modern Structured Concurrency Chevron down icon Chevron up icon
Chapter 14: An Introduction to SwiftData Chevron down icon Chevron up icon
Chapter 15: Consuming REST Services in SwiftUI Chevron down icon Chevron up icon
Chapter 16: Exploring the Apple Vision Pro Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Most Recent
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(11 Ratings)
5 star 90.9%
4 star 9.1%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Most Recent

Filter reviews by




Justin Horner Sep 16, 2024
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
As someone who has been working with Swift recently, I've learned a lot from this book while diving into the latest advancements in UI development for Apple platforms.The author covers both the fundamentals of SwiftUI (which served as a nice refresher) and more advanced topics like concurrency, animations, app architecture, and includes a final chapter exploring Apple Vision Pro.Since writing more Swift, I've come to realize just how elegant and expressive the language can be. It’s now clear to me why so many developers love it, and why it's increasingly being used on the server-side with frameworks like Vapor. When combined with SwiftUI’s structs and modifiers, the result is a beautiful, declarative approach to building user interfaces.I recommend this book to anyone looking to get up to speed with SwiftUI. It covers everything you need to get started (with some welcome extras!).
Amazon Verified review Amazon
Dildeep Jul 18, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I recently read "iOS Developer's Guide to SwiftUI" and it has quickly become an invaluable resource in my iOS development journey. Whether you're a seasoned developer looking to transition from UIKit to SwiftUI or a newcomer eager to dive into the world of iOS development, this book is a fantastic guide that covers all the essentials and more.The book excels in breaking down the complex topics into manageable, easy-to-understand segments. Starting from the basics, it meticulously guides you through creating views and modifiers before progressing to more advanced and intricate user interface designs. The hands-on approach makes the learning process engaging and effective.One of the standout features of this book is its focus on the declarative programming approach, which is the backbone of SwiftUI. The explanations are clear, and the examples are practical, helping you to grasp how to structure and maintain clean app architecture. The book doesn't just stop at the basics; it dives deep into asynchronous programming and modern architecture patterns, ensuring you can build efficient and well-structured apps.The full-color images and diagrams are incredibly helpful, making it easier to follow along and visualize the concepts being discussed. Moreover, the integration of SwiftUI with other relevant frameworks is covered in detail, allowing you to create professional and responsive applications.The inclusion of chapters on animations, graphics, and user gestures is a huge plus, enabling you to build highly interactive and visually appealing UIs. The book also offers comprehensive insights into persistence with Core Data, structured concurrency, and consuming REST services in SwiftUI, which are crucial for developing modern apps.Additionally, the book's section on integrating SwiftUI with UIKit is invaluable for those transitioning from older projects or looking to enhance their current apps with SwiftUI features. The final chapters on testing and debugging SwiftUI applications provide essential techniques to ensure your apps are robust and error-free.Overall, "iOS Developer's Guide to SwiftUI" is a must-have for any iOS developer's library. The purchase of the print or Kindle version also includes a free PDF eBook, which is a great bonus for reading on the go. This book has greatly boosted my confidence in using SwiftUI and has equipped me with the skills to build professional-grade applications. Highly recommended!
Amazon Verified review Amazon
Steve Tendon Jun 21, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a bookworm I like checking out the latest books. I came across Michele Fadda's "An iOS Developer's Guide to SwiftUI: Design and build beautiful apps quickly and easily with minimum code."As a former software engineer I still check out books on the topic, just to get a sense of how contemporary software looks like.To my surprise in chapter 11 - "App Architecture and SwiftUI" - there are many dots being connected. From building architecture to software architecture. User Journey mapping and non-functional requirements. Culture. Conflicts. Bauhaus school of architecture. Software patterns. Christopher Alexander. Agency theory and (bad) architecture. And more.In short it connects the dots of [software] architecture with elements of organizational design -- one of the pillars of my TameFlow Approach, especially with my the organizational design patterns perspective.The rest of the book is packed with ideas and real code. I'm no longer into coding, but if I were, I'd keep this book full with bookmarks beside my keyboard.
Amazon Verified review Amazon
Nicholas Jun 18, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is for people who already have a grasp on swift and are looking to dig a little deeper into swiftUI specifically. He covers a little on xcode and even some bugs that we encounter which is helpful to be warned about because its confusing to encounter these things but he does not waste time talking about the most basic concepts related to swift in general which is a plus for me because Ive been developing for a while now and dont need these covered in every book I go through.The book does a good job using scaffolding as a teaching process. The author will introduce some basic concepts like how to construct views, then the next chapter you will learn how to let the user interact with those views. Overall its a really good flow and easy to follow.The book goes pretty in depth on navigation which is helpful because swiftUI handles navigation pretty differently from traditional swift.There are pictures in the book so you can compare the app he is walking you through building with the app on your screen to make sure you are following along correctly. If you get totally lost the source code is linked in the book so you can compare it to your project.The book also covers some newer concepts like SwiftData which I havent worked with before so that was cool and theres a chapter on the apple vision pro which I was pretty impressed with. Its basic stuff but the vision pro is hardly a year old at this point so its nice to even have some basic material to get us started.Overall I found this well organized and very accessible for developers who are familiar with swift but want to get their hands on swiftUI.
Amazon Verified review Amazon
Andy F. Jun 11, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Full disclosure: I have only reviewed chapter 1 of this book as I am not very technical. I was basically curious to see what my genius friend has been busy writing.What Michele has achieved is very impressive. This is obviously a very technical book, but there's a lightness of touch here that almost feels as though we're just having a chat down the pub.I haven't had to rely on such technical manuals for years. But as the text here is so very readable, I'm sure this would be a super useful book for anyone looking to acquire these skills. The text is also populated with several relevant and helpful screenshots (which it must be said, is not always the case in books like this).Good work Mr. Fadda, I'm impressed.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.