expanz_ui_ModelAdapter Class Reference
Inherits from | NSObject |
Declared in | expanz_ui_ModelAdapter.h |
Tasks
-
activityName
property -
activityInstance
property -
controller
property -
– initWithViewController:
Initializes a model adapter for the given view controller.
-
– textFieldFor:
Returns the UITextField corresponding to the model’s field object.
-
– tableViewFor:
Returns the UITableView corresponding to the supplied
expanz_model_DataSet
. -
– imageViewFor:
Returns the UIImageView underneath the touch area that allows editing the image.
-
– fieldFor:
Returns the
expanz_model_Field
object corresponding to the UILabel, UITextField, UIImageView or UITableView object. -
– updateUIControlsWithModelValues
Updates all UI controls with values from the model object.
-
– updateLabelsWithModelValues
Update UILabels with values from the model object.
-
– updateUITextFieldsWithModelValues
Updates UITextFields with values from the model object.
-
– updateUIImagesWithModelValues
Updates UIImageViews with values from the model object.
-
– updateDataGridsWithModelValues
Update data grids with values from the model object.
Instance Methods
fieldFor:
Returns the expanz_model_Field
object corresponding to the UILabel, UITextField, UIImageView or UITableView object.
- (expanz_model_FieldInstance *)fieldFor:(UIView *)uiView
Discussion
Returns the expanz_model_Field
object corresponding to the UILabel, UITextField, UIImageView or UITableView object.
Declared In
expanz_ui_ModelAdapter.h
imageViewFor:
Returns the UIImageView underneath the touch area that allows editing the image.
- (UIImageView *)imageViewFor:(UIButton *)editButton
Discussion
Returns the UIImageView underneath the touch area that allows editing the image.
Declared In
expanz_ui_ModelAdapter.h
initWithViewController:
Initializes a model adapter for the given view controller.
- (id)initWithViewController:(expanz_ui_ActivityInstanceViewController *)viewController
Discussion
Initializes a model adapter for the given view controller.
Declared In
expanz_ui_ModelAdapter.h
tableViewFor:
Returns the UITableView corresponding to the supplied expanz_model_DataSet
.
- (UITableView *)tableViewFor:(expanz_model_GridData *)dataSet
Discussion
Returns the UITableView corresponding to the supplied expanz_model_DataSet
.
Declared In
expanz_ui_ModelAdapter.h
textFieldFor:
Returns the UITextField corresponding to the model’s field object.
- (UITextField *)textFieldFor:(expanz_model_FieldInstance *)field
Discussion
Returns the UITextField corresponding to the model’s field object.
Declared In
expanz_ui_ModelAdapter.h
updateDataGridsWithModelValues
Update data grids with values from the model object.
- (void)updateDataGridsWithModelValues
Discussion
Update data grids with values from the model object.
Declared In
expanz_ui_ModelAdapter.h
updateLabelsWithModelValues
Update UILabels with values from the model object.
- (void)updateLabelsWithModelValues
Discussion
Update UILabels with values from the model object.
Declared In
expanz_ui_ModelAdapter.h
updateUIControlsWithModelValues
Updates all UI controls with values from the model object.
- (void)updateUIControlsWithModelValues
Discussion
Updates all UI controls with values from the model object.
Declared In
expanz_ui_ModelAdapter.h