mirror of
https://github.com/samsonjs/Marshmallows.git
synced 2026-03-25 09:05:52 +00:00
22 lines
520 B
Objective-C
22 lines
520 B
Objective-C
//
|
|
// UIAlertViewDelegate.h
|
|
// Marshmallows
|
|
//
|
|
// Created by Sami Samhuri on 11-09-05.
|
|
// Copyright 2011 Sami Samhuri. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
typedef void (^UIAlertViewCallback)(NSInteger buttonClicked, BOOL canceled);
|
|
|
|
@interface UIAlertViewDelegate : NSObject <UIAlertViewDelegate>
|
|
{
|
|
UIAlertViewCallback _callback;
|
|
}
|
|
|
|
+ (id) alertViewDelegateWithCallback: (UIAlertViewCallback)callback;
|
|
- (id) initWithCallback: (UIAlertViewCallback)callback;
|
|
|
|
@end
|