AdmiralUIKit Views Chat UploadingImageGrid - admiral-team/admiralui-ios GitHub Wiki

Overview

UploadingImageGrid - the component that presents a container view with some models.

Code

 let uploadImageGridView = UploadImageGridView()
 uploadDocumentView.direction = .left
 uploadDocumentView.chatStatus = .receive
 uploadDocumentView.chatTime = "12:53"

You can create a UploadImageGridView with the zero frame rectangle by specifying the following parameters in init:

 - direction: ChatDirection - The direction of chatBubbleStatusView.
 - chatStatus: ChatStatus? - The status of chatBubbleStatusView.
 - chatTime: String? - The time of chatBubbleStatusView.
 - state: UploadImageGridState - The state of UploadImageGridView.
 - models: [UploadImageModel] - The initial models.

Live Example

To run live demo with UploadingImageGrid open Xcode and run project with Example target. Then in the Chat -> Uploading Photo

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.