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
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
€8.99 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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 : 9781801813624
Vendor :
Apple
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.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
€189.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
€264.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 97.97
An iOS Developer's Guide to SwiftUI
€33.99
SwiftUI Cookbook
€33.99
Swift Cookbook
€29.99
Total 97.97 Stars icon
Banner background image

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

Top Reviews
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
Top Reviews

Filter reviews by




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
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
Danny Bolella Jun 04, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As someone who loves working with SwiftUI, Michele has written a fantastic book that I’ll be referring to for quite some time. In particular, I really appreciated the chapters around Navigation and App Architecture (2 chapters on this, alone!). Michele presents well-rounded overview with some great guidance and helpful insights as to how and when to effectively pick and choose approaches. A great read!
Amazon Verified review Amazon
Goppinath Thurairajah May 30, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Despite its title, the book covers much more than just SwiftUI.The book is aimed at iOS developers looking to expand their knowledge by incorporating SwiftUI into their skill set. It is suitable for readers of all levels, from beginners to advanced.The book not only focuses on SwiftUI but also covers a wide range of topics, including:- Introduction to Xcode and app submission- Advanced usage of the Swift language- In-depth exploration of SwiftUI with animation- Modern concurrency and asynchronous programming- App architecture, clean architecture, SOLID principles, and GoF design patterns, along with system modelling using UML diagrams- Data persistence using CoreData and SwiftData- Modern networking and Swift serialization- Working in teams and group thinking- Exploring the Apple Vision ProThe book is logically divided into 16 chapters, with the latter 9 chapters delving into advanced topics. Throughout the book, the author provides external resources for further reading and references, as well as notes highlighting possible pitfalls. This reflects the author’s 30 years of experience in industrial software engineering in the book.In conclusion, this is a comprehensive resource that is beneficial for iOS developers at all levels of expertise. It’s a valuable addition to any iOS engineer’s collection and can also serve as a quick reference guide for non-linear reading.
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
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.