Skip to content

Commit

Permalink
Merge pull request #46 from ethan-fang/cell-weak-reference
Browse files Browse the repository at this point in the history
Added weak reference for the delegate of SWTableViewCell
  • Loading branch information
CEWendel committed Dec 16, 2013
2 parents 36cbc1a + 99aa78e commit 642f49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SWTableViewCell/PodFiles/SWTableViewCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ typedef enum {

@property (nonatomic, strong) NSArray *leftUtilityButtons;
@property (nonatomic, strong) NSArray *rightUtilityButtons;
@property (nonatomic) id <SWTableViewCellDelegate> delegate;
@property (nonatomic, weak) id <SWTableViewCellDelegate> delegate;
@property (nonatomic, weak) UITableView *containingTableView;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier containingTableView:(UITableView *)containingTableView leftUtilityButtons:(NSArray *)leftUtilityButtons rightUtilityButtons:(NSArray *)rightUtilityButtons;
Expand Down

0 comments on commit 642f49b

Please sign in to comment.