Material Components v93.1.0 Release Notes

Release Date: 2019-10-25 // over 4 years ago
  • ๐Ÿš‘ This minor hotfix release deprecates the buttonFont API of MDCAlertController.

    ๐Ÿ†• New deprecations

    ๐Ÿ—„ The buttonFont API on MDCAlertController is being deprecated and will soon ๐Ÿšš be removed. Clients should instead use buttonForAction: to access and theme each button as desired.

    Objective-C

    for (MDCAlertAction *action in self.actions) {
      MDCButton *button = [self buttonForAction:action];
      // Perform button customization
    }
    

    API changes

    ๐Ÿ”Š Dialogs

    MDCAlertController

    modified property: buttonFont in MDCAlertController

    ๐Ÿ—„ | Type of change: | Deprecation message | |---|---| | From: | `| | To: |Please use buttonForAction: to set button properties.` |

    modified property: buttonFont in MDCAlertController

    ๐Ÿ—„ | Type of change: | Deprecation | |---|---| | From: | 0 | | To: | 1 |

    ๐Ÿ”„ Changes

    ๐Ÿ”Š Dialogs