Skip to content

Commit e0b43ea

Browse files
committed
Edit L13
1 parent a516c30 commit e0b43ea

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Lessons/Combine-Pt.3/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Declarative UI updates from user input.
6565

6666
Fetching, transforming and displaying data.
6767

68+
[Instructions](assignments/Example-2.md)
69+
6870
<!-- > -->
6971

7072
## After Class

Lessons/Combine-Pt.3/assignments/Example-1.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ var validatedPassword: AnyPublisher<String?, Never> {
9999
}
100100
```
101101

102-
This publisher will use the special type [CombineLatest](https://developer.apple.com/documentation/combine/publishers/combinelatest).The return value is a tuple with the values of password and email. This publisher wants to make sure everything is ready to submit and we'll use it to enable/disable the Register button.
102+
This publisher will use the special type [CombineLatest](https://developer.apple.com/documentation/combine/publishers/combinelatest). The return value is a tuple with the values of password and email. This publisher wants to make sure everything is ready to submit and we'll use it to enable/disable the Register button.
103103

104104
```swift
105105
var readyToSubmit: AnyPublisher<(String, String)?, Never> {
@@ -130,4 +130,6 @@ self.readyToSubmit
130130
.receive(on: RunLoop.main)
131131
.assign(to: \.isEnabled, on: registerButton)
132132
.store(in: &cancellableSet)
133-
```
133+
```
134+
135+
This should be all you need to get the form working correctly. Try it out 😀

0 commit comments

Comments
 (0)