diff options
Diffstat (limited to 'Classes/TopicsViewController.m')
-rw-r--r-- | Classes/TopicsViewController.m | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Classes/TopicsViewController.m b/Classes/TopicsViewController.m index 4c855d6..9969962 100644 --- a/Classes/TopicsViewController.m +++ b/Classes/TopicsViewController.m @@ -18,6 +18,18 @@ #import "SourcesEditViewController.h" +@implementation UINavigationBar (CustomImage) +- (void)drawRect:(CGRect)rect { +// NSLog(@"titlebar"); +// if (self.barStyle == UIBarStyleDefault) { + UIImage *image = [UIImage imageNamed: @"titleBarBackground.png"]; + [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; +// } +// else + //[super drawRect:rect]; +} +@end + @implementation TopicsViewController @synthesize topics, parser; @@ -46,6 +58,11 @@ fileCache.fileCountLimit = 100; fileCache.fileAgeLimit = 60*60*24*7; //1 week [fileCache trimCacheUsingBackgroundThread]; + +// UIWindow *window = [appDelegate window]; +// UIImageView *bgView = [[UIImageView alloc] init]; +// [bgView setImage:[UIImage imageNamed: @"Default.png"]]; +// [window addSubView:bgView]; [self startParsing]; } |