EVGCategory Class Reference
| Inherits from | EVGItem : NSObject |
|---|---|
| Declared in | EVGItems.h |
isDepartment
If YES, this category is a department. Dynamic promoted content can be configured to only choose categories that are also departments.
@property (nonatomic) BOOL isDepartmentDeclared In
EVGItems.h
+ categoryWithId:
Creates an EVGCategory with the required id only.
+ (nonnull instancetype)categoryWithId:(nonnull NSString *)evgIdParameters
evgId |
See |
|---|
Return Value
A category which can be further modified.
Declared In
EVGItems.h
+ categoryWithId:isDepartment:name:evgDescription:
Creates an EVGCategory with the required id and most common optionals.
+ (nonnull instancetype)categoryWithId:(nonnull NSString *)evgId isDepartment:(BOOL)isDepartment name:(nullable NSString *)name evgDescription:(nullable NSString *)evgDescriptionParameters
evgId |
See |
|---|---|
isDepartment |
See |
name |
See |
evgDescription |
Return Value
A category which can be further modified.
Declared In
EVGItems.h
+ categoryFromJSONDictionary:
Creates an EVGCategory from the provided JSON.
+ (nullable instancetype)categoryFromJSONDictionary:(nonnull NSDictionary<NSString*,id> *)jsonParameters
json |
A category in JSON form |
|---|
Return Value
A category which can be further modified, or nil if JSON is invalid
Declared In
EVGItems.h