SNShadow
Creating a UIView with shadows , cornered radius and 3D effect is a lot more challenging than one may think. Using this helper class you can simply create a view with corner radius, shadows with 3D in no time at all.
SNShadowView file contains the custom helper class. Whenever you want to create a UIView of this kind just make a instance of Class Name class and use the custom initialiser to pass the preferred values for shadowRadius, view's cornerRadius, shadowOffset, shadowOpacity & shadowColor.
Requirements
- iOS 11.0+
- Xcode 10.2+
- Swift 5+
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate SNShadowSDK into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'SNShadowSDK'