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
4a4ba4ae
Commit
4a4ba4ae
authored
Apr 10, 2020
by
汪洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除没有用的代码
parent
7358fa97
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
GMNavigationController.h
GMBase/Classes/GMNavigationController.h
+0
-2
GMNavigationController.m
GMBase/Classes/GMNavigationController.m
+1
-1
No files found.
GMBase/Classes/GMNavigationController.h
View file @
4a4ba4ae
...
@@ -9,7 +9,5 @@
...
@@ -9,7 +9,5 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
@interface
GMNavigationController
:
UINavigationController
@interface
GMNavigationController
:
UINavigationController
// TODO: wangyang 这个属性的历史需要找人了解清楚,缺少对应的注释
@property
(
nonatomic
,
assign
)
BOOL
needPopPresetAnimation
;
@end
@end
GMBase/Classes/GMNavigationController.m
View file @
4a4ba4ae
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
id
<
GMControllerAnimatedTransitioning
>
animation
=
controller
.
navigationAnimation
;
id
<
GMControllerAnimatedTransitioning
>
animation
=
controller
.
navigationAnimation
;
animation
.
transitionType
=
operation
;
animation
.
transitionType
=
operation
;
return
animation
;
return
animation
;
}
else
if
(
operation
==
UINavigationControllerOperationPop
&&
([
fromVC
conformsToProtocol
:
@protocol
(
GMCustomNavigationAnimationProtocol
)]
||
self
.
needPopPresetAnimation
)
)
{
}
else
if
(
operation
==
UINavigationControllerOperationPop
&&
[
fromVC
conformsToProtocol
:
@protocol
(
GMCustomNavigationAnimationProtocol
)]
)
{
id
<
GMCustomNavigationAnimationProtocol
>
controller
=
(
id
<
GMCustomNavigationAnimationProtocol
>
)
fromVC
;
id
<
GMCustomNavigationAnimationProtocol
>
controller
=
(
id
<
GMCustomNavigationAnimationProtocol
>
)
fromVC
;
id
<
GMControllerAnimatedTransitioning
>
animation
=
controller
.
navigationAnimation
;
id
<
GMControllerAnimatedTransitioning
>
animation
=
controller
.
navigationAnimation
;
animation
.
transitionType
=
operation
;
animation
.
transitionType
=
operation
;
...
...
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