Skip to content

jeewangue/Toast-Swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toast-Swift

Toast view using swift.

Dir demo ---> swift v1.2
Dir toast ---> swift v2.0

Install

download this repo and import file.

Usage

  1. Single toast view

       self.view.makeToast(message: msg)
    
  2. Toast with title

       self.view.makeToast(message: msg, duration: duration, position: pos, title: subject)
    
  3. Toast with image, title...

       self.view.makeToast(message: msg, duration: duration, position: pos, title: subject, image: image)
    
  4. Show and hide activity

       self.view.makeToastActivity()
       self.view.hideToastActivity()
    
  5. Show activity with message

     self.view.makeToastActivityWithMessage(message: msg)
    

Screenshots

Type: single and title
First Screenshot Second Screenshot
Type: image and activity
Third Screenshot Fourth Screenshot
Type: activity with message
Fifth Screenshot

LICENSE

Toast-Swift is available under the MIT license. See the LICENSE file for more info.

About

Toast view using swift.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Swift 98.8%
  • Ruby 1.2%