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

Algorithms in C++

Algorithms in C++

Robert Sedgewick / Addison-Wesley Professional / 1992-05-10 / USD 64.99

This version of Sedgewick's bestselling book provides a comprehensive collection of algorithms implemented in C++. The algorithms included cover a broad range of fundamental and more advanced methods:......一起来看看 《Algorithms in C++》 这本书的介绍吧!

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

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具