Ambience v0.0.5 Release Notes

Release Date: 2018-01-06 // about 6 years ago
  • Known issues

    Text View inside Collection

    If you are using a Text View inside a Table View Cell or a Collection View Cell and, in the process of dequeuing it you set its attributed text, beware. Right after assigning the new Attributed Text will need to write a mandatory single line of code to have Ambience work in the Text View properly.

    Follow the example:

    // Inside the respective Table View Controlleroverride func tableView(\_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -\> UITableViewCell { let cell : TextTableCell! = tableView.dequeueReusableCell(withIdentifier: "Cell with text") as! TextTableCell cell.textView?.reinstateAmbience() return cell }