Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ xcuserdata/
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
Pods/

# Carthage
#
Expand Down
13 changes: 13 additions & 0 deletions JPAnimation.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = "JPAnimation"
s.version = "0.1"
s.summary = "模仿 Airbnb 首页过渡动画"
s.homepage = "https://github.com/Chris-Pan/JPAnimation"
s.license = "MIT"
s.author = { "NewPan" => "13246884282@163.com" }
s.platform = :ios, '8.0'
s.source = { :git => 'https://github.com/Chris-Pan/JPAnimation.git', :tag => s.version }
s.source_files = 'JPAnimationDemo/JPAnimationDemo/JPAnimationTool.{h,m}'

s.dependency 'JPNavigationController', '2.0'
end
32 changes: 12 additions & 20 deletions JPAnimationDemo/JPAnimationDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
5F1E3C8C1E14185500E1C1F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3C8B1E14185500E1C1F7 /* AppDelegate.m */; };
5F1E3C941E14185500E1C1F7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3C931E14185500E1C1F7 /* Assets.xcassets */; };
5F1E3C971E14185500E1C1F7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3C951E14185500E1C1F7 /* LaunchScreen.storyboard */; };
5F1E3CD11E14187200E1C1F7 /* JPAnimationTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */; };
5F1E3CD21E14187200E1C1F7 /* JPCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CCF1E14187200E1C1F7 /* JPCollectionViewCell.m */; };
5F1E3CD31E14187200E1C1F7 /* JPCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3CD01E14187200E1C1F7 /* JPCollectionViewCell.xib */; };
5F1E3CDC1E14187900E1C1F7 /* JPTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CD51E14187900E1C1F7 /* JPTableViewCell.m */; };
Expand All @@ -31,8 +30,6 @@
5F1E3C931E14185500E1C1F7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5F1E3C961E14185500E1C1F7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5F1E3C981E14185500E1C1F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5F1E3CCC1E14187200E1C1F7 /* JPAnimationTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JPAnimationTool.h; sourceTree = "<group>"; };
5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPAnimationTool.m; sourceTree = "<group>"; };
5F1E3CCE1E14187200E1C1F7 /* JPCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JPCollectionViewCell.h; sourceTree = "<group>"; };
5F1E3CCF1E14187200E1C1F7 /* JPCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPCollectionViewCell.m; sourceTree = "<group>"; };
5F1E3CD01E14187200E1C1F7 /* JPCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = JPCollectionViewCell.xib; sourceTree = "<group>"; };
Expand Down Expand Up @@ -98,7 +95,6 @@
5F1E3C861E14185500E1C1F7 /* JPAnimationDemo */ = {
isa = PBXGroup;
children = (
5F1E3CE31E15097300E1C1F7 /* JPAnimationTool */,
5F1E3CE21E14188D00E1C1F7 /* SecondViewController */,
5F1E3CE11E14188400E1C1F7 /* FirstViewController */,
5F1E3C8A1E14185500E1C1F7 /* AppDelegate.h */,
Expand Down Expand Up @@ -144,15 +140,6 @@
name = SecondViewController;
sourceTree = "<group>";
};
5F1E3CE31E15097300E1C1F7 /* JPAnimationTool */ = {
isa = PBXGroup;
children = (
5F1E3CCC1E14187200E1C1F7 /* JPAnimationTool.h */,
5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */,
);
name = JPAnimationTool;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -187,7 +174,7 @@
TargetAttributes = {
5F1E3C831E14185500E1C1F7 = {
CreatedOnToolsVersion = 8.2.1;
DevelopmentTeam = 95B6T5443Y;
DevelopmentTeam = 49H6GPPS8F;
ProvisioningStyle = Automatic;
};
};
Expand Down Expand Up @@ -232,13 +219,16 @@
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-JPAnimationDemo-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
F2E21E2A4F6F05CBDF899128 /* [CP] Embed Pods Frameworks */ = {
Expand All @@ -262,9 +252,12 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh",
"${PODS_ROOT}/JPNavigationController/JPNavigationController/JPNavigationController.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand All @@ -281,7 +274,6 @@
5F1E3CDF1E14187900E1C1F7 /* JPViewController.m in Sources */,
5F1E3CD21E14187200E1C1F7 /* JPCollectionViewCell.m in Sources */,
5F1E3CDC1E14187900E1C1F7 /* JPTableViewCell.m in Sources */,
5F1E3CD11E14187200E1C1F7 /* JPAnimationTool.m in Sources */,
5F1E3C8C1E14185500E1C1F7 /* AppDelegate.m in Sources */,
5F1E3C891E14185500E1C1F7 /* main.m in Sources */,
5F1E3CDE1E14187900E1C1F7 /* JPTableViewController.m in Sources */,
Expand Down Expand Up @@ -395,11 +387,11 @@
baseConfigurationReference = 6EC407E7867A84C2B29DF634 /* Pods-JPAnimationDemo.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 95B6T5443Y;
DEVELOPMENT_TEAM = 49H6GPPS8F;
INFOPLIST_FILE = JPAnimationDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.NewPan.JPAnimation;
PRODUCT_BUNDLE_IDENTIFIER = im.muyexi.JPAnimation;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -409,11 +401,11 @@
baseConfigurationReference = 66DCF2729C8C3CC81B9AE55D /* Pods-JPAnimationDemo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 95B6T5443Y;
DEVELOPMENT_TEAM = 49H6GPPS8F;
INFOPLIST_FILE = JPAnimationDemo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.NewPan.JPAnimation;
PRODUCT_BUNDLE_IDENTIFIER = im.muyexi.JPAnimation;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down
13 changes: 10 additions & 3 deletions JPAnimationDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
PODS:
- JPAnimation (0.1):
- JPNavigationController (= 2.0.0)
- JPNavigationController (2.0.0)

DEPENDENCIES:
- JPNavigationController (~> 2.0.0)
- JPAnimation (from `../`)

EXTERNAL SOURCES:
JPAnimation:
:path: ../

SPEC CHECKSUMS:
JPAnimation: 0354fc920a66f7bc292a4b6b8749d98e5180be19
JPNavigationController: 5415f5fbeddd0c78cf0e889deb74f15f25da39d8

PODFILE CHECKSUM: f2b550a42ed61c8f43715d722a5cee9106603f64
PODFILE CHECKSUM: 3ae2463045eb38e635cbc5c424b6d996871e557a

COCOAPODS: 1.2.0
COCOAPODS: 1.3.1

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading