Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
jobthai
jobthai-ios-swift
Commits
2e12ed06
Commit
2e12ed06
authored
8 years ago
by
tayathorn
Browse files
Options
Download
Patches
Plain Diff
:: แก้ Quick Guide ::
parent
74234fff
develop
test7
test6
test5
test4
test3
test2
test1
before_remove_auto_login
apple_review
TestFlight_3.0.0_20161102
Sprint#33_Build_3.0.0_21
Build3.0.0_20
AppReview3.0.0_201610061803
AppReview3.0.0_201610031816
AppReview3.0.0_#1
AppReview2.9.0_#1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
JobThai/JobThai/JTMMainQuickGuideViewController.swift
+1
-1
JobThai/JobThai/JTMMainQuickGuideViewController.swift
JobThai/JobThai/JTMMaintenaceViewController.swift
+7
-7
JobThai/JobThai/JTMMaintenaceViewController.swift
with
8 additions
and
8 deletions
+8
-8
JobThai/JobThai/JTMMainQuickGuideViewController.swift
+
1
−
1
View file @
2e12ed06
...
...
@@ -147,7 +147,7 @@ class JTMMainQuickGuideViewController: UIViewController , UIPageViewControllerDa
@IBAction
func
pageContentViewSkipButtonClick
()
{
if
!
NSUserDefaults
.
standardUserDefaults
()
.
boolForKey
(
HAS_SEEN_QUICK_GUIDE
)
{
NSUserDefaults
.
standardUserDefaults
()
.
setBool
(
true
,
forKey
:
HAS_SEEN_QUICK_GUIDE
)
maintenanceView
?
.
p
resentPre
L
oad
(
self
)
maintenanceView
?
.
checkServiceAndP
resentPre
l
oad
(
self
)
}
else
{
self
.
dismissViewControllerAnimated
(
true
,
completion
:
nil
)
}
...
...
This diff is collapsed.
Click to expand it.
JobThai/JobThai/JTMMaintenaceViewController.swift
+
7
−
7
View file @
2e12ed06
...
...
@@ -171,7 +171,11 @@ class JTMMaintenaceViewController : JTMBaseViewController {
func
skipMaintenanceMode
()
{
tryAutoLogin
()
initialMapEngine
()
checkPreloadService
()
if
self
.
checkHasSeenQuickGuide
()
{
self
.
presentQuickGuide
()
}
else
{
checkServiceAndPresentPreload
(
self
)
}
}
func
setMainteneContent
()
{
...
...
@@ -206,14 +210,10 @@ class JTMMaintenaceViewController : JTMBaseViewController {
}
// MARK : Connect Service Preload
func
check
PreloadService
(
)
{
func
check
ServiceAndPresentPreload
(
currentView
:
UIViewController
)
{
connectServicePreload
({
()
->
Void
in
if
(
self
.
checkPreloadData
()){
if
self
.
checkHasSeenQuickGuide
()
{
self
.
presentQuickGuide
()
}
else
{
self
.
presentPreLoad
(
self
)
}
self
.
presentPreLoad
(
currentView
)
}
else
{
self
.
presentMainView
()
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets