XuniCollectionViewGroup Class Reference

Conforms to ObjectType
__covariant
Declared in CollectionView.h

Overview

Represents a group created by a XuniCollectionView object based on its groupDescriptions property.

  name

Gets the name of this group.

@property (readonly) NSString *name

Discussion

Gets the name of this group.

Declared In

CollectionView.h

  level

Gets the level of this group.

@property (readonly) NSUInteger level

Discussion

Gets the level of this group.

Declared In

CollectionView.h

  isBottomLevel

Gets a value that indicates whether this group has any subgroups.

@property (readonly) BOOL isBottomLevel

Discussion

Gets a value that indicates whether this group has any subgroups.

Declared In

CollectionView.h

  items

Gets an array containing the items included in this group (including all subgroups).

@property (readonly) NSMutableArray *items

Discussion

Gets an array containing the items included in this group (including all subgroups).

Declared In

CollectionView.h

  groups

Gets an array containing the this group’s subgroups.

@property (readonly) NSArray<XuniCollectionViewGroup<ObjectType> *> *groups

Discussion

Gets an array containing the this group’s subgroups.

Declared In

CollectionView.h

  groupDescription

Gets the GroupDescription that owns this group.

@property (readonly) XuniGroupDescription *groupDescription

Discussion

Gets the GroupDescription that owns this group.

Declared In

CollectionView.h

  totalItemCount

Gets the GroupDescription that owns this group.

@property (nonatomic, readonly) NSUInteger totalItemCount

Discussion

Gets the GroupDescription that owns this group.

Declared In

CollectionView.h

– initWithGroup:name:level:isBottomLevel:

Initialize an object for XuniCollectionViewGroup.

- (id)initWithGroup:(XuniGroupDescription *)groupDescription name:(NSString *)name level:(NSUInteger)level isBottomLevel:(BOOL)isBottomLevel

Parameters

groupDescription

the groupDescription.

name

the name.

level

the level.

isBottomLevel

whether is bottom level.

Return Value

return an object for XuniCollectionViewGroup.

Discussion

Initialize an object for XuniCollectionViewGroup.

Declared In

CollectionView.h

– getAggregate:binding:

Calculates an aggregate value for the items in this group.

- (NSObject *)getAggregate:(XuniAggregate)aggType binding:(NSString *)binding

Parameters

aggType

the aggregate type.

binding

the binding.

Return Value

return an object.

Discussion

Calculates an aggregate value for the items in this group.

Declared In

CollectionView.h