Skip to content

Commit

Permalink
Fixed build warning on 10.12 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
swisspol committed Sep 1, 2016
1 parent 75b5b3d commit 22e26b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitUp/Application/Document.m
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ - (void)_animateQuickViewForCommit:(GCHistoryCommit*)commit appearing:(BOOL)appe

CAAnimationGroup* group = [CAAnimationGroup animation];
group.animations = @[ position, transform, zPosition ];
group.delegate = self;
group.delegate = (id)self; // id<CAAnimationDelegate> is only available on OS X 10.12 SDK
[group setValue:kAnimationID_QuickViewSnapshot forKey:kAnimationKey_ID];

[_animatingSnapshotLayer addAnimation:group forKey:kAnimationID_QuickViewSnapshot];
Expand Down

0 comments on commit 22e26b5

Please sign in to comment.