mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-21 05:44:54 +00:00

- Work in progress on refactoring the feed detail cell to view-based Swift, to make it easier to maintain, and to use autolayout to rearrange the content.
57 lines
1.5 KiB
Objective-C
57 lines
1.5 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, FeedDetailTextSizeObjC)
|
|
//{
|
|
// FeedDetailTextSizeTitleOnly = 0,
|
|
// FeedDetailTextSizeShort,
|
|
// FeedDetailTextSizeMedium,
|
|
// FeedDetailTextSizeLong
|
|
//};
|
|
|
|
|
|
//
|
|
// ⚠️ Note:this code is obsolete; it is in the process of being replaced by Swift code. ⚠️
|
|
//
|
|
|
|
|
|
@interface FeedDetailCollectionCellObsoleteObjCEdition : 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) FeedDetailTextSizeSwift textSize;
|
|
|
|
- (void)setupGestures;
|
|
|
|
@end
|