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! 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
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Elevate SwiftUI Skills by Building Projects
Elevate SwiftUI Skills by Building Projects

Elevate SwiftUI Skills by Building Projects: Build four modern applications using Swift, Xcode 14, and SwiftUI for iPhone, iPad, Mac, and Apple Watch

Arrow left icon
Profile Icon Frahaan Hussain
Arrow right icon
S$33.99 S$37.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (15 Ratings)
eBook Sep 2023 268 pages 1st Edition
eBook
S$33.99 S$37.99
Paperback
S$47.99
Subscription
Free Trial
Arrow left icon
Profile Icon Frahaan Hussain
Arrow right icon
S$33.99 S$37.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (15 Ratings)
eBook Sep 2023 268 pages 1st Edition
eBook
S$33.99 S$37.99
Paperback
S$47.99
Subscription
Free Trial
eBook
S$33.99 S$37.99
Paperback
S$47.99
Subscription
Free Trial

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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Elevate SwiftUI Skills by Building Projects

iPhone Project – Tax Calculator Design

In the previous chapter, we did a recap of Swift and SwiftUI. We looked at the requirements, the coding standards used, and the basics of SwiftUI components. We will use these in the following chapters.

In this chapter, we will work on the design of our first project, a tax calculator. We will assess the requirements for designing such an application and discuss the design specifications, allowing us to get a better understanding of what is required and how it will all fit together. Then, we will start our application’s coding process to build out the UI, which will be connected together allowing the application to fully function in the next chapter. This project will teach us the foundations of SwiftUI components and how to interact with external code bases. We will discuss all of this in the following sections:

  • Technical Requirements
  • Understanding the Design Specifications
  • Building the Calculator UI

By the end of this chapter, you will have a better understanding of what is required and the design of our application. You will also have a skeleton UI that will be used as the foundation for making the calculator work in the next chapter.

In the next section, we will provide clarity on the specifications of our application’s design and look at mockups of what the app will look like.

Technical requirements

This chapter requires you to download Xcode version 14 or above from Apple’s App Store.

To install Xcode, just search for Xcode in the App Store, then select and download the latest version. Open Xcode and follow any additional installation instructions. Once Xcode has opened and launched, you’re ready to go.

Version 14 of Xcode has the following features/requirements:

  • Includes SDKs for iOS 16, iPadOS 16, macOS 12.3, tvOS 16, and watchOS 9.
  • Supports on-device debugging in iOS 11 or later, tvOS 11 or later, and watchOS 4 or later.
  • Requires a Mac running macOS Monterey 12.5 or later.

Download the sample code from the following GitHub link:

https://github.com/PacktPublishing/Elevate-SwiftUI-Skills-by-Building-Projects

In the next section, we will provide clarity on the specifications of our application’s design and look at mockups of what the app will look like.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how to use the latest SwiftUI features such as UIkit
  • Develop UIs for all categories of Apple devices, from the Apple Watch to the iPad
  • Enhance your applications further with advanced SwiftUI features
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Elevate SwiftUI Skills by Building Projects helps you harness the cutting-edge potential of SwiftUI and its innovative and user-friendly approach to crafting user interfaces for Apple platforms with the power of Swift. This book will enhance your UI programming skills with SwiftUI through a project-based methodology, guiding you to create four real-world projects. Starting with a quick recap of Swift and SwiftUI, you’ll gradually develop projects tailored for iPhone, iPad, macOS, and watchOS using Swift and Xcode. You’ll experience SwiftUI’s versatility in action as you build a tax calculator for iPhone and a photo gallery for the iPad, which uses a larger display to enhance the viewing experience. You’ll also create an app store for Mac and, finally, get to grips with the power of SwiftUI for smaller devices such as the Apple Watch by designing a Fitness Companion app. By the end of this book, you'll have built fully functional projects across multiple platforms and gained the expertise needed to excel as a professional SwiftUI developer.

Who is this book for?

If you are a mobile developer already well-versed in Apple development using Swift, this book will further advance your skills in UI design. Basic Swift, Xcode, and Apple OS knowledge will help you get the most out of this book.

What you will learn

  • Start with a quick recap of UI essentials in Swift and Swift basics
  • Discover how UI elements are integrated into apps
  • Understand how SwiftUI builds on top of the pre-existing Swift programming language
  • Familiarize yourself with the latest Xcode version to create SwiftUI apps
  • Develop a wide variety of applications that can be used as cornerstones
  • Design and code for watchOS, iOS, macOS, and iPadOS in SwiftUI through explicit projects

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 08, 2023
Length: 268 pages
Edition : 1st
Language : English
ISBN-13 : 9781803237442
Vendor :
Apple
Category :
Languages :
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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 08, 2023
Length: 268 pages
Edition : 1st
Language : English
ISBN-13 : 9781803237442
Vendor :
Apple
Category :
Languages :
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 S$6 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 S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 169.97
iOS 17 Programming for Beginners
S$60.99
SwiftUI Cookbook
S$60.99
Elevate SwiftUI Skills by Building Projects
S$47.99
Total S$ 169.97 Stars icon

Table of Contents

11 Chapters
Chapter 1: Swift and SwiftUI Recap Chevron down icon Chevron up icon
Chapter 2: iPhone Project – Tax Calculator Design Chevron down icon Chevron up icon
Chapter 3: iPhone Project – Tax Calculator Functionality Chevron down icon Chevron up icon
Chapter 4: iPad Project – Photo Gallery Overview Chevron down icon Chevron up icon
Chapter 5: iPad Project – Photo Gallery Enhanced View Chevron down icon Chevron up icon
Chapter 6: Mac Project – App Store Bars Chevron down icon Chevron up icon
Chapter 7: Mac Project – App Store Body Chevron down icon Chevron up icon
Chapter 8: Watch Project – Fitness Companion Design Chevron down icon Chevron up icon
Chapter 9: Watch Project – Fitness Companion UI 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 Full star icon 5
(15 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Bruce Nov 23, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I been a mobile app developer for awhile now and have industrial experience. This book was sent to me to go over and review. I went over the book and examined its contents. The book looks like it is well put together with about two projects for a few different Apple products, iPhone, iPad, Apple Watch, and Mac.It has a simplify project then an advance project which is the has the same theme. For example on iPhone there is kind of an income calculator app with graphs. There is some advance SwiftUI concepts. There is small section dedicated on a recap.It's a good resource in building a few iOS projects using SwiftUI to get yourself some more familiarity with it to help you build apps.
Amazon Verified review Amazon
John Stanley Sep 10, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great resource for using Swift UI for iOS apps with in-depth step by step projects & tutorials.
Amazon Verified review Amazon
Elma Sep 10, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I came across this book as I was ready to make the transition to SwiftUI. This book takes you from the basics to advanced topics, making it suitable for both beginners and experienced developers.The authors writing style makes complex concepts easy to grasp, and the step-by-step tutorials are accompanied by practical examples and exercises that reinforce your learning.If you’re serious about mastering SwiftUI, this book is a must-have.
Amazon Verified review Amazon
Kit Kat Oct 06, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a comprehensive guid that has something for both beginner and advance mobile developers. You get to work on four real world projects that you can use as the basis for other projects that you might have in mind. Along the way you will begin to master SwiftUI.If you don't have a full suite of apps in your portfolio this book will give you four examples you can use or build upon to help improve your understanding of building complex SwiftUI apps and help you get your next job.
Amazon Verified review Amazon
Mark Kuharich Sep 08, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a practicing Swift developer within the industry, I was extremely excited to have the opportunity to read this book.Frahaan has crafted and delivered a labor of love. His GitHub repositories and supporting instructions are instructive for both beginner and advanced Swift programmers. They are accurate and thorough.I appreciated his informative retelling of the history of Swift and SwiftUI's origins. And, somehow, he paid homage to Chris Lattner's work with LLVM without getting bogged down into the details.A beginner or advanced Swift developer can take this book and use it as a template to provide Swift and SwiftUI applications of their own.I have only two minor quibbles with this book: First as a developer from the United States, I was able to utilize Frahaan's tables and algorithms to deliver a tax calculator customized for the United States. Some states lack an income tax. Also; maybe in the future, Frahaan could add one more project template: one for Apple's new Vision Pro.All in all, this is an amazing book and a tour de force.
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.