SCSCaseListViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in SCSCaseListViewController.h

Overview

Delegate protocol used to receive events about the actions performed by the case list view controller.

– caseListDidLoad:

Tells the delegate that the case list loaded.

- (void)caseListDidLoad:(SCSCaseListViewController *)caseList

Parameters

caseList

Case list controller sending the message.

Declared In

SCSCaseListViewController.h

– caseList:didReceiveError:

Tells the delegate when there’s an error loading the case list.

- (void)caseList:(SCSCaseListViewController *)caseList didReceiveError:(NSError *)error

Parameters

error

Error associated with loading the case list view controller.

Declared In

SCSCaseListViewController.h

– caseList:selectedCaseWithId:

Tells the delegate when a case is selected from the case list. If you’ve manually displayed a SCSCaseListViewController, then use this method to display SCSCaseDetailViewController with the caseId parameter. If you didn’t manually display a SCSCaseListViewController, then the Case Detail view appears automatically.

- (void)caseList:(SCSCaseListViewController *)caseList selectedCaseWithId:(NSString *)caseId

Parameters

caseList

Instance of the CaseListViewController class currently presented.

caseId

ID of the selected case.

Declared In

SCSCaseListViewController.h