Image Attachment

Header Component#

The 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 nameType
delegateMFUIImageEditModuleeHeaderDelegate
themeMFChatTheme

Input Component#

The 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 nameType
delegateMFUIImageEditModuleInputDelegate
dataSourceMFUIImageEditModuleInputDataSource
themeMFChatTheme

Collection View#

The collection view uses its xib named MFUIImageCollectionViewCell to hold the selected images.