@@ -163,7 +163,7 @@ Bindings
163
163
<tr></tr>
164
164
<tr>
165
165
<td><code>.attributedTitle(for: UIControl.State)</code></td>
166
- <td><code>NSAttributedString </code></td>
166
+ <td><code>AttributedString </code></td>
167
167
</tr>
168
168
<tr></tr>
169
169
<tr>
@@ -207,7 +207,7 @@ Bindings
207
207
<tr></tr>
208
208
<tr>
209
209
<td><code>.attributedText</code></td>
210
- <td><code>NSAttributedString </code></td>
210
+ <td><code>AttributedString </code></td>
211
211
</tr>
212
212
<tr></tr>
213
213
<tr>
@@ -280,7 +280,7 @@ Bindings
280
280
<tr></tr>
281
281
<tr>
282
282
<td><code>.attributedText</code></td>
283
- <td><code>NSAttributedString </code></td>
283
+ <td><code>AttributedString </code></td>
284
284
</tr>
285
285
<tr></tr>
286
286
<tr>
@@ -386,7 +386,7 @@ Extension Methods
386
386
<tr></tr>
387
387
<tr>
388
388
<td><code>.attributedTextPublisher()</code></td>
389
- <td><code>AnyPublisher<NSAttributedString , Never></code></td>
389
+ <td><code>AnyPublisher<AttributedString , Never></code></td>
390
390
</tr>
391
391
<tr></tr>
392
392
<tr>
@@ -442,7 +442,7 @@ Extension Methods
442
442
443
443
``` swift
444
444
func title (for state : UIControl.State) -> Binding<String >
445
- func attributedTitle (for state : UIControl.State) -> Binding<NSAttributedString >
445
+ func attributedTitle (for state : UIControl.State) -> Binding<AttributedString >
446
446
```
447
447
448
448
### Extension Method
@@ -470,7 +470,7 @@ Just("Title")
470
470
.bind (to : button.bindable .title (for : .normal ))
471
471
.store (in : & cancellables)
472
472
473
- Just (NSAttributedString (" Title" ))
473
+ Just (AttributedString (" Title" ))
474
474
.bind (to : button.bindable .attributedTitle (for : .normal ))
475
475
.store (in : & cancellables)
476
476
@@ -717,7 +717,7 @@ swipe
717
717
``` swift
718
718
var isEnabled: Binding<Bool >
719
719
var text: Binding<String >
720
- var attributedText: Binding<NSAttributedString >
720
+ var attributedText: Binding<AttributedString >
721
721
```
722
722
723
723
### Code Example
@@ -1225,7 +1225,7 @@ Just(true)
1225
1225
// Properties
1226
1226
1227
1227
var text: AnyPublisher< String , Never >
1228
- var attributedText: AnyPublisher< NSAttributedString , Never >
1228
+ var attributedText: AnyPublisher< AttributedString , Never >
1229
1229
1230
1230
// UITextFieldDelegate
1231
1231
@@ -1238,15 +1238,15 @@ var didChangeSelection: AnyPublisher<Void, Never>
1238
1238
1239
1239
```swift
1240
1240
var text: Binding< String >
1241
- var attributedText: Binding< NSAttributedString >
1241
+ var attributedText: Binding< AttributedString >
1242
1242
```
1243
1243
1244
1244
### Extension Methods
1245
1245
1246
1246
```swift
1247
1247
func textPublisher () -> AnyPublisher< String , Never >
1248
1248
1249
- func attributedTextPublisher () -> AnyPublisher< NSAttributedString , Never >
1249
+ func attributedTextPublisher () -> AnyPublisher< AttributedString , Never >
1250
1250
```
1251
1251
1252
1252
### Code Example
@@ -1277,7 +1277,7 @@ Just("Text")
1277
1277
.bind (to : textField.bindable .text )
1278
1278
.store (in : & cancellables)
1279
1279
1280
- Just (NSAttributedString (" Text" ))
1280
+ Just (AttributedString (" Text" ))
1281
1281
.bind (to : textField.bindable .attributedText )
1282
1282
.store (in : & cancellables)
1283
1283
0 commit comments