澎湃iPad上线版本

messageViewModel.h 1.9KB

    // // viewModel.h // ThePaperHD // // Created by liyuan on 15/7/16. // Copyright (c) 2015年 scar1900. All rights reserved. // 消息的viewmodel #import <Foundation/Foundation.h> #import "letterBO.h" @protocol messageViewModelDelegate <NSObject> @optional -(void) returnletterList:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnletterInfo:(letterBO*)data; -(void) returnNextData:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnPushMsgList:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnPushMsgNextUrl:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMyAskList:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMyFocusList:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnmyAnswerList:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMyAskNextUrl:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMyFocusNextUrl:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMyAnswerNextUrl:(NSMutableArray*)data nextUrl:(NSString*)url; -(void) returnMsgMark:(NSMutableDictionary*) msgDic; -(void) returnCateList:(NSMutableArray *)cateList; -(void) returnNoData; @end @interface messageViewModel : NSObject @property(nonatomic, strong)NSDictionary *letterDic; @property(nonatomic, strong) NSString *nextUrl; @property(nonatomic, weak)id<messageViewModelDelegate> delegate; @property(nonatomic, strong)NSDictionary *pushMsgDic; @property(nonatomic, strong)NSString *pushMsgUrl; @property(nonatomic, strong)NSDictionary *msgMark; @property(nonatomic, strong)NSDictionary *myAskDic; @property(nonatomic, strong)NSString *myAskNextUrl; @property(nonatomic, strong)NSDictionary *myFocusDic; @property(nonatomic, strong)NSString *myFocusNextUrl; @property(nonatomic, strong)NSDictionary *myAnswerDic; @property(nonatomic, strong)NSString *myAnswerNextUrl; @property(nonatomic, strong)NSDictionary *cateDic; @end