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 1
1
Pod ::Spec . new do |s |
2
2
s . name = "InteractiveSideMenu"
3
- s . version = "2.2"
3
+ s . version = "2.2.1 "
4
4
s . summary = "Interactive Side Menu in Swift"
5
5
s . homepage = "https://github.com/handsomecode/InteractiveSideMenu"
6
6
s . license = "Apache 2.0 license"
Original file line number Diff line number Diff line change 8
8
<img src="https://img.shields.io/badge/swift-3.0-orange.svg?style=flat.svg" alt="Swift version: 3.0">
9
9
</a>
10
10
<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">
12
12
</a>
13
13
<a href="https://github.com/Carthage/Carthage">
14
14
<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 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >1.0 </string >
18
+ <string >2.2.1 </string >
19
19
<key >CFBundleVersion </key >
20
20
<string >$(CURRENT_PROJECT_VERSION) </string >
21
21
<key >NSPrincipalClass </key >
Original file line number Diff line number Diff line change @@ -13,21 +13,15 @@ import Foundation
13
13
*/
14
14
public struct SideMenuItemShadow {
15
15
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 )
25
19
26
20
public init ( ) { }
27
21
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 ) ) {
31
25
self . color = color
32
26
self . opacity = opacity
33
27
self . offset = offset
You can’t perform that action at this time.
0 commit comments