diff --git a/GoodReadDaily.xcodeproj/project.xcworkspace/xcuserdata/olgaeliseeva.xcuserdatad/UserInterfaceState.xcuserstate b/GoodReadDaily.xcodeproj/project.xcworkspace/xcuserdata/olgaeliseeva.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 9f8b6a5..0000000 Binary files a/GoodReadDaily.xcodeproj/project.xcworkspace/xcuserdata/olgaeliseeva.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/GoodReadDaily/Controller/TodaysFeedViewController.swift b/GoodReadDaily/Controller/TodaysFeedViewController.swift index 17bcbb7..f1fa7df 100644 --- a/GoodReadDaily/Controller/TodaysFeedViewController.swift +++ b/GoodReadDaily/Controller/TodaysFeedViewController.swift @@ -105,8 +105,16 @@ extension TodaysFeedViewController: UITableViewDataSource { for: indexPath ) let article = articles[indexPath.row] - cell.textLabel?.text = article.title - cell.detailTextLabel?.text = article.subtitle + var config = cell.defaultContentConfiguration() + config.text = article.title + config.secondaryText = article.subtitle + cell.contentConfiguration = config +// cell.textLabel?.text = article.title +// cell.textLabel?.numberOfLines = 0 +// cell.textLabel?.lineBreakMode = .byWordWrapping +// cell.detailTextLabel?.text = article.subtitle +// cell.detailTextLabel?.numberOfLines = 0 +// cell.detailTextLabel?.lineBreakMode = .byWordWrapping return cell } }