Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

KimDarren/DRNSnackBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRNSnackBar

CocoaPods

Material-style snack bar for iOS.

Inspired by JLToast by devxoul

Screenshots

DRNSnackBar supports not only iPhone but also iPad.

  • iPad landscape

iPadLandscape

  • iPad portrait

iPadPortrait

  • iPhone

iPhonePortrait

Usage

Import DRNSnackBar.

#import <DRNSnackbar/DRNSnackBar.h>

How to show snack bar with text

[[DRNSnackBar makeText:@"Text"] show];

Also, you can set both delay and duration.

  • Make text with duration
[[DRNSnackBar makeText:@"Text"
              duration:.3f] show];
  • Make text with delay and duration
[[DRNSnackBar makeText:@"Text"
                 delay:1.0f
              duration:.3f] show];

To do

  • Action Button.

License

DRNSnackBar is under WTFPL. You can do what the fuck you want with this shit. See LICENSE file for more info.

About

🍫 Google Material snack bar for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published