TWSListDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TWSList.h |
– onListResultOpened:
Called when the list referenced is opened.
- (void)onListResultOpened:(nonnull TWSList *)list
Parameters
list |
The list. |
---|
Discussion
Called when the list referenced is opened.
Declared In
TWSList.h
– onList:resultItemAddedAtIndex:forFlowID:
Called when a list item is added as a result of a local operation.
- (void)onList:(nonnull TWSList *)list resultItemAddedAtIndex:(TWSItemIndex)itemIndex forFlowID:(NSUInteger)flowId
Parameters
list |
The list. |
---|---|
itemIndex |
The index of the item. |
flowId |
A developer specified identifier for this remote request. |
Discussion
Called when a list item is added as a result of a local operation.
Declared In
TWSList.h
– onList:resultItemRemovedAtIndex:forFlowID:
Called when the list item at the specified index is removed as a result of a local operation.
- (void)onList:(nonnull TWSList *)list resultItemRemovedAtIndex:(TWSItemIndex)itemIndex forFlowID:(NSUInteger)flowId
Parameters
list |
The list. |
---|---|
itemIndex |
The index of the item. |
flowId |
A developer specified identifier for this remote request. |
Discussion
Called when the list item at the specified index is removed as a result of a local operation.
Declared In
TWSList.h
– onList:resultItemUpdatedAtIndex:forFlowID:
Called when the list item at the specified index is updated as a result of a local operation.
- (void)onList:(nonnull TWSList *)list resultItemUpdatedAtIndex:(TWSItemIndex)itemIndex forFlowID:(NSUInteger)flowId
Parameters
list |
The list. |
---|---|
itemIndex |
The index of the item. |
flowId |
A developer specified identifier for this remote request. |
Discussion
Called when the list item at the specified index is updated as a result of a local operation.
Declared In
TWSList.h
– onList:resultErrorOccurred:forFlowID:
Called when an error occurs as a result of a local operation.
- (void)onList:(nonnull TWSList *)list resultErrorOccurred:(nonnull TWSError *)error forFlowID:(NSUInteger)flowId
Parameters
list |
The list. |
---|---|
error |
The error encounted. |
flowId |
A developer specified identifier for this remote request. |
Discussion
Called when an error occurs as a result of a local operation.
Declared In
TWSList.h
– onList:resultCollectionRemovedForFlowID:
Called when the list is removed as a result of a local operation.
- (void)onList:(nonnull TWSList *)list resultCollectionRemovedForFlowID:(NSUInteger)flowId
Parameters
list |
The list. |
---|---|
flowId |
A developer specified identifier for this remote request. |
Discussion
Called when the list is removed as a result of a local operation.
Declared In
TWSList.h
– onList:remoteItemAdded:
Called when a list item is added as a result of a remote operation.
- (void)onList:(nonnull TWSList *)list remoteItemAdded:(nonnull TWSListItem *)item
Parameters
list |
The list. |
---|---|
item |
The item. |
Discussion
Called when a list item is added as a result of a remote operation.
Declared In
TWSList.h
– onList:remoteItemUpdated:
Called when a list item is updated as a result of a remote operation.
- (void)onList:(nonnull TWSList *)list remoteItemUpdated:(nonnull TWSListItem *)item
Parameters
list |
The list. |
---|---|
item |
The item. |
Discussion
Called when a list item is updated as a result of a remote operation.
Declared In
TWSList.h
– onList:remoteItemRemoved:
Called when a list item is removed as a result of a remote operation.
- (void)onList:(nonnull TWSList *)list remoteItemRemoved:(nonnull TWSListItem *)item
Parameters
list |
The list. |
---|---|
item |
The item. |
Discussion
Called when a list item is removed as a result of a remote operation.
Declared In
TWSList.h
– onListRemoteCollectionRemoved:
Called when the list is removed as a result of a remote operation.
- (void)onListRemoteCollectionRemoved:(nonnull TWSList *)list
Parameters
list |
The list. |
---|
Discussion
Called when the list is removed as a result of a remote operation.
Declared In
TWSList.h