Removes the need to copy-paste stanzas from other files anymore as we'll rely on #4478 to generate the correct stanza for us instead.
This was an automated change generated by running a find-and-replace regular expression:
```
/\*
Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
Licensed under the Apache License, Version 2\.0 \(the "License"\);
you may not use this file except in compliance with the License\.
You may obtain a copy of the License at
http://www\.apache\.org/licenses/LICENSE-2\.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
See the License for the specific language governing permissions and
limitations under the License\.
\*/
```
```
/\*
Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
Licensed under the Apache License, Version 2\.0 \(the "License"\);
you may not use this file except in compliance with the License\.
You may obtain a copy of the License at
http://www\.apache\.org/licenses/LICENSE-2\.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
See the License for the specific language governing permissions and
limitations under the License\.
\*/
```
```
/\*
Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
Licensed under the Apache License, Version 2\.0 \(the "License"\);
you may not use this file except in compliance with the License\.
You may obtain a copy of the License at
http://www\.apache\.org/licenses/LICENSE-2\.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
See the License for the specific language governing permissions and
limitations under the License\.
\*/
```
```
// Copyright $1-present the Material Components for iOS authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
```
* separating action and feature button.
* separate button to show the feature highlight.
* colors should not be catalog presentable.
* revert.
* removing redundant theming.
* custom view with no morphing.
* Replacing ColorThemer and FontThemer with SemanticColorThemer and TypographyThemer.
* Headline 6 is being used for FeatureHighlights not Headline2 (example update).
* Removed Feature Highlight Themer example since it's redundant, no scheme color changes in Feature Highlight Examples.
https://github.com/material-components/material-components-ios/pull/3489
Made colorScheme and typographyScheme properties in the class interfaces for all our examples.
Moved theming away from example inits and into viewDidLoad
Small update for slider example to allow it to grab the theming properly.
Related Pivotal: https://www.pivotaltracker.com/story/show/156616695
All examples now have at least the required `+catalogBreadcrumbs` and `+catalogIsPrimaryDemo`. All examples in the same breadcrumbs path have only one primary demo. There should be only one `-catalogDescription` attached to the primary demo.
Closes#1897
Adding a new function to realign a CGRect (frame) to pixel boundaries
based on the screen scale. After a review of the catalog, I'm updating
the areas where I found misaligned frames.
Closes#1723
* Replacing methods with class properties.
* Updating docs to reflect new Swift call style.
* Updating examples.
* Updating ObjC examples to use dot syntax
* reorganize the color themer classes so that they are separate targets for each mutator.
* moved source files out of MaterialThemes.
* moved theme examples into their main component locations out of themer’s.
* renamed core subspec to 'Component'
* Replace MDC all icons
* Update border
* Replace MDCActionExtension icon with new logo
* Update all headers to be white on black
* Make Catalog greyscale to match Material’s style.
* Fix collection tile
* Update all headers to be white on black
* Make Catalog greyscale to match Material’s style.
* Fix collection tile
* WIP: Updating TabBar example to use black/green theme.
* WIP: Monochoroming all examples.
* Switch MDC Catalog to a black and white theme (#1355)
* Replace MDC all icons
* Update border
* Replace MDCActionExtension icon with new logo
* Update all headers to be white on black
* Make Catalog greyscale to match Material’s style.
* Fix collection tile
* Update all headers to be white on black
* Make Catalog greyscale to match Material’s style.
* Fix collection tile
* Fix floats
* Make Catalog greyscale to match Material’s style.
* More black and whiting
* WIP: Snackbar and global style
* Simplify snack bar examples.
* Page control
* API Review for Feature Highlight component
Summary:
This is the proposed API for the Feature Highlight component.
For more info see the following links:
Design spec: https://material.googleplex.com/growth-communications/feature-discovery.html#feature-discovery-design
Tracking bug: b/30695049
Example usage
```
MDCFeatureHighlightViewController *vc = [[MDCFeatureHighlightViewController alloc] init];
vc.delegate = self;
vc.hintTitleText = @"...";
vc.hintBodyText = @"...";
[vc highlightView:_button];
[self presentViewController:vc animated:animated completion:completion];
```
In the delegate:
```
- (void)featureHighlightWasAccepted:(MDCFeatureHighlightViewController *)highlight {
// do accepted things here
[self dismissViewControllerAnimated:YES completion:nil];
}
- (void)featureHighlightWasIgnored:(MDCFeatureHighlightViewController *)highlight {
// do ignored things here
[self dismissViewControllerAnimated:YES completion:nil];
}
```
Reviewers: ajsecord, featherless, iangordon, O1 Material components iOS, randallli
Reviewed By: ajsecord, featherless, iangordon
Subscribers: randallli, iangordon, featherless, ajsecord
Tags: #material_components_ios
Differential Revision: http://codereview.cc/D1465
* Add MDCFeatureHighlightViewController
* Add Feature Highlight typical use
* Get Feature Highlight buildable
* Copy functionality over from prototype
* Accept/Reject highlight with animation
* Rotation
* Tap anywhere in the feature highlight typical use case demo to move the button
* Align highlight center and highlight point
* Layout text correctly
* Use sample text
* Use animated transitioning delegate for presentation and dismissal animations
* Clean up presentation + dismissal animation code
* Move intructional text behind button
* Limit width of text in feature highlight
* Layout text relative to center when noncentered
* Fix rotation
* First pass at feature highlight color example
* Properly map the inner and outer colors to the view
* Use correct license header
* Automatically choose text color based on outer highlight color
* Clean up color usage
* wrap long lines
* Clean up title positioning
* Clean up radius calculation
* Constize values
* Add feature highlight nav bar example
* Move examples up a directory
* Remove nav bar example
* Improve outer highlight color docs and implementation
* Add TODO: Mask the labels during the presentation and dismissal animations.
* Clean up feature highlight view
* Clean up feature highlight examples
* Layout feature highlight labels with support for RTL
* Code review improvements
* Clean up feature highlight samples
* Feature Highlight readme
* Update Podfile.lock for Feature Highlight
* Feature highlight readme improvements