To run the example project, clone the repo, and run pod install
from the Example directory first.
Just set your UIView's class to GGShadowedView
on an interface builder file.
You can update these properties from interface builder as designables:
- Corner radius
- Background color
- Is tappable
- Shadow color
🤙 Don't forget to try "tappable" option. It has a nice depth effect while tapping the view like a button.
GGShadowedView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GGShadowedView'
👋 Please, don't hesitate for reaching me out. I wrote this library for my own needs in a very short time. So, it would be great to get feedback from you!
Gokhan Gultekin, https://twitter.com/GultekinGokhan
GGShadowedView is available under the MIT license. See the LICENSE file for more info.