Skip to content

Customize textfield #38

Open
Open

Description

@sarrathy

Can you help me in how to customize the textfield .

Activity

  1. mats-claassen commented on May 8, 2019

    @mats-claassen
    Member

    Have you read through the readme of this project and Eureka's Readme?

    What do you want to do? I can't help you if you don't tell me what you want to do.

  2. sarrathy commented on May 9, 2019

    @sarrathy
    Author

    The textfield that we type for the text for suggestion . i Want to customise it by adding border .
    Not the table that shows the suggestion . The static field .

  3. mats-claassen commented on May 10, 2019

    @mats-claassen
    Member

    Use cellSetup to access the cell's textField and change it as you would do with any UITextField

    <<< WhateverRow() { row in
        // ...
    }.cellSetup { cell, row in
        cell.textField.layer.borderColor = // ...
        // and so on
    }
  4. sarrathy commented on May 15, 2019

    @sarrathy
    Author

    Is it possible to add my own custom textfield . Like with a image or something . I want to add custom textfield from a nib

  5. mats-claassen commented on May 15, 2019

    @mats-claassen
    Member

    See the second part of this comment, where I describe how to subclass _FieldCell. In your case you want to subclass SuggestionCell, which is a subclass of _FieldCell

  6. sarrathy commented on May 16, 2019

    @sarrathy
    Author

    Will try that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions