Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
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
GMPhobos
Commits
ccc85ca3
Commit
ccc85ca3
authored
Nov 23, 2018
by
叶凤鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增homeTabName
parent
352e5740
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
PhobosPVProtocol.h
GMPhobos/Classes/PhobosPVProtocol.h
+5
-0
UIResponder+PhobosPV.m
GMPhobos/Classes/UIResponder+PhobosPV.m
+9
-0
No files found.
GMPhobos/Classes/PhobosPVProtocol.h
View file @
ccc85ca3
...
@@ -58,4 +58,9 @@
...
@@ -58,4 +58,9 @@
*/
*/
@property
(
nonatomic
,
copy
,
nonnull
)
NSString
*
extraParam
;
@property
(
nonatomic
,
copy
,
nonnull
)
NSString
*
extraParam
;
/**
上一个页面tab名称
*/
@property
(
nonatomic
,
copy
)
NSString
*
homeTabName
;
@end
@end
GMPhobos/Classes/UIResponder+PhobosPV.m
View file @
ccc85ca3
...
@@ -134,4 +134,13 @@
...
@@ -134,4 +134,13 @@
return
extraParam
==
nil
?
@""
:
extraParam
;
return
extraParam
==
nil
?
@""
:
extraParam
;
}
}
-
(
void
)
setHomeTabName
:
(
NSString
*
)
homeTabName
{
objc_setAssociatedObject
(
self
,
@selector
(
homeTabName
),
homeTabName
,
OBJC_ASSOCIATION_COPY
);
}
-
(
NSString
*
)
homeTabName
{
NSString
*
homeTabName
=
objc_getAssociatedObject
(
self
,
@selector
(
homeTabName
));
return
homeTabName
==
nil
?
@""
:
homeTabName
;
}
@end
@end
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