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.

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

maximumHeight

The maximum height of the generated UITextView control. Set to a negative value to ignore.

@property (nonatomic, readwrite) CGFloat maximumHeight

Declared In

SCPropertyAttributes.h

minimumHeight

The minimum height of the generated UITextView control. Set to a negative value to ignore.

@property (nonatomic, readwrite) CGFloat minimumHeight

Declared In

SCPropertyAttributes.h

Class Methods

attributesWithMinimumHeight:maximumHeight:autoResize:editable:

Allocates and returns an initialized ‘SCTextViewAttributes’.

+ (instancetype)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’.

- (instancetype)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