Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
colorfulSchoolReconsitution
Project
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
2
Merge Requests
2
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
刘卓鑫
colorfulSchoolReconsitution
Commits
52d153fc
Commit
52d153fc
authored
Apr 01, 2020
by
刘卓鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
3382edac
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
72 additions
and
38 deletions
+72
-38
project.pbxproj
ColorfulSchool/ColorfulSchool.xcodeproj/project.pbxproj
+7
-7
UserInterfaceState.xcuserstate
...ata/liuzhuoxin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
AppDelegate.h
ColorfulSchool/ColorfulSchool/AppDelegate.h
+0
-16
ZXHomePageViewController.m
...ge(首页)/0801HomePage/Controller/ZXHomePageViewController.m
+6
-6
ZXLoginViewController.m
...sses/Login(登录注册)/Login/Controller/ZXLoginViewController.m
+2
-3
ZXTaskViewController.m
...ol/ColorfulSchool/Classes/Task(任务)/ZXTaskViewController.m
+6
-3
FSActionSheetConfig.m
...ol/Classes/Vendor(三方)/FSActionSheet/FSActionSheetConfig.m
+4
-1
AppDelegate+Extension.h
...fulSchool/ColorfulSchool/Main(入口)/AppDelegate+Extension.h
+0
-0
AppDelegate+Extension.m
...fulSchool/ColorfulSchool/Main(入口)/AppDelegate+Extension.m
+0
-0
AppDelegate.h
ColorfulSchool/ColorfulSchool/Main(入口)/AppDelegate.h
+42
-0
AppDelegate.m
ColorfulSchool/ColorfulSchool/Main(入口)/AppDelegate.m
+2
-1
MyTabViewController.m
.../ColorfulSchool/Main(入口)/Controller/MyTabViewController.m
+3
-1
No files found.
ColorfulSchool/ColorfulSchool.xcodeproj/project.pbxproj
View file @
52d153fc
...
...
@@ -3233,10 +3233,6 @@
22E57B471F8E0E54008A753E
/* ColorfulSchool.entitlements */
,
A7DECC542079F0E20039EC22
/* Classes */
,
A754365021D33182005584CC
/* Main(入口) */
,
A754365121D33182005584CC
/* AppDelegate.h */
,
A754365221D33182005584CC
/* AppDelegate.m */
,
A705BF9521D4AA69004F1628
/* AppDelegate+Extension.h */
,
A75436F021D34DEA005584CC
/* AppDelegate+Extension.m */
,
1CC1542C230D6E3600582EC1
/* LaunchScreen.storyboard */
,
9142D2CE1F35C84E004F90CF
/* Info.plist */
,
9142D2F71F35D212004F90CF
/* PrefixHeader.pch */
,
...
...
@@ -3797,6 +3793,10 @@
A754365021D33182005584CC
/* Main(入口) */
=
{
isa
=
PBXGroup
;
children
=
(
A754365121D33182005584CC
/* AppDelegate.h */
,
A754365221D33182005584CC
/* AppDelegate.m */
,
A705BF9521D4AA69004F1628
/* AppDelegate+Extension.h */
,
A75436F021D34DEA005584CC
/* AppDelegate+Extension.m */
,
A7B2B25421D6117A004467A2
/* ViewModel */
,
9194202A1F37FF520023BD5D
/* Modle */
,
9194202B1F37FF520023BD5D
/* Controller */
,
...
...
@@ -6115,7 +6115,7 @@
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/AdViewBidSDK_iOS-4.0.1"
,
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/GDTMobSDK"
,
);
MARKETING_VERSION
=
3.9.
23
;
MARKETING_VERSION
=
3.9.
30
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
@@ -6360,7 +6360,7 @@
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/AdViewBidSDK_iOS-4.0.1"
,
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/GDTMobSDK"
,
);
MARKETING_VERSION
=
3.9.
23
;
MARKETING_VERSION
=
3.9.
30
;
ONLY_ACTIVE_ARCH
=
YES
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
...
...
@@ -6473,7 +6473,7 @@
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/AdViewBidSDK_iOS-4.0.1"
,
"$(PROJECT_DIR)/ColorfulSchool/Classes/Vendor(三方)/GDTMobSDK"
,
);
MARKETING_VERSION
=
3.9.
23
;
MARKETING_VERSION
=
3.9.
30
;
ONLY_ACTIVE_ARCH
=
YES
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
...
...
ColorfulSchool/ColorfulSchool.xcworkspace/xcuserdata/liuzhuoxin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
52d153fc
No preview for this file type
ColorfulSchool/ColorfulSchool/AppDelegate.h
deleted
100644 → 0
View file @
3382edac
//
// AppDelegate.h
// ColorfulSchool
//
// Created by Listen on 2017/8/5.
// Copyright © 2017年 Colorful Any Door. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface
AppDelegate
:
UIResponder
<
UIApplicationDelegate
>
@property
(
strong
,
nonatomic
)
UIWindow
*
window
;
@end
ColorfulSchool/ColorfulSchool/Classes/HomePage(首页)/0801HomePage/Controller/ZXHomePageViewController.m
View file @
52d153fc
//
//
...
...
@@ -110,11 +110,11 @@
// [self.view addSubview:v];
// }];
if
([[
kUserDefaults
objectForKey
:
@"kAPP_IS_OPENB_TASK"
]
isEqualToString
:
@"yes"
])
{
//查看任务相关内容
[
self
tashShow
];
}
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
tashShow
)
name
:
kAPP_IS_OPENB_TASK
object
:
nil
];
//
if ([[kUserDefaults objectForKey:@"kAPP_IS_OPENB_TASK"] isEqualToString:@"yes"]) {
//
//查看任务相关内容
//
[self tashShow];
//
}
}
-
(
void
)
tashShow
{
...
...
ColorfulSchool/ColorfulSchool/Classes/Login(登录注册)/Login/Controller/ZXLoginViewController.m
View file @
52d153fc
//
//
...
...
@@ -89,8 +89,7 @@
protocolLabel
.
userInteractionEnabled
=
YES
;
UITapGestureRecognizer
*
tap
=
[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
jumpProtocol
)];
[
protocolLabel
addGestureRecognizer
:
tap
];
UILabel
*
versionLabel
=
[[
UILabel
alloc
]
init
];
[
self
.
view
addSubview
:
versionLabel
];
versionLabel
.
text
=
[
NSString
stringWithFormat
:
@"v%@"
,
APPversion
];
...
...
ColorfulSchool/ColorfulSchool/Classes/Task(任务)/ZXTaskViewController.m
View file @
52d153fc
//
//
...
...
@@ -363,7 +363,7 @@
}
self
.
jsFuncName
=
arr
[
0
];
[
ZXTaskManager
sharedZXTaskManager
].
taskCode
=
arr
[
2
];
[
ZXTaskManager
sharedZXTaskManager
].
isTaskCompleted
=
(
taskType
==
3
);
[
ZXTaskManager
sharedZXTaskManager
].
isTaskCompleted
=
(
taskType
==
3
||
taskType
==
6
);
switch
(
taskType
)
{
case
1
:
{
//
NSInteger
adType
=
[
arr
[
5
]
integerValue
];
//3插屏广告 4 全屏视频广告 5激励视频
...
...
@@ -398,7 +398,10 @@
break
;
}
case
6
:
{
//签到完成
[
self
taskCompleted
];
break
;
}
default
:
break
;
}
...
...
ColorfulSchool/ColorfulSchool/Classes/Vendor(三方)/FSActionSheet/FSActionSheetConfig.m
View file @
52d153fc
//
//
//
// FSActionSheetConfig.m
// FSActionSheet
//
...
...
ColorfulSchool/ColorfulSchool/AppDelegate+Extension.h
→
ColorfulSchool/ColorfulSchool/
Main(入口)/
AppDelegate+Extension.h
View file @
52d153fc
File moved
ColorfulSchool/ColorfulSchool/AppDelegate+Extension.m
→
ColorfulSchool/ColorfulSchool/
Main(入口)/
AppDelegate+Extension.m
View file @
52d153fc
File moved
ColorfulSchool/ColorfulSchool/Main(入口)/AppDelegate.h
0 → 100644
View file @
52d153fc
//
//
// AppDelegate.h
// ColorfulSchool
//
/**
项目目录
├── Main(程序单一入口,仅放AppDelegate区分其他文件)
│ ├── AppDelegate.h
│ └── AppDelegate.m
├── Vendor(三方库)
│ ├── SDWebImage
│ └── AFNetworking等
├── Recource(资源文件)
├── Extension(分类扩展)(通用类目录)
├── Tool(工具)(系统公共工具类目录)
├── Config(配置)
│ ├── Macro(宏定义目录)
│ ├── APIManager(系统接口配置)
└── Task(任务)
├── Macro(宏定义目录)
├── HomePage(首页)
├── Found(发现)
└── BQT(百青藤)
├── MineView(个人中心)
├── Login(登录注册)
├── images.xcassets(系统切图资源目录)
*/
// Created by Listen on 2017/8/5.
// Copyright © 2017年 Colorful Any Door. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface
AppDelegate
:
UIResponder
<
UIApplicationDelegate
>
@property
(
strong
,
nonatomic
)
UIWindow
*
window
;
@end
ColorfulSchool/ColorfulSchool/AppDelegate.m
→
ColorfulSchool/ColorfulSchool/
Main(入口)/
AppDelegate.m
View file @
52d153fc
//
...
...
@@ -73,7 +73,7 @@
_isPlaying
=
NO
;
//启动环境
[
APIManager
sharedAPIManager
].
lauchEnvironment
=
ZXColorfulSchoolEnvironment
Tes
t
;
[
APIManager
sharedAPIManager
].
lauchEnvironment
=
ZXColorfulSchoolEnvironment
Produc
t
;
NSLog
(
@"%@"
,
CachePath
);
//极光推送
[
self
initPushWithOptions
:
launchOptions
isProduct
:
YES
];
...
...
ColorfulSchool/ColorfulSchool/Main(入口)/Controller/MyTabViewController.m
View file @
52d153fc
//
//
...
...
@@ -101,6 +101,8 @@
if
([
dic
[
@"isEnabled"
]
integerValue
]
==
1
)
{
if
([
dic
[
@"type"
]
isEqualToString
:
@"14"
])
{
[
kUserDefaults
setObject
:
@"yes"
forKey
:
kAPP_IS_OPENB_TASK
];
//发送通知
[[
NSNotificationCenter
defaultCenter
]
postNotificationName
:
kAPP_IS_OPENB_TASK
object
:
nil
];
}
[
self
.
switchs
addObject
:
dic
];
}
...
...
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