SCTextViewAttributes Class Reference
Inherits from | SCPropertyAttributes : NSObject |
Declared in | SCPropertyAttributes.h |
Overview
This class is used to extend the definition of an ‘SCPropertyAttributes’ instance of type SCPropertyTypeTextView, thus allowing further customization of the generated control by the user.
Tasks
Creation and Initialization
-
+ attributesWithMinimumHeight:maximumHeight:autoResize:editable:
Allocates and returns an initialized ‘SCTextViewAttributes’.
-
– initWithMinimumHeight:maximumHeight:autoResize:editable:
Returns an initialized ‘SCTextViewAttributes’.
Configuration
-
minimumHeight
The minimum height of the generated UITextView control. Set to a negative value to ignore.
property -
maximumHeight
The maximum height of the generated UITextView control. Set to a negative value to ignore.
property -
autoResize
Determines whether the generated UITextView control will auto resize.
property -
editable
Determines whether the generated UITextView control will be editable.
property
Properties
autoResize
Determines whether the generated UITextView control will auto resize.
@property (nonatomic, readwrite) BOOL autoResize
Declared In
SCPropertyAttributes.h
editable
Determines whether the generated UITextView control will be editable.
@property (nonatomic, readwrite) BOOL editable
Declared In
SCPropertyAttributes.h
Class Methods
attributesWithMinimumHeight:maximumHeight:autoResize:editable:
Allocates and returns an initialized ‘SCTextViewAttributes’.
+ (id)attributesWithMinimumHeight:(CGFloat)minHeight maximumHeight:(CGFloat)maxHeight autoResize:(BOOL)_autoResize editable:(BOOL)_editable
Parameters
- minHeight
The minimum height of the generated UITextView control. Set to a negative value to ignore.
- maxHeight
The maximum height of the generated UITextView control. Set to a negative value to ignore.
- _autoResize
Determines whether the generated UITextView control will auto resize.
- _editable
Determines whether the generated UITextView control will be editable.
Declared In
SCPropertyAttributes.h
Instance Methods
initWithMinimumHeight:maximumHeight:autoResize:editable:
Returns an initialized ‘SCTextViewAttributes’.
- (id)initWithMinimumHeight:(CGFloat)minHeight maximumHeight:(CGFloat)maxHeight autoResize:(BOOL)_autoResize editable:(BOOL)_editable
Parameters
- minHeight
The minimum height of the generated UITextView control. Set to a negative value to ignore.
- maxHeight
The maximum height of the generated UITextView control. Set to a negative value to ignore.
- _autoResize
Determines whether the generated UITextView control will auto resize.
- _editable
Determines whether the generated UITextView control will be editable.
Declared In
SCPropertyAttributes.h