Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UILabel in cell overlaps the other content #99

Open
harshvishu opened this issue Jun 28, 2016 · 0 comments
Open

UILabel in cell overlaps the other content #99

harshvishu opened this issue Jun 28, 2016 · 0 comments

Comments

@harshvishu
Copy link

harshvishu commented Jun 28, 2016

screen shot 2016-06-28 at 11 36 25 am

autocompleteTextBox?.registerAutoCompleteCellNib(UINib(nibName: "MyAutoCompleteTableViewCell", bundle: nil), forCellReuseIdentifier: "idMyAutoCompleteTableViewCell")

// load the data for autocomplete   
func autoCompleteTextField(textField: MLPAutoCompleteTextField!, possibleCompletionsForString string: String!) -> [AnyObject]! {
        return  people?.map{ $0.name }
    }

func autoCompleteTextField(textField: MLPAutoCompleteTextField!, shouldConfigureCell cell: UITableViewCell!, withAutoCompleteString autocompleteString: String!, withAttributedString boldedString: NSAttributedString!, forAutoCompleteObject autocompleteObject: MLPAutoCompletionObject!, forRowAtIndexPath indexPath: NSIndexPath!) -> Bool {

                (cell as! MyAutoCompleteTableViewCell).delegate = bankDelegate

        return true
    }

As you can see the text from the label overlaps the buttons. How should I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant