LuxChat  2.0
Instant messenger for iOS
PFTextField.h
1 /*
2  * Copyright (c) 2014, Parse, LLC. All rights reserved.
3  *
4  * You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
5  * copy, modify, and distribute this software in source code or binary form for use
6  * in connection with the web services and APIs provided by Parse.
7  *
8  * As with any software that integrates with the Parse platform, your use of
9  * this software is subject to the Parse Terms of Service
10  * [https://www.parse.com/about/terms]. This copyright notice shall be
11  * included in all copies or substantial portions of the software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19  *
20  */
21 
22 #import <UIKit/UIKit.h>
23 
24 #import <ParseUI/ParseUIConstants.h>
25 
26 NS_ASSUME_NONNULL_BEGIN
27 
34 typedef NS_OPTIONS(uint8_t, PFTextFieldSeparatorStyle){
36  PFTextFieldSeparatorStyleNone = 0,
38  PFTextFieldSeparatorStyleTop = 1 << 0,
40  PFTextFieldSeparatorStyleBottom = 1 << 1
41 };
42 
47 @interface PFTextField : UITextField
48 
56 @property (nonatomic, assign) PFTextFieldSeparatorStyle separatorStyle;
57 
63 @property (nullable, nonatomic, strong) UIColor *separatorColor UI_APPEARANCE_SELECTOR;
64 
73 - (instancetype)initWithFrame:(CGRect)frame separatorStyle:(PFTextFieldSeparatorStyle)separatorStyle;
74 
75 @end
76 
77 NS_ASSUME_NONNULL_END
UIColor *separatorColor UI_APPEARANCE_SELECTOR
Definition: PFTextField.h:63
Definition: PFTextField.h:47
PFTextFieldSeparatorStyle separatorStyle
Definition: PFTextField.h:56