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 richContentEnabled
Swift
var isRichContentEnabled: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isAlignmentModeEnabled) BOOL alignmentModeEnabled
Swift
var isAlignmentModeEnabled: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) double zoom
Swift
var zoom: Double { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, copy, nullable) NSString *richTextString
Swift
var richTextString: String? { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, copy, nullable) NSString *defaultStyleString
Swift
var defaultStyleString: String? { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger verticalAlignment
Swift
var verticalAlignment: Int { get set }