Skip to content

Make placeholderTextColor settable #24

@jordanhbuiltbyhq

Description

@jordanhbuiltbyhq

I'd like to change the placeholderTextColor but it's a constant not an inspectable variable like titleTextColour. This is what I desire. :)

    @IBInspectable var placeholderTextColor:UIColor = UIColor.lightGray.withAlphaComponent(0.65) {
        didSet {
            if !isFirstResponder {
                hintLabel.textColor = placeholderTextColor
            }
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions