Skip to content

Commit

Permalink
Delete Animations extension
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 654934617
  • Loading branch information
Janette James authored and material-automation committed Jul 22, 2024
1 parent 86241a2 commit 2b5aeb9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 493 deletions.
14 changes: 0 additions & 14 deletions components/Shadow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ MDCConfigureShadowForView should be called in the start of the view’s lifecycl
MDCConfigureShadowForView should also be called when the elevation is changed for the view i.e. it is set by the client, or there is a state change that also changes the elevation. This is to ensure that the right shadow values for that elevation are set on the layer.
Lastly, MDCConfigureShadowForView should be called in layoutSubviews, to ensure that the shadowPath is set using the most up to date bounds and cornerRadius of the view.

UIView+ShadowAnimations is provided as an extension for animations that changes a view's bounds or layer.cornerRadius. Choose from the provided methods based on your use case. See below for import instructions.

### Importing Shadow

Before using Shadow, you'll need to import it:
Expand Down Expand Up @@ -76,15 +74,3 @@ shadowsCollection = [shadowsBuilder build];
self.shadowColor);
}
```
### Importing Shadow/Animations
#### Swift
```swift
import MaterialComponents.Shadow_Animations
```

#### Objective-C
```objc
#import "UIView+MDCShadowAnimations.h"
```
192 changes: 0 additions & 192 deletions components/Shadow/examples/ShadowAnimationBugExample.swift

This file was deleted.

115 changes: 0 additions & 115 deletions components/Shadow/src/Animations/UIView+MDCShadowAnimations.h

This file was deleted.

Loading

0 comments on commit 2b5aeb9

Please sign in to comment.