Created
January 3, 2019 21:52
-
-
Save yarneo/753dada40a4679c5db6af9ce425e6241 to your computer and use it in GitHub Desktop.
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
MDCButton *button = [[MDCButton alloc] init]; | |
MDCRectangleShapeGenerator *rectShape = [[MDCRectangleShapeGenerator alloc] init]; | |
[rectShape setCorners:[MDCCutCornerTreatment alloc] initWithCut:4]]]; | |
button.shapeGenerator = rectShape; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment