diff --git a/.gitignore b/.gitignore index 8e21099..cec03d7 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,7 @@ Pods/ ## OS X .DS_Store + +## Carthage +Carthage/Checkouts +Carthage/Build diff --git a/AXPhotoViewer.xcodeproj/project.pbxproj b/AXPhotoViewer.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1c4611b --- /dev/null +++ b/AXPhotoViewer.xcodeproj/project.pbxproj @@ -0,0 +1,617 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 24ACEAA32309841B00C8260B /* AXPhotoViewer.h in Headers */ = {isa = PBXBuildFile; fileRef = 24ACEAA12309841B00C8260B /* AXPhotoViewer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 24ACEAF02309853700C8260B /* AXBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEABB2309853700C8260B /* AXBundle.swift */; }; + 24ACEAF12309853700C8260B /* AXPhotoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEABE2309853700C8260B /* AXPhotoViewController.swift */; }; + 24ACEAF22309853700C8260B /* AXPreviewingPhotosViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEABF2309853700C8260B /* AXPreviewingPhotosViewController.swift */; }; + 24ACEAF32309853700C8260B /* AXPhotosViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC02309853700C8260B /* AXPhotosViewController.swift */; }; + 24ACEAF42309853700C8260B /* AXTransitionInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC22309853700C8260B /* AXTransitionInfo.swift */; }; + 24ACEAF52309853700C8260B /* AXPhoto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC32309853700C8260B /* AXPhoto.swift */; }; + 24ACEAF62309853700C8260B /* AXPagingConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC42309853700C8260B /* AXPagingConfig.swift */; }; + 24ACEAF72309853700C8260B /* AXPhotosDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC52309853700C8260B /* AXPhotosDataSource.swift */; }; + 24ACEAF82309853700C8260B /* AXButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC72309853700C8260B /* AXButton.swift */; }; + 24ACEAF92309853700C8260B /* AXZoomingImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAC92309853700C8260B /* AXZoomingImageView.swift */; }; + 24ACEAFA2309853700C8260B /* AXLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEACA2309853700C8260B /* AXLoadingView.swift */; }; + 24ACEAFB2309853700C8260B /* AXCaptionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEACB2309853700C8260B /* AXCaptionView.swift */; }; + 24ACEAFC2309853700C8260B /* AXImageViewTransitionContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEACC2309853700C8260B /* AXImageViewTransitionContainer.swift */; }; + 24ACEAFD2309853700C8260B /* AXOverlayView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEACD2309853700C8260B /* AXOverlayView.swift */; }; + 24ACEAFE2309853700C8260B /* AXStackableViewContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEACE2309853700C8260B /* AXStackableViewContainer.swift */; }; + 24ACEAFF2309853700C8260B /* AXPhotosPresentationAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD02309853700C8260B /* AXPhotosPresentationAnimator.swift */; }; + 24ACEB002309853700C8260B /* AXPhotosTransitionController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD12309853700C8260B /* AXPhotosTransitionController.swift */; }; + 24ACEB012309853700C8260B /* AXPhotosTransitionAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD22309853700C8260B /* AXPhotosTransitionAnimator.swift */; }; + 24ACEB022309853700C8260B /* AXPhotosDismissalAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD32309853700C8260B /* AXPhotosDismissalAnimator.swift */; }; + 24ACEB032309853700C8260B /* FLAnimatedImageView+AXExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD52309853700C8260B /* FLAnimatedImageView+AXExtensions.m */; }; + 24ACEB042309853700C8260B /* UIView+Animations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD62309853700C8260B /* UIView+Animations.swift */; }; + 24ACEB052309853700C8260B /* UIImageView+AXExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD72309853700C8260B /* UIImageView+AXExtensions.m */; }; + 24ACEB062309853700C8260B /* FLAnimatedImageView+AXExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 24ACEAD82309853700C8260B /* FLAnimatedImageView+AXExtensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 24ACEB072309853700C8260B /* AXPhotoProtocol+Internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAD92309853700C8260B /* AXPhotoProtocol+Internal.swift */; }; + 24ACEB082309853700C8260B /* UIImageView+AXExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = 24ACEADA2309853700C8260B /* UIImageView+AXExtensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 24ACEB092309853700C8260B /* Array+Sorted.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEADB2309853700C8260B /* Array+Sorted.swift */; }; + 24ACEB0A2309853700C8260B /* UIInterfaceOrientation+Transform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEADC2309853700C8260B /* UIInterfaceOrientation+Transform.swift */; }; + 24ACEB0B2309853700C8260B /* Data+GIF.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEADD2309853700C8260B /* Data+GIF.swift */; }; + 24ACEB0C2309853700C8260B /* AFNetworkingIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEADF2309853700C8260B /* AFNetworkingIntegration.swift */; }; + 24ACEB0D2309853700C8260B /* NukeIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE02309853700C8260B /* NukeIntegration.swift */; }; + 24ACEB0E2309853700C8260B /* PINRemoteImageIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE12309853700C8260B /* PINRemoteImageIntegration.swift */; }; + 24ACEB0F2309853700C8260B /* SimpleNetworkIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE22309853700C8260B /* SimpleNetworkIntegration.swift */; }; + 24ACEB102309853800C8260B /* KingfisherIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE32309853700C8260B /* KingfisherIntegration.swift */; }; + 24ACEB112309853800C8260B /* SDWebImageIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE42309853700C8260B /* SDWebImageIntegration.swift */; }; + 24ACEB122309853800C8260B /* AXTransitionUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE62309853700C8260B /* AXTransitionUtils.swift */; }; + 24ACEB132309853800C8260B /* AXDispatchUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE72309853700C8260B /* AXDispatchUtils.swift */; }; + 24ACEB142309853800C8260B /* AXPageableViewControllerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAE92309853700C8260B /* AXPageableViewControllerProtocol.swift */; }; + 24ACEB152309853800C8260B /* AXPhotoProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAEA2309853700C8260B /* AXPhotoProtocol.swift */; }; + 24ACEB162309853800C8260B /* AXCaptionViewProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAEB2309853700C8260B /* AXCaptionViewProtocol.swift */; }; + 24ACEB172309853800C8260B /* AXNetworkIntegrationProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAEC2309853700C8260B /* AXNetworkIntegrationProtocol.swift */; }; + 24ACEB182309853800C8260B /* AXOverlayTitleViewProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAED2309853700C8260B /* AXOverlayTitleViewProtocol.swift */; }; + 24ACEB192309853800C8260B /* AXLoadingViewProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAEE2309853700C8260B /* AXLoadingViewProtocol.swift */; }; + 24ACEB1A2309853800C8260B /* AXConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24ACEAEF2309853700C8260B /* AXConstants.swift */; }; + 24ACEB1D230987AE00C8260B /* FLAnimatedImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24ACEB1B230987AE00C8260B /* FLAnimatedImage.framework */; }; + 24ACEB1E230987AE00C8260B /* AXStateButton.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24ACEB1C230987AE00C8260B /* AXStateButton.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 24ACEA9E2309841B00C8260B /* AXPhotoViewer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AXPhotoViewer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 24ACEAA12309841B00C8260B /* AXPhotoViewer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AXPhotoViewer.h; sourceTree = ""; }; + 24ACEAA22309841B00C8260B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 24ACEABB2309853700C8260B /* AXBundle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXBundle.swift; sourceTree = ""; }; + 24ACEABE2309853700C8260B /* AXPhotoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotoViewController.swift; sourceTree = ""; }; + 24ACEABF2309853700C8260B /* AXPreviewingPhotosViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPreviewingPhotosViewController.swift; sourceTree = ""; }; + 24ACEAC02309853700C8260B /* AXPhotosViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosViewController.swift; sourceTree = ""; }; + 24ACEAC22309853700C8260B /* AXTransitionInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXTransitionInfo.swift; sourceTree = ""; }; + 24ACEAC32309853700C8260B /* AXPhoto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhoto.swift; sourceTree = ""; }; + 24ACEAC42309853700C8260B /* AXPagingConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPagingConfig.swift; sourceTree = ""; }; + 24ACEAC52309853700C8260B /* AXPhotosDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosDataSource.swift; sourceTree = ""; }; + 24ACEAC72309853700C8260B /* AXButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXButton.swift; sourceTree = ""; }; + 24ACEAC92309853700C8260B /* AXZoomingImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXZoomingImageView.swift; sourceTree = ""; }; + 24ACEACA2309853700C8260B /* AXLoadingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXLoadingView.swift; sourceTree = ""; }; + 24ACEACB2309853700C8260B /* AXCaptionView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXCaptionView.swift; sourceTree = ""; }; + 24ACEACC2309853700C8260B /* AXImageViewTransitionContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXImageViewTransitionContainer.swift; sourceTree = ""; }; + 24ACEACD2309853700C8260B /* AXOverlayView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXOverlayView.swift; sourceTree = ""; }; + 24ACEACE2309853700C8260B /* AXStackableViewContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXStackableViewContainer.swift; sourceTree = ""; }; + 24ACEAD02309853700C8260B /* AXPhotosPresentationAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosPresentationAnimator.swift; sourceTree = ""; }; + 24ACEAD12309853700C8260B /* AXPhotosTransitionController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosTransitionController.swift; sourceTree = ""; }; + 24ACEAD22309853700C8260B /* AXPhotosTransitionAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosTransitionAnimator.swift; sourceTree = ""; }; + 24ACEAD32309853700C8260B /* AXPhotosDismissalAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotosDismissalAnimator.swift; sourceTree = ""; }; + 24ACEAD52309853700C8260B /* FLAnimatedImageView+AXExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "FLAnimatedImageView+AXExtensions.m"; sourceTree = ""; }; + 24ACEAD62309853700C8260B /* UIView+Animations.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Animations.swift"; sourceTree = ""; }; + 24ACEAD72309853700C8260B /* UIImageView+AXExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+AXExtensions.m"; sourceTree = ""; }; + 24ACEAD82309853700C8260B /* FLAnimatedImageView+AXExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "FLAnimatedImageView+AXExtensions.h"; sourceTree = ""; }; + 24ACEAD92309853700C8260B /* AXPhotoProtocol+Internal.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AXPhotoProtocol+Internal.swift"; sourceTree = ""; }; + 24ACEADA2309853700C8260B /* UIImageView+AXExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+AXExtensions.h"; sourceTree = ""; }; + 24ACEADB2309853700C8260B /* Array+Sorted.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Array+Sorted.swift"; sourceTree = ""; }; + 24ACEADC2309853700C8260B /* UIInterfaceOrientation+Transform.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIInterfaceOrientation+Transform.swift"; sourceTree = ""; }; + 24ACEADD2309853700C8260B /* Data+GIF.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Data+GIF.swift"; sourceTree = ""; }; + 24ACEADF2309853700C8260B /* AFNetworkingIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AFNetworkingIntegration.swift; sourceTree = ""; }; + 24ACEAE02309853700C8260B /* NukeIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NukeIntegration.swift; sourceTree = ""; }; + 24ACEAE12309853700C8260B /* PINRemoteImageIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PINRemoteImageIntegration.swift; sourceTree = ""; }; + 24ACEAE22309853700C8260B /* SimpleNetworkIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SimpleNetworkIntegration.swift; sourceTree = ""; }; + 24ACEAE32309853700C8260B /* KingfisherIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KingfisherIntegration.swift; sourceTree = ""; }; + 24ACEAE42309853700C8260B /* SDWebImageIntegration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SDWebImageIntegration.swift; sourceTree = ""; }; + 24ACEAE62309853700C8260B /* AXTransitionUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXTransitionUtils.swift; sourceTree = ""; }; + 24ACEAE72309853700C8260B /* AXDispatchUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXDispatchUtils.swift; sourceTree = ""; }; + 24ACEAE92309853700C8260B /* AXPageableViewControllerProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPageableViewControllerProtocol.swift; sourceTree = ""; }; + 24ACEAEA2309853700C8260B /* AXPhotoProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXPhotoProtocol.swift; sourceTree = ""; }; + 24ACEAEB2309853700C8260B /* AXCaptionViewProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXCaptionViewProtocol.swift; sourceTree = ""; }; + 24ACEAEC2309853700C8260B /* AXNetworkIntegrationProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXNetworkIntegrationProtocol.swift; sourceTree = ""; }; + 24ACEAED2309853700C8260B /* AXOverlayTitleViewProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXOverlayTitleViewProtocol.swift; sourceTree = ""; }; + 24ACEAEE2309853700C8260B /* AXLoadingViewProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXLoadingViewProtocol.swift; sourceTree = ""; }; + 24ACEAEF2309853700C8260B /* AXConstants.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AXConstants.swift; sourceTree = ""; }; + 24ACEB1B230987AE00C8260B /* FLAnimatedImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = FLAnimatedImage.framework; sourceTree = ""; }; + 24ACEB1C230987AE00C8260B /* AXStateButton.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AXStateButton.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 24ACEA9B2309841B00C8260B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 24ACEB1D230987AE00C8260B /* FLAnimatedImage.framework in Frameworks */, + 24ACEB1E230987AE00C8260B /* AXStateButton.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 24ACEA942309841B00C8260B = { + isa = PBXGroup; + children = ( + 24ACEAA02309841B00C8260B /* AXPhotoViewer */, + 24ACEABA2309853700C8260B /* Source */, + 24ACEB1C230987AE00C8260B /* AXStateButton.framework */, + 24ACEB1B230987AE00C8260B /* FLAnimatedImage.framework */, + 24ACEA9F2309841B00C8260B /* Products */, + ); + sourceTree = ""; + }; + 24ACEA9F2309841B00C8260B /* Products */ = { + isa = PBXGroup; + children = ( + 24ACEA9E2309841B00C8260B /* AXPhotoViewer.framework */, + ); + name = Products; + sourceTree = ""; + }; + 24ACEAA02309841B00C8260B /* AXPhotoViewer */ = { + isa = PBXGroup; + children = ( + 24ACEAA12309841B00C8260B /* AXPhotoViewer.h */, + 24ACEAA22309841B00C8260B /* Info.plist */, + ); + path = AXPhotoViewer; + sourceTree = ""; + }; + 24ACEABA2309853700C8260B /* Source */ = { + isa = PBXGroup; + children = ( + 24ACEABB2309853700C8260B /* AXBundle.swift */, + 24ACEABC2309853700C8260B /* Classes */, + 24ACEAD42309853700C8260B /* Extensions */, + 24ACEADE2309853700C8260B /* Integrations */, + 24ACEAE52309853700C8260B /* Utilities */, + 24ACEAE82309853700C8260B /* Protocols */, + 24ACEAEF2309853700C8260B /* AXConstants.swift */, + ); + path = Source; + sourceTree = ""; + }; + 24ACEABC2309853700C8260B /* Classes */ = { + isa = PBXGroup; + children = ( + 24ACEABD2309853700C8260B /* View Controllers */, + 24ACEAC12309853700C8260B /* Models */, + 24ACEAC62309853700C8260B /* Controls */, + 24ACEAC82309853700C8260B /* Views */, + 24ACEACF2309853700C8260B /* Transition Controller + Animators */, + ); + path = Classes; + sourceTree = ""; + }; + 24ACEABD2309853700C8260B /* View Controllers */ = { + isa = PBXGroup; + children = ( + 24ACEABE2309853700C8260B /* AXPhotoViewController.swift */, + 24ACEABF2309853700C8260B /* AXPreviewingPhotosViewController.swift */, + 24ACEAC02309853700C8260B /* AXPhotosViewController.swift */, + ); + path = "View Controllers"; + sourceTree = ""; + }; + 24ACEAC12309853700C8260B /* Models */ = { + isa = PBXGroup; + children = ( + 24ACEAC22309853700C8260B /* AXTransitionInfo.swift */, + 24ACEAC32309853700C8260B /* AXPhoto.swift */, + 24ACEAC42309853700C8260B /* AXPagingConfig.swift */, + 24ACEAC52309853700C8260B /* AXPhotosDataSource.swift */, + ); + path = Models; + sourceTree = ""; + }; + 24ACEAC62309853700C8260B /* Controls */ = { + isa = PBXGroup; + children = ( + 24ACEAC72309853700C8260B /* AXButton.swift */, + ); + path = Controls; + sourceTree = ""; + }; + 24ACEAC82309853700C8260B /* Views */ = { + isa = PBXGroup; + children = ( + 24ACEAC92309853700C8260B /* AXZoomingImageView.swift */, + 24ACEACA2309853700C8260B /* AXLoadingView.swift */, + 24ACEACB2309853700C8260B /* AXCaptionView.swift */, + 24ACEACC2309853700C8260B /* AXImageViewTransitionContainer.swift */, + 24ACEACD2309853700C8260B /* AXOverlayView.swift */, + 24ACEACE2309853700C8260B /* AXStackableViewContainer.swift */, + ); + path = Views; + sourceTree = ""; + }; + 24ACEACF2309853700C8260B /* Transition Controller + Animators */ = { + isa = PBXGroup; + children = ( + 24ACEAD02309853700C8260B /* AXPhotosPresentationAnimator.swift */, + 24ACEAD12309853700C8260B /* AXPhotosTransitionController.swift */, + 24ACEAD22309853700C8260B /* AXPhotosTransitionAnimator.swift */, + 24ACEAD32309853700C8260B /* AXPhotosDismissalAnimator.swift */, + ); + path = "Transition Controller + Animators"; + sourceTree = ""; + }; + 24ACEAD42309853700C8260B /* Extensions */ = { + isa = PBXGroup; + children = ( + 24ACEAD52309853700C8260B /* FLAnimatedImageView+AXExtensions.m */, + 24ACEAD62309853700C8260B /* UIView+Animations.swift */, + 24ACEAD72309853700C8260B /* UIImageView+AXExtensions.m */, + 24ACEAD82309853700C8260B /* FLAnimatedImageView+AXExtensions.h */, + 24ACEAD92309853700C8260B /* AXPhotoProtocol+Internal.swift */, + 24ACEADA2309853700C8260B /* UIImageView+AXExtensions.h */, + 24ACEADB2309853700C8260B /* Array+Sorted.swift */, + 24ACEADC2309853700C8260B /* UIInterfaceOrientation+Transform.swift */, + 24ACEADD2309853700C8260B /* Data+GIF.swift */, + ); + path = Extensions; + sourceTree = ""; + }; + 24ACEADE2309853700C8260B /* Integrations */ = { + isa = PBXGroup; + children = ( + 24ACEADF2309853700C8260B /* AFNetworkingIntegration.swift */, + 24ACEAE02309853700C8260B /* NukeIntegration.swift */, + 24ACEAE12309853700C8260B /* PINRemoteImageIntegration.swift */, + 24ACEAE22309853700C8260B /* SimpleNetworkIntegration.swift */, + 24ACEAE32309853700C8260B /* KingfisherIntegration.swift */, + 24ACEAE42309853700C8260B /* SDWebImageIntegration.swift */, + ); + path = Integrations; + sourceTree = ""; + }; + 24ACEAE52309853700C8260B /* Utilities */ = { + isa = PBXGroup; + children = ( + 24ACEAE62309853700C8260B /* AXTransitionUtils.swift */, + 24ACEAE72309853700C8260B /* AXDispatchUtils.swift */, + ); + path = Utilities; + sourceTree = ""; + }; + 24ACEAE82309853700C8260B /* Protocols */ = { + isa = PBXGroup; + children = ( + 24ACEAE92309853700C8260B /* AXPageableViewControllerProtocol.swift */, + 24ACEAEA2309853700C8260B /* AXPhotoProtocol.swift */, + 24ACEAEB2309853700C8260B /* AXCaptionViewProtocol.swift */, + 24ACEAEC2309853700C8260B /* AXNetworkIntegrationProtocol.swift */, + 24ACEAED2309853700C8260B /* AXOverlayTitleViewProtocol.swift */, + 24ACEAEE2309853700C8260B /* AXLoadingViewProtocol.swift */, + ); + path = Protocols; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 24ACEA992309841B00C8260B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 24ACEAA32309841B00C8260B /* AXPhotoViewer.h in Headers */, + 24ACEB062309853700C8260B /* FLAnimatedImageView+AXExtensions.h in Headers */, + 24ACEB082309853700C8260B /* UIImageView+AXExtensions.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 24ACEA9D2309841B00C8260B /* AXPhotoViewer */ = { + isa = PBXNativeTarget; + buildConfigurationList = 24ACEAA62309841B00C8260B /* Build configuration list for PBXNativeTarget "AXPhotoViewer" */; + buildPhases = ( + 24ACEA992309841B00C8260B /* Headers */, + 24ACEA9A2309841B00C8260B /* Sources */, + 24ACEA9B2309841B00C8260B /* Frameworks */, + 24ACEA9C2309841B00C8260B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = AXPhotoViewer; + productName = AXPhotoViewer; + productReference = 24ACEA9E2309841B00C8260B /* AXPhotoViewer.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 24ACEA952309841B00C8260B /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1030; + ORGANIZATIONNAME = "Danqing Liu"; + TargetAttributes = { + 24ACEA9D2309841B00C8260B = { + CreatedOnToolsVersion = 10.3; + LastSwiftMigration = 1030; + }; + }; + }; + buildConfigurationList = 24ACEA982309841B00C8260B /* Build configuration list for PBXProject "AXPhotoViewer" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 24ACEA942309841B00C8260B; + productRefGroup = 24ACEA9F2309841B00C8260B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 24ACEA9D2309841B00C8260B /* AXPhotoViewer */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 24ACEA9C2309841B00C8260B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 24ACEA9A2309841B00C8260B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 24ACEAF32309853700C8260B /* AXPhotosViewController.swift in Sources */, + 24ACEAFA2309853700C8260B /* AXLoadingView.swift in Sources */, + 24ACEB0B2309853700C8260B /* Data+GIF.swift in Sources */, + 24ACEB0D2309853700C8260B /* NukeIntegration.swift in Sources */, + 24ACEAFF2309853700C8260B /* AXPhotosPresentationAnimator.swift in Sources */, + 24ACEAFE2309853700C8260B /* AXStackableViewContainer.swift in Sources */, + 24ACEAF92309853700C8260B /* AXZoomingImageView.swift in Sources */, + 24ACEAF52309853700C8260B /* AXPhoto.swift in Sources */, + 24ACEB0E2309853700C8260B /* PINRemoteImageIntegration.swift in Sources */, + 24ACEB012309853700C8260B /* AXPhotosTransitionAnimator.swift in Sources */, + 24ACEB192309853800C8260B /* AXLoadingViewProtocol.swift in Sources */, + 24ACEB002309853700C8260B /* AXPhotosTransitionController.swift in Sources */, + 24ACEB0F2309853700C8260B /* SimpleNetworkIntegration.swift in Sources */, + 24ACEB0C2309853700C8260B /* AFNetworkingIntegration.swift in Sources */, + 24ACEB042309853700C8260B /* UIView+Animations.swift in Sources */, + 24ACEAFB2309853700C8260B /* AXCaptionView.swift in Sources */, + 24ACEAF62309853700C8260B /* AXPagingConfig.swift in Sources */, + 24ACEAF22309853700C8260B /* AXPreviewingPhotosViewController.swift in Sources */, + 24ACEB162309853800C8260B /* AXCaptionViewProtocol.swift in Sources */, + 24ACEAFC2309853700C8260B /* AXImageViewTransitionContainer.swift in Sources */, + 24ACEB142309853800C8260B /* AXPageableViewControllerProtocol.swift in Sources */, + 24ACEB112309853800C8260B /* SDWebImageIntegration.swift in Sources */, + 24ACEAF72309853700C8260B /* AXPhotosDataSource.swift in Sources */, + 24ACEAF42309853700C8260B /* AXTransitionInfo.swift in Sources */, + 24ACEB122309853800C8260B /* AXTransitionUtils.swift in Sources */, + 24ACEB052309853700C8260B /* UIImageView+AXExtensions.m in Sources */, + 24ACEB182309853800C8260B /* AXOverlayTitleViewProtocol.swift in Sources */, + 24ACEB092309853700C8260B /* Array+Sorted.swift in Sources */, + 24ACEB152309853800C8260B /* AXPhotoProtocol.swift in Sources */, + 24ACEAF12309853700C8260B /* AXPhotoViewController.swift in Sources */, + 24ACEAF02309853700C8260B /* AXBundle.swift in Sources */, + 24ACEB032309853700C8260B /* FLAnimatedImageView+AXExtensions.m in Sources */, + 24ACEB1A2309853800C8260B /* AXConstants.swift in Sources */, + 24ACEB102309853800C8260B /* KingfisherIntegration.swift in Sources */, + 24ACEAFD2309853700C8260B /* AXOverlayView.swift in Sources */, + 24ACEB072309853700C8260B /* AXPhotoProtocol+Internal.swift in Sources */, + 24ACEB132309853800C8260B /* AXDispatchUtils.swift in Sources */, + 24ACEB172309853800C8260B /* AXNetworkIntegrationProtocol.swift in Sources */, + 24ACEAF82309853700C8260B /* AXButton.swift in Sources */, + 24ACEB022309853700C8260B /* AXPhotosDismissalAnimator.swift in Sources */, + 24ACEB0A2309853700C8260B /* UIInterfaceOrientation+Transform.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 24ACEAA42309841B00C8260B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 24ACEAA52309841B00C8260B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 24ACEAA72309841B00C8260B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = EWJAR4GTP4; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = AXPhotoViewer/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.danqing.AXPhotoViewer; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OBJC_BRIDGING_HEADER = ""; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 24ACEAA82309841B00C8260B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = EWJAR4GTP4; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = AXPhotoViewer/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = io.danqing.AXPhotoViewer; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OBJC_BRIDGING_HEADER = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 24ACEA982309841B00C8260B /* Build configuration list for PBXProject "AXPhotoViewer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 24ACEAA42309841B00C8260B /* Debug */, + 24ACEAA52309841B00C8260B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 24ACEAA62309841B00C8260B /* Build configuration list for PBXNativeTarget "AXPhotoViewer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 24ACEAA72309841B00C8260B /* Debug */, + 24ACEAA82309841B00C8260B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 24ACEA952309841B00C8260B /* Project object */; +} diff --git a/AXPhotoViewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AXPhotoViewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..647de0c --- /dev/null +++ b/AXPhotoViewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/AXPhotoViewer.xcodeproj/xcshareddata/xcschemes/AXPhotoViewer.xcscheme b/AXPhotoViewer.xcodeproj/xcshareddata/xcschemes/AXPhotoViewer.xcscheme new file mode 100644 index 0000000..81fbfce --- /dev/null +++ b/AXPhotoViewer.xcodeproj/xcshareddata/xcschemes/AXPhotoViewer.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AXPhotoViewer/AXPhotoViewer.h b/AXPhotoViewer/AXPhotoViewer.h new file mode 100644 index 0000000..6d70d21 --- /dev/null +++ b/AXPhotoViewer/AXPhotoViewer.h @@ -0,0 +1,20 @@ +// +// AXPhotoViewer.h +// AXPhotoViewer +// +// Created by Danqing Liu on 8/18/19. +// Copyright © 2019 Danqing Liu. All rights reserved. +// + +#import + +//! Project version number for AXPhotoViewer. +FOUNDATION_EXPORT double AXPhotoViewerVersionNumber; + +//! Project version string for AXPhotoViewer. +FOUNDATION_EXPORT const unsigned char AXPhotoViewerVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +#import "FLAnimatedImageView+AXExtensions.h" +#import "UIImageView+AXExtensions.h" diff --git a/AXPhotoViewer/Info.plist b/AXPhotoViewer/Info.plist new file mode 100644 index 0000000..e1fe4cf --- /dev/null +++ b/AXPhotoViewer/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/Cartfile b/Cartfile new file mode 100644 index 0000000..245ff72 --- /dev/null +++ b/Cartfile @@ -0,0 +1,2 @@ +github "alexhillc/AXStateButton" "master" +github "Flipboard/FLAnimatedImage" ~> 1.0 diff --git a/Cartfile.resolved b/Cartfile.resolved new file mode 100644 index 0000000..28f8854 --- /dev/null +++ b/Cartfile.resolved @@ -0,0 +1,2 @@ +github "Flipboard/FLAnimatedImage" "1.0.14" +github "alexhillc/AXStateButton" "c60fae7524fcde5c9ce37f46ebf9afaaf63485af" diff --git a/Source/Extensions/AXPhotoProtocol+Internal.swift b/Source/Extensions/AXPhotoProtocol+Internal.swift index 8049711..bc51019 100644 --- a/Source/Extensions/AXPhotoProtocol+Internal.swift +++ b/Source/Extensions/AXPhotoProtocol+Internal.swift @@ -7,9 +7,9 @@ // #if os(iOS) -import FLAnimatedImage.FLAnimatedImage +import FLAnimatedImage #elseif os(tvOS) -import FLAnimatedImage_tvOS.FLAnimatedImage +import FLAnimatedImage_tvOS #endif enum AXPhotoLoadingState { diff --git a/Source/Extensions/FLAnimatedImageView+AXExtensions.m b/Source/Extensions/FLAnimatedImageView+AXExtensions.m index ef8729a..41cda52 100644 --- a/Source/Extensions/FLAnimatedImageView+AXExtensions.m +++ b/Source/Extensions/FLAnimatedImageView+AXExtensions.m @@ -6,11 +6,7 @@ // Copyright © 2017 Alex Hill. All rights reserved. // -#if TARGET_OS_IOS @import FLAnimatedImage; -#elif TARGET_OS_TV -@import FLAnimatedImage_tvOS; -#endif #import "FLAnimatedImageView+AXExtensions.h" #import "UIImageView+AXExtensions.h"