Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 9 Results

Contained in: Combine: Asynchronous Programming With Swift swiftui
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

In Practice: Combine & SwiftUI

SwiftUI is the new user interface paradigm from Apple and it's designed for an interplay with Combine on a whole new level. In this chapter you are going to work through a Combine based SwiftUI project…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

In Practice: Building a Complete App

…projects in this book, you’ll work with SwiftU in this chapter too. If you’d like to learn more about it, check out SwiftUI by Tutorials from the Kodeco library. Select the ChuckNorrisJokes project at the top of the Project navigator: The project has three targets: ChuckNorrisJokes: The main…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

In Practice: Project "News"

…this chapter, you will work in an Xcode playground focusing only on the API client itself. In Chapter 15, “In Practice: Combine & SwiftUI,” you will take the completed API and use it to build a real Hacker News reader app by plugging the network layer into a SwiftUI-based…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

Hello, Combine!

Luckily, Combine is also very easy to integrate into your own code. Finally, last but definitely not least, Apple designed their amazing UI framework, SwiftUI, to integrate easily with Combine as well. Swift’s Modern Concurrency Swift 5.5 introduces a range of APIs for developing asynchronous and concurrent code which…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

Time Manipulation Operators

…specified. Open the Delay playground page. The first thing you’ll see is that you’re not only importing the Combine framework but also SwiftUI! This animated playground is built with SwiftUI and Combine. When you feel in an adventurous mood, it’ll be a good idea to peruse through…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

In Practice: Project "Collage Neue"

…specifically excercise working with Combine. You’ll get to try various ways of binding data but will not focus on working with Combine and SwiftUI specifically; you will look into how to use these two frameworks together in Chapter 15, In Practice: Combine & SwiftUI. Currently, the project doesn…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

Testing

…code, and you’ll have some fun along the way. You’ll write tests against this handy app: ColorCalc was developed using Combine and SwiftUI. It’s got some issues though. If it only had some decent unit tests to help find and fix those issues. Good thing…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

Key-Value Observing

…object‘s @Published variables change. Unfortunately, you can‘t know which property actually changed. This is designed to work very well with SwiftUI which coalesces events to streamline screen updates. Key Points Key-Value Observing mostly relies on the Objective-C runtime and methods of the NSObject protocol. Many Objective…
iOS & Swift

Chapter in Combine: Asynchronous Programming With Swift

Conclusion

…things you’ve been through—operators, networking, debugging, error handling, schedulers, custom publishers, testing, and you’ve even worked with SwiftUI. This is where we part ways, but we have full confidence in you! We hope you’ll continue experimenting with Combine and constantly enhancing your “Combine muscles…