Files
Woka_Native_iOS/WOKA/Helpers/Shadows/SwiftyInnerShadowView.swift
Bilal adb2e2684c - solved issue of fullscreen for player. now transforming the view
- updated api for shop procuts, with lazy loading and proper structure
- added loading indicator when user navigates to bottom indicator will be shown
- Made shop product details view.
- Added carousel with page indicator
- added shadows to the images
- added selection option for address
- made address table dynamic
- added pincode_serviceability_check_edd for checking the delivery date of the selected address.
2024-07-26 23:21:09 +05:30

49 lines
994 B
Swift

//
// SwiftyInnerShadowView.swift
// SwiftyShadowExample
//
// Created by luan on 7/11/17.
// Copyright © 2017 luantran. All rights reserved.
//
import UIKit
open class SwiftyInnerShadowView: UIView {
open var shadowLayer = SwiftyInnerShadowLayer()
override open var bounds: CGRect {
didSet {
shadowLayer.frame = bounds
}
}
override open var frame: CGRect {
didSet {
shadowLayer.frame = bounds
}
}
open var cornerRadius: CGFloat = 0 {
didSet {
layer.cornerRadius = cornerRadius
shadowLayer.cornerRadius = cornerRadius
}
}
override init(frame: CGRect) {
super.init(frame: frame)
initShadowLayer()
}
required public init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
initShadowLayer()
}
fileprivate func initShadowLayer() {
layer.addSublayer(shadowLayer)
}
}