Permalink
Browse files

MBLabelAlignmentCenter doesn't need to be in header, could end up wit…

…h multi-declaration of value
  • Loading branch information...
1 parent 30814cc commit c49b6cbcf7d4c1e5c7919e0c3f987e17c5b5babe @coryallegory coryallegory committed Dec 12, 2012
Showing with 6 additions and 8 deletions.
  1. +0 −8 MBProgressHUD.h
  2. +6 −0 MBProgressHUD.m
View
8 MBProgressHUD.h
@@ -74,19 +74,11 @@ typedef enum {
#endif
#endif
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000
- #define MBLabelAlignmentCenter NSTextAlignmentCenter
-#else
- #define MBLabelAlignmentCenter UITextAlignmentCenter
-#endif
-
#if NS_BLOCKS_AVAILABLE
typedef void (^MBProgressHUDCompletionBlock)();
#endif
-
-
/**
* Displays a simple HUD window containing a progress indicator and two optional labels for short messages.
*
View
6 MBProgressHUD.m
@@ -17,6 +17,12 @@
#define MB_RETAIN(exp) [exp retain]
#endif
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000
+ #define MBLabelAlignmentCenter NSTextAlignmentCenter
+#else
+ #define MBLabelAlignmentCenter UITextAlignmentCenter
+#endif
+
static const CGFloat kPadding = 4.f;
static const CGFloat kLabelFontSize = 16.f;

0 comments on commit c49b6cb

Please sign in to comment.