removed shadow view

This commit is contained in:
Terry Worona
2013-06-01 11:42:19 -07:00
parent eab5e61e10
commit 1e7c34372c
2 changed files with 0 additions and 10 deletions

View File

@@ -31,7 +31,6 @@
@property (nonatomic, strong) NSString *titleString;
@property (nonatomic, strong) NSString *descriptionString;
@property (nonatomic, assign) MessageBarMessageType messageType;
@property (nonatomic, strong) UIImageView *shadowView;
@property (nonatomic, assign) BOOL hasCallback;
@property (nonatomic, strong) NSArray *callbacks;
@@ -210,7 +209,6 @@ static UIColor *descriptionColor = nil;
@synthesize titleString = _titleString;
@synthesize descriptionString = _descriptionString;
@synthesize messageType = _messageType;
@synthesize shadowView = _shadowView;
@synthesize hasCallback = _hasCallback;
@synthesize callbacks = _callbacks;
@@ -309,14 +307,6 @@ static UIColor *descriptionColor = nil;
[_descriptionString drawInRect:CGRectMake(xOffset, yOffset, descriptionLabelSize.width, descriptionLabelSize.height) withFont:descriptionFont lineBreakMode:NSLineBreakByTruncatingTail alignment:NSTextAlignmentLeft];
}
#pragma mark - Layout
- (void)layoutSubviews
{
[super layoutSubviews];
_shadowView.frame = CGRectMake(0, [self height], [self width], _shadowView.image.size.height);
}
#pragma mark - Getters
- (CGFloat)height