2012-07-16 23:48:07 -07:00
|
|
|
//
|
|
|
|
// InteractionCell.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Roy Yang on 7/16/12.
|
|
|
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2012-07-21 15:59:10 -07:00
|
|
|
@interface InteractionCell : UITableViewCell {
|
2013-06-19 18:55:23 -07:00
|
|
|
UILabel *interactionLabel;
|
2012-07-21 15:59:10 -07:00
|
|
|
UIImageView *avatarView;
|
2013-02-21 17:57:32 -08:00
|
|
|
int topMargin;
|
|
|
|
int bottomMargin;
|
|
|
|
int leftMargin;
|
|
|
|
int rightMargin;
|
|
|
|
int avatarSize;
|
2012-07-16 23:48:07 -07:00
|
|
|
}
|
|
|
|
|
2013-06-19 18:55:23 -07:00
|
|
|
@property (retain, nonatomic) UILabel *interactionLabel;
|
2012-07-21 15:59:10 -07:00
|
|
|
@property (retain, nonatomic) UIImageView *avatarView;
|
2013-02-21 17:57:32 -08:00
|
|
|
@property (readwrite) int topMargin;
|
|
|
|
@property (readwrite) int bottomMargin;
|
|
|
|
@property (readwrite) int leftMargin;
|
|
|
|
@property (readwrite) int rightMargin;
|
|
|
|
@property (readwrite) int avatarSize;
|
2012-07-16 23:48:07 -07:00
|
|
|
|
2012-07-21 15:59:10 -07:00
|
|
|
- (int)setInteraction:(NSDictionary *)interaction withWidth:(int)width;
|
2012-07-16 23:48:07 -07:00
|
|
|
- (NSString *)stripFormatting:(NSString *)str;
|
2012-07-21 18:25:56 -07:00
|
|
|
|
2012-07-16 23:48:07 -07:00
|
|
|
@end
|