v85.2.0
In this minor release we have fixed bugs in Buttons and FlexibleHeader, added new features to Banner, added a theming extension for BottomNavigation, and improved test coverage in BottomSheet.
New features
MDCBanner now supports intrinsicContentSize.
MDCBannerView *myBanner = ...
CGSize validIntrinsicContentSize = myBanner.intrinsicContentSize;API changes
Banner
MDCBannerView
new property: mdc_adjustsFontForContentSizeCategory in MDCBannerView
BottomNavigation+Theming
New extension.
Tabs+TabBarView
MDCTabBarViewIndicatorSupporting
new protocol: MDCTabBarViewIndicatorSupporting
new property: contentFrame in MDCTabBarViewIndicatorSupporting
new property: bounds in MDCTabBarViewIndicatorSupporting
MDCTabBarView
new method: -setTitleFont:forState: in MDCTabBarView
new method: -titleColorForState: in MDCTabBarView
new method: -setImageTintColor:forState: in MDCTabBarView
new method: -titleFontForState: in MDCTabBarView
new method: -imageTintColorForState: in MDCTabBarView
new property: tabBarDelegate in MDCTabBarView
new method: -setSelectedItem:animated: in MDCTabBarView
new method: -setTitleColor:forState: in MDCTabBarView
new property: barTintColor in MDCTabBarView
MDCTabBarItem
new class: MDCTabBarItem
MDCTabBarItemCustomViewing
new protocol: MDCTabBarItemCustomViewing
new property: mdc_customView in MDCTabBarItemCustomViewing
MDCTabBarViewDelegate
new method: -tabBarView:shouldSelectItem: in MDCTabBarViewDelegate
new protocol: MDCTabBarViewDelegate
new method: -tabBarView:didSelectItem: in MDCTabBarViewDelegate
TextFields+ContainedInputView
New extension.
Changes
Banner
- Add intrinsicContentSize support with an example. (#7620) (Wenyu Zhang)
- Support Dynamic Type in Banner (#7709) (Wenyu Zhang)
BottomNavigation
- Add theming extension (#7691) (Cody Weaver)
BottomSheet
Buttons
FlexibleHeader
- Ensures the frame is correct under UIKit for Mac (#7668) (Mark Aufflick)
- Use updated voiceover status change notification (#7571) (Josh Converse)
Tabs
- Add
barTintColorAPI. (#7711) (Robert Moore) - Add accessibility hint and identifier (#7729) (Cody Weaver)
- Add accessibility label (#7727) (Cody Weaver)
- Add accessibility traits support (#7739) (mikefan1991)
- Add delegate support to MDCTabBarView (#7725) (mikefan1991)
- Add imageTintColorForState APIs. (#7714) (Robert Moore)
- Add initial support for custom view. (#7678) (Robert Moore)
- Add ripple effect (#7726) (Ang)
- Add the user selection visible logic (#7740) (mikefan1991)
- Add titleColorForState: API. (#7712) (Robert Moore)
- Add titleFontForState APIs (#7757) (Cody Weaver)
- Add user selection support to the MDCTabBarView (#7713) (mikefan1991)
- Adds justified and scrollable layout to MDCTabBarView (#7704) (Ang)
- Adds safe area inset (#7753) (Ang)
- Adds support for rendering custom views. (#7755) (Robert Moore)
- Allow setting selected item without animation. (#7749) (Robert Moore)
- Create default selection indicator template. (#7751) (Robert Moore)
- Expose the the iconImageView and the titleLabel of the item view (#7703) (mikefan1991)
- Fix MDCTabBarViewItemView sizing. (#7718) (Robert Moore)
- Fix bugs (#7735) (mikefan1991)
- Fix image tint color when unselecting an item. (#7756) (Robert Moore)
- Fix scroll-to-item for RTL. (#7754) (Robert Moore)
- Fix the layout of MDCTabBarViewItemView (#7747) (mikefan1991)
- Fork selection indicator. (#7723) (Robert Moore)
- Ignore
selectedItemvalues not initems. (#7702) (Robert Moore) - Initial MDCTabBarViewItemView version (#7665) (mikefan1991)
- KVO UITabBarItem's
titleandimageproperties (#7700) (Robert Moore) - Make itemView conform to the selection indicator protocol. (#7750) (Robert Moore)
- Rearrange MDCTabBarView internals. (#7696) (Robert Moore)
- Remove redundant code. (#7716) (Robert Moore)
- Send tab item title/image to views (#7698) (Robert Moore)
- Use templated image in snapshot test. (#7730) (Robert Moore)
TextFields
- Add MDCBaseTextField as extension (#7694) (Andrew Overton)
private/ThumbTrack
- Uses @synthesize for touchController to avoid warning (#7670) (Sylvain Defresne)