NewsBlur/clients/ios/Classes/FeedTableCell.h

50 lines
1.2 KiB
C
Raw Normal View History

//
// 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;
UIView *cellContent;
UnreadCountView *unreadCount;
}
2012-07-15 15:06:06 -07:00
@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) BOOL isSocial;
2012-07-15 15:06:06 -07:00
@property (nonatomic) NSString *negativeCountStr;
@property (nonatomic) UnreadCountView *unreadCount;
- (void)setupGestures;
- (void)redrawUnreadCounts;
@end
@interface FeedTableCellView : UIView
@property (nonatomic) FeedTableCell *cell;
- (void)redrawUnreadCounts;
@end