Skip to content

Commit b2c3c2b

Browse files
committed
[ASEditableTextNode] Update Swift example.
1 parent a665fa2 commit b2c3c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_docs/editable-text-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ editableTextNode.typingAttributes = @{NSForegroundColorAttributeName: [UIColor b
6969
</pre>
7070

7171
<pre lang="swift" class = "swiftCode hidden">
72-
editableTextNode.typingAttributes = [NSForegroundColorAttributeName: UIColor.blueColor(),
73-
NSBackgroundColorAttributeName: UIColor.redColor()]
72+
editableTextNode.typingAttributes = [NSForegroundColorAttributeName: UIColor.blue,
73+
NSBackgroundColorAttributeName: UIColor.red]
7474
</pre>
7575
</div>
7676
</div>

0 commit comments

Comments
 (0)