Inherits from NSObject
Declared in DBList.h

Overview

An object that allows you to modify a list that is set as a value on a record. Lists can contain the same values as records, except for other lists. Any changes you make to the list are intelligently merged with changes made remotely.

Tasks

Properties

values

@property (nonatomic, readonly) NSArray *values
Discussion

Returns all objects in the list.

Declared In

DBList.h

Instance Methods

addObject:

- (void)addObject:(id)obj
Discussion

Adds an object to the end of the list.

Declared In

DBList.h

count

- (NSUInteger)count
Discussion

Returns the total number of items in the list.

Declared In

DBList.h

insertObject:atIndex:

- (void)insertObject:(id)obj atIndex:(NSUInteger)index
Discussion

Inserts an object at the given index, moving other objects further down the list.

Declared In

DBList.h

moveObjectAtIndex:toIndex:

- (void)moveObjectAtIndex:(NSUInteger)oldIndex toIndex:(NSUInteger)newIndex
Discussion

Moves the object from the given old index, so that it appears at the given new index.

Declared In

DBList.h

objectAtIndex:

- (id)objectAtIndex:(NSUInteger)index
Discussion

Returns the object at the given index.

Declared In

DBList.h

objectAtIndexedSubscript:

- (id)objectAtIndexedSubscript:(NSUInteger)index

removeLastObject

- (void)removeLastObject
Discussion

Removes the last object from the list.

Declared In

DBList.h

removeObjectAtIndex:

- (void)removeObjectAtIndex:(NSUInteger)index
Discussion

Removes the object at the given index.

Declared In

DBList.h

replaceObjectAtIndex:withObject:

- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)obj
Discussion

Replaces the item at the given index with the given object.

Declared In

DBList.h

setObject:atIndexedSubscript:

- (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx