1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-01 06:50:26 +02:00

Add Combine & NavigationStack content to the iOS roadmap (#6052)

Add content to Navigated stacks and combine
This commit is contained in:
Florian Schweizer
2024-07-05 09:13:25 +02:00
committed by GitHub
parent 4b5635c5e5
commit 0a675760ed
2 changed files with 20 additions and 2 deletions

View File

@@ -1 +1,9 @@
# Combine
# Combine
Combine is Apple's built-in framework for reactive programming, using the same publisher-subscriber pattern as most modern approaches to this issue.
Combine introduces the concept of a `Cancellable` (i.e. a subscription) and many different operators to use on these Cancellables.
When writing Combine code, developers will notice complex generic types. For this reason, type-erasure can be done through `AnyCancellable`.
Visit the following resources to learn more:
- [@official@Combine](https://developer.apple.com/documentation/combine)
- [@video@Understanding Combine](https://youtu.be/rz0yx0Qz2jE)

View File

@@ -1 +1,11 @@
# Navigation Stacks
# Navigation Stacks
iOS 16 introduced a new concept of navigating through SiwftUI apps: NavigationStack.
NavigationStack is data-driven, meaning that you specify navigationDestinations for each data type (models) that your app supports.
These destinations are defined once for each NavigationStack and are valid throughout the app.
Navigation itself is handled through the NavigationLink View, which allows setting a label and a value (your model).
Visit the following resources to learn more:
- [@official@NavigationStack](https://developer.apple.com/documentation/swiftui/navigationstack)
- [@video@NavigationStack](https://www.youtube.com/watch?v=DMsALlhObNk)