├── .gitignore ├── .swift-format ├── .swift-version ├── Examples ├── Hero2Example.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved └── Hero2Example │ ├── Examples │ ├── BubbleViewController.swift │ ├── DelayViewController.swift │ ├── ImageGalleryViewController.swift │ ├── InstagramViewController.swift │ ├── MatchViewController.swift │ ├── PushViewController.swift │ └── SheetViewController.swift │ ├── Supporting Files │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── AsyncImage.swift │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── ComponentViewController.swift │ ├── ImageData.swift │ ├── Info.plist │ └── UIColor.swift │ └── ViewController.swift ├── LICENSE ├── Package.swift ├── README.md └── Sources └── Hero2 ├── Base ├── BaseTransition.swift └── TransitionCoordinator.swift ├── BuiltinTransitions ├── FadeTransition.swift ├── MatchTransition.swift └── SheetTransition.swift ├── Extension ├── IndirectOptional.swift ├── UIScrollView+Hero.swift ├── UIView+Hero.swift └── UIViewController+Hero.swift └── HeroTransition ├── HeroModifier.swift ├── HeroTransition.swift └── Internal ├── Helpers.swift ├── InternalTypes.swift └── OverlayView.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/.swift-format -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /Examples/Hero2Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/Hero2Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/Hero2Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/Hero2Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/BubbleViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/BubbleViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/DelayViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/DelayViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/ImageGalleryViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/ImageGalleryViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/InstagramViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/InstagramViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/MatchViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/MatchViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/PushViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/PushViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Examples/SheetViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Examples/SheetViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/AppDelegate.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/AsyncImage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/AsyncImage.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/ComponentViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/ComponentViewController.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/ImageData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/ImageData.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/Info.plist -------------------------------------------------------------------------------- /Examples/Hero2Example/Supporting Files/UIColor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/Supporting Files/UIColor.swift -------------------------------------------------------------------------------- /Examples/Hero2Example/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Examples/Hero2Example/ViewController.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hero2 2 | 3 | -------------------------------------------------------------------------------- /Sources/Hero2/Base/BaseTransition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Base/BaseTransition.swift -------------------------------------------------------------------------------- /Sources/Hero2/Base/TransitionCoordinator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Base/TransitionCoordinator.swift -------------------------------------------------------------------------------- /Sources/Hero2/BuiltinTransitions/FadeTransition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/BuiltinTransitions/FadeTransition.swift -------------------------------------------------------------------------------- /Sources/Hero2/BuiltinTransitions/MatchTransition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/BuiltinTransitions/MatchTransition.swift -------------------------------------------------------------------------------- /Sources/Hero2/BuiltinTransitions/SheetTransition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/BuiltinTransitions/SheetTransition.swift -------------------------------------------------------------------------------- /Sources/Hero2/Extension/IndirectOptional.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Extension/IndirectOptional.swift -------------------------------------------------------------------------------- /Sources/Hero2/Extension/UIScrollView+Hero.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Extension/UIScrollView+Hero.swift -------------------------------------------------------------------------------- /Sources/Hero2/Extension/UIView+Hero.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Extension/UIView+Hero.swift -------------------------------------------------------------------------------- /Sources/Hero2/Extension/UIViewController+Hero.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/Extension/UIViewController+Hero.swift -------------------------------------------------------------------------------- /Sources/Hero2/HeroTransition/HeroModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/HeroTransition/HeroModifier.swift -------------------------------------------------------------------------------- /Sources/Hero2/HeroTransition/HeroTransition.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/HeroTransition/HeroTransition.swift -------------------------------------------------------------------------------- /Sources/Hero2/HeroTransition/Internal/Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/HeroTransition/Internal/Helpers.swift -------------------------------------------------------------------------------- /Sources/Hero2/HeroTransition/Internal/InternalTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/HeroTransition/Internal/InternalTypes.swift -------------------------------------------------------------------------------- /Sources/Hero2/HeroTransition/Internal/OverlayView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkzhao/Hero2/HEAD/Sources/Hero2/HeroTransition/Internal/OverlayView.swift --------------------------------------------------------------------------------