UIActionSheet+AWKit.h

Includes:
<UIKit/UIKit.h>

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods

+initWithTitle:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:onCancel:onDismiss:

initWithTitle:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:onCancel:onDismiss:


- (id)initWithTitle:(NSString*)title cancelButtonTitle:(NSString*)cancelButtonTitle 
        destructiveButtonTitle:(NSString*)destructiveButtonTitle 
        otherButtonTitles:(NSArray*)otherButtons onCancel:(AWActionSheetDidCancelBlock)onCancel 
        onDismiss:(AWActionSheetDidDismissBlock)onDismiss;  
Parameters
title

- Title of the actionsheet

cancelButtonTitle

- Cancel button title

destructiveButtonTitle

- Dismissal button title

otherButtons

- Array of other buttons title strings

onCancel

- On cancel block to be executed

onDismiss

- On dismiss block to be executed

Discussion

Creates a UIActionSheet with optional cancel and dismissal blocks

Must be used on the main thread: