diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-24 16:32:23 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-24 16:32:23 +1100 |
commit | 1b292bc251b3dbef532dacad9705bd197ac4227b (patch) | |
tree | 1635ed0cc70922f6337d010b42e2119258877114 /foray/Scenes/ForayDetailViewController.swift | |
parent | 716724df0fee78a8976d5255096e000af29daad1 (diff) | |
download | forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.tar.gz forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.tar.bz2 forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.zip |
Reorganise into folder groups
In preparation for presenters to come in largely, lots of files starting
to go everywhere...
Diffstat (limited to 'foray/Scenes/ForayDetailViewController.swift')
-rw-r--r-- | foray/Scenes/ForayDetailViewController.swift | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/foray/Scenes/ForayDetailViewController.swift b/foray/Scenes/ForayDetailViewController.swift new file mode 100644 index 0000000..c676df6 --- /dev/null +++ b/foray/Scenes/ForayDetailViewController.swift @@ -0,0 +1,29 @@ +// +// ForayDetailViewController.swift +// foray +// +// Created by Nicholas Tay on 16/3/2022. +// + +import UIKit + +class ForayDetailViewController: UIViewController, HasCustomView, ForayCoordinated { + + typealias CustomView = ForayDetailView + + var coordinator: ForayCoordinator? + + override func viewDidLoad() { + super.viewDidLoad() + self.title = "Details" + } + + override func loadView() { + view = ForayDetailView() + } + + public func setDetails(name: String, description: String, image: UIImage) { + self.customView.setDetails(name: name, description: description, image: image) + } + +} |