NewsBlur/clients/ios/Classes/FeedTableCell.h
David Sinclair 76986f504b #1325 (show muted sites in All feeds view)
- Muted sites now appear in All feeds view.
- They don't appear in the other views.
- They have the same muted icon as on the web.
2020-06-15 19:57:06 -07:00

54 lines
1.4 KiB
Objective-C

//
// FeedTableCell.h
// NewsBlur
//
// Created by Samuel Clay on 7/18/11.
// Copyright 2011 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NewsBlurAppDelegate.h"
#import "UnreadCountView.h"
#import "NBSwipeableCell.h"
@interface FeedTableCell : NBSwipeableCell {
NewsBlurAppDelegate *appDelegate;
NSString *feedTitle;
UIImage *feedFavicon;
int _positiveCount;
int _neutralCount;
int _negativeCount;
NSString *_negativeCountStr;
BOOL isSocial;
BOOL isSaved;
UIView *cellContent;
UnreadCountView *unreadCount;
}
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
@property (nonatomic) NSString *feedTitle;
@property (nonatomic) UIImage *feedFavicon;
@property (assign, nonatomic) int positiveCount;
@property (assign, nonatomic) int neutralCount;
@property (assign, nonatomic) int negativeCount;
@property (assign, nonatomic) int savedStoriesCount;
@property (assign, nonatomic) BOOL isSocial;
@property (assign, nonatomic) BOOL isSaved;
@property (assign, nonatomic) BOOL isInactive;
@property (nonatomic) NSString *searchQuery;
@property (nonatomic) NSString *negativeCountStr;
@property (nonatomic) UnreadCountView *unreadCount;
- (void)setupGestures;
- (void)redrawUnreadCounts;
@end
@interface FeedTableCellView : UIView
@property (nonatomic, weak) FeedTableCell *cell;
- (void)redrawUnreadCounts;
@end