Permalink
Browse files

Create compile-time error if APPIRATER_APP_ID is default value

  • Loading branch information...
1 parent 22422c1 commit 0976202f960b2003e5f87c820531348ffcead40c @a2 a2 committed Oct 1, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 Appirater.m
View
@@ -48,6 +48,9 @@
NSString *templateReviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=APP_ID";
+#if APPIRATER_APP_ID == 301377083
+ #error "APPIRATER_APP_ID was not set in \"Appirater.h\""
+#endif
@interface Appirater (hidden)
- (BOOL)connectedToNetwork;

0 comments on commit 0976202

Please sign in to comment.