Experience the potential of SwiftUI, Swift 5.9, and Xcode 15 for crafting cutting-edge apps on iOS 17, macOS 14.0 Sonoma, and watchOS 10
Key FeaturesUnlock advanced controls and animations with SwiftUI 5, taking your app development skills to the next levelVisualize data effortlessly using Swift Charts enhancing your app’s data-driven capabilitiesDevelop for multiple platforms, including iOS, macOS, and watchOS, and become a versatile app developerPurchase of the print or Kindle book includes a free PDF eBookBook 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.
What you will learnCreate stunning, user-friendly apps for iOS 17, macOS 14, and watchOS 10 with SwiftUI 5Use the advanced preview capabilities of Xcode 15Use async/await to write concurrent and responsive codeCreate powerful data visualizations with Swift ChartsEnhance user engagement with modern animations and transitionsImplement user authentication using Firebase and Sign in with AppleLearn about advanced topics like custom modifiers, animations, and state managementBuild multi-platform apps with SwiftUIWho this book is 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.
Table of ContentsUsing the Basic SwiftUI Views and ControlsDisplaying Scrollable Content with Lists and Scroll ViewsExploring Advanced ComponentsViewing while Building with SwiftUI Preview in Xcode 15Creating New Components and Grouping Views with Container ViewsPresenting Views ModallyNavigation ContainersDrawing with SwiftUIAnimating with SwiftUIDriving SwiftUI with DataDriving SwiftUI with CombineSwiftUI concurrency with async awaitHandling Authentication and Firebase with SwiftUIPersistence in SwiftUI with Core Data and Swift DataData Visualization with Swift ChartsCreating Multiplatform Apps with SwiftUISwiftUI Tips and Tricks
From the brand

See Our Full Range :

See Our Upcoming Releases :

Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.
Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.
We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.
Publisher ‏ : ‎ Packt Publishing
Publication date ‏ : ‎ December 26, 2023
Edition ‏ : ‎ 3rd
Language ‏ : ‎ English
Print length ‏ : ‎ 798 pages
ISBN-10 ‏ : ‎ 1805121731
ISBN-13 ‏ : ‎ 978-1805121732
Item Weight ‏ : ‎ 2.97 pounds
Dimensions ‏ : ‎ 7.5 x 1.8 x 9.25 inches
Best Sellers Rank: #323,003 in Books (See Top 100 in Books) #5 in Apple Programming #29 in Mobile App Development & Programming #51 in User Experience & Website Usability
Customer Reviews: 4.8 4.8 out of 5 stars (42) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
5 reviews for SwiftUI Cookbook: A guide for building beautiful and interactive SwiftUI apps
Add a review
Original price was: $44.99.$38.24Current price is: $38.24.


Saketh –
SwiftUI Cookbook: Recipes for Success
SwiftUI Cookbook, 3rd Edition, is an absolute gem for anyone working with SwiftUI. Author Juan has done a fantastic job of presenting complex topics in a clear and approachable way.What really struck me is the book’s recipe-style format. It’s incredibly practical. Each recipe focuses on a specific task, giving you step-by-step instructions and explaining the code clearly. It’s like having a seasoned SwiftUI chef guiding you through each dish, from prepping the ingredients to plating the final masterpiece!The book caters to developers of all levels. If you’re just starting with SwiftUI, the early chapters provide a solid foundation. If you’re more experienced, you can dive straight into the advanced recipes covering things like Combine, Core Data, and Swift Charts.And to top it all off, there’s a companion GitHub repository with all the code samples. This means you can easily try out the recipes and adapt them to your own projects. Overall, this book is an essential resource that I highly recommend to anyone who wants to master SwiftUI.
ChuckC –
This book is PACKED FULL of awesome content! A SwiftUI Gem! A wonderful reference book!
Finally a book that is almost 100% SwiftUI and also covers the latest Swift code (5.9 at the time of writing. I bought the Kindle version. This book has been updated to include the latest SwiftUI Code ready for IOS17 and all of the latest Swift updates. It has 2 very cool chapters…one that tells you how to integrate your UIKit app and conver to SwiftUI and a chapter on how to integrate your SwiftUI code to UIKit. Each chapter, no matter what it is about is layed out very nice. For example “Using LazyHStack and LazyVsStack has sections titled “Getting Ready”, “How to do it…”, “How it works…”, “There’s more”. Lots of code, screen shots, as well as all code is available via a Github download. This book does not really teach you the core Swift code or core SwiftUI, so you will need to have some basic understanding of that but it then builds on that knowledge to show you how to do a lot of the common things that come up in programming. What I like about the book the most is it is truly a SwiftUI book… so many other books teach UIKit and just dabble in SwiftUI. I will be spending a lot of time in the book and I am glad I bought it. I hope this review helps you in deciding if this book is for you 🙂
Dashing Dave –
This is definitely a “recipe” book, not a teaching text
This is a really great book, but it won’t teach you Swift unless you learn only by example. Everything is organized in aThis is the topic.This is how to perform an example of that topic. (1…, 2…, 3…, ….)This is how the code does what it does.It’s 700 pages, with each topic covering about 10 or so. Everything is SwiftUI; there’s only about 10 pages total that deal with UIKit, and it’s there as a here’s-how-to-integrate-one-with-the-other topic.The primary topics are drawing, animating, concurrency, Combine, SwiftData, Swift Charts, Firebase, and various view-organization options (nav view, scrollables, lists, stacks, tables, etc.).Jam-packed and well-written. Just know that this is not a textbook but rather a, well, cookbook. There are instructions for what to do but only the basics on why. Perhaps a similar example from an actual cookbook would be”3. Add sugar. Your customers will be more likely to buy the cookies if they include sugar.”Whereas a textbook would be”Sugar is composed of building blocks called carbohydrates. When certain carbohydrates are combined, certain sugars are created that are used in food production. Sugar is a sweet-tasting ingredient, and bakers almost always use it when creating desserts. Because human tongues have a specific region devoted to sweet-tasting foods, sugar is an extremely important substance in the food industry.”Great book for the right audience.
Sdrizzle –
Great book!
Very well explained and broken down into understandable recipes. Highly recommended.
Jlmontesino –
This book stands out for its clarity and structured approach, making it an invaluable resource for both newcomers and seasoned developers diving into SwiftUI. It’s packed with a wealth of code examples and rich screenshots that not only aid in grasping fundamental concepts but also in adopting efficient programming practices in SwiftUI. Whether you’re looking to solidify your understanding of the language or seeking a reliable reference for specific topics, this book serves as an essential guide. Its practical orientation ensures that readers can easily apply the learnings to real-world projects, making it a must-have for anyone serious about mastering SwiftUI.