Brion VIBBER has submitted this change and it was merged.

Change subject: Removed un-used files.
......................................................................


Removed un-used files.

Change-Id: Ia507dab9ac2fe98d81d7b5b551f69bf23034ece1
---
D wikipedia/View Controllers/TopNav/AlertLabel.h
D wikipedia/View Controllers/TopNav/AlertLabel.m
2 files changed, 0 insertions(+), 63 deletions(-)

Approvals:
  Brion VIBBER: Verified; Looks good to me, approved



diff --git a/wikipedia/View Controllers/TopNav/AlertLabel.h b/wikipedia/View 
Controllers/TopNav/AlertLabel.h
deleted file mode 100644
index 85509de..0000000
--- a/wikipedia/View Controllers/TopNav/AlertLabel.h
+++ /dev/null
@@ -1,7 +0,0 @@
-//  Created by Monte Hurd on 12/9/13.
-
-#import <UIKit/UIKit.h>
-
-@interface AlertLabel : UILabel
-
-@end
diff --git a/wikipedia/View Controllers/TopNav/AlertLabel.m b/wikipedia/View 
Controllers/TopNav/AlertLabel.m
deleted file mode 100644
index cb81062..0000000
--- a/wikipedia/View Controllers/TopNav/AlertLabel.m
+++ /dev/null
@@ -1,56 +0,0 @@
-//  Created by Monte Hurd on 12/9/13.
-
-#import "AlertLabel.h"
-
-@implementation AlertLabel
-
-- (id)init
-{
-    self = [super init];
-    if (self) {
-        self.alpha = 0.0f;
-        
-        self.minimumScaleFactor = 0.2;
-        self.font = [UIFont systemFontOfSize:10];
-        self.textAlignment = NSTextAlignmentCenter;
-        self.textColor = [UIColor darkGrayColor];
-        self.backgroundColor = [UIColor redColor];//colorWithWhite:1.0 
alpha:0.7];
-    }
-    return self;
-}
-
--(void)setHidden:(BOOL)hidden
-{
-    if (hidden){
-        [UIView beginAnimations:nil context:NULL];
-        [UIView setAnimationDuration:0.35];
-        [UIView setAnimationDelay:1.0f];
-        [self setAlpha:0.0f];
-        [UIView commitAnimations];
-    }else{
-        [self setAlpha:1.0f];
-    }
-}
-
--(void)setText:(NSString *)text
-{
-    if (text.length == 0){
-        // Just fade out if message is set to empty string
-        self.hidden = YES;
-    }else{
-        super.text = text;
-        self.hidden = NO;
-    }
-}
-
-- (void)drawRect:(CGRect)rect {
-    [super drawRect:rect];
-    CGContextRef context = UIGraphicsGetCurrentContext();
-    CGContextMoveToPoint(context, CGRectGetMinX(rect), CGRectGetMaxY(rect));
-    CGContextAddLineToPoint(context, CGRectGetMaxX(rect), CGRectGetMaxY(rect));
-    CGContextSetStrokeColorWithColor(context, [[UIColor lightGrayColor] 
CGColor] );
-    CGContextSetLineWidth(context, 1.0);
-    CGContextStrokePath(context);
-}
-
-@end

-- 
To view, visit https://gerrit.wikimedia.org/r/131543
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia507dab9ac2fe98d81d7b5b551f69bf23034ece1
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Mhurd <mh...@wikimedia.org>
Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to