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
80192890
Unverified
Commit
80192890
authored
Jun 16, 2018
by
Zach Knox
Browse files
make considerations on waiting for the network
parent
e2e37162
Changes
2
Hide whitespace changes
Inline
Side-by-side
WhatsOpen/WhatsOpen/Info.plist
View file @
80192890
...
...
@@ -23,7 +23,7 @@
<key>
CFBundleShortVersionString
</key>
<string>
1.1
</string>
<key>
CFBundleVersion
</key>
<string>
3
2
</string>
<string>
3
3
</string>
<key>
Fabric
</key>
<dict>
<key>
APIKey
</key>
...
...
WhatsOpen/WhatsOpen/Views/Primary Views/FacilitiesListViewController.swift
View file @
80192890
...
...
@@ -186,6 +186,9 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
if
(
userActivity
==
nil
)
{
return
// don't do anything
}
while
(
facilitiesArray
.
count
==
0
)
{
// because I'm too lazy to have the downloader post a notification here
sleep
(
1
)
}
let
facility
=
facilitiesArray
.
filter
(
NSPredicate
(
format
:
"facilityName = '"
+
(
userActivity
?
.
title
)
!
+
"'"
))
.
first
if
(
facility
==
nil
)
{
return
// don't do anything
...
...
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