Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ios1x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
ios1x
Commits
4e9eb9b8
Commit
4e9eb9b8
authored
Aug 04, 2017
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u webview
parent
2bafe321
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
7 deletions
+11
-7
KWMAPIManager.m
iCemarose/Class/Api/KWMAPIManager.m
+1
-1
DeepLinkURLProtocol.m
iCemarose/Class/DeepLinkURLProtocol.m
+3
-1
DPWebViewController.m
iCemarose/Class/UI/DPWebViewController.m
+3
-2
New.storyboard
iCemarose/Class/UI/Product/New.storyboard
+2
-2
UIViewController+AppearLog.m
iCemarose/Class/UIViewController+AppearLog.m
+1
-0
Info.plist
iCemarose/Info.plist
+1
-1
No files found.
iCemarose/Class/Api/KWMAPIManager.m
View file @
4e9eb9b8
...
@@ -713,7 +713,7 @@ static NSString *const passwordTest = @"9e84aae218c57cdf0762763c4cf5a651";
...
@@ -713,7 +713,7 @@ static NSString *const passwordTest = @"9e84aae218c57cdf0762763c4cf5a651";
-
(
NSURLSessionDataTask
*
)
getHomeDataWithSuccess
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
KWMHomeDataResult
*
))
success
failure
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
NSError
*
))
failure
{
-
(
NSURLSessionDataTask
*
)
getHomeDataWithSuccess
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
KWMHomeDataResult
*
))
success
failure
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
NSError
*
))
failure
{
NSInteger
st
=
[[
NSDate
date
]
timeIntervalSince1970
];
NSInteger
st
=
[[
NSDate
date
]
timeIntervalSince1970
];
// st = st - st % 86400 - 28800;
// st = st - st % 86400 - 28800;
NSString
*
apiPath
=
[
NSString
stringWithFormat
:
@"https://ogbgohpla.qnssl.com/App.Home.
test.
json?st=%zi"
,
st
];
NSString
*
apiPath
=
[
NSString
stringWithFormat
:
@"https://ogbgohpla.qnssl.com/App.Home.json?st=%zi"
,
st
];
return
[
self
startSessionTask
:
KWMHTTPMethodGET
apiPath
:
apiPath
parameters
:
nil
result
:
[
KWMHomeDataResult
class
]
model
:
nil
success
:
success
failure
:
failure
];
return
[
self
startSessionTask
:
KWMHTTPMethodGET
apiPath
:
apiPath
parameters
:
nil
result
:
[
KWMHomeDataResult
class
]
model
:
nil
success
:
success
failure
:
failure
];
}
}
...
...
iCemarose/Class/DeepLinkURLProtocol.m
View file @
4e9eb9b8
...
@@ -24,7 +24,9 @@
...
@@ -24,7 +24,9 @@
}
}
-
(
void
)
startLoading
{
-
(
void
)
startLoading
{
[
JLRoutes
routeURL
:
self
.
request
.
URL
];
dispatch_after
(
0
,
dispatch_get_main_queue
(),
^
{
[
JLRoutes
routeURL
:
self
.
request
.
URL
];
});
}
}
-
(
void
)
stopLoading
{
-
(
void
)
stopLoading
{
...
...
iCemarose/Class/UI/DPWebViewController.m
View file @
4e9eb9b8
...
@@ -17,17 +17,18 @@
...
@@ -17,17 +17,18 @@
-
(
void
)
viewDidLoad
{
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
[
super
viewDidLoad
];
self
.
navigationButtonsHidden
=
YES
;
self
.
navigationButtonsHidden
=
YES
;
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
// Do any additional setup after loading the view.
// Do any additional setup after loading the view.
}
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
[
self
.
navigationController
setNavigationBarHidden
:
NO
];
[
self
.
navigationController
setNavigationBarHidden
:
NO
];
[
super
viewWillAppear
:
animated
];
}
}
-
(
void
)
viewWillDisappear
:
(
BOOL
)
animated
{
-
(
void
)
viewWillDisappear
:
(
BOOL
)
animated
{
[
super
viewWillDisappear
:
animated
];
[
super
viewWillDisappear
:
animated
];
[
self
.
navigationController
setNavigationBarHidden
:
YES
];
//
[self.navigationController setNavigationBarHidden:YES];
}
}
-
(
void
)
didReceiveMemoryWarning
{
-
(
void
)
didReceiveMemoryWarning
{
...
...
iCemarose/Class/UI/Product/New.storyboard
View file @
4e9eb9b8
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1212
1
"
systemVersion=
"16F73"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1212
0
"
systemVersion=
"16F73"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<adaptation
id=
"fullscreen"
/>
<adaptation
id=
"fullscreen"
/>
</device>
</device>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1208
9
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1208
8
"
/>
<capability
name=
"Constraints to layout margins"
minToolsVersion=
"6.0"
/>
<capability
name=
"Constraints to layout margins"
minToolsVersion=
"6.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
...
...
iCemarose/Class/UIViewController+AppearLog.m
View file @
4e9eb9b8
...
@@ -22,3 +22,4 @@
...
@@ -22,3 +22,4 @@
#endif
#endif
@end
@end
iCemarose/Info.plist
View file @
4e9eb9b8
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
201708041
3
<
/string
>
<
string
>
201708041
8
<
/string
>
<
k
e
y
>
ITSAppUsesNonExemptEncryption
<
/k
e
y
>
<
k
e
y
>
ITSAppUsesNonExemptEncryption
<
/k
e
y
>
<
fa
ls
e
/
>
<
fa
ls
e
/
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
...
...
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