Add main thread warnings and setter/getter assert

This commit is contained in:
Roy Marmelstein
2015-07-12 21:35:42 +02:00
parent 95016021b4
commit fd3eb94fcb
2 changed files with 21 additions and 2 deletions

View File

@@ -19,7 +19,10 @@
#pragma mark - Configuration
//! @abstract Access to underlying UITextView for more configuration options.
/**
@abstract Access to underlying UITextView for more configuration options.
@warning This property should only be used on the main thread and should not be accessed before the editable text node's view is created.
*/
@property (nonatomic, readwrite, strong) UITextView *textView;
//! @abstract The attributes to apply to new text being entered by the user.