File tree Expand file tree Collapse file tree 4 files changed +9
-15
lines changed Expand file tree Collapse file tree 4 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "InteractiveSideMenu"
3- s . version = "2.2"
3+ s . version = "2.2.1 "
44 s . summary = "Interactive Side Menu in Swift"
55 s . homepage = "https://github.com/handsomecode/InteractiveSideMenu"
66 s . license = "Apache 2.0 license"
Original file line number Diff line number Diff line change 88 <img src="https://img.shields.io/badge/swift-3.0-orange.svg?style=flat.svg" alt="Swift version: 3.0">
99 </a>
1010 <a href="https://cocoapods.org/pods/InteractiveSideMenu">
11- <img src="https://img.shields.io/badge/CocoaPods-2.1-green.svg" alt="CocoaPods: 2.1">
11+ <img src="https://img.shields.io/badge/CocoaPods-2.2. 1-green.svg" alt="CocoaPods: 2.1">
1212 </a>
1313 <a href="https://github.com/Carthage/Carthage">
1414 <img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible">
Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >FMWK </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >1.0 </string >
18+ <string >2.2.1 </string >
1919 <key >CFBundleVersion </key >
2020 <string >$(CURRENT_PROJECT_VERSION) </string >
2121 <key >NSPrincipalClass </key >
Original file line number Diff line number Diff line change @@ -13,21 +13,15 @@ import Foundation
1313*/
1414public struct SideMenuItemShadow {
1515
16- struct Defaults {
17- static var defaultColor : UIColor = UIColor . black
18- static var defaultOpacity : CGFloat = 0.3
19- static var defaultSize : CGSize = CGSize ( width: - 5 , height: 5 )
20- }
21-
22- public var color : UIColor ? = Defaults . defaultColor
23- public var opacity : CGFloat = Defaults . defaultOpacity
24- public var offset : CGSize = Defaults . defaultSize
16+ public var color : UIColor ? = UIColor . black
17+ public var opacity : CGFloat = 0.3
18+ public var offset : CGSize = CGSize ( width: - 5 , height: 5 )
2519
2620 public init ( ) { }
2721
28- public init ( color: UIColor ? = Defaults . defaultColor ,
29- opacity: CGFloat = Defaults . defaultOpacity ,
30- offset: CGSize = Defaults . defaultSize ) {
22+ public init ( color: UIColor ? = UIColor . black ,
23+ opacity: CGFloat = 0.3 ,
24+ offset: CGSize = CGSize ( width : - 5 , height : 5 ) ) {
3125 self . color = color
3226 self . opacity = opacity
3327 self . offset = offset
You can’t perform that action at this time.
0 commit comments