2010-07-15 00:44:38 -04:00
|
|
|
//
|
|
|
|
// FeedDetailTableCell.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Samuel Clay on 7/14/10.
|
|
|
|
// Copyright 2010 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2012-07-22 17:08:29 -07:00
|
|
|
#import "NewsBlurAppDelegate.h"
|
|
|
|
#import "ABTableViewCell.h"
|
2010-07-15 00:44:38 -04:00
|
|
|
|
2012-07-22 17:08:29 -07:00
|
|
|
@interface FeedDetailTableCell : ABTableViewCell {
|
|
|
|
NewsBlurAppDelegate *appDelegate;
|
|
|
|
|
2012-07-22 14:23:50 -07:00
|
|
|
// All views
|
2012-07-22 17:08:29 -07:00
|
|
|
NSString *storyTitle;
|
|
|
|
NSString *storyAuthor;
|
|
|
|
NSString *storyDate;
|
2012-08-10 18:10:07 -07:00
|
|
|
int storyScore;
|
2013-08-05 17:29:42 -07:00
|
|
|
BOOL isStarred;
|
|
|
|
BOOL isShared;
|
2011-10-25 09:28:05 -07:00
|
|
|
|
2012-07-22 14:23:50 -07:00
|
|
|
// River view
|
2012-07-22 17:08:29 -07:00
|
|
|
NSString *siteTitle;
|
|
|
|
UIImage *siteFavicon;
|
|
|
|
BOOL isRead;
|
2012-08-08 18:23:48 -07:00
|
|
|
BOOL isShort;
|
2012-07-22 17:08:29 -07:00
|
|
|
BOOL isRiverOrSocial;
|
2012-07-23 10:57:11 -07:00
|
|
|
BOOL hasAlpha;
|
2012-07-22 17:08:29 -07:00
|
|
|
|
|
|
|
UIColor *feedColorBar;
|
|
|
|
UIColor *feedColorBarTopBorder;
|
2010-07-15 00:44:38 -04:00
|
|
|
}
|
|
|
|
|
2012-07-22 17:08:29 -07:00
|
|
|
@property (nonatomic) NSString *siteTitle;
|
|
|
|
@property (nonatomic) UIImage *siteFavicon;
|
|
|
|
|
2012-08-10 18:10:07 -07:00
|
|
|
@property (readwrite) int storyScore;
|
2013-08-05 17:29:42 -07:00
|
|
|
@property (readwrite) BOOL isStarred;
|
|
|
|
@property (readwrite) BOOL isShared;
|
2012-07-22 17:08:29 -07:00
|
|
|
|
|
|
|
@property (nonatomic) NSString *storyTitle;
|
|
|
|
@property (nonatomic) NSString *storyAuthor;
|
|
|
|
@property (nonatomic) NSString *storyDate;
|
2012-07-22 14:23:50 -07:00
|
|
|
|
2012-07-22 17:08:29 -07:00
|
|
|
@property (nonatomic) UIColor *feedColorBar;
|
|
|
|
@property (nonatomic) UIColor *feedColorBarTopBorder;
|
2012-07-22 14:23:50 -07:00
|
|
|
|
2012-07-22 17:08:29 -07:00
|
|
|
@property (readwrite) BOOL isRead;
|
2012-08-08 18:23:48 -07:00
|
|
|
@property (readwrite) BOOL isShort;
|
2012-07-22 17:08:29 -07:00
|
|
|
@property (readwrite) BOOL isRiverOrSocial;
|
2012-07-23 10:57:11 -07:00
|
|
|
@property (readwrite) BOOL hasAlpha;
|
2011-10-25 09:28:05 -07:00
|
|
|
|
2012-07-23 10:57:11 -07:00
|
|
|
- (UIImage *)imageByApplyingAlpha:(UIImage *)image withAlpha:(CGFloat) alpha;
|
|
|
|
|
2010-07-15 00:44:38 -04:00
|
|
|
@end
|