SwiftUI Cookbook
eBook - ePub

SwiftUI Cookbook

A guide for building beautiful and interactive SwiftUI apps

  1. 798 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

SwiftUI Cookbook

A guide for building beautiful and interactive SwiftUI apps

About this book

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 Features

  • 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

Book 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 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
  • Build multi-platform apps with SwiftUI

Who 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.

]]>

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access SwiftUI Cookbook by Juan C. Catalan in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation d'appareils mobiles. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Preface
  2. Using the Basic SwiftUI Views and Controls
  3. Displaying Scrollable Content with Lists and Scroll Views
  4. Exploring Advanced Components
  5. Viewing while Building with SwiftUI Preview in Xcode 15
  6. Creating New Components and Grouping Views with Container Views
  7. Presenting Views Modally
  8. Navigation Containers
  9. Drawing with SwiftUI
  10. Animating with SwiftUI
  11. Driving SwiftUI with Data
  12. Driving SwiftUI with Combine
  13. SwiftUI Concurrency with async await
  14. Handling Authentication and Firebase with SwiftUI
  15. Persistence in SwiftUI with Core Data and SwiftData
  16. Data Visualization with Swift Charts
  17. Creating Multiplatform Apps with SwiftUI
  18. SwiftUI Tips and Tricks
  19. Other Books You May Enjoy
  20. Index