NewsBlur/clients/ios/Classes/FeedDetailTableCell.h

66 lines
No EOL
1.5 KiB
Objective-C

//
// FeedDetailTableCell.h
// NewsBlur
//
// Created by Samuel Clay on 7/14/10.
// Copyright 2010 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NewsBlurAppDelegate.h"
#import "NBSwipeableCell.h"
@interface FeedDetailTableCell : NBSwipeableCell {
NewsBlurAppDelegate *appDelegate;
// All views
NSString *storyTitle;
NSString *storyAuthor;
NSString *storyDate;
NSInteger storyTimestamp;
int storyScore;
BOOL isStarred;
BOOL isShared;
// River view
NSString *siteTitle;
UIImage *siteFavicon;
BOOL isRead;
BOOL isShort;
BOOL isRiverOrSocial;
BOOL hasAlpha;
UIColor *feedColorBar;
UIColor *feedColorBarTopBorder;
UIView *cellContent;
}
@property (nonatomic) NSString *siteTitle;
@property (nonatomic) UIImage *siteFavicon;
@property (readwrite) int storyScore;
@property (nonatomic, readwrite) BOOL isStarred;
@property (readwrite) BOOL isShared;
@property (nonatomic) NSString *storyTitle;
@property (nonatomic) NSString *storyAuthor;
@property (nonatomic) NSString *storyDate;
@property (nonatomic) NSInteger storyTimestamp;
@property (nonatomic) UIColor *feedColorBar;
@property (nonatomic) UIColor *feedColorBarTopBorder;
@property (readwrite) BOOL isRead;
@property (readwrite) BOOL isShort;
@property (readwrite) BOOL isRiverOrSocial;
@property (readwrite) BOOL hasAlpha;
- (void)setupGestures;
@end
@interface FeedDetailTableCellView : UIView
@property (nonatomic) FeedDetailTableCell *cell;
@end