Bold360 and BoldChat Developer Center

BCForm Class Reference

Container class for holding the information related to showing a form such as the pre chat, or post chat form to a user. More...

#import <BCForm.h>

Inheritance diagram for BCForm:

Instance Methods

(id) - initWithFormFields:
 The constructor for BCForm. More...
 
(BCFormField *) - formFieldByKey:
 It returns the form field identified by the given key, if exists. More...
 

Class Methods

(id) + formWithFormFields:
 The static constructor for BCForm. More...
 

Properties

NSArray * formFields
 An array of BCFormField objects that represent rows of the form. More...
 

Detailed Description

Container class for holding the information related to showing a form such as the pre chat, or post chat form to a user.

Since
Version 1.0

Method Documentation

- (BCFormField *) formFieldByKey: (NSString *)  key

It returns the form field identified by the given key, if exists.

Parameters
keyThe key of the searched field.
Returns
The requested form field.
Since
Version 1.0
+ (id) formWithFormFields: (NSArray *)  formFields

The static constructor for BCForm.

Parameters
formFieldsAn array of BCFormField objects representing rows of the form.
Returns
An instance of BCForm.
Since
Version 1.0
- (id) initWithFormFields: (NSArray *)  formFields

The constructor for BCForm.

Parameters
formFieldsAn array of BCFormField objects representing rows of the form.
Returns
An instance of BCForm.
Since
Version 1.0

Property Documentation

- (NSArray*) formFields
readnonatomiccopy

An array of BCFormField objects that represent rows of the form.

Since
Version 1.0

The documentation for this class was generated from the following file: