Inherits from SGridCell : UIView
Declared in SGridTextInputCell.h
Availability
Related samples

Tasks

Text

  •   text

    This property is a convenience for getting and setting the text on this cell’s text input view.

    property

Deprecated

Layout

Properties

bottomIndentForTextView

The amount of space to bottom indent the textField view.

@property (nonatomic, assign) CGFloat bottomIndentForTextView

Return Value

A CGFloat representing the bottom indent for the textField.

Discussion

This cell calls this method when setFrame: is called to query how much space it should leave between the bottom edge of the cell and the textField.

Warning: Important: This property has been deprecated in preference of contentInset.

Declared In

SGridTextInputCell.h

leftIndentForTextView

The amount of space to left indent the textField view.

@property (nonatomic, assign) CGFloat leftIndentForTextView

Return Value

A CGFloat representing the left indent for the textField.

Discussion

This cell calls this method when setFrame: is called to query how much space it should leave between the left hand edge of the cell and the textField.

Warning: Important: This property has been deprecated in preference of contentInset.

Declared In

SGridTextInputCell.h

rightIndentForTextView

The amount of space to right indent the textField view.

@property (nonatomic, assign) CGFloat rightIndentForTextView

Return Value

A CGFloat representing the right indent for the textField.

Discussion

This cell calls this method when setFrame: is called to query how much space it should leave between the right hand edge of the cell and the textField.

Warning: Important: This property has been deprecated in preference of contentInset.

Declared In

SGridTextInputCell.h

text

This property is a convenience for getting and setting the text on this cell’s text input view.

@property (nonatomic, retain) NSString *text

Discussion

The type of the text input view and how it is connected to this property is the responsibility of subclasses.

Declared In

SGridTextInputCell.h

topIndentForTextView

The amount of space to top indent the textField view.

@property (nonatomic, assign) CGFloat topIndentForTextView

Return Value

A CGFloat representing the top indent for the textField.

Discussion

This cell calls this method when setFrame: is called to query how much space it should leave between the top edge of the cell and the textField.

Warning: Important: This property has been deprecated in preference of contentInset.

Declared In

SGridTextInputCell.h

Instance Methods

textInputFrame

Returns the frame to be used for the text input view of this cell.

- (CGRect)textInputFrame

Discussion

This method should not be called directly and is instead intended to be overridden in subclasses wishing to customize the size and position of the text input view.

This method is called as part of layoutSubviews.

Declared In

SGridTextInputCell.h