SCSCategoryGroup Class Reference
Inherits from | NSObject |
---|---|
Declared in | SCSCategoryGroup.h |
Overview
A SCSCategoryGroup
represents a data category group. A category group
contains a hierarchical tree of data categories.
Refer to SCSCategory
for a representation of data categories.
name
Unique category group name.
@property (nonatomic, copy, readonly) NSString *name
Declared In
SCSCategoryGroup.h
label
Label, or display name, for this category group.
@property (nonatomic, copy, readonly) NSString *label
Declared In
SCSCategoryGroup.h
objectUsage
String describing which types of objects this category group can be used for.
@property (nonatomic, copy, readonly) NSString *objectUsage
Declared In
SCSCategoryGroup.h
childCategories
Array of root-level child categories within this category group.
@property (nonatomic, strong, readonly) NSArray<SCSCategory*> *childCategories
Declared In
SCSCategoryGroup.h
manager
The knowledge manager this category group belongs to.
@property (nonatomic, weak, readonly) SCSKnowledgeManager *manager
Declared In
SCSCategoryGroup.h
– categoryWithName:
Returns a category within this category group that matches the specified name.
- (nullable SCSCategory *)categoryWithName:(NSString *)name
Parameters
name |
Category name. |
---|
Return Value
SCSCategory instance matching the specified category name,
or nil
if no child category is found.
See Also
[SCSCategory categoryWithName:]
Declared In
SCSCategoryGroup.h
debugDescription
Returns a string suitable for debugging that displays the contents of the category group tree.
@property (readonly, copy) NSString *debugDescription
Declared In
SCSCategoryGroup.h