Skip to content

Commit

Permalink
手势调整
Browse files Browse the repository at this point in the history
  • Loading branch information
ChavezChen committed Feb 7, 2018
1 parent e23108c commit 2cc6eb1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions CWLateralSlide.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "CWLateralSlide"
s.version = "1.5.6"
s.version = "1.5.7"
s.summary = "侧滑框架."

s.description = "一行代码集成侧滑功能."
Expand Down Expand Up @@ -74,7 +74,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/ChavezChen/CWLateralSlide.git", :tag => "1.5.6" }
s.source = { :git => "https://github.com/ChavezChen/CWLateralSlide.git", :tag => "1.5.7" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down
7 changes: 4 additions & 3 deletions CWLateralSlide/CWInteractiveTransition.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,13 @@ - (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
}

#pragma mark - UIGestureRecognizerDelegate
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {

if ([otherGestureRecognizer.view isKindOfClass:[UIScrollView class]]) {
return NO;
if ([otherGestureRecognizer.view isKindOfClass:[UITableView class]]) {
return YES;
}
return YES;
return NO;
}


Expand Down
6 changes: 3 additions & 3 deletions CWLateralSlide/UIViewController+CWLateralSlide.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

@interface UIViewController (CWLateralSlide)

/*-----------------------------------v1.5.6-----------------------------------------*/
/*-----------------------------------v1.5.6-----------------------------------------*/
/*-----------------------------------v1.5.6-----------------------------------------*/
/*-----------------------------------v1.5.7-----------------------------------------*/
/*-----------------------------------v1.5.7-----------------------------------------*/
/*-----------------------------------v1.5.7-----------------------------------------*/

/**
显示默认抽屉
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion CWLateralSlideDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.6</string>
<string>1.5.7</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down

0 comments on commit 2cc6eb1

Please sign in to comment.