Skip to content

Commit

Permalink
message cell styling complete
Browse files Browse the repository at this point in the history
  • Loading branch information
Sung-Taek Kim committed Jan 30, 2014
1 parent a35da18 commit cddc6be
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 387 deletions.
3 changes: 3 additions & 0 deletions iPad Viewer/Constants/LoggerConstView.h
Expand Up @@ -67,6 +67,9 @@

#define VIEWCONTROLLER_TITLE_HEIGHT 79.f

#define MSG_CELL_TAG_LEVEL_LEFT_PADDING 2.f
#define MSG_CELL_TAG_LEVEL_TOP_PADDING 1.f

extern NSString * const kBottomHintText;
extern NSString * const kBottomHintData;

Expand Down
3 changes: 0 additions & 3 deletions iPad Viewer/VIews & Cells/MessageCell/LoggerMessageCell.h
Expand Up @@ -61,15 +61,12 @@ extern NSString * const kMessageCellReuseID;
UITableView *_hostTableView; // a tableview hosting this cell
LoggerMessageData *_messageData;
UIImage *_imageData;
CGRect _tagDrawRect;
}
@property (nonatomic, assign) UITableView *hostTableView;
@property (nonatomic, retain) LoggerMessageData *messageData;
@property (nonatomic, retain) UIImage *imageData;
@property (nonatomic, retain) __attribute__((NSObject)) CFMutableArrayRef textFrameContainer;

+ (UIColor *)colorForTag:(NSString *)tag;

// initialize with predefined style and reuse identifier
-(id)initWithPreConfig;

Expand Down

0 comments on commit cddc6be

Please sign in to comment.