From ec63ef4ba5ccf8ff5ff87769be5a3ea005d6d4dd Mon Sep 17 00:00:00 2001 From: Frank Elias Date: Wed, 3 Mar 2021 15:58:41 -0500 Subject: Comments review --- SmartDeviceLink/public/SDLMenuCell.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SmartDeviceLink/public/SDLMenuCell.h b/SmartDeviceLink/public/SDLMenuCell.h index 1d3071331..3c32d70e0 100644 --- a/SmartDeviceLink/public/SDLMenuCell.h +++ b/SmartDeviceLink/public/SDLMenuCell.h @@ -79,7 +79,7 @@ typedef void(^SDLMenuCellSelectionHandler)(SDLTriggerSource triggerSource); @param handler The code that will be run when the menu cell is selected @return The menu cell */ -- (instancetype)initWithTitle:(NSString *)title icon:(nullable SDLArtwork *)icon voiceCommands:(nullable NSArray *)voiceCommands handler:(SDLMenuCellSelectionHandler)handler __deprecated_msg("Use initWithTitle:icon:voiceCommands:secondaryText:tertiaryText:secondaryArtwork:handler: instead"); +- (instancetype)initWithTitle:(NSString *)title icon:(nullable SDLArtwork *)icon voiceCommands:(nullable NSArray *)voiceCommands handler:(SDLMenuCellSelectionHandler)handler __deprecated_msg("Use initWithTitle:secondaryText:tertiaryText:icon:secondaryArtwork:voiceCommands:handler: instead"); /** Create a menu cell that has subcells and when selected will go into a deeper part of the menu @@ -90,17 +90,17 @@ typedef void(^SDLMenuCellSelectionHandler)(SDLTriggerSource triggerSource); @param subCells The subcells that will appear when the cell is selected @return The menu cell */ -- (instancetype)initWithTitle:(NSString *)title icon:(nullable SDLArtwork *)icon submenuLayout:(nullable SDLMenuLayout)layout subCells:(NSArray *)subCells __deprecated_msg("Use initWithTitle:icon:submenuLayout:subCells:secondaryText:tertiaryText:secondaryArtwork: instead"); +- (instancetype)initWithTitle:(NSString *)title icon:(nullable SDLArtwork *)icon submenuLayout:(nullable SDLMenuLayout)layout subCells:(NSArray *)subCells __deprecated_msg("Use initWithTitle:secondaryText:tertiaryText:icon:secondaryArtwork:submenuLayout:subCells: instead"); /** Create a menu cell that has no subcells. @param title The cell's primary text - @param icon The cell's image - @param voiceCommands Voice commands that will activate the menu cell @param secondaryText - secondaryText @param tertiaryText - tertiaryText + @param icon The cell's image @param secondaryArtwork - secondaryArtwork + @param voiceCommands Voice commands that will activate the menu cell @param handler The code that will be run when the menu cell is selected @return The menu cell */ @@ -110,12 +110,12 @@ typedef void(^SDLMenuCellSelectionHandler)(SDLTriggerSource triggerSource); Create a menu cell that has subcells and when selected will go into a deeper part of the menu @param title The cell's primary text - @param icon The cell's image - @param layout The layout that the subCells will be layed out in if that submenu is entered - @param subCells The subcells that will appear when the cell is selected @param secondaryText - secondaryText @param tertiaryText - tertiaryText + @param icon The cell's image @param secondaryArtwork - secondaryArtwork + @param layout The layout that the subCells will be layed out in if that submenu is entered + @param subCells The subcells that will appear when the cell is selected @return The menu cell */ - (instancetype)initWithTitle:(NSString *)title secondaryText:(nullable NSString *)secondaryText tertiaryText:(nullable NSString *)tertiaryText icon:(nullable SDLArtwork *)icon secondaryArtwork:(nullable SDLArtwork *)secondaryArtwork submenuLayout:(nullable SDLMenuLayout)layout subCells:(NSArray *)subCells; -- cgit v1.2.1