Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yudiz-solutions/yztoastview


https://github.com/yudiz-solutions/yztoastview

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# YZToastView



Sample YZToastView


**YZToastView** is a lightweight and easy-to-use Swift class for displaying toast messages in your iOS application. It provides a simple way to show brief messages or notifications to the user in a non-intrusive manner.

## Features

- Display toast messages with a customizable background color, text color, and message.
- Easily integrate into your iOS project to provide non-intrusive notifications.

## Usage

- To display a toast message, simply call the

```
YZToastView.shared.show(withMessage: "This is a toast message",inView: view,bgColor: .red, textColor: .white)
```

## Parameters

- withMessage: The message to display in the toast.
- inView: The view to display the toast in.
- bgColor: The background color of the toast. default is green
- textColor: The text color of the toast. default is white