Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

This is a full screen alert which is useful to display some messages to the user. It provides the creation of 2 buttons.

Notifications You must be signed in to change notification settings

andrealufino/ALFullScreenAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALFullScreenAlert

This is a full screen alert which is useful to display some messages to the user. You can also add one or two buttons of two different types and associate a block that will be performed when the user tap on the button.

Screenshot

alt text

Usage

This is an example :

ALFSAlert *alert = [[ALFSAlert alloc] initInViewController:self];
[alert showAlertWithMessage:@"I'm a message from ALFSAlert. I'm trying to write in there from the ALFSAlert class which inherits from UIView."];
[alert addButtonWithText:@"Button" forType:ALFSAlertButtonTypeNormal onTap:^{
    NSLog(@"Button");
}];
[alert addButtonWithText:@"Button 2" forType:ALFSAlertButtonTypeDelete onTap:^{
    NSLog(@"Button 2");
}];

About

This is a full screen alert which is useful to display some messages to the user. It provides the creation of 2 buttons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published