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"
|
2013-09-27 17:54:06 -07:00
|
|
|
#import "NBSwipeableCell.h"
|
2010-07-15 00:44:38 -04:00
|
|
|
|
2013-09-27 17:54:06 -07:00
|
|
|
@interface FeedDetailTableCell : NBSwipeableCell {
|
2012-07-22 17:08:29 -07:00
|
|
|
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;
|
2013-10-10 12:58:40 -07:00
|
|
|
NSInteger storyTimestamp;
|
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;
|
2013-09-30 12:13:10 -07:00
|
|
|
UIView *cellContent;
|
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-10-01 15:38:29 -07:00
|
|
|
@property (nonatomic, readwrite) BOOL isStarred;
|
2013-08-05 17:29:42 -07:00
|
|
|
@property (readwrite) BOOL isShared;
|
2012-07-22 17:08:29 -07:00
|
|
|
|
|
|
|
@property (nonatomic) NSString *storyTitle;
|
|
|
|
@property (nonatomic) NSString *storyAuthor;
|
|
|
|
@property (nonatomic) NSString *storyDate;
|
2013-10-10 12:58:40 -07:00
|
|
|
@property (nonatomic) NSInteger storyTimestamp;
|
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
|
|
|
|
2013-09-27 17:23:03 -07:00
|
|
|
- (void)setupGestures;
|
|
|
|
|
2010-07-15 00:44:38 -04:00
|
|
|
@end
|
2013-09-27 17:23:03 -07:00
|
|
|
|
|
|
|
@interface FeedDetailTableCellView : UIView
|
|
|
|
|
|
|
|
@property (nonatomic) FeedDetailTableCell *cell;
|
|
|
|
|
|
|
|
@end
|