PFTextField

@interface PFTextField : UITextField

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

  • Separator style bitmask that should be applied to this textfield.

    Default: PFTextFieldSeparatorStyleNone

    See

    PFTextFieldSeparatorStyle

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        PFTextFieldSeparatorStyle separatorStyle;
  • Color that should be used for the separators, if they are visible.

    Default: 227,227,227,1.0.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) UIColor *separatorColor;
  • This method is a convenience initializer that sets both frame and separatorStyle for an instance of PFTextField.

    Declaration

    Objective-C

    - (nonnull 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.