Skip to content

songgeb/NoSwipeDeleteConflictPageVC

Repository files navigation

Feature

  • UITableView的swipe delete和UIPageViewController的左滑手势不冲突
  • 同一时间仅支持展示(持有)一个Child VC
  • Child VC生命周期调用时机和原生UIPageViewController一致

How to use

使用方法和原生UIPageViewController类似

  • 提供一个public方法func setViewController(_ vc: UIViewController),用于设置初始vc或动态设置要展示的vc
  • 实现NoSwipeDeleteConflictPageVCDataSource协议,返回每个页面要展示的vc

About

设计与Swipe-Delete不冲突的UIPageViewController

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages