SCSCaseListViewController Class Reference
Inherits from | UIViewController |
---|---|
Declared in | SCSCaseListViewController.h |
Overview
View controller that shows a list of cases for a particular user.
This controller assumes that it will be presented within an instance of UINavigationController
.
If you aren’t pushing this controller onto a navigation controller stack, present it within
a new navigation controller instance.
SCSCaseListViewController caseController = [SCSCaseListViewController new]; UINavigationController navigationController = [[UINavigationController alloc] initWithRootViewController:caseController]; [self presentViewController:navigationController animated:YES completion:nil];
Warning: If you instantiate this view controller and display it manually,
you’ll also need to display SCSCaseDetailViewController
. When a user
selects a case from the case list, present your Case Detail view controller
from the [SCSCaseListViewControllerDelegate caseList:selectedCaseWithId:]
method in your SCSCaseListViewControllerDelegate
implementation. If you don’t
do this, nothing will happen when a user taps on a specific case in the case list!
delegate
Delegate for the case list view controller.
@property (nonatomic, weak, nullable) NSObject<SCSCaseListViewControllerDelegate> *delegate
Declared In
SCSCaseListViewController.h