2010-07-15 00:44:38 -04:00
|
|
|
//
|
2022-09-02 20:39:00 -06:00
|
|
|
// FeedDetailCollectionCell.h
|
2010-07-15 00:44:38 -04:00
|
|
|
// 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"
|
2010-07-15 00:44:38 -04:00
|
|
|
|
2019-01-30 11:58:32 -08:00
|
|
|
typedef NS_ENUM(NSUInteger, FeedDetailTextSize)
|
|
|
|
{
|
|
|
|
FeedDetailTextSizeTitleOnly = 0,
|
|
|
|
FeedDetailTextSizeShort,
|
|
|
|
FeedDetailTextSizeMedium,
|
|
|
|
FeedDetailTextSizeLong
|
|
|
|
};
|
|
|
|
|
2022-09-02 20:39:00 -06:00
|
|
|
@interface FeedDetailCollectionCell : UICollectionViewCell
|
|
|
|
|
|
|
|
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
|
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;
|
2014-05-20 12:58:04 -07:00
|
|
|
@property (nonatomic, readwrite) BOOL isSaved;
|
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;
|
2014-02-10 19:21:53 -08:00
|
|
|
@property (nonatomic) NSString *storyContent;
|
2022-08-18 20:44:08 -07:00
|
|
|
@property (nonatomic) NSString *storyHash;
|
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;
|
2015-11-03 17:52:21 -08:00
|
|
|
@property (readwrite) BOOL isReadAvailable;
|
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
|
|
|
|
2019-01-30 11:58:32 -08:00
|
|
|
@property (nonatomic) FeedDetailTextSize textSize;
|
|
|
|
|
2013-09-27 17:23:03 -07:00
|
|
|
- (void)setupGestures;
|
|
|
|
|
2010-07-15 00:44:38 -04:00
|
|
|
@end
|