* Extracting Accessibility out of FeatureHighlightViewController to a mutator.
Tests added.
Example updated.
* Added the new folder to pod setting.
* Splitting Title and Body Mutators, added tests for case of nil color.
* extra lf.
* Options is now a variable that can be given to the mutator.
* Fixing unit test issues, Updating all examples.
* Fixing Build file.
* Fixing build file.
* build file fix
* extra pace in the build file
* Revert "extra pace in the build file"
This reverts commit 18195fc893da2bcef7f8ef21f20b9f016b6c6011.
* extra space.
* cleaning up based on PR feedback.
* call super on setup and teardown.
* has to include to folder.
* build file indentation and variable name fixes.
* added color test.
* Document the test
* Made single method for accessibility.
* removing option input from public API.
* improving tests and documentation.
* putting this change in a separate PR.
* [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.
Discussed merge with Ian offline. Issues with Travis CI may be resolved once the PR is merged.
* Add color to tiles.
* Add theming to catalog
* Update text field tile.
* Implementation method signatures should match those in header.
* Update MDCDrawFunc typedef
* Pass color scheme through NSNotification
* Add component theming
* Add tabbar themer
* Update tab example to use UIAppearance
* Theme sliders based on UIAppearance proxy
* Allow any class conforming to MDCColorScheme
* Override navigation bar color theme for imagery example.
* Update AppBar and ButtonBar color theming
* Update button bar themer comment
* Update button theming
* Remove theme imports where not necessary.
* Fix case of private
* Update feature highlight
* Move feature highlight view implementation details into private.
* Move feature highlight view implementation into private
* Move feature highlight properties into private. Fix space formatting.
* Fix formatting
* Clean up comments, formatting.
* Change property order
* Use year of when file was first created.
* Add feature highlight view to umbrella header
* Make MDCFeatureHighlightView public and update color setters for use with UIAppearance
* Change featureHighlightView to nonnull, fix formatting
* Update comment
* 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