Configuration API to configure Launcher Common settings section table view cells styles.
More...
#import <BlackBerryDynamics/GD/GTLCommonSettingsCellConfiguration.h>
Configure the style of the common or default options shown in the settings menu. This includes the menu items to 'Change Password, 'Upload Logs' and to configure the size of the launcher icon.
A host application can configure styles for common settings section by creating instance of this class and returning it in `GTLauncherViewControllerDelegate commonSettingsCellConfigurationForType:launcherViewController:`of the GTLauncherViewControllerDelegate method:
|
| UIColor * | backgroundColor |
| | Cell background color. Default is `nil`: system default color will be used. More...
|
| |
| UIColor * | textColor |
| | Setting name text color. Default is black. More...
|
| |
| UIFont * | textFont |
| | Setting name text font. Default is ``UIFontTextStyleBody`` font. More...
|
| |
| UIImage * | icon |
| | Icon to be displayed to the left of setting name text, by default it is `nil`, no icon will be displayed. More...
|
| |
| UIColor * | iconTintColor |
| | Tint color for icon, by default it is `nil`, no tint will be applied. Has no effect when `icon` is `nil`. More...
|
| |
| UITableViewCellAccessoryType | accessoryType |
| | Table view cell accessory type to be displayed on the right, by default is ``UITableViewCellAccessoryNone``. More...
|
| |
| CGFloat | leftMarginDelta |
| | Content left margin delta. This might be needed to align custom table view cells with Common settings table view cells. By default is `0`. More...
|
| |
| UIView * | accessoryView |
| | Table view cell accessory view, by default is nil. More...
|
| |
◆ GTLCommonSettingsCellType
| Enumerator |
|---|
| GTLCommonSettingsCellTypeChangePassword | Cell type that represents 'Change Password' item.
|
| GTLCommonSettingsCellTypeLauncher | Cell type that represents 'Launcher' item.
|
| GTLCommonSettingsCellTypeUploadLogs | Cell type that represents 'Upload Logs' item.
|
◆ defaultConfigurationForType:
This method provides ability to get the default style for provided table view cell type. Useful in the case a style update is needed only to the font or color for a particular table view cell type.
- Parameters
-
| type | GTLCommonSettingsCellType type of cell. |
- Returns
GTLCommonSettingsCellConfiguration default style for provided table view cell type.
◆ backgroundColor
| - (UIColor*) backgroundColor |
|
readwritenonatomicstrong |
◆ textColor
◆ textFont
◆ icon
◆ iconTintColor
| - (UIColor*) iconTintColor |
|
readwritenonatomicstrong |
◆ accessoryType
| - (UITableViewCellAccessoryType) accessoryType |
|
readwritenonatomicassign |
◆ leftMarginDelta
| - (CGFloat) leftMarginDelta |
|
readwritenonatomicassign |
◆ accessoryView
| - (UIView*) accessoryView |
|
readwritenonatomicstrong |
The documentation for this class was generated from the following file: