Verified Commit 06b6ad7b authored by Eyad Hasan's avatar Eyad Hasan
Browse files

Trying to fix errors that are preventing the project from building

parent 4d2fb0c0
......@@ -100,7 +100,7 @@ class FilterSelectionTableViewController: UITableViewController {
else {
let tableCell = tableView.cellForRow(at: indexPath)
var res: Bool
if(tableCell?.accessoryType == UITableViewCell.AccessoryType.none) {
if(tableCell?.accessoryType == UITableViewCell.accessoryType.none) {
res = true
}
else {
......
......@@ -30,7 +30,7 @@ class FacilityDetailViewController: UIViewController, UITableViewDelegate, UITab
else {
title = "Add to Favorites"
}
let favoritePreviewItem = UIPreviewAction(title: title, style: UIPreviewAction.Style.default, handler: markAsFavoritePreviewAction)
let favoritePreviewItem = UIPreviewAction(title: title, style: UIPreviewAction.style.default, handler: markAsFavoritePreviewAction)
return [favoritePreviewItem]
}
......
......@@ -46,10 +46,10 @@ class OnlyOneChecked {
func setCheckToCellWithID(_ id: Int) {
for cell in view.sortOptions {
if(id == cell.cellIndex) {
cell.accessoryType = UITableViewCell.AccessoryType.checkmark
cell.accessoryType = UITableViewCell.accessoryType.checkmark
}
else {
cell.accessoryType = UITableViewCell.AccessoryType.none
cell.accessoryType = UITableViewCell.accessoryType.none
}
}
......
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