//
//  newsViewModel.h
//  Open
//
//  Created by gao on 2017/1/23.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import "BaseViewModel.h"
typedef void(^responseBlock)(BOOL allow);
@interface newsViewModel : BaseViewModel

@property(nonatomic)NSInteger	rowNumber;

-(NSString *)iconUrlForRow:(NSInteger)row;
-(NSString *)titleForRow:(NSInteger)row;
-(NSURL*)imageForRow:(NSInteger)row;


@property(nonatomic) NSInteger maxPageId;
@property(nonatomic)	NSInteger pageId;
@property(nonatomic, getter=isHasMore) BOOL hasMore;
@property(nonatomic,strong)	 NSMutableArray *arrayForNews;
@end
