Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Since the pod class is a class category, the property setters are not…
Browse files Browse the repository at this point in the history
… automatically generated. Instead of creating an unecessary setter for a readonly property, the property cellIsBeingSwiped has been converted to a method.
  • Loading branch information
aluong-yammer committed Dec 16, 2015
1 parent f3534d7 commit 83716d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions YMSwipeTableViewCell/PodFiles/UITableViewCell+Swipe.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,12 @@ typedef void (^YMTableCellDidChangeModeBlock)(UITableViewCell *cell, YATableSwip
/** Enable or disable swiping, defaults to YES **/
@property (nonatomic, assign) BOOL swipingEnabled;

/** Returns YES if the pan gesture recognizer detects a swipe occurring. */
@property (nonatomic, readonly) BOOL cellIsBeingSwiped;
/**
*
* @return BOOL to specify if a swipe is occurring
*
*/
- (BOOL) cellIsBeingSwiped;

/**
* Adds the view exposed during a right to left swipe.
Expand Down

0 comments on commit 83716d0

Please sign in to comment.