Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 520 Bytes
//
// 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