//
//  SingleAlert.m
//  ArmorP3V1
//

#import "SingleAlert.h"

@implementation SingleAlert

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
    [alertView dismissWithClickedButtonIndex:0 animated:TRUE];
}

+ (id)mainAlert
{
    static id _instance = nil;
    @synchronized(self) {
        if (!_instance) {
            _instance = [[self alloc]init];
        }
    }
    return _instance;
} 


@end
