Skip to content

Commit 8450859

Browse files
committed
Update README.md
1 parent 583f4b8 commit 8450859

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Swift Declarative Configuration (SDC, for short) is a tiny library, that enables
3636

3737
## Basic Usage
3838

39-
> See tests for more
39+
> **See tests for more**
4040
4141
### No SDC
4242

@@ -102,7 +102,7 @@ class ImageViewController: UIViewController {
102102

103103
Note: This way is recommended too, and it is more **safe**, because it modifies existing objects.
104104

105-
### FunctionalHandler
105+
### FunctionalClosures
106106

107107
### No SDC
108108

@@ -152,7 +152,7 @@ tapRecognizer.onTapGesture?(tapRecognizer)
152152

153153
```swift
154154
public class TapGestureRecognizer: UITapGestureRecognizer {
155-
@FunctionalHandler<TapGestureRecognizer>
155+
@Handler<TapGestureRecognizer>
156156
var onTapGesture
157157

158158
init() {
@@ -237,9 +237,9 @@ extension CLLocationCoordinate2D: BuilderProvider {}
237237

238238
> **Note:** Your NSObject classes **must** implement `init()` to use Configurators. It's a little trade-off for the convenience it brings to your codebase, see [tests](./Tests/DeclarativeConfigurationTests/ConfiguratorTests.swift) for an example.
239239
240-
#### FunctionalDataSource
240+
#### DataSource
241241

242-
`FunctionalDataSource` type is very similar to the `FunctionalHandler`, but if `FunctionalHandler<Input>` is kinda `FunctionalDataSource<Input, Void>`, the second one may have different types of an output. Usage is similar, different types are provided just for better semantics.
242+
`OptiomalDataSource` and `DataSource` types are very similar to the `Handler`, but if `Handler<Input>` is kinda `OptionalDataSource<Input, Void>`, the second one may have different types of an output. Usage is similar, different types are provided just for better semantics.
243243

244244
## Installation
245245

0 commit comments

Comments
 (0)