Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrealufino/ALFullScreenAlert
This is a full screen alert which is useful to display some messages to the user. It provides the creation of 2 buttons.
https://github.com/andrealufino/ALFullScreenAlert
Last synced: 3 months ago
JSON representation
This is a full screen alert which is useful to display some messages to the user. It provides the creation of 2 buttons.
- Host: GitHub
- URL: https://github.com/andrealufino/ALFullScreenAlert
- Owner: andrealufino
- Archived: true
- Created: 2013-07-15T12:51:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-18T09:04:43.000Z (over 11 years ago)
- Last Synced: 2024-07-20T11:06:25.685Z (4 months ago)
- Language: Objective-C
- Size: 158 KB
- Stars: 33
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](screenshot.png)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");
}];