Skip to content

Commit

Permalink
Revert "Added userInfo property, and NS_BLOCKS_AVAILABLE flagss"
Browse files Browse the repository at this point in the history
This reverts commit ec4d117.
  • Loading branch information
coryalder committed Jan 14, 2013
1 parent 8a1f801 commit 83b2df9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
10 changes: 0 additions & 10 deletions Classes/ZIStoreButton.h
Expand Up @@ -27,28 +27,18 @@

#define ZI_BUY_NOW_TITLE @"Buy Now"
#define ZI_MAX_WIDTH 120.0f

#define ZI_PADDING 10.0f

#if NS_BLOCKS_AVAILABLE
typedef void (^ActionBlock)();
#endif

@interface ZIStoreButton : UIButton
{
CAGradientLayer *innerLayer3;
BOOL isBlued;
#if NS_BLOCKS_AVAILABLE
ActionBlock _actionBlock;
#endif
id userInfo;
}

@property (nonatomic, retain) id userInfo;

#if NS_BLOCKS_AVAILABLE
-(void)setBuyBlock:(ActionBlock)action;
#endif


@end
3 changes: 0 additions & 3 deletions Classes/ZIStoreButton.m
Expand Up @@ -28,8 +28,6 @@

@implementation ZIStoreButton

@synthesize userInfo;

-(void)setBuyBlock:(ActionBlock) action {
_actionBlock = Block_copy(action);
}
Expand Down Expand Up @@ -180,7 +178,6 @@ - (void)animationDidStop:(CAAnimation *)theAnimation finished:(BOOL)flag {

- (void)dealloc {
Block_release(_actionBlock);
self.userInfo = nil;
[super dealloc];
}

Expand Down

0 comments on commit 83b2df9

Please sign in to comment.