Files
mier_ios/SweetParty/Expand/Category/UITextView+Placeholder.h
2025-08-11 10:43:19 +08:00

23 lines
704 B
Objective-C
Executable File

//
// UITextView+Placeholder.h
// MoHuanXingYu
//
// Created by aa on 2019/7/12.
// Copyright © 2019 MoHuanXingYu. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
FOUNDATION_EXPORT double UITextView_PlaceholderVersionNumber;
FOUNDATION_EXPORT const unsigned char UITextView_PlaceholderVersionString[];
@interface UITextView (Placeholder)
@property (nonatomic, readonly) UILabel *placeholderLabel;
@property (nonatomic, strong) IBInspectable NSString *placeholder;
@property (nonatomic, strong) NSAttributedString *attributedPlaceholder;
@property (nonatomic, strong) IBInspectable UIColor *placeholderColor;
+(UIColor *)defaultPlaceholderColor;
@end
NS_ASSUME_NONNULL_END