-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ink] Retrofit new ink layer with updated animation into existing ink…
… API (#2488) * Add updated ink flag * Add completion block delegate methods * Rename existing ink to legacy ink * Update example with legacy ink as second ink view * Update comment formatting * Update formatting * Update ink unit tests * Update ink unit tests * Import UIKit for UIColor support * Add dependency to Material Math * Add Material Math dependency * Use CABasicAnimations where possible * Add support for maxRippleRadius * Minor refactoring for timing functions * Remove unused mark * Add ink description to comments * Minor formatting fix * Nullability updates and clarification comments * Remove email in comments. * Add nullability * Add nullability * Use year when file was created * Add float * Update constant names * Update formatting * Update year for legal reasons * Clarify comment about use of usesCustomInkCenter * Update cancelAllAnimationsAnimated to stop all active ink ripples * Remove use of ink layers array and access sublayers directly * Check layer class in cancelAllAnimationsAnimated * Use bounds rather than frame in layoutSubviews * Setting radii in setNeedsLayout
- Loading branch information
Junius Gunaratne
committed
Nov 28, 2017
1 parent
0496c22
commit a27d494
Showing
13 changed files
with
1,097 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.