Various improvements

This commit is contained in:
Ilya Laktyushin
2022-07-16 15:21:52 +02:00
53 changed files with 1527 additions and 337 deletions

View File

@@ -60,6 +60,16 @@ public final class TextNodeWithEntities {
self.placeholderColor = placeholderColor
self.attemptSynchronous = attemptSynchronous
}
public func withUpdatedPlaceholderColor(_ color: UIColor) -> Arguments {
return Arguments(
context: self.context,
cache: self.cache,
renderer: self.renderer,
placeholderColor: self.placeholderColor,
attemptSynchronous: self.attemptSynchronous
)
}
}
public let textNode: TextNode