PFTextField Class Reference

Inherits from UITextField
Declared in PFTextField.h

Overview

PFTextField class serves as a stylable subclass of UITextField. It includes styles that are specific to ParseUI framework and allows advanced customization.

  separatorStyle

Separator style bitmask that should be applied to this textfield.

@property (nonatomic, assign) PFTextFieldSeparatorStyle separatorStyle

Discussion

Default:

Declared In

PFTextField.h

  UI_APPEARANCE_SELECTOR

Color that should be used for the separators, if they are visible.

@property (nullable, nonatomic, strong) UIColor *UI_APPEARANCE_SELECTOR

Discussion

Default: 227,227,227,1.0.

Declared In

PFTextField.h

– initWithFrame:separatorStyle:

This method is a convenience initializer that sets both frame and separatorStyle for an instance of PFTextField.

- (instancetype)initWithFrame:(CGRect)frame separatorStyle:(PFTextFieldSeparatorStyle)separatorStyle

Parameters

frame

The frame rectangle for the view, measured in points.

separatorStyle

Initial separator style to use.

Return Value

An initialized instance of PFTextField or nil if it couldn’t be created.

Discussion

This method is a convenience initializer that sets both frame and separatorStyle for an instance of PFTextField.

Declared In

PFTextField.h