Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn SwiftUI

You're reading from   Learn SwiftUI An introductory guide to creating intuitive cross-platform user interfaces using Swift 5

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781839215421
Length 316 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chris Barker Chris Barker
Author Profile Icon Chris Barker
Chris Barker
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Getting Started with SwiftUI 2. Understanding Declarative Syntax FREE CHAPTER 3. Building Layout and Structure 4. Creating Your First Application 5. Understanding Controls, Views, and Lists 6. Working with Navigation in SwiftUI 7. Creating a Form with States and Data Binding 8. Networking and Linking to Your Existing App Logic 9. Maps and Location Services 10. Updating for iPad with NavigationViewStyle 11. SwiftUI on watchOS 12. SwiftUI versus UIKit 13. Basic Animation in Views 14. Animations in Transitions 15. Testing in SwiftUI 16. Other Books You May Enjoy

Getting Started with SwiftUI

Here, we'll begin our journey into learning SwiftUI by building our very own SwiftUI app. We'll start by learning the history of the Swift programming language, which will act as a good foundation for understanding the core concepts of Swift development. Together, we'll build an app with custom animations and everyday elements that work seamlessly for iOS, iPadOS, and watchOS. From this, we'll see the benefits of writing good, clean code—once—for multiple devices. Once we have our working app, we'll cover testing and debugging, and see how crafting our code in the right way from the start can make this much simpler to implement.

We'll get started with the history of Swift before getting hands-on into Xcode, where we'll learn just how simple, yet powerful, developing in SwiftUI really is. In this chapter, we'll get you primed and ready for your journey into SwiftUI by first of all introducing you to the Swift programming language, along with the existing UIKit framework. We'll then discuss what SwiftUI brings to the table, and how it sits not only within a new project but in your existing projects too.

The following topics will be covered in this chapter:

  • Introducing Swift as a programming language
  • Learning about existing UI frameworks
  • Introducing SwiftUI
  • When to use SwiftUI, and why
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime