WeiboViewControlle.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. //
  2. // WeiboViewControlle.h
  3. // wq
  4. //
  5. // Created by weqia on 13-8-28.
  6. // Copyright (c) 2013年 Weqia. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "PageLoadFootView.h"
  10. #import "WeiboData.h"
  11. #import "HBCoreLabel.h"
  12. //#import "admobViewController.h"
  13. #import "JXTableViewController.h"
  14. #import "JX_SelectMenuView.h"
  15. @class JXServer;
  16. @class WeiboReplyData;
  17. @class JXTextView;
  18. @class WeiboCell;
  19. @class userInfoVC;
  20. @class JXMenuView;
  21. #define WeiboUpdateNotification @"WeiboUpdateNotification"
  22. @class WeiboViewControlle;
  23. @protocol weiboVCDelegate <NSObject>
  24. - (void) weiboVC:(WeiboViewControlle *)weiboVC didSelectWithData:(WeiboData *)data;
  25. @end
  26. @interface WeiboViewControlle : JXTableViewController<HBCoreLabelDelegate,UITextFieldDelegate,UIScrollViewDelegate,UITextViewDelegate>
  27. {
  28. UITextView* _input;
  29. UIView* _inputParent;
  30. void(^_block)(NSString*string);
  31. // WeiboData * _deleteWeibo;
  32. NSIndexPath *_deletePath;
  33. BOOL animationEnd;
  34. NSMutableArray* _pool;
  35. UIView * _bgBlackAlpha;
  36. JX_SelectMenuView * _selectView;
  37. }
  38. @property(nonatomic,strong) JXUserObject* user;
  39. @property(nonatomic,strong)NSMutableArray* datas;
  40. @property(nonatomic,strong)WeiboData * selectWeiboData;
  41. @property(nonatomic,strong)WeiboCell* selectWeiboCell;
  42. //@property(nonatomic,strong)WeiboReplyData * replyData;
  43. @property(nonatomic,strong)WeiboReplyData * replyDataTemp;
  44. @property(nonatomic,strong)WeiboData * deleteWeibo;
  45. @property(nonatomic,assign) int refreshCount;
  46. @property(nonatomic,assign) NSInteger refreshCellIndex;
  47. @property(nonatomic,assign) int deleteReply;
  48. @property (nonatomic, assign) BOOL isDetail;
  49. @property (nonatomic, copy) NSString *detailMsgId;
  50. @property (nonatomic, assign) BOOL isNotShowRemind;
  51. @property (nonatomic, assign) BOOL isCollection;
  52. @property (nonatomic, weak) id<weiboVCDelegate>delegate;
  53. @property (nonatomic, assign) BOOL isSend;
  54. @property (nonatomic, assign) NSInteger videoIndex;
  55. @property(nonatomic,retain) JXVideoPlayer* videoPlayer;
  56. @property(nonatomic,strong) JXMenuView *menuView;
  57. //输入后面的透明view
  58. @property (nonatomic,retain) UIView * clearBackGround;
  59. -(void)doShowAddComment:(NSString*)s;
  60. -(NSString*)getLastMessageId:(NSArray*)objects;
  61. -(void)delBtnAction:(WeiboData *)cellData;
  62. -(void)btnReplyAction:(UIButton *)sender WithCell:(WeiboCell *)cell;
  63. -(void)fileAction:(WeiboData *)cellData;
  64. -(void)setupTableViewHeight:(CGFloat)height tag:(NSInteger)tag;
  65. //收藏
  66. -(instancetype)initCollection;
  67. @end