Skip to content

Commit 82eac60

Browse files
author
yysskk
committed
Update version
1 parent 2e46b67 commit 82eac60

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)
1010
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
1111
)](http://mit-license.org)
12-
![pod](https://img.shields.io/badge/pod-v2.0.4-red.svg)
12+
![pod](https://img.shields.io/badge/pod-v2.0.5-red.svg)
1313

1414
## Overview
1515
SwipeMenuViewController provides `SwipeMenuView` and `SwipeMenuViewController`.
@@ -311,6 +311,9 @@ public var margin: CGFloat
311311
// TabView background color. Defaults to `.clear`.
312312
public var backgroundColor: UIColor
313313

314+
// TabView clipsToBounds. Defaults to `true`.
315+
public var clipsToBounds: Bool = true
316+
314317
// TabView style. Defaults to `.flexible`. Style type has [`.flexible` , `.segmented`].
315318
public var style: Style
316319

@@ -339,6 +342,9 @@ public var margin: CGFloat
339342
// ItemView font. Defaults to `14 pt as bold SystemFont`.
340343
public var font: UIFont
341344

345+
// ItemView clipsToBounds. Defaults to `true`.
346+
public var clipsToBounds: Bool = true
347+
342348
// ItemView textColor. Defaults to `.lightGray`.
343349
public var textColor: UIColor
344350

@@ -368,6 +374,9 @@ public var animationDuration: CGFloat
368374
// ContentScrollView backgroundColor. Defaults to `.clear`.
369375
public var backgroundColor: UIColor
370376

377+
// ContentScrollView clipsToBounds. Defaults to `true`.
378+
public var clipsToBounds: Bool = true
379+
371380
// ContentScrollView scroll enabled. Defaults to `true`.
372381
public var isScrollEnabled: Bool
373382

Sources/Supporting files/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.4</string>
18+
<string>2.0.5</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

SwipeMenuViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "SwipeMenuViewController"
19-
s.version = "2.0.4"
19+
s.version = "2.0.5"
2020
s.summary = "Swipable tab and menu UI framework"
2121

2222
# This description is used to generate tags and improve search results.

0 commit comments

Comments
 (0)