PTFreeTextView
@interface PTFreeTextView : UITextView <PTOverridable>
- (instancetype)initWithFrame:(CGRect)frame textContainer:(nullable NSTextContainer *)textContainer NS_UNAVAILABLE;
- (void)setBorderWithColor:(CGColorRef)color withWidth:(double)width;
@property (nonatomic, assign, getter=isRichContentEnabled) BOOL richContentEnabled;
@property (nonatomic, assign, getter=isAlignmentModeEnabled) BOOL alignmentModeEnabled;
@property (nonatomic, assign) double zoom;
@property (nonatomic, readonly, copy, nullable) NSString *richTextString;
@property (nonatomic, readonly, copy, nullable) NSString *defaultStyleString;
@property (nonatomic, assign) NSInteger verticalAlignment;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithFrame:(CGRect)frame textContainer:(nullable NSTextContainer *)textContainer NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (void)setBorderWithColor:(CGColorRef)color withWidth:(double)width;Swift
func setBorderWith(_ color: CGColor, withWidth width: Double) -
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isRichContentEnabled) BOOL richContentEnabledSwift
var isRichContentEnabled: Bool { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isAlignmentModeEnabled) BOOL alignmentModeEnabledSwift
var isAlignmentModeEnabled: Bool { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) double zoomSwift
var zoom: Double { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, copy, nullable) NSString *richTextStringSwift
var richTextString: String? { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, copy, nullable) NSString *defaultStyleStringSwift
var defaultStyleString: String? { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger verticalAlignmentSwift
var verticalAlignment: Int { get set }
PTFreeTextView Class Reference