Permalink
Browse files

Works on LLVM GCC Compiler now

  • Loading branch information...
1 parent 3b888ad commit 7ff9e1f434bb6f5774be034537a666f14561871a @MugunthKumar committed Apr 16, 2011
View
4 MKAdditions/NSObject+MKBlockAdditions.h
@@ -9,9 +9,7 @@
#import <Foundation/Foundation.h>
#import "MKBlockAdditions.h"
-@interface NSObject (MKBlockAdditions) {
-
-}
+@interface NSObject (MKBlockAdditions)
- (void) performBlock:(VoidBlock) block;
- (void) performBlock:(VoidBlock) block afterDelay:(NSTimeInterval) delay;
View
5 MKAdditions/UIActionSheet+MKBlockAdditions.h
@@ -9,10 +9,7 @@
#import <UIKit/UIKit.h>
#import "MKBlockAdditions.h"
-@interface UIActionSheet (MKBlockAdditions) <UIActionSheetDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate> {
-
-}
-
+@interface UIActionSheet (MKBlockAdditions) <UIActionSheetDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate>
+(void) actionSheetWithTitle:(NSString*) title
message:(NSString*) message
buttons:(NSArray*) buttonTitles
View
5 MKAdditions/UIAlertView+MKBlockAdditions.h
@@ -9,10 +9,7 @@
#import <Foundation/Foundation.h>
#import "MKBlockAdditions.h"
-@interface UIAlertView (Block) <UIAlertViewDelegate> {
-
-}
-
+@interface UIAlertView (Block) <UIAlertViewDelegate>
+ (UIAlertView*) alertViewWithTitle:(NSString*) title
message:(NSString*) message;
View
8 UIKitCategoryAdditions.xcodeproj/project.pbxproj
@@ -226,7 +226,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
@@ -240,7 +240,7 @@
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
@@ -257,7 +257,7 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UIKitCategoryAdditions/UIKitCategoryAdditions-Prefix.pch";
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
INFOPLIST_FILE = "UIKitCategoryAdditions/UIKitCategoryAdditions-Info.plist";
PRODUCT_NAME = UIKitCategoryAdditions;
WRAPPER_EXTENSION = app;
@@ -271,7 +271,7 @@
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "UIKitCategoryAdditions/UIKitCategoryAdditions-Prefix.pch";
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
INFOPLIST_FILE = "UIKitCategoryAdditions/UIKitCategoryAdditions-Info.plist";
PRODUCT_NAME = UIKitCategoryAdditions;
VALIDATE_PRODUCT = YES;

0 comments on commit 7ff9e1f

Please sign in to comment.