Skip to content

Commit 99aa78e

Browse files
author
Ethan Fang
committed
Added weak reference for the delegate of SWTableViewCell
1 parent 36cbc1a commit 99aa78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SWTableViewCell/PodFiles/SWTableViewCell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ typedef enum {
3535

3636
@property (nonatomic, strong) NSArray *leftUtilityButtons;
3737
@property (nonatomic, strong) NSArray *rightUtilityButtons;
38-
@property (nonatomic) id <SWTableViewCellDelegate> delegate;
38+
@property (nonatomic, weak) id <SWTableViewCellDelegate> delegate;
3939
@property (nonatomic, weak) UITableView *containingTableView;
4040

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

0 commit comments

Comments
 (0)