Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
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
张杰
Opple-iOS
Commits
3281cc6c
Commit
3281cc6c
authored
Dec 23, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:修改Packaging.sh文件
parent
22fa30c2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
AnswerViewController.m
Class/LearningCenter/SkillsAssessment/AnswerViewController.m
+1
-1
EmigratedMainViewController.m
...ningCenter/SkillsAssessment/EmigratedMainViewController.m
+3
-2
Packaging.sh
Packaging.sh
+1
-1
BaseViewController.m
Tools/BaseViewController.m
+1
-1
No files found.
Class/LearningCenter/SkillsAssessment/AnswerViewController.m
View file @
3281cc6c
...
...
@@ -252,7 +252,7 @@
EmigratedFinishViewController
*
finish
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"EmigratedFinishViewController"
];
finish
.
delegate
=
self
;
finish
.
preferredContentSize
=
CGSizeMake
(
520
,
400
);
if
(
self
.
emigrated
.
passGrade
>
allScore
)
{
if
(
self
.
emigrated
.
passGrade
>
allScore
&&
!
[
state
isEqualToString
:
@"2"
]
)
{
finish
.
state
=
ZERO
;
finish
.
score
=
[
NSString
stringWithFormat
:
@"%ld"
,
allScore
];
[
self
showPopoverView
:
finish
];
...
...
Class/LearningCenter/SkillsAssessment/EmigratedMainViewController.m
View file @
3281cc6c
...
...
@@ -96,8 +96,9 @@
-
(
void
)
selectApplicableAction
:
(
UITapGestureRecognizer
*
)
sender
{
TOPassLevelEntity
*
entity
=
self
.
emigratedResponse
.
passLevelEntity
[
sender
.
view
.
tag
];
if
([[
self
class
]
compareDateString
:
entity
.
endDate
])
{
[
XBLoadingView
showHUDViewWithText
:
@"已过期"
];
return
;
}
AnswerViewController
*
answer
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"AnswerViewController"
];
answer
.
delegate
=
self
;
answer
.
passLevelId
=
entity
.
fid
;
...
...
Packaging.sh
View file @
3281cc6c
...
...
@@ -4,7 +4,7 @@
# 工程名
APP_NAME
=
"Lighting"
# 电脑用户名
USER_NAME
=
"
caoyunxiao
"
USER_NAME
=
"
z
"
# 证书
CODE_SIGN_DISTRIBUTION
=
"iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd"
...
...
Tools/BaseViewController.m
View file @
3281cc6c
...
...
@@ -576,7 +576,7 @@
+
(
BOOL
)
compareDateString
:
(
NSString
*
)
dateString
{
NSDateFormatter
*
dateFormatter
=
[[
NSDateFormatter
alloc
]
init
];
[
dateFormatter
setDateFormat
:
@"yyyy-MM-dd
HH:mm:ss
"
];
[
dateFormatter
setDateFormat
:
@"yyyy-MM-dd
23:59:59
"
];
NSDate
*
endDate
=
[
dateFormatter
dateFromString
:
dateString
];
if
([
endDate
compare
:[
NSDate
date
]]
==
NSOrderedAscending
)
{
return
YES
;
...
...
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