2012-07-13 16:02:21 -07:00
|
|
|
//
|
|
|
|
// ActivityCell.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Roy Yang on 7/13/12.
|
|
|
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2012-07-21 18:25:56 -07:00
|
|
|
@interface ActivityCell : UITableViewCell {
|
2013-06-19 18:55:23 -07:00
|
|
|
UILabel *activityLabel;
|
2012-07-21 18:25:56 -07:00
|
|
|
UIImageView *faviconView;
|
2012-07-28 23:43:50 -07:00
|
|
|
int topMargin;
|
|
|
|
int bottomMargin;
|
|
|
|
int leftMargin;
|
|
|
|
int rightMargin;
|
|
|
|
int avatarSize;
|
2012-07-13 16:02:21 -07:00
|
|
|
}
|
|
|
|
|
2013-06-19 18:55:23 -07:00
|
|
|
@property (nonatomic, strong) UILabel *activityLabel;
|
2012-07-21 18:25:56 -07:00
|
|
|
@property (nonatomic, strong) UIImageView *faviconView;
|
2012-07-28 23:43:50 -07:00
|
|
|
@property (readwrite) int topMargin;
|
|
|
|
@property (readwrite) int bottomMargin;
|
|
|
|
@property (readwrite) int leftMargin;
|
|
|
|
@property (readwrite) int rightMargin;
|
|
|
|
@property (readwrite) int avatarSize;
|
2012-07-13 16:02:21 -07:00
|
|
|
|
2012-07-28 23:31:12 -07:00
|
|
|
- (int)setActivity:(NSDictionary *)activity withUserProfile:(NSDictionary *)userProfile withWidth:(int)width;
|
2012-07-16 19:45:14 -07:00
|
|
|
- (NSString *)stripFormatting:(NSString *)str;
|
2012-07-13 16:02:21 -07:00
|
|
|
|
|
|
|
@end
|