Modal 界面切换 XFCoverTransition

软件介绍

XFCoverTransition 内置各种自定义 Modal 界面切换效果,提供手势移除的功能,使用单例对 XFCoverTransitionTouch 对象的管理,多处的多种界面切换效果无需初始化多个对象,使用上方便,具有可配置性强,并支持在不使用系统的 Modal 方式外使用 XFCoverTransitionGesture 类以实现全手势模拟 Modal 的切换效果。

XFCoverTransition usage_touch

自定义 modal:

// 自定义modal
 XFPageViewController *page = [[XFPageViewController alloc] init];
 page.modalPresentationStyle = UIModalPresentationCustom;
 XFCoverTransitionTouch *ctTouch = [XFCoverTransitionTouch sharedInstance];
 ctTouch.config = [XFCTConfig configWithRenderRect:self.view.bounds animationDuration:0.25 transitionStyle:XFCoverTransitionStyleRight2Left];
 // 添加移除手势支持
 ctTouch.config.onlyForModalVCGestureDissmiss = YES;
 page.transitioningDelegate = ctTouch;
 [self presentViewController:page animated:YES completion:nil];

本文地址:https://codercto.com/soft/d/8836.html

Web Caching

Web Caching

Duane Wessels / O'Reilly Media, Inc. / 2001-6 / 39.95美元

On the World Wide Web, speed and efficiency are vital. Users have little patience for slow web pages, while network administrators want to make the most of their available bandwidth. A properly design......一起来看看 《Web Caching》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器