| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- //
- // DetailRelatedCell.h
- // RedAnt ERP Mobile
- //
- // Created by Ray on 14-7-31.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class DetailTopicCell;
- @protocol DetailRelatedCellDelegate <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 DetailTopicCell : UITableViewCell<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
- {
- @private
- // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
- id <DetailRelatedCellDelegate> __weak itemdelegate;
- }
- @property (strong, nonatomic) IBOutlet UICollectionView *topicCollectionView;
- @property (weak, nonatomic) id <DetailRelatedCellDelegate> itemdelegate;
- @property (strong, nonatomic) NSDictionary* related_data;
- @end
- /*
- @class SimpleGrid;
- @protocol SimpleGridDelegate <NSObject>
- @required
- - (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 SimpleGrid : UIScrollView
- {
- @private
- // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
- id <SimpleGridDelegate> __weak griddelegate;
- }
- //
- @property (weak, nonatomic) id <SimpleGridDelegate> griddelegate;
-
-
- */
|