Skip to content

Commit

Permalink
assign to weak when arc is on
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvise Susmel committed Jun 17, 2013
1 parent 05e0762 commit 53631ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FPPopoverController.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
//ARC-enable and disable support
#if __has_feature(objc_arc)
@property(nonatomic,assign) id<FPPopoverControllerDelegate> delegate;
@property(nonatomic,weak) id<FPPopoverControllerDelegate> delegate;
#else
@property(nonatomic,assign) id<FPPopoverControllerDelegate> delegate;
#endif
Expand Down
Binary file not shown.

0 comments on commit 53631ff

Please sign in to comment.