Skip to content

Commit

Permalink
override initilization methods in MUImageViewTapable
Browse files Browse the repository at this point in the history
  • Loading branch information
Malaar committed Jan 16, 2013
1 parent fec175c commit dce3f3f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions MUKit/MUControls/MUImageViewTapable.m
Expand Up @@ -58,6 +58,28 @@ - (id) initWithFrame:(CGRect)frame
return self;
}

//==============================================================================
- (id)initWithImage:(UIImage *)image
{
self = [super initWithImage:image];
if(self)
{
[self initialize];
}
return self;
}

//==============================================================================
- (id)initWithImage:(UIImage *)image highlightedImage:(UIImage *)highlightedImage
{
self = [super initWithImage:image highlightedImage:highlightedImage];
if(self)
{
[self initialize];
}
return self;
}

//==============================================================================
- (void) initialize
{
Expand Down

0 comments on commit dce3f3f

Please sign in to comment.