Skip to content

Commit

Permalink
bug fixes #45
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxnlai committed May 23, 2015
1 parent 1676044 commit e5b3eae
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 159 deletions.
11 changes: 4 additions & 7 deletions ZLSwipeableView/ZLSwipeableView.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ typedef NS_ENUM(NSUInteger, ZLSwipeableViewDirection) {
ZLSwipeableViewDirectionLeft = (1 << 0),
ZLSwipeableViewDirectionRight = (1 << 1),
ZLSwipeableViewDirectionHorizontal = ZLSwipeableViewDirectionLeft |
ZLSwipeableViewDirectionRight,
ZLSwipeableViewDirectionRight,
ZLSwipeableViewDirectionUp = (1 << 2),
ZLSwipeableViewDirectionDown = (1 << 3),
ZLSwipeableViewDirectionVertical = ZLSwipeableViewDirectionUp |
ZLSwipeableViewDirectionDown,
ZLSwipeableViewDirectionAll = ZLSwipeableViewDirectionLeft |
ZLSwipeableViewDirectionRight | ZLSwipeableViewDirectionUp | ZLSwipeableViewDirectionDown,
ZLSwipeableViewDirectionDown,
ZLSwipeableViewDirectionAll = ZLSwipeableViewDirectionHorizontal |
ZLSwipeableViewDirectionVertical,
};

@class ZLSwipeableView;
Expand Down Expand Up @@ -59,10 +59,7 @@ typedef NS_ENUM(NSUInteger, ZLSwipeableViewDirection) {

@interface ZLSwipeableView : UIView

///
@property (nonatomic, weak) IBOutlet id<ZLSwipeableViewDataSource> dataSource;

///
@property (nonatomic, weak) IBOutlet id<ZLSwipeableViewDelegate> delegate;

/// Enable this to rotate the views behind the top view. Default to `YES`.
Expand Down
Loading

0 comments on commit e5b3eae

Please sign in to comment.