Created
February 10, 2014 23:13
-
-
Save pcolton/8926156 to your computer and use it in GitHub Desktop.
Remove Pixate from your project by using these temporary placeholder categories.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface UIView (PixatePlaceholder) | |
@property (nonatomic, copy) NSString *styleId; | |
@property (nonatomic, copy) NSString *styleClass; | |
@property (nonatomic, copy) NSString *styleCSS; | |
@property (nonatomic) int styleMode; | |
@end | |
@interface UIBarItem (PixatePlaceholder) | |
@property (nonatomic, copy) NSString *styleId; | |
@property (nonatomic, copy) NSString *styleClass; | |
@property (nonatomic, copy) NSString *styleCSS; | |
@property (nonatomic) int styleMode; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "UIView+PixatePlaceholder.h" | |
@implementation UIView (PixatePlaceholder) | |
-(NSString *)styleClass | |
{ | |
return nil; | |
} | |
-(NSString *)styleCSS | |
{ | |
return nil; | |
} | |
-(NSString *)styleId | |
{ | |
return nil; | |
} | |
-(int)styleMode | |
{ | |
return 0; | |
} | |
-(void)setStyleClass:(NSString *)styleClass | |
{ | |
} | |
-(void)setStyleCSS:(NSString *)styleCSS | |
{ | |
} | |
-(void)setStyleId:(NSString *)styleId | |
{ | |
} | |
-(void)setStyleMode:(int)styleMode | |
{ | |
} | |
@end | |
@implementation UIBarItem (PixatePlaceholder) | |
-(NSString *)styleClass | |
{ | |
return nil; | |
} | |
-(NSString *)styleCSS | |
{ | |
return nil; | |
} | |
-(NSString *)styleId | |
{ | |
return nil; | |
} | |
-(int)styleMode | |
{ | |
return 0; | |
} | |
-(void)setStyleClass:(NSString *)styleClass | |
{ | |
} | |
-(void)setStyleCSS:(NSString *)styleCSS | |
{ | |
} | |
-(void)setStyleId:(NSString *)styleId | |
{ | |
} | |
-(void)setStyleMode:(int)styleMode | |
{ | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment