From 99aa78ef9893fecef928a483b479194ed69d8d4c Mon Sep 17 00:00:00 2001 From: Ethan Fang Date: Tue, 17 Dec 2013 10:17:00 +1100 Subject: [PATCH] Added weak reference for the delegate of SWTableViewCell --- SWTableViewCell/PodFiles/SWTableViewCell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWTableViewCell/PodFiles/SWTableViewCell.h b/SWTableViewCell/PodFiles/SWTableViewCell.h index ab17375e..146fe553 100644 --- a/SWTableViewCell/PodFiles/SWTableViewCell.h +++ b/SWTableViewCell/PodFiles/SWTableViewCell.h @@ -35,7 +35,7 @@ typedef enum { @property (nonatomic, strong) NSArray *leftUtilityButtons; @property (nonatomic, strong) NSArray *rightUtilityButtons; -@property (nonatomic) id delegate; +@property (nonatomic, weak) id delegate; @property (nonatomic, weak) UITableView *containingTableView; - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier containingTableView:(UITableView *)containingTableView leftUtilityButtons:(NSArray *)leftUtilityButtons rightUtilityButtons:(NSArray *)rightUtilityButtons;