Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #112 from coryallegory/master

MBLabelAlignmentCenter risk of being defined multiple times
  • Loading branch information...
commit c05664b882f05053ca0ef6b1cd3549d8e1e53535 2 parents 5ac34dd + c49b6cb
@matej matej authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.