Skip to content

Commit 5be9ba4

Browse files
committed
Merge branch 'release/1.2.2'
2 parents e8949f8 + 92a0c48 commit 5be9ba4

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

ScrollStackController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ScrollStackController"
3-
s.version = "1.2.1"
3+
s.version = "1.2.2"
44
s.summary = "Create complex scrollable layout using UIViewController and simplify your code"
55
s.homepage = "https://github.com/malcommac/ScrollStackController"
66
s.license = { :type => "MIT", :file => "LICENSE" }

ScrollStackController.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@
623623
INFOPLIST_FILE = ScrollStackControllerDemo/Info.plist;
624624
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
625625
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
626-
MARKETING_VERSION = 1.2.1;
626+
MARKETING_VERSION = 1.2.2;
627627
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
628628
MTL_FAST_MATH = YES;
629629
PRODUCT_BUNDLE_IDENTIFIER = com.danielemargutti.ScrollStackControllerDemo;
@@ -651,7 +651,7 @@
651651
INFOPLIST_FILE = ScrollStackControllerDemo/Info.plist;
652652
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
653653
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
654-
MARKETING_VERSION = 1.2.1;
654+
MARKETING_VERSION = 1.2.2;
655655
MTL_FAST_MATH = YES;
656656
PRODUCT_BUNDLE_IDENTIFIER = com.danielemargutti.ScrollStackControllerDemo;
657657
PRODUCT_NAME = "$(TARGET_NAME)";

Sources/ScrollStackController/ScrollStack.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,9 @@ open class ScrollStack: UIScrollView, UIScrollViewDelegate {
717717
return
718718
}
719719

720+
// remove row
721+
row.removeFromSuperview()
722+
720723
// When removing a cell the cell above is the only cell whose separator visibility
721724
// will be affected, so we need to update its visibility.
722725
self.updateRowSeparatorVisibility(previousRow)

0 commit comments

Comments
 (0)