Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-ios
Commits
06b6ad7b
Verified
Commit
06b6ad7b
authored
Sep 05, 2018
by
Eyad Hasan
Browse files
Trying to fix errors that are preventing the project from building
parent
4d2fb0c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/WhatsOpen/Views/Filters Views/FilterSelectionTableViewController.swift
View file @
06b6ad7b
...
...
@@ -100,7 +100,7 @@ class FilterSelectionTableViewController: UITableViewController {
else
{
let
tableCell
=
tableView
.
cellForRow
(
at
:
indexPath
)
var
res
:
Bool
if
(
tableCell
?
.
accessoryType
==
UITableViewCell
.
A
ccessoryType
.
none
)
{
if
(
tableCell
?
.
accessoryType
==
UITableViewCell
.
a
ccessoryType
.
none
)
{
res
=
true
}
else
{
...
...
WhatsOpen/WhatsOpen/Views/Primary Views/FacilityDetailViewController.swift
View file @
06b6ad7b
...
...
@@ -30,7 +30,7 @@ class FacilityDetailViewController: UIViewController, UITableViewDelegate, UITab
else
{
title
=
"Add to Favorites"
}
let
favoritePreviewItem
=
UIPreviewAction
(
title
:
title
,
style
:
UIPreviewAction
.
S
tyle
.
default
,
handler
:
markAsFavoritePreviewAction
)
let
favoritePreviewItem
=
UIPreviewAction
(
title
:
title
,
style
:
UIPreviewAction
.
s
tyle
.
default
,
handler
:
markAsFavoritePreviewAction
)
return
[
favoritePreviewItem
]
}
...
...
WhatsOpen/WhatsOpen/Views/TableViewCells/CheckingTableViewCell.swift
View file @
06b6ad7b
...
...
@@ -46,10 +46,10 @@ class OnlyOneChecked {
func
setCheckToCellWithID
(
_
id
:
Int
)
{
for
cell
in
view
.
sortOptions
{
if
(
id
==
cell
.
cellIndex
)
{
cell
.
accessoryType
=
UITableViewCell
.
A
ccessoryType
.
checkmark
cell
.
accessoryType
=
UITableViewCell
.
a
ccessoryType
.
checkmark
}
else
{
cell
.
accessoryType
=
UITableViewCell
.
A
ccessoryType
.
none
cell
.
accessoryType
=
UITableViewCell
.
a
ccessoryType
.
none
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment