Inherits from NSObject
Declared in C2BlockAction.h

Overview

C2BlockAction allows assigning an Action Block to a C2BlockAction object, which will be actually executed on fireAction.

This is a helper class, which will be used in several C2Call API Classes.

Tasks

Initialization

Actions

Static Methods

Class Methods

actionWithAction:

Creates a C2BlockAction Instance with an Action Block.

+ (id)actionWithAction:(id)action

Parameters

action
  • The Action Block

Declared In

C2BlockAction.h

Instance Methods

fireAction:

Executes the Action Block.

- (IBAction)fireAction:(id)sender

Parameters

sender
  • The initiator of the ACtion

Declared In

C2BlockAction.h

initWithAction:

Initializes C2BlockAction with an Action Block.

- (id)initWithAction:(id)action

Parameters

action
  • The Action Block

Declared In

C2BlockAction.h