MLPAutoCompleteTextField icon indicating copy to clipboard operation
MLPAutoCompleteTextField copied to clipboard

UILabel in cell overlaps the other content

Open harshvishu opened this issue 8 years ago • 0 comments

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?

harshvishu avatar Jun 28 '16 06:06 harshvishu