Releases: material-components/material-components-ios
Releases · material-components/material-components-ios
14.0.0
14.0.0
API diffs
Auto-generated by running:
scripts/api_diff -o 52692216832dc446ae2471bd2f42a40cd8746bbe -n 9ecf191c8d5fa6d8afc7ba119f4cb0ebe926483c
FontDiskLoader
- [deleted]
-[MDCFontDiskLoader initWithName:URL:]
- [deleted]
-[MDCFontDiskLoader registerFont]
- [deleted]
-[MDCFontDiskLoader setFontName:]
- [deleted]
-[MDCFontDiskLoader unregisterFont]
- [deleted]
MDCFontDiskLoader.hasFailedRegistration
- [deleted]
MDCFontDiskLoader.isRegistered
Component changes
Buttons
Changes
- MDC_#67 - Updated accessibility for titleColor on MDCButton.m (Justin Shephard)
Collections
Changes
- Removed all warnings from the build. (Adrian Secord)
FlexibleHeader
Changes
- MDC_#67 - Updated accessibility for titleColor on MDCButton.m (Justin Shephard)
- Removed all warnings from the build. (Adrian Secord)
FontDiskLoader
Breaking changes
- Breaking: Deleted deprecated API. (randallli)
Ink
Changes
- Removed all warnings from the build. (Adrian Secord)
Palettes
Changes
- Fix tintKey parameter type in MDCPalettes.m (#699) (Jackie Quinn)
ProgressView
Changes
- Removed all warnings from the build. (Adrian Secord)
- Use a proper singleton for our accessibility proxy. (Ian Gordon)
RobotoFontLoader
Changes
- Revert "Trim fonts for mobile use (#674)" (randallli)
- Trim fonts for mobile use (#674) (rsheeter)
ShadowLayer
Changes
- Fix calculation of masks for the shadows. (#698) (Simon Forsyth)
Switch
Changes
- Optimize and simplify MDCSwitch (Sam Morrison)
- Removed all warnings from the build. (Adrian Secord)
13.4.0
13.4.0
API diffs
Auto-generated by running:
scripts/api_diff -o fb77a9716a80ba4ee2a9f92a81a89335570366e3 -n 8fa99ffb150b99597f19783d54203ff77a4219d2
FontDiskLoader
- [deprecated]
-[MDCFontDiskLoader initWithName:URL:]
.
Use initWithFontName:fontURL: instead. - [deprecated]
-[MDCFontDiskLoader registerFont]
.
Use load instead. - [deprecated]
-[MDCFontDiskLoader setFontName:]
.
Create a new instance if you need to specifiy a different font name. - [deprecated]
-[MDCFontDiskLoader unregisterFont]
.
Use unload instead. - [deprecated]
MDCFontDiskLoader.hasFailedRegistration
.
Use loadFailed instead. - [deprecated]
MDCFontDiskLoader.isRegistered
.
Use loaded instead.
Component changes
AppBar
Changes
- Removed reference to deleted MDCAppBarParenting. (Adrian Secord)
- [MDCAppBar | MDCDialog | MDCInk] Nullability Clashing (Sean O'Shea)
Dialogs
Changes
- Correct analyzer and compiler warnings. (Ian Gordon)
- [MDCAppBar | MDCDialog | MDCInk] Nullability Clashing (Sean O'Shea)
FontDiskLoader
Changes
- Fixed readme reference to new initializer (randallli)
- [FontDiskLoader]? Marked API deprecated that we were planing on deprecating from previous readbility change (randallli)
Ink
Changes
- [MDCAppBar | MDCDialog | MDCInk] Nullability Clashing (Sean O'Shea)
- [MDCInkTouchController] Improve comments to clarify method and protocol behavior (Junius Gunaratne)
Slider
Changes
- Changed clamping behaviour of the min setter to mutate the max instead of clamping to its value. (randallli)
Switch
Changes
- Remove SKDisplayLinkInterface left over in MDCSwitch stress test (Sam Morrison)
- Stress test for MDCSwitch (Sam Morrison)
Release 13.3.0
13.3.0
API diffs
Auto-generated by running:
scripts/api_diff -o 51fbbacdf98a1f086cdbf6210f849c8133e91183 -n dd3d2622f6935e70854d3ccb72677b09e19e045a
FontDiskLoader
- [new]
-[MDCFontDiskLoader initWithFontName:fontURL:]
- [new]
-[MDCFontDiskLoader load]
- [new]
-[MDCFontDiskLoader unload]
- [new]
MDCFontDiskLoader.loadFailed
- [new]
MDCFontDiskLoader.loaded
- [property attribute change]
MDCFontDiskLoader.fontName
.
Removed strong.
Added readonly, copy. - [property attribute change]
MDCFontDiskLoader.fontURL
.
Removed strong, nullable.
Added copy, nonnull. - [declaration changed]
-[MDCFontDiskLoader setFontName:]
.
@property (nonatomic, strong, nonnull) NSString *fontName
- (void)setFontName:(nonnull NSString *)fontName
RobotoFontLoader
- [declaration changed]
+[MDCRobotoFontLoader sharedInstance]
.
+ (nonnull instancetype)sharedInstance
+ (nonnull MDCRobotoFontLoader *)sharedInstance
Component changes
ActivityIndicator
Changes
- MDC_#758 - Updated incorrectly named setter (Justin Shephard)
Buttons
Changes
CollectionLayoutAttributes
Changes
Dialogs
Changes
- Dismiss the dialog when we recive the Z A11y gesture (Felix Emiliano)
FlexibleHeader
Changes
FontDiskLoader
Changes
RobotoFontLoader
Changes
Slider
Changes
Typography
Changes
Release 13.2.1
API diffs
Icons
- [new] Added method to enable testing of new back button style (Sam Morrison)
Component changes
AppBar
Changes
- Adding link to MDCAppBar.h apidoc to the README (Will Larche)
- API docs links were broken in READMEs (Will Larche)
- AppBar dependency warning (Will Larche)
ButtonBar
Changes
- API docs links were broken in READMEs (Will Larche)
Buttons
Changes
- API docs links were broken in READMEs (Will Larche)
CollectionCells
Changes
- API docs links were broken in READMEs (Will Larche)
CollectionLayoutAttributes
Changes
- API docs links were broken in READMEs (Will Larche)
Collections
Changes
- API docs links were broken in READMEs (Will Larche)
Dialogs
Changes
FlexibleHeader
Changes
- API docs links were broken in READMEs (Will Larche)
- Some examples are missing super calls to viewDidLoad (#681) (Sean O'Shea)
FontDiskLoader
Changes
- API docs links were broken in READMEs (Will Larche)
HeaderStackView
Changes
- API docs links were broken in READMEs (Will Larche)
Ink
Changes
- API docs links were broken in READMEs (Will Larche)
NavigationBar
Changes
- API docs links were broken in READMEs (Will Larche)
PageControl
Changes
- API docs links were broken in READMEs (Will Larche)
Palettes
Changes
- API docs links were broken in READMEs (Will Larche)
ProgressView
Changes
- API docs links were broken in READMEs (Will Larche)
RobotoFontLoader
Changes
- API docs links were broken in READMEs (Will Larche)
ShadowElevations
Changes
- API docs links were broken in READMEs (Will Larche)
ShadowLayer
Changes
- API docs links were broken in READMEs (Will Larche)
- Small MDCShadowLayer fixes (Sam Morrison)
Slider
Changes
- API docs links were broken in READMEs (Will Larche)
Switch
Changes
- API docs links were broken in READMEs (Will Larche)
Typography
Changes
- API docs links were broken in READMEs (Will Larche)
- Typo in README (Will Larche)
Release 13.2.0
13.2.0
API diffs
Auto-generated by running:
scripts/api_diff -o 6b00b97156fcd8ed5a661c736df6b363cf4c8457 -n 9ef47c149996f078e5f6a4ed3474688e187ab573
Slider
SpritedAnimationView
Component changes
ActivityIndicator
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
AnimationTiming
Changes
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
AppBar
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
ButtonBar
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
Buttons
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
- Updating the button README to remove references to Ink. (#675) (Sean O'Shea)
CollectionCells
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
CollectionLayoutAttributes
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
Collections
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
Dialogs
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
FlexibleHeader
Changes
- MDC_#391_Copy_Change - Made modifications to copy on limited number of controllers without a back button (Justin Shephard)
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
FontDiskLoader
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
HeaderStackView
Changes
- MDC_#391_Copy_Change - Made modifications to copy on limited number of controllers without a back button (Justin Shephard)
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
Ink
Changes
- Fix build. Delegate cast was incorrect and invoked on the wrong object. (randallli)
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
- [MDCInkTouchController] Provide legacy support for shouldInkTouchControllerProcessInkTouches during transition to inkTouchController:shouldProcessInkTouchesAtTouchLocation (Junius Gunaratne)
NavigationBar
Changes
- MDC_#391_Copy_Change - Made modifications to copy on limited number of controllers without a back button (Justin Shephard)
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
OverlayWindow
Changes
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
PageControl
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
Palettes
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
ProgressView
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
RobotoFontLoader
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
ShadowElevations
Changes
- MDC_#546 - Start of separation of README.md and yaml (Justin Shephard)
- Site_Readme_Links - Added Jekyll conditional with links to site/github documentation (Justin Shephard)
ShadowLayer
Changes
- [MDC_#546 - Start of separation of README.md and yaml](https://github.com/google/materi...
Release 13.1.1
Release 13.1.0
13.1.0
API diffs
Auto-generated by running:
scripts/api_diff -o 5d7ad466b9e1429ad6242272958b149ded34da63 -n 205b1b49fd311af9246133e1499007dec0957e4b
AnimationTiming
New component.
Switch
Component changes
ActivityIndicator
Changes
- Add RTL to activity indicator. (Ian Gordon)
- Fix commonInit method. (Ian Gordon)
- Removing the last few remaining references to using id as a return type (#671) (Sean O'Shea)
AnimationTiming
Changes
- Add animation timing curves and examples, update use of animation timing in snackbar (Junius Gunaratne)
AppBar
Changes
- [Catalog, NavigationBar] Update catalog to set custom title color using titleTextAttributes; only set attributedText when title is set (Junius Gunaratne)
Buttons
Changes
CollectionCells
Changes
- Fix RTL layout for Collection Cells (Ed Chin)
Dialogs
Changes
- Minor formatting issues which mostly impact the catalog app. (#666) (Sean O'Shea)
- [MDCButton] Add UI_APPEARANCE_SELECTOR to customTextColor. (Ian Gordon)
FlexibleHeader
Changes
- Add example with UIKit components in flexible header (Junius Gunaratne)
- Add page control in flexible header example (Junius Gunaratne)
- Add wrapped view controller example (Junius Gunaratne)
- Prevent retain cycle in CADisplayLink in shift behavior. (randallli)
- Update legal text to include Material Components for iOS authors (Junius Gunaratne)
NavigationBar
Changes
- [Catalog, NavigationBar] Update catalog to set custom title color using titleTextAttributes; only set attributedText when title is set (Junius Gunaratne)
- [MDCNavigationBar] Allow tintColor to change navigation bar title text by applying titleTextAttributes (Junius Gunaratne)
- [MDCNavigationBar] Revert change that sets titleTextAttributes when tintColorDidChange is called (Junius Gunaratne)
OverlayWindow
Changes
PageControl
Changes
ShadowLayer
Changes
Slider
Changes
- Delegate method for shouldJumpToValue: (Max Luzuriaga)
- Expose filled track anchor value property (Max Luzuriaga)
- Expose thumbTrack to subclasses of MDCSlider (Max Luzuriaga)
- Property for displaying discrete value label or not (Max Luzuriaga)
Snackbar
Changes
- Minor formatting issues which mostly impact the catalog app. (#666) (Sean O'Shea)
- [AnimationTiming] Add animation timing curves and examples, update use of animation timing in snackbar (Junius Gunaratne)
- [README] Changing documentation to aid with compilation (#667) (Sean O'Shea)
Switch
Changes
- Add RTL support to Switch (Ian Gordon)
- Custom accessibility labels (Max Luzuriaga)
- Switch init cleanup. (Ian Gordon)
Release 13.0.2
API diffs
Auto-generated by running:
scripts/api_diff -o 313365e03bc6f74f43910264ee31d1e2721db36b -n e66a70dc0cd3bb40eb0f4ff3d5867bafba20db3a
No public API changes detected.
Component changes
ActivityIndicator
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Pass last state by parameter instead of saving as iVar (David Couturier)
- Ran arc lint. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
AppBar
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
ButtonBar
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
Buttons
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
CollectionCells
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Relayout the text cells on prepareForReuse. (Louis Romero)
CollectionLayoutAttributes
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
Collections
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Removes unnecessary method overrides that only call super. (Chris Cox)
Dialogs
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- [Catalog] Add a dialog with an input field for keyboard testing (Ian Gordon)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
FlexibleHeader
Changes
- Add flexible header demo with FAB (Junius Gunaratne)
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Use MDFTextAccessibility for determining whether or not to use the light status bar. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
FontDiskLoader
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
HeaderStackView
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
Ink
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
NavigationBar
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Changed CGFloat macros to static inline functions. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
OverlayWindow
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
PageControl
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
Palettes
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
ProgressView
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
RobotoFontLoader
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
ShadowElevations
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
ShadowLayer
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
Slider
Changes
- Add discrete numeric value label (Max Luzuriaga)
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Make tests language-agnosti (Max Luzuriaga)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
Snackbar
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
SpritedAnimationView
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- Fix SpritedAnimationViewTests (Sam Morrison)
Switch
Changes
- Adding AUTHORS and removing CONTRIBUTORS.txt. (Adrian Secord)
- [Docs] Replaced incorrect name of the product. Material Components for iOS (randallli)
Typography
Changes
Release 13.0.1
13.0.1
Hotfix for Xcode 8.0 beta 3 (8S174q) compilation.
API diffs
Auto-generated by running:
scripts/api_diff -o 50ed805a58529c8cd3a0bfe56a9b99937134ad2c -n e8dbfebbb20f3d1314b5396e6cc1f76f9d23beb2
No public API changes detected.
Component changes
Collections
Changes
- Source changes to fix Xcode 8 compilation. (Adrian Secord)
- Undo Xcode 8 changes to CollectionsStoryboardExample.storyboard. (Adrian Secord)
ProgressView
Changes
- Source changes to fix Xcode 8 compilation. (Adrian Secord)
Snackbar
Changes
- Source changes to fix Xcode 8 compilation. (Adrian Secord)
SpritedAnimationView
Changes
- Source changes to fix Xcode 8 compilation. (Adrian Secord)
Release 13.0.0
API diffs
Auto-generated by running:
scripts/api_diff -o 0c7bda2e69db44668360b89e3403a7ad9e16c3aa -n 10e4a258fa529178d1aa6ae8962193eb18b43d20
Dialogs
- [new]
+[MDCAlertAction actionWithTitle:handler:]
- [new]
+[MDCAlertController alertControllerWithTitle:message:]
- [new]
-[MDCAlertController addAction:]
- [new]
MDCActionHandler
- [new]
MDCAlertAction.title
- [new]
MDCAlertAction
- [new]
MDCAlertController.actions
- [new]
MDCAlertController.message
- [new]
MDCAlertController.title
- [new]
MDCAlertController
SpritedAnimationView
- [declaration changed]
-[MDCSpritedAnimationView startAnimatingWithCompletion:]
.
- (void)startAnimatingWithCompletion:(nullable void (^)())completion
- (void)startAnimatingWithCompletion:(nullable void (^)(BOOL))completion
Component changes
ActivityIndicator
Changes
- Lowercase "material design" in text. (Adrian Secord)
AppBar
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
ButtonBar
Changes
- Remove ARC guards from MDC (Sam Morrison)
Buttons
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
CollectionCells
Changes
- Remove ARC guards from MDC (Sam Morrison)
- Various bug fixes for MDCCollectionViewCells (Sam Morrison)
CollectionLayoutAttributes
Changes
- Remove ARC guards from MDC (Sam Morrison)
Collections
Changes
- Fix delegate calls for moving an item (randallli)
- Fix storyboard usage of MDCCollectionViews (Eric Shieh)
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
Dialogs
Changes
- Add Alert Controller (Ian Gordon)
- Lowercase "material design" in text. (Adrian Secord)
- Use migrated keyboard watcher code (Ian Gordon)
- [KeyboardWatcher] Extract values from a notification (Ian Gordon)
FlexibleHeader
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
- [MDC #624] Correctly initialize the shifterStatusBar when creating a MDCFlexibleHeaderView (Sam Morrison)
HeaderStackView
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
Ink
Changes
- Lowercase "material design" in text. (Adrian Secord)
- MDC_#495 - Removed unused declaration of startPoint (Justin Shephard)
NavigationBar
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
PageControl
Changes
- Lowercase "material design" in text. (Adrian Secord)
ProgressView
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)
ShadowElevations
Changes
- Lowercase "material design" in text. (Adrian Secord)
ShadowLayer
Changes
- Add additional detail clarifying the difference between CALayer.zPosition and MDCShadowLayer.elevation. (Ian Gordon)
- Lowercase "material design" in text. (Adrian Secord)
Slider
Changes
- Lowercase "material design" in text. (Adrian Secord)
- [ThumbTrack] Slider and Switch implement
isTracking
UIControl method (Max Luzuriaga)
Snackbar
Changes
- Lowercase "material design" in text. (Adrian Secord)
SpritedAnimationView
Breaking changes
- Breaking: Add 'finished' bool to animation completion block (Sam Morrison)
Changes
- Fix SpritedAnimationViewTests (Sam Morrison)
Switch
Changes
- Lowercase "material design" in text. (Adrian Secord)
- [ThumbTrack] Slider and Switch implement
isTracking
UIControl method (Max Luzuriaga)
Typography
Changes
- Lowercase "material design" in text. (Adrian Secord)
- Remove ARC guards from MDC (Sam Morrison)