Unlock advanced controls and animations with SwiftUI 5, taking your app development skills to the next level
Visualize data effortlessly using Swift Charts enhancing your app's data-driven capabilities
Develop for multiple platforms, including iOS, macOS, and watchOS, and become a versatile app developer
Purchase of the print or Kindle book includes a free PDF eBook
Description
SwiftUI is the modern way to build user interfaces for iOS, macOS, and watchOS. It provides a declarative and intuitive way to create beautiful and interactive user interfaces. The new edition of this comprehensive cookbook includes a fully updated repository for SwiftUI 5, iOS 17, Xcode 15, and Swift 5.9. With this arsenal, it teaches you everything you need to know to build beautiful and interactive user interfaces with SwiftUI 5, from the basics to advanced topics like custom modifiers, animations, and state management.
In this new edition, you will dive into the world of creating powerful data visualizations with a new chapter on Swift Charts and how to seamlessly integrate charts into your SwiftUI apps. Further, you will be able to unleash your creativity with advanced controls, including multi-column tables and two-dimensional layouts. You can explore new modifiers for text, images, and shapes that give you more control over the appearance of your views.
You will learn how to develop apps for multiple platforms, including iOS, macOS, watchOS, and more.
With expert insights, real-world examples, and a recipe-based approach, you’ll be equipped to build remarkable SwiftUI apps that stand out in today’s competitive market.
Who is this book for?
This book is for mobile developers who want to learn SwiftUI as well as experienced iOS developers transitioning from UIKit to SwiftUI. The book assumes knowledge of the Swift programming language. Knowledge of object-oriented design and data structures will be useful but not necessary. You'll also find this book to be a helpful resource if you're looking for reference material regarding the implementation of various features in SwiftUI.
What you will learn
Create stunning, user-friendly apps for iOS 17, macOS 14, and watchOS 10 with SwiftUI 5
Use the advanced preview capabilities of Xcode 15
Use async/await to write concurrent and responsive code
Create powerful data visualizations with Swift Charts
Enhance user engagement with modern animations and transitions
Implement user authentication using Firebase and Sign in with Apple
Learn about advanced topics like custom modifiers, animations, and state management
Livro muito bom e completo com muitos elementos para aprender sobre SwiftUI e todos os seus componentes.
Feefo Verified review
BhaskarApr 08, 2024
5
Every topic explained clearly and beginners can understand.
Amazon Verified review
NicholasMar 07, 2024
5
This book is a great read for developers already acquainted with Swift on some minor level and looking for efficient ways to design and implement common UI elements. While it dedicates a chapter to lay down the basics—which can serve as a refresher or a crash course for those somewhat new to the framework—the book mainly excels in offering concise, practical solutions aimed at specific problems as opposed to an opus on the entire language (This is the purpose of a cookbook btw).The update to include XCode 15 is particularly noteworthy, addressing the shifts and nuances introduced in the IDE since the book's previous editions. This helps us stay current with not just the language but also the tools we use to develop with it.A standout addition to this edition is the revised chapter on CoreData, incorporating SwiftData. Given the newness of SwiftData, the book offers a chance to explore its use in these example scenarios. This update really shows the author's commitment to keeping us up to date with the latest developments in Swift programming.Furthermore, the new chapter on data visualization caters to developers involved in data analysis, offering advanced techniques and insights into visual data representation with Swift Charts. This was the most interesting addition that set it aside from the previous versions of the book.Overall, I def recommend this for Swift developers seeking to enhance their UI design skills with the latest tools and techniques, supported by practical examples. Just keep in mind its strongest as a reference tool, not really a 'teach me everything' tool.
Amazon Verified review
Amazon CustomerJan 02, 2024
5
As a programmer who is new to SwiftUI, but has years of programming experience, this book hits the perfect level of theory and practice which allows the reader to quickly absorb the relevant concepts of this new UI paradigm. The recipes in this well explained introduction to the various SwiftUI building blocks will get you up and going, and then enable you to achieve useful working examples of elements of iOS applications.The author provides useful step-by-step instructions and illustrated outputs to reinforce the concepts presented. An excellent way to teach yourself this important technology.
Amazon Verified review
Joaquin L. NavarroJan 06, 2024
5
If you are a software developer for Apple platforms: iOS, macOS and watchOS, interested in learning a modern approach to build user interfaces using Swift UI, this book is for you. SwiftUI has become Apple’s recommended way of building User Interfaces since its introduction in 2019 until the present day (2024).If you prefer a practical approach to learning programming concepts, this book contains hundreds of easy to follow, and implement, examples. This library of examples, by itself, makes the book a valuable resource for Apple developers, juniors and seniors alike, to use as a reference, or starting point, when building appealing user interfaces.The book covers a range of topics: from introductory ones, like basic SwiftUI controls, Lists and Scroll Views; to more advanced topics like Swift UI Concurrency and async await, building hierarchical content and creating widgets.Portions of relevant code are included in the book, together with “How it works…” sections that provide more clarity. There are also many “Important Notes” in which the author provides very valuable nuggets of advice.So, get your Mac ready (with macOS Ventura 13.5 and XCode 15) and embark on this journey of learning to create eye appealing mobile apps using SwiftUI.
Juan C. Catalan is a software engineer with more than 18 years of professional experience. He started mobile development back in the days of iOS 3. Juan has worked as a professional iOS developer in many industries, including medical devices, financial services, real estate, document management, fleet tracking and industrial automation. He has contributed to more than 30 published apps in the App Store, some of them with millions of users. Juan gives back to the iOS development community with technical talks, mentoring developers, reviewing technical books and now as a book author. He lives in Austin, Texas, with his wife Donna, where they spend time with their kids.
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?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
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.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
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
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?
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?
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.