BCAbstractCell Class Reference
Inherits from | UITableViewCell |
Declared in | BCAbstractCell.h |
Tasks
-
label
property -
labelHidden
property -
indexPath
The index path of this cell, within the form.
property -
delegate
A weak reference to the delegate for this cell.
property -
field
A weak reference to the field corresponding to this cell.
property -
– setFocused:
Updates the background color on focus, and calls the delegate’s formCellWasFocused method. This method can be overriddn to perform additional work.
-
– textField
Returns the textfield for this cell. All cells must have a UITextField member, though the UITextField need not be a visible part of the cell. The reason for including a text field is that: – it provides a convenient way to call
becomeFirstResponder
– it provides a convenient way to provide a custom input view, other than the regular keyboards. -
– preferredHeight
Properties
delegate
A weak reference to the delegate for this cell.
@property (nonatomic, weak) id<BCCellDelegate> delegate
Discussion
A weak reference to the delegate for this cell.
Declared In
BCAbstractCell.h
field
A weak reference to the field corresponding to this cell.
@property (nonatomic, weak) BCAbstractField *field
Discussion
A weak reference to the field corresponding to this cell.
Declared In
BCAbstractCell.h
Instance Methods
setFocused:
Updates the background color on focus, and calls the delegate’s formCellWasFocused method. This method can be overriddn to perform additional work.
- (void)setFocused:(BOOL)focused
Discussion
Updates the background color on focus, and calls the delegate’s formCellWasFocused method. This method can be overriddn to perform additional work.
Declared In
BCAbstractCell.h
textField
Returns the textfield for this cell. All cells must have a UITextField member, though the UITextField need not be a visible part of the
cell. The reason for including a text field is that:
– it provides a convenient way to call becomeFirstResponder
– it provides a convenient way to provide a custom input view, other than the regular keyboards.
- (UITextField *)textField
Discussion
Returns the textfield for this cell. All cells must have a UITextField member, though the UITextField need not be a visible part of the
cell. The reason for including a text field is that:
– it provides a convenient way to call becomeFirstResponder
– it provides a convenient way to provide a custom input view, other than the regular keyboards.
Declared In
BCAbstractCell.h