Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Fixed __weak not compatible with ARC
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvillar committed Sep 4, 2013
1 parent d6f9f94 commit a96f491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PaymentKit/PKView.m
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ - (PKCard*)card
- (void)setPlaceholderViewImage:(UIImage *)image
{
if(![placeholderView.image isEqual:image]) {
__block __weak UIView *previousPlaceholderView = placeholderView;
__block __unsafe_unretained UIView *previousPlaceholderView = placeholderView;
[UIView animateWithDuration:kPKViewPlaceholderViewAnimationDuration delay:0
options:UIViewAnimationOptionCurveEaseInOut
animations:^
Expand Down

0 comments on commit a96f491

Please sign in to comment.