├── .gitignore ├── DragCardContainer.podspec ├── DragCardContainer ├── DragCardContainer.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── DragCardContainer.xcscheme ├── DragCardContainer │ └── DragCardContainer.h └── Sources │ ├── BasicInfo.swift │ ├── CGFloat+Extension.swift │ ├── CGPoint+Extension.swift │ ├── CGVector+Extension.swift │ ├── CardEngine.swift │ ├── CardModel.swift │ ├── Default.swift │ ├── Direction.swift │ ├── DragCardContainer.swift │ ├── DragCardDataSource.swift │ ├── DragCardDelegate.swift │ ├── DragCardView.swift │ ├── Gesture.swift │ ├── Log.swift │ ├── Metrics.swift │ ├── Mode.swift │ └── ScaleMode.swift ├── GIF └── example.gif ├── LICENSE ├── README.md └── iOS Example ├── Podfile ├── Podfile.lock ├── iOS Example.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ └── iOS Example.xcscheme ├── iOS Example.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist └── iOS Example ├── AppDelegate.swift ├── Assets.xcassets ├── AppIcon.appiconset │ └── Contents.json ├── Contents.json ├── heart.imageset │ ├── Contents.json │ └── heart.png ├── lightning.imageset │ ├── Contents.json │ └── lightning.png ├── pass.imageset │ ├── Contents.json │ └── pass.png └── refresh.imageset │ ├── Contents.json │ └── undo.png ├── Base.lproj ├── LaunchScreen.storyboard └── Main.storyboard ├── Demo ├── BottomView.swift ├── CardOverlayView.swift ├── CardView.swift ├── DetailViewController.swift ├── OverlayLabelView.swift └── ViewController.swift └── Info.plist /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/.gitignore -------------------------------------------------------------------------------- /DragCardContainer.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer.podspec -------------------------------------------------------------------------------- /DragCardContainer/DragCardContainer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/DragCardContainer.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /DragCardContainer/DragCardContainer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/DragCardContainer.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /DragCardContainer/DragCardContainer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/DragCardContainer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /DragCardContainer/DragCardContainer.xcodeproj/xcshareddata/xcschemes/DragCardContainer.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/DragCardContainer.xcodeproj/xcshareddata/xcschemes/DragCardContainer.xcscheme -------------------------------------------------------------------------------- /DragCardContainer/DragCardContainer/DragCardContainer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/DragCardContainer/DragCardContainer.h -------------------------------------------------------------------------------- /DragCardContainer/Sources/BasicInfo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/BasicInfo.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/CGFloat+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/CGFloat+Extension.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/CGPoint+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/CGPoint+Extension.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/CGVector+Extension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/CGVector+Extension.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/CardEngine.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/CardEngine.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/CardModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/CardModel.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Default.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Default.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Direction.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Direction.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/DragCardContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/DragCardContainer.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/DragCardDataSource.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/DragCardDataSource.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/DragCardDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/DragCardDelegate.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/DragCardView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/DragCardView.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Gesture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Gesture.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Log.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Log.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Metrics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Metrics.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/Mode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/Mode.swift -------------------------------------------------------------------------------- /DragCardContainer/Sources/ScaleMode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/DragCardContainer/Sources/ScaleMode.swift -------------------------------------------------------------------------------- /GIF/example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/GIF/example.gif -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/README.md -------------------------------------------------------------------------------- /iOS Example/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/Podfile -------------------------------------------------------------------------------- /iOS Example/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/Podfile.lock -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /iOS Example/iOS Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /iOS Example/iOS Example/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/AppDelegate.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/heart.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/heart.imageset/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/heart.imageset/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/heart.imageset/heart.png -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/lightning.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/lightning.imageset/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/lightning.imageset/lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/lightning.imageset/lightning.png -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/pass.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/pass.imageset/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/pass.imageset/pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/pass.imageset/pass.png -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/refresh.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/refresh.imageset/Contents.json -------------------------------------------------------------------------------- /iOS Example/iOS Example/Assets.xcassets/refresh.imageset/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Assets.xcassets/refresh.imageset/undo.png -------------------------------------------------------------------------------- /iOS Example/iOS Example/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /iOS Example/iOS Example/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/BottomView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/BottomView.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/CardOverlayView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/CardOverlayView.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/CardView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/CardView.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/DetailViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/DetailViewController.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/OverlayLabelView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/OverlayLabelView.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Demo/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Demo/ViewController.swift -------------------------------------------------------------------------------- /iOS Example/iOS Example/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liujunliuhong/DragCardContainer/HEAD/iOS Example/iOS Example/Info.plist --------------------------------------------------------------------------------