Add support for configuring on ASEditableTextNode.

This commit is contained in:
Connor Montgomery
2015-07-30 15:19:00 -04:00
parent 5482213e2e
commit ca5e9e7dc3
3 changed files with 15 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
// simple editable text node. here we use it synchronously, but it fully supports async layout & display
_textNode = [[ASEditableTextNode alloc] init];
_textNode.returnKeyType = UIReturnKeyDone;
_textNode.backgroundColor = [[UIColor lightGrayColor] colorWithAlphaComponent:0.1f];
// with placeholder text (displayed if the user hasn't entered text)