AdmiralSwiftUI Chat UploadingImageGrid - admiral-team/admiralui-ios GitHub Wiki

Overview

UploadingImageGrid - the component that used to add imageViews to group.

Code

public var body: some View {
 let testModel = UploadImageModel(
 isLoading: .constant(true),
 time: "14:52",
 backgroundImage: nil
 )
 UploadingImageGrid(models: [testModel], direction: .left)
}

You can create a UploadingImageGrid by specifying the following parameters in the initializer

- models: list of imageView models
- direction: direction message

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.