Switches to Core Data model objects

This commit is contained in:
Riley Testut
2019-05-20 21:24:53 +02:00
parent 65a8414727
commit c3a8abf8dc
13 changed files with 272 additions and 121 deletions

View File

@@ -32,7 +32,6 @@ class AppDetailViewController: UITableViewController
private lazy var screenshotsDataSource = self.makeScreenshotsDataSource()
@IBOutlet private var nameLabel: UILabel!
@IBOutlet private var subtitleLabel: UILabel!
@IBOutlet private var developerButton: UIButton!
@IBOutlet private var appIconImageView: UIImageView!
@@ -73,8 +72,7 @@ private extension AppDetailViewController
func update()
{
self.nameLabel.text = self.app.name
self.subtitleLabel.text = self.app.subtitle
self.developerButton.setTitle(self.app.developer, for: .normal)
self.developerButton.setTitle(self.app.developerName, for: .normal)
self.appIconImageView.image = UIImage(named: self.app.iconName)
let text = String(format: NSLocalizedString("Download %@", comment: ""), self.app.name)