2012-06-29 10:20:06 -07:00
|
|
|
//
|
|
|
|
// FeedTableCell.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Samuel Clay on 7/18/11.
|
|
|
|
// Copyright 2011 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "NewsBlurAppDelegate.h"
|
2012-10-03 18:27:21 -07:00
|
|
|
#import "UnreadCountView.h"
|
2013-09-27 17:54:06 -07:00
|
|
|
#import "NBSwipeableCell.h"
|
2012-06-29 10:20:06 -07:00
|
|
|
|
2013-09-27 17:54:06 -07:00
|
|
|
@interface FeedTableCell : NBSwipeableCell {
|
2012-06-29 10:20:06 -07:00
|
|
|
NewsBlurAppDelegate *appDelegate;
|
|
|
|
|
|
|
|
NSString *feedTitle;
|
|
|
|
UIImage *feedFavicon;
|
|
|
|
int _positiveCount;
|
|
|
|
int _neutralCount;
|
|
|
|
int _negativeCount;
|
|
|
|
NSString *_negativeCountStr;
|
|
|
|
BOOL isSocial;
|
2014-05-20 12:58:04 -07:00
|
|
|
BOOL isSaved;
|
2013-09-30 12:13:10 -07:00
|
|
|
UIView *cellContent;
|
2013-10-09 14:54:49 -07:00
|
|
|
UnreadCountView *unreadCount;
|
2012-06-29 10:20:06 -07:00
|
|
|
}
|
|
|
|
|
2012-07-15 15:06:06 -07:00
|
|
|
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
|
|
|
|
@property (nonatomic) NSString *feedTitle;
|
|
|
|
@property (nonatomic) UIImage *feedFavicon;
|
2012-06-29 10:20:06 -07:00
|
|
|
@property (assign, nonatomic) int positiveCount;
|
|
|
|
@property (assign, nonatomic) int neutralCount;
|
|
|
|
@property (assign, nonatomic) int negativeCount;
|
2016-03-26 21:27:25 -07:00
|
|
|
@property (assign, nonatomic) int savedStoriesCount;
|
2012-06-29 10:20:06 -07:00
|
|
|
@property (assign, nonatomic) BOOL isSocial;
|
#1693 (2022 Redesign)
- Laboriously updated the icons (finding the names in the web inspector, updating the code, inspecting the colors, setting those separately, dealing with scaling issues, etc etc).
- Let me know if you spot any icons that I missed, or unscaled icons (they have to be explicitly sized, otherwise appear huge).
- More space between story title and story content.
- More space when reading a folder.
- Added Compact/Comfortable to feed detail menu.
- Changing Compact/Comfortable also adjusts the feed detail list.
- Adjusted the color of the story content etc in the feed detail list.
- Removed top and bottom borders from feed title gradient in story detail.
- More space in story detail header.
- The feed detail is offset when selected.
- Updated the feeds social, search, and saved background colors.
- Unread counts no longer have a shadow, and have more space.
- Folders and feeds remain selected in the feeds list when returning from a story or refreshing.
- Folders in the feeds list no longer have a different background color.
- The folders and feeds highlight is now rounded and unbordered like on web.
2022-07-20 21:35:16 -07:00
|
|
|
@property (assign, nonatomic) BOOL isSearch;
|
2014-05-20 12:58:04 -07:00
|
|
|
@property (assign, nonatomic) BOOL isSaved;
|
2020-06-15 19:57:06 -07:00
|
|
|
@property (assign, nonatomic) BOOL isInactive;
|
2020-05-27 21:26:44 -07:00
|
|
|
@property (nonatomic) NSString *searchQuery;
|
2012-07-15 15:06:06 -07:00
|
|
|
@property (nonatomic) NSString *negativeCountStr;
|
2013-10-09 14:54:49 -07:00
|
|
|
@property (nonatomic) UnreadCountView *unreadCount;
|
2012-06-29 10:20:06 -07:00
|
|
|
|
2013-09-27 17:54:06 -07:00
|
|
|
- (void)setupGestures;
|
2013-10-17 17:23:52 -07:00
|
|
|
- (void)redrawUnreadCounts;
|
2013-09-27 17:54:06 -07:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface FeedTableCellView : UIView
|
|
|
|
|
2013-10-18 14:17:01 -07:00
|
|
|
@property (nonatomic, weak) FeedTableCell *cell;
|
2013-09-27 17:54:06 -07:00
|
|
|
|
2013-10-17 17:23:52 -07:00
|
|
|
- (void)redrawUnreadCounts;
|
|
|
|
|
2012-06-29 10:20:06 -07:00
|
|
|
@end
|