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

Commit a96f491

Browse files
committed
Fixed __weak not compatible with ARC
1 parent d6f9f94 commit a96f491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PaymentKit/PKView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ - (PKCard*)card
283283
- (void)setPlaceholderViewImage:(UIImage *)image
284284
{
285285
if(![placeholderView.image isEqual:image]) {
286-
__block __weak UIView *previousPlaceholderView = placeholderView;
286+
__block __unsafe_unretained UIView *previousPlaceholderView = placeholderView;
287287
[UIView animateWithDuration:kPKViewPlaceholderViewAnimationDuration delay:0
288288
options:UIViewAnimationOptionCurveEaseInOut
289289
animations:^

0 commit comments

Comments
 (0)