//
//  XTBannerGridTextModel.h
//  XTads
//
//  Created by Rune Berg on 16/04/16.
//  Copyright © 2016 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XTOutputFormatter.h"


@interface XTBannerGridTextModel : NSObject

@property NSUInteger rowIndex;
@property NSUInteger columnIndex;
@property NSUInteger maxRowIndex;
@property NSUInteger maxColumnIndex;

@property (readonly) BOOL hasChanged;

+ (instancetype)withTextFormatter:(XTOutputFormatter *)outputFormatter;

- (void)clear;

- (void)addAttributedString:(NSAttributedString*)attrString;

- (NSAttributedString *)getFullAttributedString;

@end
