Inherits from SCField : NSObject
Declared in SCChecklistField.h

Overview

The SCChecklistField object identifies a Sitecore system item’s checklist field.
The field with [SCField type] is equal to “Checklist” has the SCChecklistField type.

It provides a getter for the items in checklist and an asynchronous loader for reading items of checklist.

Tasks

Properties

fieldValue

The value of the field. [SCChecklistField fieldValue] is NSArray object. It is nil by default, so use [SCChecklistField readFieldValueOperation] to load NSArray of items. SCChecklistField object does not own loaded items to avoid retain cycles.

@property (nonatomic, readonly) id fieldValue

Discussion

The value of the field. [SCChecklistField fieldValue] is NSArray object. It is nil by default, so use [SCChecklistField readFieldValueOperation] to load NSArray of items. SCChecklistField object does not own loaded items to avoid retain cycles.

Declared In

SCChecklistField.h

Instance Methods

readFieldValueOperation

Used for loading the array of items in checklist.

- (SCAsyncOp)readFieldValueOperation

Return Value

SCAsyncOp block. Call it to get the expected result. The SCAsyncOpResult handler’s result is NSArray of SCItems objects or nil if error happens.

Discussion

Used for loading the array of items in checklist.

Declared In

SCChecklistField.h