Samond Classes Library 1.1.6-RELEASE build 132

UIActionSheet(SCActionSheet) Category Reference

Additional functionality for class UIActionSheet. More...

#import <SCActionSheet.h>

List of all members.

Public Member Functions

Initializing Action Sheet
(id) - initWithTitle:delegate:confirm:cancel:
(id) - initWithTitle:delegate:
(id) - initWithTitle:confirm:cancel:
(id) - initWithTitle:
(id) - initEmptyWithTitle:delegate:
(id) - initEmptyWithTitle:
Other Methods
(NSString *) - className

Static Public Member Functions

Creating Action Sheet
(UIActionSheet *) + sheetWithTitle:delegate:confirm:cancel:
(UIActionSheet *) + sheetWithTitle:delegate:
(UIActionSheet *) + sheetWithTitle:confirm:cancel:
(UIActionSheet *) + sheetWithTitle:
(UIActionSheet *) + sheetEmptyWithTitle:delegate:
(UIActionSheet *) + sheetEmptyWithTitle:
Showing Action Sheet
(void) + showWithTitle:view:delegate:confirm:cancel:
(void) + showWithTitle:view:delegate:
(void) + showWithTitle:view:confirm:cancel:
(void) + showWithTitle:view:

Detailed Description

Additional functionality for class UIActionSheet.

Category SCActionSheet extends functionality of standard Cocoa Touch class UIAlertView.
You can use category methods only in iPhoneOS/iOS applications. For MacOS applications see category NSAlert(SCAlert) .
This category was introduced in version 1.1.0.

Category declares the following properties:


Member Function Documentation

- (NSString *) className

Returns the receiver's class name.

Returns:
Class name
- (id) initEmptyWithTitle: (NSString *)  title

Initializes the action sheet without buttons using the specified sheet title.

Parameters:
title- a string to display in the title area of the action sheet
Returns:
A newly initialized action sheet
- (id) initEmptyWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate 

Initializes the action sheet without buttons using the specified sheet title and receiver's delegate object.

Parameters:
title- a string to display in the title area of the action sheet
delegate- the receiver's delegate object
Returns:
A newly initialized action sheet
- (id) initWithTitle: (NSString *)  title

Initializes the action sheet using the specified sheet title and default confirm and cancel buttons.

Parameters:
title- a string to display in the title area of the action sheet
Returns:
A newly initialized action sheet
- (id) initWithTitle: (NSString *)  title
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Initializes the action sheet using the specified sheet title and titles of confirm and cancel buttons.

Parameters:
title- a string to display in the title area of the action sheet
confirm- the title of confirm button
cancel- the title of the cancel button
Returns:
A newly initialized action sheet
- (id) initWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate 

Initializes the action sheet using the specified sheet title, receiver's delegate object and default titles of confirm and cancel buttons.

Parameters:
title- a string to display in the title area of the action sheet
delegate- the receiver's delegate object
Returns:
A newly initialized action sheet
- (id) initWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Initializes the action sheet using the specified sheet title, receiver's delegate object and titles of confirm and cancel buttons.

Parameters:
title- a string to display in the title area of the action sheet
delegate- the receiver's delegate object
confirm- the title of confirm button
cancel- the title of the cancel button
Returns:
A newly initialized action sheet
+ (UIActionSheet *) sheetEmptyWithTitle: (NSString *)  title

Returns an action sheet without buttons created by using the specified sheet title.

Parameters:
title- a string do display using in the title area of the action sheet
Returns:
Created action sheet
+ (UIActionSheet *) sheetEmptyWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate 

Returns an action sheet without buttons created by using the specified sheet title and receiver's delegate object.

Parameters:
title- a string do display using in the title area of the action sheet
delegate- the receiver's delegate object
Returns:
Created action sheet
+ (UIActionSheet *) sheetWithTitle: (NSString *)  title

Returns an action sheet created by using the specified sheet title.

Parameters:
title- a string do display using in the title area of the action sheet
Returns:
Created action sheet
+ (UIActionSheet *) sheetWithTitle: (NSString *)  title
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Returns an action sheet created by using the specified sheet title and confirm and cancel buttons titles.

Parameters:
title- a string do display using in the title area of the action sheet
confirm- the title of confirm button
cancel- the title of cancel button
Returns:
Created action sheet
+ (UIActionSheet *) sheetWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate 

Returns an action sheet created by using the specified sheet title and receiver's delegate object.

Parameters:
title- a string do display using in the title area of the action sheet
delegate- the receiver's delegate object
Returns:
Created action sheet
+ (UIActionSheet *) sheetWithTitle: (NSString *)  title
delegate: (id<UIActionSheetDelegate>)  delegate
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Returns an action sheet created by using the specified sheet title, receiver's delegate object, confirm and cancel buttons titles.

Parameters:
title- a string do display using in the title area of the action sheet
delegate- the receiver's delegate object
confirm- the title of confirm button
cancel- the title of cancel button
Returns:
Created action sheet
+ (void) showWithTitle: (NSString *)  title
view: (UIView *)  view 

Displays an action sheet with specified sheet title.

Parameters:
title- a string do display using in the title area of the action sheet
view- the view from wich the action sheet originates
+ (void) showWithTitle: (NSString *)  title
view: (UIView *)  view
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Displays an action sheet with specified sheet title and confirm and cancel buttons title.

Parameters:
title- a string do display using in the title area of the action sheet
view- the view from wich the action sheet originates
confirm- the title of confirm button
cancel- the title of cancel button
+ (void) showWithTitle: (NSString *)  title
view: (UIView *)  view
delegate: (id<UIActionSheetDelegate>)  delegate 

Displays an action sheet with specified sheet title and receiver's delegate object.

Parameters:
title- a string do display using in the title area of the action sheet
view- the view from wich the action sheet originates
delegate- the receiver's delegate object
+ (void) showWithTitle: (NSString *)  title
view: (UIView *)  view
delegate: (id<UIActionSheetDelegate>)  delegate
confirm: (NSString *)  confirm
cancel: (NSString *)  cancel 

Displays an action sheet with specified sheet title, receiver's delegate object, confirm and cancel buttons titles.

Parameters:
title- a string do display using in the title area of the action sheet
view- the view from wich the action sheet originates
delegate- the receiver's delegate object
confirm- the title of confirm button
cancel- the title of cancel button

The documentation for this category was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines