MLPAutoCompleteTextField
MLPAutoCompleteTextField copied to clipboard
UILabel in cell overlaps the other content

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?