Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMBase
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMBase
Commits
8c8bda6c
Commit
8c8bda6c
authored
Jun 19, 2020
by
乔金柱
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zl_base' into 'master'
Zl base See merge request
!24
parents
50484bd1
c5a5fef0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
Podfile
Example/Podfile
+1
-1
Podfile.lock
Example/Podfile.lock
+4
-4
WMBaseViewController.m
GMBase/Classes/WMBaseViewController.m
+5
-1
No files found.
Example/Podfile
View file @
8c8bda6c
...
@@ -14,7 +14,7 @@ target 'GMBase_Example' do
...
@@ -14,7 +14,7 @@ target 'GMBase_Example' do
# pod 'GMBaseSwift', :path => '../../GMBaseSwift'
# pod 'GMBaseSwift', :path => '../../GMBaseSwift'
pod
'GMBaseSwift'
,
:git
=>
'git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git'
,
:commit
=>
'116868d'
pod
'GMBaseSwift'
,
:git
=>
'git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git'
,
:commit
=>
'116868d'
pod
'GMPhobos'
,
:git
=>
'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git'
,
:commit
=>
'
3254171eaae5e7c12252aee28f550d163b7be006
'
pod
'GMPhobos'
,
:git
=>
'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git'
,
:commit
=>
'
2fc748a4f501d350f5a75dff23fc33952e7a2f95
'
target
'GMBase_Tests'
do
target
'GMBase_Tests'
do
inherit!
:search_paths
inherit!
:search_paths
...
...
Example/Podfile.lock
View file @
8c8bda6c
...
@@ -131,7 +131,7 @@ PODS:
...
@@ -131,7 +131,7 @@ PODS:
DEPENDENCIES:
DEPENDENCIES:
- GMBase (from `../`)
- GMBase (from `../`)
- "GMBaseSwift (from `git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git`, commit `116868d`)"
- "GMBaseSwift (from `git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git`, commit `116868d`)"
- "GMPhobos (from `git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git`, commit `
3254171eaae5e7c12252aee28f550d163b7be006
`)"
- "GMPhobos (from `git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git`, commit `
2fc748a4f501d350f5a75dff23fc33952e7a2f95
`)"
- GMShareSDK (= 0.2.1)
- GMShareSDK (= 0.2.1)
- SnapKit (= 4.0.0)
- SnapKit (= 4.0.0)
...
@@ -172,7 +172,7 @@ EXTERNAL SOURCES:
...
@@ -172,7 +172,7 @@ EXTERNAL SOURCES:
:commit: 116868d
:commit: 116868d
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git"
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git"
GMPhobos:
GMPhobos:
:commit:
3254171eaae5e7c12252aee28f550d163b7be006
:commit:
2fc748a4f501d350f5a75dff23fc33952e7a2f95
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git"
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git"
CHECKOUT OPTIONS:
CHECKOUT OPTIONS:
...
@@ -180,7 +180,7 @@ CHECKOUT OPTIONS:
...
@@ -180,7 +180,7 @@ CHECKOUT OPTIONS:
:commit: 116868d
:commit: 116868d
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git"
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMBaseSwift.git"
GMPhobos:
GMPhobos:
:commit:
3254171eaae5e7c12252aee28f550d163b7be006
:commit:
2fc748a4f501d350f5a75dff23fc33952e7a2f95
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git"
:git: "git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git"
SPEC CHECKSUMS:
SPEC CHECKSUMS:
...
@@ -214,6 +214,6 @@ SPEC CHECKSUMS:
...
@@ -214,6 +214,6 @@ SPEC CHECKSUMS:
WechatOpenSDK: 8b3ba4239193d1112205c139c94e21934e8f369a
WechatOpenSDK: 8b3ba4239193d1112205c139c94e21934e8f369a
Weibo_SDK: 5a4d08f7e1fedbb635435e4585c8c0439c7da089
Weibo_SDK: 5a4d08f7e1fedbb635435e4585c8c0439c7da089
PODFILE CHECKSUM:
801921fb5ef522c632196dbf23bacb65e3e715e7
PODFILE CHECKSUM:
6ac1e6d23702f1381ddc1b0064ddfa7267a6141e
COCOAPODS: 1.9.3
COCOAPODS: 1.9.3
GMBase/Classes/WMBaseViewController.m
View file @
8c8bda6c
...
@@ -66,8 +66,12 @@
...
@@ -66,8 +66,12 @@
[
self
initRefererLink
];
[
self
initRefererLink
];
[
self
initReferrerTabName
];
[
self
initReferrerTabName
];
[
self
setupEmptyView
];
[
self
setupEmptyView
];
//从后台进到前台需要将is_first置为0
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
baseViewControllerWillEnterForeground
)
name
:
UIApplicationWillEnterForegroundNotification
object
:
nil
];
}
-
(
void
)
baseViewControllerWillEnterForeground
{
self
.
isFirst
=
0
;
}
}
-
(
void
)
setupEmptyView
{
-
(
void
)
setupEmptyView
{
_emptyView
=
[[
GMEmptyView
alloc
]
initWithFrame
:
CGRectZero
];
_emptyView
=
[[
GMEmptyView
alloc
]
initWithFrame
:
CGRectZero
];
_emptyView
.
hidden
=
YES
;
_emptyView
.
hidden
=
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