//
//  XTTextStorageParagraphTemplate.h
//  XTads
//
//  Created by Rune Berg on 29/05/2020.
//  Copyright © 2020 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>

//NS_ASSUME_NONNULL_BEGIN

@interface XTTextStorageParagraphTemplate : NSObject

+ (instancetype)forTextStorage:(NSTextStorage *)textStorage;

- (void)doForEachParagraphInRange:(NSRange)range excludeNewlines:(BOOL)excludeNewlines callback:(void(^)(NSRange))callback;

@end

//NS_ASSUME_NONNULL_END
