SCTextViewCell
@interface SCTextViewCell : SCControlCell {
CGFloat minimumHeight;
CGFloat maximumHeight;
}
This class functions as a cell with a UITextView control. The bound property of this cell must be of type NSString.
-
Undocumented
Declaration
Objective-C
CGFloat minimumHeight
-
Undocumented
Declaration
Objective-C
CGFloat maximumHeight
-
Allocates and returns an initialized ‘SCTextViewCell’ given cell text, bound object, and a bound property name.
- - parameter: cellText The text that will appear in the cell’s textLabel.
- - parameter: object The cell’s bound object (see SCTableViewCell class overview).
- - parameter: propertyName The cell’s bound property name corresponding to the UITextView’s text. Property must be a readwrite property of type NSString.
Declaration
Objective-C
+ (instancetype)cellWithText:(NSString *)cellText boundObject:(NSObject *)object textViewTextPropertyName:(NSString *)propertyName;
-
Returns an initialized ‘SCTextViewCell’ given cell text, bound object, and a bound property name.
- - parameter: cellText The text that will appear in the cell’s textLabel.
- - parameter: object The cell’s bound object (see SCTableViewCell class overview).
- - parameter: propertyName The cell’s bound property name corresponding to the UITextView’s text. Property must be a readwrite property of type NSString.
Declaration
Objective-C
- (instancetype)initWithText:(NSString *)cellText boundObject:(NSObject *)object textViewTextPropertyName:(NSString *)propertyName;
-
The UITextView control associated with the cell. Even though this property is readonly, feel free to customize any of the control’s properties.
Declaration
Objective-C
@property (nonatomic, readonly) UITextView *textView;
-
The minimum height for textView.
Declaration
Objective-C
@property (nonatomic) CGFloat minimumHeight;
-
The maximum height for textView.
Declaration
Objective-C
@property (nonatomic) CGFloat maximumHeight;