You are here

addFavorite:completionBlock

- (AlfrescoRequest *)addFavorite:(AlfrescoNode *)node completionBlock:(AlfrescoFavoritedCompletionBlock)completionBlock - Add the provided node to favorites.

Parameters

(AlfrescoNode *) node
The node to add as a favorite.
(AlfrescoFavoritedCompletionBlock) completionBlock
The block that is called on completion of the operation. The block has the format typedef void (^AlfrescoFavoritedCompletionBlock)(BOOL succeeded, BOOL isFavorited, NSError *error);.

Returns

(AlfrescoRequest *)

Example