//
//  TTAtlasDetailView.h
//  DFTTFramework
//
//  Created by 路鹏 on 2017/4/25.
//  Copyright © 2017年 路鹏. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTNewsListModel.h"

typedef void(^TTAtlasDetailSuccessBlock)(NSString *success);
typedef void(^TTAtlasDetailFailBlock)(NSString *fail);

@interface TTAtlasDetailView : UIView
@property (nonatomic, assign) id delegate;

- (instancetype)initWithFrame:(CGRect)frame withNewsListModel:(TTNewsListModel *)newsListModel withSuccess:(TTAtlasDetailSuccessBlock)successBlock withFail:(TTAtlasDetailFailBlock)failBlock;
@end


@protocol TTAtlasDetailViewDelegate <NSObject>

- (void)TTAtlasDetailView:(TTAtlasDetailView *)atlasDetailView moreItemClickWithNewsListModel:(TTNewsListModel *)newsListModel cellType:(TTNewsListViewCellPushViewType)pushType;
@end
