Skip to content
Browse files

swapped interface for @properties

  • Loading branch information...
1 parent 167a198 commit ae35d02dfeecfd8f97fb40ddbb100326689ec1a6 Oli Kingshott committed Aug 7, 2012
Showing with 2 additions and 11 deletions.
  1. +1 −6 SlidingTableCell/LRSlidingTableViewCell.h
  2. +1 −5 SlidingTableCell/LRSlidingTableViewCell.m
View
7 SlidingTableCell/LRSlidingTableViewCell.h
@@ -26,15 +26,10 @@ typedef enum {
@end
@interface LRSlidingTableViewCell : UITableViewCell
-{
- __unsafe_unretained id<LRSlidingTableViewCellDelegate> _delegate;
- BOOL _backgroundViewVisible;
- LRSlidingTableViewCellSwipeDirection _swipeDirection;
- UISwipeGestureRecognizerDirection _lastRecognizedDirection;
-}
@property (nonatomic) LRSlidingTableViewCellSwipeDirection swipeDirection;
@property (nonatomic, weak) id<LRSlidingTableViewCellDelegate> delegate;
+@property (nonatomic, getter = isBackgroundViewVisible) BOOL backgroundViewVisible;
/** A Boolean indicator of whether the background view is visible. */
- (BOOL)isBackgroundViewVisible;
View
6 SlidingTableCell/LRSlidingTableViewCell.m
@@ -21,11 +21,7 @@ @implementation LRSlidingTableViewCell
@synthesize delegate = _delegate;
@synthesize swipeDirection = _swipeDirection;
@synthesize lastRecognizedDirection = _lastRecognizedDirection;
-
-- (BOOL)isBackgroundViewVisible
-{
- return _backgroundViewVisible;
-}
+@synthesize backgroundViewVisible = _backgroundViewVisible;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{

0 comments on commit ae35d02

Please sign in to comment.
Something went wrong with that request. Please try again.