Browse files

Only use "weak" if it's supported by the compiler.

Fixes compilation for deployment target < iOS 5.
  • Loading branch information...
1 parent 81cf910 commit 01c914ae5656dbe32ea0738af2a1d082dba400e4 @fernandonf fernandonf committed Oct 29, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Appirater.h
@@ -90,7 +90,11 @@ extern NSString *const kAppiraterReminderRequestDate;
@property(nonatomic, strong) UIAlertView *ratingAlert;
+#if __has_feature(objc_arc_weak)
@property(nonatomic, weak) NSObject <AppiraterDelegate> *delegate;
+@property(nonatomic, unsafe_unreferenced) NSObject <AppiraterDelegate> *delegate;
Tells Appirater that the app has launched, and on devices that do NOT

0 comments on commit 01c914a

Please sign in to comment.