Skip to content

MakwanaRohit/ARToaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ARToaster

ARToaster is display message on screen for some time.

Display position

  • Top
  • Center
  • Bottom

Display with status

  • success
  • error
  • warning
  • normal

Requirements

  • iOS 11.0+
  • Xcode 11.0+
  • Swift 4.2+

Usage

Firstly, download ARToaster.

add files in your project

By code, using initializer.

let config = ARToasterConfigs(messageColor: .white,
                              messageFont: UIFont.systemFont(ofSize: 12, weight: .regular),
                              messageAlignment: .center, backgrounColor: .black)
ARToaster(message: "Copyright © 2020 Rohit Makwana. All rights reserved.",
          duration: 5, position: .top,
          status: .success, config: config)

Change properties

  • messageColor : display message default color ( UIColor.white )
  • messageFont : display message default font ( UIFont.systemFont(ofSize: 15) )
  • messageAlignment : Message Alignment default left ( NSTextAlignment.left )
  • backgrounColor : View background color ( UIColor.black )

About

ARToaster is display message on screen for some time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages