SCSKnowledgeHomeViewController Class Reference

Inherits from UIViewController
Declared in SCSKnowledgeHomeViewController.h

Overview

View controller that implements the built-in “Support Home” experience. This class is not meant to be used when using SCServiceInterface.

  parentCategory

The parent category this view controller is showing.

@property (nonatomic, strong, readonly) SCSCategory *parentCategory

Declared In

SCSKnowledgeHomeViewController.h

  expandedIndexes

The currently expanded section index set. Changes from the user will cause KVO events on this property to fire.

@property (null_resettable, nonatomic, copy) NSIndexSet *expandedIndexes

Discussion

The expanded index values represent the childCategory objects within the parentCategory object.

Declared In

SCSKnowledgeHomeViewController.h

  delegate

Delegate property to use to interact with the knowledge home view controller.

@property (nullable, nonatomic, weak) NSObject<SCSKnowledgeHomeViewControllerDelegate> *delegate

Declared In

SCSKnowledgeHomeViewController.h

  searchEnabled

Indicates whether or not searching is allowed within this controller.

@property (nonatomic, assign, getter=isSearchEnabled) BOOL searchEnabled

Declared In

SCSKnowledgeHomeViewController.h

– initWithParentCategory:

Designated initializer

- (instancetype)initWithParentCategory:(SCSCategory *)parentCategory

Parameters

parentCategory

Parent category to use when displaying the interface.

Return Value

View controller

Declared In

SCSKnowledgeHomeViewController.h