Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,58 @@
//
// UMComFeedDetailTableViewCell.h
// UMCommunity
//
// Created by umeng on 16/5/18.
// Copyright © 2016年 Umeng. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UMComFeedClickActionDelegate.h"
@class UMComLabel, UMComFeedLargeImageView, UMComFeed,UMComAvatarImageView, UMComMutiStyleTextView;
@interface UMComFeedDetailTableViewCell : UITableViewCell
@property (nonatomic, strong) UMComAvatarImageView *realAvatar;
@property (nonatomic, weak) id<UMComFeedClickActionDelegate> clickActionDelegate;
@property (weak, nonatomic) IBOutlet UIView *customBgView;
@property (weak, nonatomic) IBOutlet UIImageView *avatarImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIView *medalBgView;
@property (weak, nonatomic) IBOutlet UIButton *topicButton;
@property (weak, nonatomic) IBOutlet UMComMutiStyleTextView *feedTextView;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UIView *topBgView;
//约束
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *medalTrailingToSuperViewConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLabelWidthConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topicButtonWitdhConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *feedTextLabelHeightConstraint;
/**
* 是否显示话题名字
* @discuss 在TopicFeed界面,显示的都是topic下的feed,因此不需要显示话题名字
*/
@property(nonatomic,assign)BOOL isHideTopicName;
- (IBAction)clickOnTopicButton:(id)sender;
- (void)reloadCellWithFeed:(UMComFeed *)feed;
@end