KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
GWLZCDM
★ 27
Open GitHub ↗
这是一个类似格瓦拉电影的转场动画
Download README (.md)
Explore Similar Repositories
StreamTransimitServerLibs
:
本工具为自定义转流工具jar包源码,利用java对FFMPEG进行二次封装,能将直播视频输入流转换成HLS切片,并且支持批量自动创建文件夹、自动重连、音视频混流、转码等功能。
TaskManager
:
A simple、 light(only two file)、fast 、powerful 、easy to use 、easy to extend 、 Android Library To Manager your AsyncTask/Thread/CallBack Jobqueue ! 一个超级简单,易用,轻量级,快速的异步任务管理器,类似于AsyncTask,但是比AsyncTask更好用,更易控制,从此不再写Thread ! ^_^
composer-termux
:
composer.phar, patched for termux
pipoam
:
A tool for clipping points on a map using polygons.
elk-compose
:
ELK orchestration using docker and docker-compose
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
GWLZCDM
?
Download (.md)
# GWLZCDM 这是我在别人哪里学到的一个类似于格瓦拉电影的转场动画,我在里面改了一下,用一个导航控制器去执行不同的Push效果 #PUSH 这是带有动画效果的一个Push ```objc - (void)pushViewController:(UIViewController *)viewController isAnimation:(BOOL)isAnimation{ self.isAnimation = isAnimation; self.isPush = YES; [super pushViewController:viewController animated:YES]; } ``` 当self.isAnimation = YES;Push就会带有那种动画的效果,反之就不会带有动画效果; #POP 这个就是返回的时候不带有动画效果的方法 ```objc -(UIViewController *)popViewControllerAnimated:(BOOL)animated{ self.isPush = NO; return [super popViewControllerAnimated:animated]; } ``` 这就是返回的时候带有效果的Pop ```objc - (UIViewController *)popViewControllerWithAnimated:(BOOL)animated isAnimation:(BOOL)isAnimation{ self.isPush = NO; self.isAnimation = isAnimation; return [super popViewControllerAnimated:animated]; } ``` # 讨论 最近有个朋友给我提了一个小问题,说是第二个界面滑动的时候,电影海报会有个BUG,这里我做了改进。 我们可以再CaibdeAnimation这个类中的push代码模块中- (void)cAibDePushAnimation{}这个方法里面的一个代码注释掉就可以解决了,这个代码就是[contentView bringSubviewToFront:imageView];