Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Gi-z/MKAlertView
A self-contained Metro UI style UIAlertView replacement.
https://github.com/Gi-z/MKAlertView
Last synced: 3 months ago
JSON representation
A self-contained Metro UI style UIAlertView replacement.
- Host: GitHub
- URL: https://github.com/Gi-z/MKAlertView
- Owner: Gi-z
- Created: 2013-10-14T08:38:00.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T17:16:37.000Z (about 4 years ago)
- Last Synced: 2024-07-18T15:33:20.243Z (4 months ago)
- Language: Objective-C
- Size: 9.77 KB
- Stars: 27
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MKAlertView
===========A Metro UI style UIAlertView replacement with 3D animations.
![demo image](http://i.imgur.com/OPjGvbA.jpg)
## Requirements
MKAlertView requires QuartzCore to be linked to the project, and has been tested to iOS 5+.
MKAlertView also works best with the SourceSansPro typeset, and uses it by default. SourceSansPro is made by Adobe, is available freely and can be downloaded from here. http://sourceforge.net/projects/sourcesans.adobe/## Usage
MKAlertView can be instantiated with the following lines.
MKAlertView *al = [[MKAlertView alloc] initWithType:MKAlertViewTypeDialog title:@"TITLE TEXT" body:@"BODY TEXT" leftButton:@"dismiss" rightButton:@"confirm"];
al.delegate = self;
[al show];The following delegate methods are available.
- (void)alertViewConfirmed:(MKAlertView *)alertView;
- (void)alertViewDismissed:(MKAlertView *)alertView;
- (void)alertViewConfirmed:(MKAlertView *)alertView withText:(NSString *)enteredText;## License
MetroKit (the classes MKButton and MKTextField) were originally written by Shawn Wall.
MKAlertView is freely available, provided credits are made to "Glenn Forbes".