BuiltGroupMultiple Class Reference

Inherits from NSObject
Declared in BuiltGroupMultiple.h

Overview

Note: This class has been deprecated.

A Group is special type of field in Built.io Backend. The reason its named such is that its a set of fields grouped together. Each group field has its own schema and can contain sub-groups. GroupMultiple should be used when a group field is marked as ‘multiple’.

Static Instance

+ groupMultipleWithFieldName:

This should be used to represent a ‘group field’ which is marked as multiple in your class.

+ (instancetype)groupMultipleWithFieldName:(NSString *)fieldName

Parameters

fieldName

UID of the group field in your class schema

Return Value

new BuiltGroupMultiple instance

Discussion

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h

Add/Remove Group

– addGroup:

Add Group to this object

- (void)addGroup:(BuiltGroup *)group

Parameters

group

Instance of BuiltGroup for this object

Discussion

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h

– removeGroup:

Removes Group to this object

- (void)removeGroup:(BuiltGroup *)group

Parameters

group

Instance of BuiltGroup to remove from this object

Discussion

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h

Mix Groups

– addByMixinGroups:

This should be used to mix array containing instances of BuiltGroup or BuiltGroupMultiple together.

- (void)addByMixinGroups:(NSArray *)groupsArray

Parameters

groupsArray

Array containing instance of BuiltGroup or BuiltGroupMultiple

Discussion

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h

Configure

– configureWithArray:

Configure array with builtmultiple info.

- (void)configureWithArray:(NSArray *)array

Parameters

dictionary

User Info

Discussion

 //Obj-C
 [groupMultipleObject configureWithArray:@[@{@"Key_name":@"MyValue"}]];

 //Swift
 groupMultipleObject.configureWithArray([["Key_name":"MyValue"]])

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h

Get Group by index

– groupAtIndex:

Get BuiltGroup object of the specified index.

- (BuiltGroup *)groupAtIndex:(NSInteger)index

Parameters

index

index of which BuiltGroup need to get.

Return Value

BuiltGroup instance with data of specified index.

Discussion

Warning: This method has been deprecated.

Declared In

BuiltGroupMultiple.h