Sneak Peek: First Chapter From New SwiftUI, Combine, and Catalyst Books!

An exclusive sneak peek of our three brand new upcoming iOS books on SwiftUI, Combine & Catalyst is available now! By Tiffani Randolph.

Save for later
Share

Ever since WWDC, our team has been hard at work on three hotly anticipated new books on SwiftUI, Combine, and Catalyst:

  1. SwiftUI by Tutorials
  2. Combine: Asynchronous Programming with Swift
  3. Catalyst by Tutorials

We’re making great progress on the books. We’ll be releasing a big early access version in a few weeks, and we’re aiming for the full release this fall. But in the meantime, we wanted to give you a sneak peek — so today we’re releasing one chapter from each book!

Keep reading to learn more about these books and the author teams behind them, as well as how to get the sneak peek chapters.

1) SwiftUI by Tutorials

SwiftUI by Tutorials is designed to help you learn how to transition from the “old way” of building your app UI with UIKit, to the “new way” of building responsive UI with modern declarative syntas with SwiftUI.

This book is for readers who are comfortable building Swift apps, and want to make the exciting leap into building their app UI with modern, declarative code.

SwiftUI by Tutorials

As a sneak peek, today we are releasing Chapter 2 from the book, which covers getting started with SwiftUI. You’ll learn the basics of using the SwiftUI canvas editor, and will create a basic user interface.

This is just a sneak peek so you can get a rough idea what the book will be like. The full book, coming this fall, will contain the following chapters:

  1. Introduction: In this chapter, you’ll get an overview of the book as a whole, as well as the apps you will be building as you learn the fundamentals of SwiftUI!
  2. Getting Started with SwiftUI: In this chapter, you’ll start to dig in and begin work on the RGBullsEye app, learning more SwiftUI terminology to help you build a UI directly in the preview, similar to using storyboard. You’ll also be introduced to Canvas, Views and Previews.
  3. Understanding SwiftUI: Learn the differences with the UIKit version to understand what replaces ViewController, and how you need to “think differently” about views, data and control. You’ll see the creation of a Game struct to learn how to use @ObjectBinding.
  4. Integrating SwiftUI: See the scene in the UIKit BullsEye app and replace the Info button with one that opens the color version of the game. You’ll then learn to navigate from that view back into the UIKit app using UIView[Controller]Representable.
  5. Introduction to Controls: Text & Image: In this chapter, you’ll learn about two of the most used controls, Text and Image, and how to customize them using modifiers.
  6. State & Data Flow: In this chapter, you’ll learn binding data to the UI, reactive updates to the UI through state management, and an in-depth usage of the attributes introduced in the SwiftUI introduction.
  7. Layouts & Presentations: In this chapter you’ll learn about other controls, like TextField, Button, Toggle, Slider, Stepper and pickers.
  8. Introducing Stacks: In this chapter you’ll learn how to use container controls, such as stacks, GroupBox, Form and Group.
  9. Lists & Navigation: In this chapter you’ll learn how to display lists of items, and how to navigate between views.
  10. Testing & Debugging: In this chapter, you will learn about creating user interface tests and debugging your app.
  11. Handling User Input: This chapter will cover user updates of the interface, including how to easily test a SwiftUI interface, how to manage the flow of screens throughout a complex app, and how to deal with gestures, including the development of a custom gesture.
  12. Drawing & Custom Graphics: In this chapter, you will learn how to create drawings and graphics in your app.
  13. Animations & Transitions: In this chapter, you will learn how to use animations and view transitions in your app.
  14. Complex Interfaces: In this chapter, you will learn how to use existing custom controls from SwiftUI and how to build complex interfaces in Swift.
  15. Expanding the UI: This chapter will cover some of the more advanced (but necessary) considerations when developing mobile applications, including various inclusive accessibility approaches, the updates to fonts, text scaling, and SF symbols, and how to manage multi-language apps.
  16. Frameworks: In this chapter, see the differences between each platform, focusing on how to make best use of the device, its unique features and its way to handle input. The app developed in Chapters 4 and 6 will be used here to show how it can be customized in order to make better use of the platform it runs on.

We’ll be having another early access release of the book with more chapters in a few weeks. Stay tuned!

About the SwiftUI by Tutorials Authors

Antonio Bello

Antonio Bello is an author of this book. Antonio has spent most of his life writing code, and he’s gained a lot of experience in several languages and technologies. A few years ago he fell in love with iOS development, and that’s what he mostly works on since then, although he’s always open for challenges and for playing with new toys. He believes that reputation is the most important skill in his job, and that “it cannot be done” actually means “it can be done, but it’s not economically convenient.” When he’s not working, he’s probably playing drums or making songs in his small, but well fitted home recording studio.

Phil Laszkowicz

Phil Laszkowicz is an author of this book. Phil’s been delivering large-scale software solutions for many years, as well as working with startups as a board member, mentor, and coach. He’s worked with neural networks for over a decade and enjoys combining deep learning with intuitive and elegant user experiences across mobile and web. In his spare time, he writes music, drinks coffee at a professional level, and can be found scaling cliff walls, composing music, sea kayaking, or taking part in competitive archery.

Bill Morefield

Bill Morefield is an author of this book. Bill has spent most of his professional life writing code. At some point, he has worked in almost every language other than COBOL. He bought his first Apple computer to learn to program for the iPhone and got hooked on the platform. He manages the web and mobile development team for a college in Tennessee, where he still gets to write code. When not attached to a keyboard he enjoys hiking and photography.

Audrey Tam

Audrey Tam is an author of this book. As a retired computer science academic, she’s a technology generalist with expertise in translating new knowledge into learning materials. Audrey now teaches short courses in iOS app development to non-programmers and attends nearly all Melbourne Cocoaheads monthly meetings. She also enjoys long train journeys, knitting, and trekking in the Aussie wilderness.

Tiffani Randolph

Contributors

Tiffani Randolph

Author

Over 300 content creators. Join our team.