TWSListDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | TWSList.h |
– onListOpened:
Called when the list referenced is opened.
- (void)onListOpened:(nonnull TWSList *)listParameters
list |
The list. |
|---|
Discussion
Called when the list referenced is opened.
Declared In
TWSList.h
– onList:itemAdded:eventContext:
Called when a list item is added.
- (void)onList:(nonnull TWSList *)list itemAdded:(nonnull TWSListItem *)item eventContext:(nonnull TWSEventContext *)eventContextParameters
list |
The list. |
|---|---|
item |
The added item. |
eventContext |
Context for this event. |
Discussion
Called when a list item is added.
Declared In
TWSList.h
– onList:itemRemovedWithIndex:previousItemData:eventContext:
Called when the list item at the specified index is removed.
- (void)onList:(nonnull TWSList *)list itemRemovedWithIndex:(TWSItemIndex)itemIndex previousItemData:(nonnull TWSData *)previousItemData eventContext:(nonnull TWSEventContext *)eventContextParameters
list |
The list. |
|---|---|
itemIndex |
The index of the removed item. |
previousItemData |
The data of the item before removing. |
eventContext |
Context for this event. |
Discussion
Called when the list item at the specified index is removed.
Declared In
TWSList.h
– onList:itemUpdated:previousItemData:eventContext:
Called when the list item at the specified index is updated.
- (void)onList:(nonnull TWSList *)list itemUpdated:(nonnull TWSListItem *)item previousItemData:(nonnull TWSData *)previousItemData eventContext:(nonnull TWSEventContext *)eventContextParameters
list |
The list. |
|---|---|
item |
The updated item. |
previousItemData |
The data of the item before the change. |
eventContext |
Context for this event. |
Discussion
Called when the list item at the specified index is updated.
Declared In
TWSList.h
– onList:collectionRemovedWithEventContext:
Called when the list is removed.
- (void)onList:(nonnull TWSList *)list collectionRemovedWithEventContext:(nonnull TWSEventContext *)eventContextParameters
list |
The list. |
|---|---|
eventContext |
Context for this event. |
Discussion
Called when the list is removed.
Declared In
TWSList.h
– onList:errorOccurred:
Called when an error occurs.
- (void)onList:(nonnull TWSList *)list errorOccurred:(nonnull TWSError *)errorParameters
list |
The list. |
|---|---|
error |
The error encountered. |
Discussion
Called when an error occurs.
Declared In
TWSList.h