//
//  HomeTableViewCellTopic.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 7/21/15.
//  Copyright (c) 2015 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HomeTableViewCellTopic;
@protocol HomeTableViewCellTopicDelegate <NSObject>
@required
- (void) TopicItemClicked:(NSString*) product_id category:(NSString*) category;
//- (void) LongPress:(UIView*)view row:(int) x column:(int) y;
//- (void) LongPress:(UIView*)view row:(int) x;
//- (void) Tap:(UIView*)view row:(int) x column:(int) y;
//- (void) Tap:(UIView*)view row:(int) x;
@end
@interface HomeTableViewCellTopic : UITableViewCell<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
{
@private
    //    id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
    id <HomeTableViewCellTopicDelegate>  __weak itemdelegate;
}
@property (strong, nonatomic) IBOutlet UICollectionView *topicCollectionView;

@property (weak, nonatomic) id <HomeTableViewCellTopicDelegate> itemdelegate;
@property (strong, nonatomic) NSDictionary* related_data;
@property (strong, nonatomic) IBOutlet UILabel *label_title;
@end


