UITabBarItem$Methods extension

on

Properties

badgeColor UIColor?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
getter/setter pair
badgeValue ↔ NSString?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

badgeValue
getter/setter pair
scrollEdgeAppearance UITabBarAppearance?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.
getter/setter pair
selectedImage UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

selectedImage
getter/setter pair
standardAppearance UITabBarAppearance?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

When set and this item is selected, overrides the hosting tab bar's standardAppearance.
getter/setter pair
titlePositionAdjustment UIOffset

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

titlePositionAdjustment
getter/setter pair

Methods

badgeTextAttributesForState(int state) → NSDictionary?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

Returns attributes previously set via -setBadgeTextAttributes:forState:.
finishedSelectedImage() UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

finishedSelectedImage
finishedUnselectedImage() UIImage?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

finishedUnselectedImage
init() UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

init
initWithCoder(NSCoder coder) UITabBarItem?

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithCoder:
initWithTabBarSystemItem(UITabBarSystemItem systemItem, {required int tag}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTabBarSystemItem:tag:
initWithTitle(NSString? title, {UIImage? image, UIImage? selectedImage}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTitle:image:selectedImage:
initWithTitle$1(NSString? title, {UIImage? image, required int tag}) UITabBarItem

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

initWithTitle:image:tag:
setBadgeTextAttributes(NSDictionary? textAttributes, {required int forState}) → void

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available.
setFinishedSelectedImage(UIImage? selectedImage, {UIImage? withFinishedUnselectedImage}) → void

Available on UITabBarItem, provided by the UITabBarItem$Methods extension

setFinishedSelectedImage:withFinishedUnselectedImage: