JamitLabs / JamitFoundation

JamitFoundation is a collection of useful concepts to enable composition oriented development with UIKit
MIT License
10 stars 5 forks source link

Message view #41

Closed SimonNumberTwo closed 3 years ago

SimonNumberTwo commented 3 years ago

Description

This MR adds a generic message view which can have a contentView embedded. One can configure it to show up from bottom or from top. One can add a background view with a given background color. When tapping on this background view, the message will be hidden. Also when tapping on the message view or swiping it away it disappears.

Furthermore queueing is being implemented so when wanting to show multiple message views, they will show up after each other.

Testing

For testing purposes the sample project was adjusted.