Image Attachment
#
Header ComponentThe headerComponent includes a back button that takes the user to the previous view(Chat View) and a delete button used to delete the selected images in the collection view. Each property corresponds to the elements in the navigation bar of the view controller.
The following table shows the parameters of the configure method of the headerComponent.
Parameter name | Type |
---|---|
delegate | MFUIImageEditModuleeHeaderDelegate |
theme | MFChatTheme |
#
Input ComponentThe inputComponent shows the input textview where users can enter the caption for the images to be sent. The following table shows the parameters of the configure method of the inputComponent.
Parameter name | Type |
---|---|
delegate | MFUIImageEditModuleInputDelegate |
dataSource | MFUIImageEditModuleInputDataSource |
theme | MFChatTheme |
#
Collection ViewThe collection view uses its xib named MFUIImageCollectionViewCell
to hold the selected images.