Commit 6638879b authored by Eyad Hasan's avatar Eyad Hasan
Browse files

* Need another function to check for special schedules, and apply that. *...

* Need another function to check for special schedules, and apply that.  * Organize by whats currently open
parent 80f41fd0
...@@ -53,7 +53,7 @@ class MainTableViewController: UITableViewController { ...@@ -53,7 +53,7 @@ class MainTableViewController: UITableViewController {
let facility = facilitiesArray[indexPath.row] let facility = facilitiesArray[indexPath.row]
cell.nameLabel.text = facility.name cell.nameLabel.text = facility.name
//TODO: Organize based on if a location is open.
let open = Utilities.isOpen(facility: facility); let open = Utilities.isOpen(facility: facility);
if(open == true){ if(open == true){
cell.openClosedLabel.text="Open" cell.openClosedLabel.text="Open"
......
...@@ -82,4 +82,5 @@ class Utilities: NSObject { ...@@ -82,4 +82,5 @@ class Utilities: NSObject {
return time return time
} }
// TODO: Function to check for special schedules?
} }
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