MXAlertView 1.0.1

MXAlertView 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2016

Maintained by Meniny.



  • By
  • Elias Abel

MXAlertView-in-Objective-C

MXAlertView is a custom alert view.

Screenshots

image.jpgdetail.jpgabout.jpgpoints.jpginput.jpginquire.jpginfo.jpgloading.jpg

Usage

#import "MXAlertView.h"

Sample Code for Custom Allocation:

MXAlertView *alert = [MXAlertView inquireAlert];
[alert setMessage:@"This is a Message"];
[alert setPositiveButton:@"OK" onClickListener:^(MXAlertOperation * _Nonnull alertView, NSString * _Nonnull inputString) {
  if ([inputString length]) {
    NSLog(@"Input: %@", inputString);
  }
  [alertView hide];
}];
[alert setNegativeButton:@"Cancel" onClickListener:^(MXAlertOperation * _Nonnull alertView, NSString * _Nonnull inputString) {
  if ([inputString length]) {
    NSLog(@"Input: %@", inputString);
  }
  [alertView hide];
}];
[alert show];