Last active
August 3, 2017 08:26
-
-
Save clmntcrl/8e4cab3ed7d1e7da47e7 to your computer and use it in GitHub Desktop.
ShapedButton is a UIButton subclass optimized for non-rectangular button shapes written in Swift. ShapedButton respond to touches only in areas where the flattened button image (background image + image + title label) for state .Normal is non-transparent. This implementation is based on OBShapedButton by Ole Begemann (https://github.com/ole/OBSh…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All, Here is it in Swift 3 .
https://gist.github.com/rizvvan/d6def79882bda9f916463b2feaeaf64a