Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OACalloutView tweaks

  • Loading branch information...
commit d8dfead1488c7a4927eafae3929c9df429db3cbf 1 parent 24bf058
@amjaliks authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 Source/Classes/Callout View/OACalloutView.m
View
6 Source/Classes/Callout View/OACalloutView.m
@@ -84,7 +84,6 @@ - (id)initWithLeftImage:(UIImage *)leftImage centerImage:(UIImage *)centerImage
self.calloutCenterImage = centerImage;
self.calloutRightImage = [rightImage stretchableImageWithLeftCapWidth:1 topCapHeight:0];
self.maxWidth = 320.f;
- self.userInteractionEnabled = NO;
[self prepareView];
}
return self;
@@ -99,28 +98,23 @@ - (void)prepareView {
self.opaque = NO;
self.calloutLeft = [[[UIImageView alloc] init] autorelease];
- self.calloutLeft.userInteractionEnabled = NO;
self.calloutLeft.image = self.calloutLeftImage;
[self addSubview:self.calloutLeft];
self.calloutCenter = [[[UIImageView alloc] init] autorelease];
- self.calloutCenter.userInteractionEnabled = NO;
self.calloutCenter.image = self.calloutCenterImage;
[self addSubview:self.calloutCenter];
self.calloutRight = [[[UIImageView alloc] init] autorelease];
- self.calloutRight.userInteractionEnabled = NO;
self.calloutRight.image = self.calloutRightImage;
[self addSubview:self.calloutRight];
self.calloutTitleLabel = [[[UILabel alloc] init] autorelease];
- self.calloutTitleLabel.userInteractionEnabled = NO;
self.calloutTitleLabel.font = [UIFont boldSystemFontOfSize:TITLE_FONT_SIZE];
self.calloutTitleLabel.textColor = [UIColor whiteColor];
self.calloutTitleLabel.backgroundColor = [UIColor clearColor];
self.calloutSubtitleLabel = [[[UILabel alloc] init] autorelease];
- self.calloutSubtitleLabel.userInteractionEnabled = NO;
self.calloutSubtitleLabel.font = [UIFont systemFontOfSize:SUBTITLE_FONT_SIZE];
self.calloutSubtitleLabel.textColor = [UIColor whiteColor];
self.calloutSubtitleLabel.backgroundColor = [UIColor clearColor];
Please sign in to comment.
Something went wrong with that request. Please try again.