Commit 15973a34 authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Updating code to account for new data model

Made changes so the objects are accessing correctly, and changing some variable names and such.
parent edd68e22
......@@ -28,7 +28,7 @@ class LocationDetailViewController: UIViewController, UITableViewDelegate, UITab
override func viewDidLoad() {
super.viewDidLoad()
NameLabel.text = facility.slug
NameLabel.text = facility.facilityName
PlaceLabel.text = facility.facilityLocation
let open = Utilities.isOpen(facility: facility)
if(open) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment