Releases: material-components/material-components-ios
Releases · material-components/material-components-ios
Release 17.1.1
No public API or component changes.
Added missing components/private/Application/src/MaterialApplication.h umbrella header.
Release 17.1.0
17.1.0
API diffs
No public API changes in this release. Note that the 17.0.0 release was not published to CocoaPods, so if you are updating from 16.3.0 you will see the breaking change from 17.0.0.
Behavior changes in MDCSnackbar
The behavior of MDCSnackbar has been changed to better match the spec:
- Animation duration increased from 0.15s to 0.5s.
- The snackbar no longer fades out, but translates down off screen.
- The snackbar's text and button (but not the background) fade out during the animation.
Component changes
ActivityIndicator
Changes
- Add missing license headers (#900) (Sam Morrison)
- Reduce minimum activity indicator radius to 5 pt. (#887) (Adrian Secord)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- Updated test to relect new radius of 5. (#907) (Randall Li)
- Wrap sharedApplication calls so we can build for app extension targets (#897) (Sam Morrison)
- [Readme] Removing dead link in components. (Will Larche)
AnimationTiming
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
AppBar
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
ButtonBar
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
Buttons
Changes
- Add missing license headers (#900) (Sam Morrison)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [MDCFloatingButton] Floating action button should use a shape rather than text (#833) (Junius Gunaratne)
- [Readme] Removing dead link in components. (Will Larche)
CollectionCells
Changes
- Remove MDCSwitch examples and catalog usage. (#892) (Adrian Secord)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
CollectionLayoutAttributes
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
Collections
Changes
- Fixes NSString to enum comparison (#872) (Cezar Cocu)
- Remove MDCSwitch examples and catalog usage. (#892) (Adrian Secord)
- Remove unnecessary method call (#875) (ianegordon)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
Dialogs
Changes
- Add missing license (#895) (ianegordon)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
FeatureHighlight
Changes
- Add Feature Highlight demo video and still (#899) (Sam Morrison)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
FlexibleHeader
Changes
- - MDCFlexibleHeader in an app extension (#878) (Justin Shephard)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- Wrap sharedApplication calls so we can build for app extension targets (#897) (Sam Morrison)
- [MDCFloatingButton] Floating action button should use a shape rather than text (#833) (Junius Gunaratne)
- [Readme] Removing dead link in components. (Will Larche)
FontDiskLoader
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
HeaderStackView
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
Ink
Changes
- Add missing license headers (#900) (Sam Morrison)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
NavigationBar
Changes
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Readme] Removing dead link in components. (Will Larche)
OverlayWindow
Changes
- Add OverlayWindow to the docs. (Adrian Secord)
- Add missing license headers (#900) (Sam Morrison)
- Updated refs to GitHub repo with new location. (#885) (Adrian Secord)
- [Wrap sharedApplication calls so we can build for app extension targets (#897)](e69f038d883b6734a9b...
Release 17.0.0
17.0.0
API Diffs
Buttons
MDCButton
modified method: -setBackgroundColor:
in MDCButton
Type of change: | key.deprecation_message |
---|---|
From: | Use setBackgroundColor:forState: instead. |
To: | |
modified method: -setBackgroundColor:
in MDCButton
Type of change: | key.always_unavailable |
---|---|
From: | 0 |
To: | 1 |
modified method: -setBackgroundColor:
in MDCButton
Type of change: | key.always_deprecated |
---|---|
From: | 1 |
To: | 0 |
modified method: -setBackgroundColor:
in MDCButton
Type of change: | declaration |
---|---|
From: | - (void)setBackgroundColor:(nullable UIColor *)backgroundColor __deprecated_msg("Use setBackgroundColor:forState: instead."); |
To: | - (void)setBackgroundColor:(nullable UIColor *)backgroundColor; |
CollectionCells
MDCCollectionViewCell
new property: editingSelectorColor
in MDCCollectionViewCell
Component changes
Buttons
Changes
CollectionCells
Changes
- Add color property for editing selector in MDCCollectionViewCell (#844) (Gauthier Ambard)
- Handle separator insets correctly in RTL (Louis Romero)
- Set checked cell's accessibility trait to Selected (Louis Romero)
Release 16.3.0
API diffs
Snackbar
Component changes
CollectionCells
Changes
- [CollectionViewCell] Call |layoutSubviews| when editing (#798) (Gauthier Ambard)
Collections
Changes
- Change layout invalidation in MDCCollectionViewStyler (#790) (Gauthier Ambard)
FeatureHighlight
Changes
- Convert CGFloats to float for 32 bit compilation (#834) (Sam Morrison)
Snackbar
Changes
Release 16.2.0
API diffs
FeatureHighlight
- FeatureHighlight is a new component that lets you highlight a particular feature of your interface to the user.
Component changes
AppBar
Changes
- Ensure typical use examples match for Objective C and Swift (#815) (Junius Gunaratne)
CollectionCells
Changes
- Align text labels frames to the upper pixel. (Louis Romero)
- Show/hide the editing box as entering/leaving edit (Louis Romero)
Collections
Changes
- [Fix -MDCCollectionViewFlowLayout updateCellStateMaskWithAttribute:](f2b93ae) (Jackie Quinn)
FeatureHighlight
Changes
- MDCFeatureHighlightViewController implementation (#765) (Sam Morrison)
- Minor feature highlight fixes (#814) (Sam Morrison)
NavigationBar
Changes
- Setting default state of textAlignment (#817) (Randall Li)
- [Navigation Bar] Fixed text alignment in a better way that accepts the pre iOS8 default. (#820) (Randall Li)
Switch
Changes
- Added haptic feedback to MDCSwitch (#812) (Adrian Secord)
Release 16.1.0
16.1.0
Component changes
ActivityIndicator
Changes
- Implement intrinsicContentSize (#795) (Louis Romero)
Buttons
Changes
- MDC #329 - Bounded ink should ignore the maxRippleRadius property (#771) (Justin Shephard)
Dialogs
Changes
- Improve snackbar and dialogs docs (#785) (Sam Morrison)
Ink
Changes
- Added MDCInkGestureRecognizer.h to Ink's umbrella header. (#801) (Adrian Secord)
- MDC #329 - Bounded ink should ignore the maxRippleRadius property (#771) (Justin Shephard)
- [MDCInkView] cancelAllAnimationsAnimated should support disabling animation (#786) (Junius Gunaratne)
ProgressView
Changes
- [MDCProgressView] Execute completion block when setHidden:animated:completion is called sequentially (#787) (Junius Gunaratne)
Snackbar
Changes
- Improve snackbar and dialogs docs (#785) (Sam Morrison)
Release 16.0.0
16.0.0
API diffs
InkTouchController
- [deleted]
MDCInkTouchController.inkView
Component changes
AppBar
Changes
- Let the content view controller decide orientation (Louis Romero)
Dialogs
Changes
- Documentation Updates (Ian Gordon)
Ink
Changes
- Remove deprecated inkView property (Junius Gunaratne)
- define UIGestureRecognizerStateRecognized (#751) (Junius Gunaratne)
ShadowElevations
Changes
- Documentation Updates (Ian Gordon)
ShadowLayer
Changes
- Documentation Updates (Ian Gordon)
Switch
Changes
- Update colours of MDCSwitch when changing tint color. (#758) (Sylvain Defresne)
- [MDCSwitch] Update objective-c example to match swift (#777) (Chuck Hays)
Release 15.2.0
API diffs
Palettes
- [new]
MDCPalette.paletteGeneratedFromColor
(Adrian Secord)
Component changes
FlexibleHeader
Changes
- MDC_#121 - Added write-up for re-applying swipe to go back feature on MDCFlexibleHeaderController with hidden navigation bar in README.md (Justin Shephard)
Ink
Changes
- Added emphasis to reference count warning. (Will Larche)
- Handling lack of strong reference to ink touch controller in both examples and instructions. (Will Larche)
NavigationBar
Changes
Palettes
Changes
- Added missing example initializer. (Adrian Secord)
- Generate palettes to match a target color (#729) (Adrian Secord)
Release 15.1.0
API diffs
Auto-generated by running:
scripts/api_diff -o 203562553800ed3d3b5eebfd1dd76cda875d833c -n f8e2c8b5e87d0414f6b08f691949ecebfaca41b8
Ink
- [moved]
MDCInkGestureRecognizer
.
From private/MDCInkGestureRecognizer.h to MDCInkGestureRecognizer.h.
NavigationBar
- [new]
MDCNavigationBar.titleAlignment
- [new]
MDCNavigationBarTitleAlignmentCenter
- [new]
MDCNavigationBarTitleAlignmentLeading
- [new]
MDCNavigationBarTitleAlignment
- [deprecated]
MDCNavigationBar.textAlignment
.
Use titleAlignment instead.
Component changes
ButtonBar
Changes
- Better disabled look (#704) (Louis Romero)
CollectionCells
Changes
- MDC_#803 - Fixed multi touch handling in MDCCollectionViews (Justin Shephard)
Collections
Changes
- MDC_#803 - Fixed multi touch handling in MDCCollectionViews (Justin Shephard)
- Showcase a collectionView footer that does not have card style background in a card style collectionView. (#709) (Ed Chin)
Ink
Changes
- Make MDCInkGestureRecognizer public (Junius Gunaratne)
NavigationBar
Breaking changes
15.0.0
API diffs
Auto-generated by running:
scripts/api_diff -o 1926458f491c928adfb573a6eda38b6d5b5bc55e -n c39811a2344114302327b6fa64d86346bacbea9a
Dialogs
- [new]
MDCDialogPresentationController.dismissOnBackgroundTap
- [new]
UIViewController (MaterialDialogs)
- [new]
UIViewController.mdc_dialogPresentationController
Ink
NavigationBar
Switch
- [protocols changed]
MDCSwitch
.
Removed NSCoding.
Added NSSecureCoding.
Component changes
Collections
Changes
- - Added autoscroll functionality to MDCCollectionViewEditor class (Justin Shephard)
Dialogs
Changes
- Add disable background dismiss property (Ian Gordon)
- [Catalog] Restore Xcode 7 compatibility (Ian Gordon)
Ink
Changes
- Expose ink gesture recognizer in MDCInkTouchController, prevent inkLayer color from being set to nil (Junius Gunaratne)
NavigationBar
Changes
Slider
Changes
- Change MDCSlider and MDCSwitch to use NSSecureCoding (Sam Morrison)
- MDC_#767 - Removed bad import and changed public delegate declaration of MDCThumbTrackDelegate to private. (Justin Shephard)
Snackbar
Changes
- Fix incorrect type annotation found by clang static analyzer. (#700) (Sylvain Defresne)
Switch
Changes
- Change MDCSlider and MDCSwitch to use NSSecureCoding (Sam Morrison)
- Fixed Xcode 7 analyzer warnings about leaking CGPaths in MDCSwitch. (Adrian Secord)
- [MDCSwitch] Only dispatch control events for user generated changes (Sam Morrison)