Samond Classes Library 1.1.6-RELEASE build 132

SCActionSheet.h

Go to the documentation of this file.
00001 //
00002 //  SCActionSheet.h
00003 //  scl
00004 //
00005 //  Created by Вячеслав Смоленский on 20.01.10.
00006 //  Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007 //
00008 
00018 #import <UIKit/UIKit.h>
00019 
00020 #define UIActionSheetClass @"UIActionSheet" ///< UIActionSheet class name
00021 
00034 @interface UIActionSheet(SCActionSheet)
00035 #pragma mark -
00036 #pragma mark Class properties
00037 #if (__MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || IOS_TARGET
00038 // Instance class name property
00039 @property (retain, readonly, getter=className) NSString *className;
00040 #endif
00041 
00042 #pragma mark -
00043 #pragma mark Creating Action Sheet
00044 
00054 + (UIActionSheet *)sheetWithTitle:(NSString *)title
00055                          delegate:(id<UIActionSheetDelegate>)delegate
00056                           confirm:(NSString *)confirm
00057                            cancel:(NSString *)cancel;
00058 
00065 + (UIActionSheet *)sheetWithTitle:(NSString *)title delegate:(id<UIActionSheetDelegate>)delegate;
00066 
00075 + (UIActionSheet *)sheetWithTitle:(NSString *)title
00076                           confirm:(NSString *)confirm
00077                            cancel:(NSString *)cancel;
00078 
00084 + (UIActionSheet *)sheetWithTitle:(NSString *)title;
00085 
00093 + (UIActionSheet *)sheetEmptyWithTitle:(NSString *)title
00094                               delegate:(id<UIActionSheetDelegate>)delegate;
00095 
00101 + (UIActionSheet *)sheetEmptyWithTitle:(NSString *)title;
00102 
00103 #pragma mark -
00104 #pragma mark Initializing Action Sheet
00105 
00115 - (id)initWithTitle:(NSString *)title
00116            delegate:(id<UIActionSheetDelegate>)delegate
00117             confirm:(NSString *)confirm
00118              cancel:(NSString *)cancel;
00119 
00127 - (id)initWithTitle:(NSString *)title delegate:(id<UIActionSheetDelegate>)delegate;
00128 
00137 - (id)initWithTitle:(NSString *)title confirm:(NSString *)confirm cancel:(NSString *)cancel;
00138 
00145 - (id)initWithTitle:(NSString *)title;
00146 
00154 - (id)initEmptyWithTitle:(NSString *)title delegate:(id<UIActionSheetDelegate>)delegate;
00155 
00161 - (id)initEmptyWithTitle:(NSString *)title;
00162 
00163 #pragma mark -
00164 #pragma mark Showing Action Sheet
00165 
00175 + (void)showWithTitle:(NSString *)title
00176                  view:(UIView *)view
00177              delegate:(id<UIActionSheetDelegate>)delegate
00178               confirm:(NSString *)confirm
00179                cancel:(NSString *)cancel;
00180 
00187 + (void)showWithTitle:(NSString *)title view:(UIView *)view
00188              delegate:(id<UIActionSheetDelegate>)delegate;
00189 
00197 + (void)showWithTitle:(NSString *)title view:(UIView *)view
00198               confirm:(NSString *)confirm
00199                cancel:(NSString *)cancel;
00200 
00206 + (void)showWithTitle:(NSString *)title view:(UIView *)view;
00207 
00208 #pragma mark -
00209 #pragma mark Other Methods
00210 
00215 - (NSString *)className;
00216 
00217 @end
 All Classes Files Functions Typedefs Enumerations Enumerator Defines