EVGCategory Class Reference

Inherits fromDeclared in
EVGItem : NSObjectEVGItems.h

A category organizes other items and is contained in a hierarchy.

If YES, this category is a department. Dynamic promoted content can be configured to only choose categories that are also departments.

Creates an EVGCategory with the required id only.

Parameters

ParameterDescription
evgIdSee [EVGItem evgId]. This is the only required field.

Return Value

A category which can be further modified.

Creates an EVGCategory with the required id and most common optionals.

Parameters

ParameterDescription
evgIdSee [EVGItem evgId]. This is the only required field.
isDepartmentSee isDepartment
nameSee [EVGItem name]
evgDescriptionSee [EVGItem evgDescription]

Return Value

A category which can be further modified.

Creates an EVGCategory from the provided JSON.

Parameters

ParameterDescription
jsonA category in JSON form

Return Value

A category which can be further modified, or nil if JSON is invalid