Skip to content

Commit f92b90b

Browse files
author
Wilson Yuan
committed
Fix warning
1 parent b10be8f commit f92b90b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Demo/WSProgressHUD/FBShimmeringLayer.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ - (void)layoutSublayers
133133
@end
134134

135135
@interface FBShimmeringLayer ()
136+
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 100000
137+
// iOS 10 SDK has CALayerDelegate and CAAnimationDelegate as proper protocols.
138+
<CALayerDelegate, CAAnimationDelegate>
139+
#endif
136140
@property (strong, nonatomic) FBShimmeringMaskLayer *maskLayer;
137141
@end
138142

0 commit comments

Comments
 (0)