2 Commits

Author SHA1 Message Date
Robert Moore
8eb7296dab
[Catalog] Fix container scheme properties. (#9192)
Making remaining examples use protocol for container schemes to match the
project's expected convention.

Found while reviewing #9188
2019-12-09 10:48:25 -05:00
featherless
63bb1a8c9f
[ProgressView] Add cornerRadius API. (#7417)
This new API enables clients to customize the corner radius of the filled portion of the progress view. Clients have requested this functionality via https://github.com/material-components/material-components-ios/issues/5429.

Example usage to create a "rounded progress pill" effect:

```objc
progressView.cornerRadius = CGRectGetHeight(progressView.bounds) / 2;
```

This feature request was requested by client team in service to their brand requirements.

This PR adds an example that demonstrates the new behavior. See the associated snapshot tests for a complete suite of screenshots of the new behavior.

## Screenshots

![Simulator Screen Shot - iPhone 7 - 2019-05-20 at 09 13 17](https://user-images.githubusercontent.com/45670/58024150-89d14600-7adf-11e9-9c94-6eb023c7f48e.png)

Closes https://github.com/material-components/material-components-ios/issues/5429
2019-09-16 09:58:13 -04:00