NewsBlur/clients/ios/Classes/FeedDetailCollectionCell.h
David Sinclair db54735c3a #1720 (Grid view)
- Work in progress on view-based feed detail cell layout, which enables dynamically sizing cells without the ugly hacks used in the past, and will make it easier to support different layouts (like image on top).
2022-11-14 21:39:01 -06:00

51 lines
1.3 KiB
Objective-C

//
// FeedDetailCollectionCell.h
// NewsBlur
//
// Created by Samuel Clay on 7/14/10.
// Copyright 2010 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NewsBlurAppDelegate.h"
typedef NS_ENUM(NSUInteger, FeedDetailTextSize)
{
FeedDetailTextSizeTitleOnly = 0,
FeedDetailTextSizeShort,
FeedDetailTextSizeMedium,
FeedDetailTextSizeLong
};
@interface FeedDetailCollectionCell : UICollectionViewCell
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
@property (nonatomic) NSString *siteTitle;
@property (nonatomic) UIImage *siteFavicon;
@property (readwrite) int storyScore;
@property (nonatomic, readwrite) BOOL isSaved;
@property (readwrite) BOOL isShared;
@property (nonatomic) NSString *storyTitle;
@property (nonatomic) NSString *storyAuthor;
@property (nonatomic) NSString *storyDate;
@property (nonatomic) NSString *storyContent;
@property (nonatomic) NSString *storyHash;
@property (nonatomic) NSInteger storyTimestamp;
@property (nonatomic) UIColor *feedColorBar;
@property (nonatomic) UIColor *feedColorBarTopBorder;
@property (readwrite) BOOL isRead;
@property (readwrite) BOOL isReadAvailable;
@property (readwrite) BOOL isShort;
@property (readwrite) BOOL isRiverOrSocial;
@property (readwrite) BOOL hasAlpha;
@property (nonatomic) FeedDetailTextSize textSize;
- (void)setupGestures;
@end