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.
```
Many of our Swift examples are either missing imports or are importing all of
MaterialComponents. Both of these will cause failures during internal builds.
TextFields were not always correctly posting notifications when attributed
text was set programmatically. This can cause the placeholder to remain in its
"empty" position and overlap the text.
Also added some examples to demonstrate the behavior and fixed a typo.
* [TextFields] Beginning to update the docs to show the new controller styles.
* [TextFields] Correcting the name of a file.
* [TextFields] Adding content to controller styles doc.
* [TextFields] Images for the text field styles doc.
* [TextFields] Renaming styling doc.
* [TextFields] Moving doc images.
* [TextFields] Updating image ref paths.
* [TextFields] Text clarity in doc.
* [TextFields] Updated photo.
* [TextFields] Nits of grammar.
* [TextFields] Spelling correction.
* [TextFields] Beginning to update label fonts API.
* [TextFields] Default text input controller has font defaults.
* [TextFields] Correcting types.
* [TextFields] More implementation of custom fonts.
* [TextFields] Type correction.
* [TextFields] Adding unit tests for custom fonts.
* [TextFields] Implementing new API.
* [TextFields] New style's API. (#1812)
* [TextFields] New style's API.
* [TextFields] PR feedback.
* [TextFields] Subclassing header.
* [TextFields] Spelling correction.
* [TextFields] Minor correction to API.
* [TextFields] Naming correction.
* [TextFields] Comment update.
* [TextFields] API correction for style.
* [TextFields] Input changes for new styles. (#1814)
* [TextFields] Input changes for new styles.
* [TextFields] PR feedback.
* [TextFields] Removing typo.
* [TextFields] Input changes for new styles. (#1814)
* [TextFields] Input changes for new styles.
* [TextFields] PR feedback.
* [TextFields] Removing typo.
* [TextFields] New default input controller. (#1816)
* [TextField] New default input controller.
* [TextFields] Properties corrections.
* [TextFields] Removing extra logic.
* [TextFields] Code organization.
* [TextFields] Default controller corrections.
* [TextFields] Updating minor full width issues to match other controllers.
* [TextFields] Correcting typos.
* [TextFields] Renaming legacy tests and examples. (#1817)
* [TextFields] Renaming legacy tests and examples. (#1817)
* [TextFields] New text field box style. (#1818)
* [TextFields] New text field box style.
* [TextFields] Formatting issues.
* [TextFields] Updated and new examples for new styles. (#1822)
* [TextFields] Updating tests for new styles and functionality. (#1820)
* [TextFields] Updating tests for new styles and functionality. (#1820)
* [TextFields] New text area style. (#1819)
* [TextFields] New text area style.
* [TextFields] Adding assert for text area init.
* [TextField] Text area corrections.
* [TextFields] Formatting.
* [TextFields] Type safety.
* [TextFields] Legacy full width controller and example (#1855)
* [TextFields] Legacy full width example.
* [TextFields] Legacy full width.
* [TextFields] Adding legacy full width to text fields import file.
* [TextFields] Adding border view. (#1813)
* [TextFields] Adding border view.
* [TextFields] Making Xcode call out missing cases in the future.
* [TextFields] NSCopying style fix.
* [TextFields] Border view.
* [TextFields] Renaming old default to legacy default. (#1815)
* [TextFields] Renaming old default to legacy default.
* [TextFields] Correcting synthesizing of properties.
* [TextFields] Moving some code so it doesn't stick out.
* [TextFields] Correcting new that should be alloc init.
* [TextFields] Removing unneeded logic.
* [TextFields] Supporting old clear button.
* [TextFields] Rounding out main header with all new files (#1863)
* [TextFields] Forgotten imports.
* [TextFields] Correcting alphabetizing.
* [TextFields] Typo correction. (#1864)
* [TextFields] Clear button tint and tests. (#1861)
* [TextFields] Spelling correction. (#1870)
* [TextFields] Naming lost in rebase 'roundedCorners' (#1871)
* [TextFields] Rounded corners work.
* [TextFields] Updating rounded corners rename.
* [TextFields] Correcting naming typo. (#1872)
* [TextFields] Removing MDCTextInputControllerLegacyDefault from IB example. (#1869)
* [TextFields] Removing MDCTextInputControllerLegacyDefault from IB example. (#1869)
* [TextFields] Using class properties by dot syntax.
* [TextFields] Using class properties by dot syntax.
* [TextFields] Class properties access via dot syntax.
* [TextFields] Cleaning up properties.
* [TextFields] Updating legacy full width controller to support new properties.
* [TextFields] Re-adding a file with no history.
* [TextFields] Rebase.
* [TextFields] Art merge correction.
* [TextFields] Minor merge corrections.
* [TextFields] Corrections and additions to kitchen sink (#1899)
* [TextFields] Kitchen sync updates.
* [TextFields] Adding area to kitchen sink.
* [TextFields] Reversing addSubview and tamic off.
* [TextFields] Example updates due to text inset changes. (#1901)
* [TextFields] Adding text insets mode to kitchen sync example.
* [TextFields] Minor example corrections.
* [TextFields] Example updates.
* [TextFields] Adding area to kitchen sink.
* [TextFields] Correcting an example.
* [TextFields] Adding char max to area.
* [TextFields] Reversing addSubview and tamic off.
* [TextFields] Updating controllers for new text inset logic (#1902)
* [TextFields] Lining up some comments better.
* [TextField] Simplifying text inset math.
* [TextFields] Layout logic revamped in controllers.
* [TextFields] Box fix!
* [TextFields] PR feedback.
* [TextFields] Changing insets to react to new property (#1900)
* [TextFields] Creating MDCTextInputAlignmentRectMode.
* [TextFields] Correcting MDCTextInputAlignmentRectMode API.
* [TextFields] AlignmentRectMode implementation.
* [TextFields] Tests for alignment rect.
* [TextFields] MDCTextInputFundamentTextInsetsMode replacing alignment rect mode.
* [TextFields] Text insets mode boiler plate.
* [TextFields] Adding text insets mode to kitchen sync example.
* Revert "[TextFields] Adding text insets mode to kitchen sync example."
This reverts commit 2d4a3ea302d36fc2f79998456e0fcf009ba020d1.
* [TextFields] Moving text insets logic into fundament and updating it to use the new modes.
* [TextFields] Basic text insets affected by text insets mode.
* [TextFields] Improving the line height estimation. (#1905)
* [TextFields] Box style clear button Y fix (#1906)
* [TextFields] Moving clear button const.
* [TextFields] Box clear button polish.
* [TextFields] Autolayout clarity.
* [TextFields] Formatting. (#1907)
* [TextFields] Fixing copyright stanzas.
* [TextFields] One more copyright stanza correction.
* [TextFields] PR feedback.
* [TextFields] New controller api for leading and trailing colors.
* [TextFields] Added comments on clear coloring in full width.
* [TextFields] Text input controller defaults to dot syntax for class properties.
* [TextFields] Multiline text fields element (#1737)
* [TextFields] Multiline text field element.
* [TextFields] Formatting,
* [TextFields] Adding missing change for multiline protocol.
* [TextFields] Multiline added to main header. (#1740)
* [TextFields] Multiline tests. (#1741)
* [TextFields] Controllers. (#1742)
* [TextFields] Controllers.
* [TextFields] Multiline clear button correction.
* [TextFields] Alphabetizing.
* [TextFields] Multiline examples. (#1743)
* [Scripts] Only lint catalog, components, and demos (#1744)
The lint_all script should stick to the MDC-iOS code and not the docs,
scripts, etc. that are included in the repository. Specifically, we are
only linting the Components, Catalog, and Demos that we ship.
Closes#1578
* [Collections] Making Disclosure indicator tinted (#1745)
Collection cell accessory views set to "Disclosure Indicator" will now
use template mode and will utilize the tinting of the cell/collection
view.
Closes#1575
* [NavigationBar] Improve centering when barButtonItems are asymmetric (#1721)
* [NavigationBar] Improve centering when barButtonItems are asymmetric
Adjusting the NavigationBar layout computation to determine if there is
sufficient space in the center of the navigation bar before adjusting
the Title frame. Adding NavBar example for varying item sizes.
Closes#1662
* Adding a few comments to describe how we're centering
* [Math] Align frames to pixel boundaries (#1730)
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
* [TextFields] Multiline examples.
* [TextFields] Minor corrections to multiline examples.
* [TextFields] Multiline full width example scrolls when keyboard comes up.
* [TextFields] Removing extra file.
* [TextField] Formatting.
* [TextField] Formatting.
* [TextFields] Formatting. (#1748)
* [TextField] Correcting copyright.
* [TextField] Corrections to fix warnings and errors in multiline example.
* [Text fields] Trailing view support (#1747)
* [TextFields] Trailing view work.
* [TextFields] Multiline trailing view layout.
* [TextFields] Formatting.
* [TextFields] Spelling correction.
* [TextFields] Comment.
* [TextFields] Simplifying height calculations
* [TextFields] Correcting logic of text insets in element.
* [TextFields] Updating tests for corrected height calculations
* [TextFields] Improving look of disabled text field height.
* [TextFields] Simplifying logic for height of all text fields and styles.
* [TextFields] Linting
* [Catalog] Swift style.
* [Catalog] Swift style.
* [Buttons] Swift style.
* [FlexibleHeader] Swift style.
* [NavBar] Swift style.
* [Snackbar] Swift style.
* [Tabs] Swift style.
* [TextFields] Cleaning up logging in example.
* [TextFields] Implementation of inlinePlaceholderColor and floatingPlaceholderColor.
* [TextFields] Correcting test
* [TextFields] Correcting error color implementation.
* [TextFields] Making example prettier.
* [TextFields] Formatting.