Skip to content

pixel-ink/PIHud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

not stable, working now.

PIHud

HUD / Toast by swift


install

  • manually
    • add PIHud**.swift into your project
  • cocoapods
    • add " pod 'PIHud', '0.1.3' " into your Podfile
    • add " import PIHud " into your code

basic usage

  • initialize
    • var pi = PIHud(target: yourUIView)
  • toast
    • pi.toast("hello world")
  • hud
    • pi.hud(UIImage(named: "pict.png")!, text:"hello")
  • progress
    • pi.progressStart(UIImage(named: "pict.png")!, text:"hello")
    • pi.progressEnd()

About

hud by swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published