Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 676 Bytes
//
// UIActionSheet+Blocks.h
// Shibui
//
// Created by Jiva DeVoe on 1/5/11.
// Copyright 2011 Random Ideas, LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RIButtonItem.h"
@interface UIActionSheet (Blocks) <UIActionSheetDelegate>
-(id)initWithTitle:(NSString *)inTitle cancelButtonItem:(RIButtonItem *)inCancelButtonItem destructiveButtonItem:(RIButtonItem *)inDestructiveItem otherButtonItems:(RIButtonItem *)inOtherButtonItems, ... NS_REQUIRES_NIL_TERMINATION;
- (NSInteger)addButtonItem:(RIButtonItem *)item;
/** This block is called when the action sheet is dismssed for any reason.
*/
@property (copy, nonatomic) void(^dismissalAction)();
@end