Files
ManagerDemo/Pods/DTCoreText/Core/Source/DTDictationPlaceholderTextAttachment.h
T
2014-08-08 13:27:54 +08:00

25 lines
717 B
Objective-C

//
// DTDictationPlaceholderTextAttachment.h
// DTCoreText
//
// Created by Oliver Drobnik on 06.02.13.
// Copyright (c) 2013 Drobnik.com. All rights reserved.
//
#import "DTTextAttachment.h"
/**
This is a special subclass of DTTextAttachment used to represent the dictation placeholder.
When encountering such an element DTAttributedTextContentView does not call the delegate to provide a subclass but automatically creates and adds a DTDictationPlaceholderView.
*/
@interface DTDictationPlaceholderTextAttachment : DTTextAttachment
/**
The string that inserting the dictation placeholder replaced, used for Undoing
*/
@property (nonatomic, retain) NSAttributedString *replacedAttributedString;
@end