DrawerKit:仿地图应用的视图控制器交互

DrawerKit:视图控制新玩法

DrawerKit 就像地图应用一样,让视图控制器之间可以像抽屉一样互相叠加显示。它允许任何视图控制器以模态形式展示另一个视图控制器,通过用户交互控制显示比例,实现部分或全部展示内容的效果。

功能亮点

  • 模仿苹果地图应用交互体验
  • 支持任意视图控制器之间的模态展示
  • 用户交互控制显示比例
  • 高度可配置

兼容性

DrawerKit 支持 iOS 10 及更高版本。

使用方法

演示应用程序展示了 DrawerKit 的多种配置选项,欢迎体验!

zip
DrawerKit-master.zip 预估大小:67个文件
folder
DrawerKit-master 文件夹
file
DrawerKit.podspec 961B
file
drawers3.gif 5.77MB
file
.swift-version 4B
file
drawers2.gif 3.56MB
file
LICENSE 1KB
folder
DrawerKit 文件夹
folder
DrawerKit.xcodeproj 文件夹
file
project.pbxproj 28KB
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
DrawerKit.xcscheme 3KB
folder
DrawerKit 文件夹
folder
Internal API 文件夹
file
PresentationController.swift 7KB
file
PresentationController+Utilities.swift 1KB
file
PresentationContainerView.swift 1KB
file
PresentationController+Gestures.swift 3KB
file
PresentationController+Setup.swift 7KB
file
PresentationController+Animation.swift 9KB
file
InteractionController.swift 2KB
file
AnimationSupport.swift 4KB
file
GeometryEvaluator.swift 9KB
file
PresentationController+Properties.swift 6KB
file
DrawerDisplayController+Extensions.swift 4KB
file
PresentationController+Configuration.swift 2KB
file
PresentationController+PullToDismiss.swift 6KB
file
AnimationController.swift 8KB
folder
Public API 文件夹
folder
Extensions 文件夹
file
DrawerAnimationInfo+Geometry.swift 974B
file
DrawerAnimationInfo+Configuration.swift 2KB
file
DrawerDisplayController+Configuration.swift 2KB
file
DrawerNotifications.swift 1KB
file
Notifications.swift 1KB
folder
Structs 文件夹
file
DrawerGeometry.swift 3KB
file
DrawerAnimationInfo.swift 4KB
file
DrawerShadowConfiguration.swift 2KB
file
HandleViewConfiguration.swift 3KB
file
DrawerConfiguration.swift 14KB
file
DrawerState.swift 309B
file
DrawerBorderConfiguration.swift 906B
file
DrawerAnimationActions.swift 2KB
file
DrawerDisplayController.swift 3KB
folder
Protocols 文件夹
file
DrawerPresentationControlling.swift 2KB
file
DrawerCoordinating.swift 540B
file
DrawerAnimationParticipant.swift 661B
file
DrawerPresentable.swift 1KB
file
Info.plist 774B
file
DrawerKit.h 361B
file
drawers1.gif 3.48MB
folder
DrawerKit.xcworkspace 文件夹
file
contents.xcworkspacedata 255B
folder
DrawerKitDemo 文件夹
folder
DrawerKitDemo.xcodeproj 文件夹
file
project.pbxproj 20KB
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
DrawerKitDemo.xcscheme 4KB
folder
DrawerKitDemoUITests 文件夹
file
DrawerKitDemoUITests.swift 4KB
file
Info.plist 701B
folder
DrawerKitDemo 文件夹
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 2KB
file
Contents.json 62B
folder
Saturn.imageset 文件夹
file
Saturn.jpg 63KB
file
Contents.json 303B
folder
close.imageset 文件夹
file
Contents.json 436B
file
Screen Shot 2017-10-15 at 16.24.27 copy.png 18KB
file
close.png 10KB
file
Screen Shot 2017-10-15 at 16.24.27 copy 2.png 27KB
file
PresentedNavigationController.swift 1KB
file
PresentedView.swift 2KB
folder
Storyboards 文件夹
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
Main.storyboard 19KB
file
AppDelegate.swift 311B
file
Info.plist 2KB
file
PresentedViewController.swift 5KB
file
PresenterViewController.swift 4KB
file
.gitignore 4KB
file
CHANGELOG.md 6KB
folder
.circleci 文件夹
file
config.yml 793B
file
README.md 19KB
...
zip 文件大小:12.23MB