Skip to content

Botfather/iOS-Prompter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompter

An objective C implementation for custom style alert by https://github.com/JastAir/Snackbar-iOS.

Usage

Simply import the 2 files (Prompter.h and Prompter.m) to your project.

Example

Alloc init the Prompter and then call the method required.

Prompter* prompterAlert = [[Prompter alloc] init];
[prompterAlert prepareSnackbarWithAction:^{
        NSLog(@"Button was tapped.");
    } andText:[NSString stringWithFormat:@"This is a message! :)"] buttonTitle:@"Tap Here!"];

That's All!

Alt text Landscape Orientation











Alt text Portrait Orientation

Releases

No releases published

Packages

No packages published