From 3c4de27ceb7431bff10b1f5e95813ccc37ccca4c Mon Sep 17 00:00:00 2001 From: Looping Date: Wed, 9 Aug 2017 02:12:30 +0800 Subject: [PATCH] Update project structure --- RCPageControlExample/Podfile => Podfile | 3 +- Podfile.lock | 15 +++ .../project.pbxproj | 18 ++- .../{RCPageControlExample => }/AppDelegate.h | 0 .../{RCPageControlExample => }/AppDelegate.m | 0 .../Base.lproj/LaunchScreen.xib | 0 .../Base.lproj/Main.storyboard | 0 .../AppIcon.appiconset/Contents.json | 0 .../{RCPageControlExample => }/Info.plist | 0 RCPageControlExample/Podfile.lock | 23 ---- .../contents.xcworkspacedata | 7 -- .../xcschemes/RCPageControlExample.xcscheme | 115 ------------------ .../ViewController.h | 0 .../ViewController.m | 2 +- .../{RCPageControlExample => }/avatar@2x.png | Bin .../{RCPageControlExample => }/main.m | 0 .../Info.plist | 0 .../RCPageControlExampleTests.m | 0 18 files changed, 33 insertions(+), 150 deletions(-) rename RCPageControlExample/Podfile => Podfile (54%) create mode 100644 Podfile.lock rename {RCPageControlExample/RCPageControlExample.xcodeproj => RCPageControl.xcodeproj}/project.pbxproj (95%) rename RCPageControlExample/{RCPageControlExample => }/AppDelegate.h (100%) rename RCPageControlExample/{RCPageControlExample => }/AppDelegate.m (100%) rename RCPageControlExample/{RCPageControlExample => }/Base.lproj/LaunchScreen.xib (100%) rename RCPageControlExample/{RCPageControlExample => }/Base.lproj/Main.storyboard (100%) rename RCPageControlExample/{RCPageControlExample => }/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename RCPageControlExample/{RCPageControlExample => }/Info.plist (100%) delete mode 100644 RCPageControlExample/Podfile.lock delete mode 100644 RCPageControlExample/RCPageControlExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 RCPageControlExample/RCPageControlExample.xcodeproj/xcshareddata/xcschemes/RCPageControlExample.xcscheme rename RCPageControlExample/{RCPageControlExample => }/ViewController.h (100%) rename RCPageControlExample/{RCPageControlExample => }/ViewController.m (99%) rename RCPageControlExample/{RCPageControlExample => }/avatar@2x.png (100%) rename RCPageControlExample/{RCPageControlExample => }/main.m (100%) rename {RCPageControlExample/RCPageControlExampleTests => RCPageControlExampleTests}/Info.plist (100%) rename {RCPageControlExample/RCPageControlExampleTests => RCPageControlExampleTests}/RCPageControlExampleTests.m (100%) diff --git a/RCPageControlExample/Podfile b/Podfile similarity index 54% rename from RCPageControlExample/Podfile rename to Podfile index b8cbe71..ad3065d 100644 --- a/RCPageControlExample/Podfile +++ b/Podfile @@ -1,9 +1,8 @@ -platform :ios, '6.0' +platform :ios, '7.0' target 'RCPageControlExample' do pod 'pop' pod 'iCarousel' - pod 'RCPageControl', :path => '../' end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..cbd2ca7 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,15 @@ +PODS: + - iCarousel (1.8.3) + - pop (1.0.10) + +DEPENDENCIES: + - iCarousel + - pop + +SPEC CHECKSUMS: + iCarousel: d782f635afac190c49bb8ee455882284cff8b85f + pop: 82ca6b068ce9278fd350fd9dd09482a0ce9492e6 + +PODFILE CHECKSUM: 500e5f919d07fe70206af7b8761129a904c83b68 + +COCOAPODS: 1.2.1 diff --git a/RCPageControlExample/RCPageControlExample.xcodeproj/project.pbxproj b/RCPageControl.xcodeproj/project.pbxproj similarity index 95% rename from RCPageControlExample/RCPageControlExample.xcodeproj/project.pbxproj rename to RCPageControl.xcodeproj/project.pbxproj index 11cf503..c789bc1 100644 --- a/RCPageControlExample/RCPageControlExample.xcodeproj/project.pbxproj +++ b/RCPageControl.xcodeproj/project.pbxproj @@ -16,6 +16,7 @@ 6E2F734619C72601008985F7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6E2F734519C72601008985F7 /* Images.xcassets */; }; 6E2F734919C72601008985F7 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6E2F734719C72601008985F7 /* LaunchScreen.xib */; }; 6E2F735519C72601008985F7 /* RCPageControlExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2F735419C72601008985F7 /* RCPageControlExampleTests.m */; }; + 6E8AFCF61F3A34370010C4F4 /* RCPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E8AFCF51F3A34370010C4F4 /* RCPageControl.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -45,6 +46,8 @@ 6E2F735319C72601008985F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 6E2F735419C72601008985F7 /* RCPageControlExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCPageControlExampleTests.m; sourceTree = ""; }; 6E55D24919C97C01008E8B03 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; + 6E8AFCF41F3A34370010C4F4 /* RCPageControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCPageControl.h; sourceTree = ""; }; + 6E8AFCF51F3A34370010C4F4 /* RCPageControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCPageControl.m; sourceTree = ""; }; D11654D66174B172FFDDF71E /* Pods-RCPageControlExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RCPageControlExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RCPageControlExample/Pods-RCPageControlExample.debug.xcconfig"; sourceTree = ""; }; FD1395A5D82D7B32645E4135 /* Pods-RCPageControlExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RCPageControlExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-RCPageControlExample/Pods-RCPageControlExample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -71,6 +74,7 @@ 6E2F732C19C72600008985F7 = { isa = PBXGroup; children = ( + 6E8AFCF31F3A34370010C4F4 /* RCPageControl */, 6E2F733719C72600008985F7 /* RCPageControlExample */, 6E2F735119C72601008985F7 /* RCPageControlExampleTests */, 6E2F733619C72600008985F7 /* Products */, @@ -130,6 +134,15 @@ name = "Supporting Files"; sourceTree = ""; }; + 6E8AFCF31F3A34370010C4F4 /* RCPageControl */ = { + isa = PBXGroup; + children = ( + 6E8AFCF41F3A34370010C4F4 /* RCPageControl.h */, + 6E8AFCF51F3A34370010C4F4 /* RCPageControl.m */, + ); + path = RCPageControl; + sourceTree = ""; + }; 7C549DD4BE2E4976BC588DB1 /* Frameworks */ = { isa = PBXGroup; children = ( @@ -208,7 +221,7 @@ }; }; }; - buildConfigurationList = 6E2F733019C72600008985F7 /* Build configuration list for PBXProject "RCPageControlExample" */; + buildConfigurationList = 6E2F733019C72600008985F7 /* Build configuration list for PBXProject "RCPageControl" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -302,6 +315,7 @@ buildActionMask = 2147483647; files = ( 6E2F734119C72600008985F7 /* ViewController.m in Sources */, + 6E8AFCF61F3A34370010C4F4 /* RCPageControl.m in Sources */, 6E2F733E19C72600008985F7 /* AppDelegate.m in Sources */, 6E2F733B19C72600008985F7 /* main.m in Sources */, ); @@ -495,7 +509,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 6E2F733019C72600008985F7 /* Build configuration list for PBXProject "RCPageControlExample" */ = { + 6E2F733019C72600008985F7 /* Build configuration list for PBXProject "RCPageControl" */ = { isa = XCConfigurationList; buildConfigurations = ( 6E2F735619C72601008985F7 /* Debug */, diff --git a/RCPageControlExample/RCPageControlExample/AppDelegate.h b/RCPageControlExample/AppDelegate.h similarity index 100% rename from RCPageControlExample/RCPageControlExample/AppDelegate.h rename to RCPageControlExample/AppDelegate.h diff --git a/RCPageControlExample/RCPageControlExample/AppDelegate.m b/RCPageControlExample/AppDelegate.m similarity index 100% rename from RCPageControlExample/RCPageControlExample/AppDelegate.m rename to RCPageControlExample/AppDelegate.m diff --git a/RCPageControlExample/RCPageControlExample/Base.lproj/LaunchScreen.xib b/RCPageControlExample/Base.lproj/LaunchScreen.xib similarity index 100% rename from RCPageControlExample/RCPageControlExample/Base.lproj/LaunchScreen.xib rename to RCPageControlExample/Base.lproj/LaunchScreen.xib diff --git a/RCPageControlExample/RCPageControlExample/Base.lproj/Main.storyboard b/RCPageControlExample/Base.lproj/Main.storyboard similarity index 100% rename from RCPageControlExample/RCPageControlExample/Base.lproj/Main.storyboard rename to RCPageControlExample/Base.lproj/Main.storyboard diff --git a/RCPageControlExample/RCPageControlExample/Images.xcassets/AppIcon.appiconset/Contents.json b/RCPageControlExample/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from RCPageControlExample/RCPageControlExample/Images.xcassets/AppIcon.appiconset/Contents.json rename to RCPageControlExample/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/RCPageControlExample/RCPageControlExample/Info.plist b/RCPageControlExample/Info.plist similarity index 100% rename from RCPageControlExample/RCPageControlExample/Info.plist rename to RCPageControlExample/Info.plist diff --git a/RCPageControlExample/Podfile.lock b/RCPageControlExample/Podfile.lock deleted file mode 100644 index 1e6febe..0000000 --- a/RCPageControlExample/Podfile.lock +++ /dev/null @@ -1,23 +0,0 @@ -PODS: - - iCarousel (1.8.3) - - pop (1.0.9) - - RCPageControl (0.1.1): - - pop - -DEPENDENCIES: - - iCarousel - - pop - - RCPageControl (from `../`) - -EXTERNAL SOURCES: - RCPageControl: - :path: "../" - -SPEC CHECKSUMS: - iCarousel: d782f635afac190c49bb8ee455882284cff8b85f - pop: f667631a5108a2e60d9e8797c9b32ddaf2080bce - RCPageControl: d7f6a8f5e1f9ca9a8ed7dbe32b5c266cf2844070 - -PODFILE CHECKSUM: c62f9b6c34838729688c4cae98fb0c0a78af925c - -COCOAPODS: 1.2.1 diff --git a/RCPageControlExample/RCPageControlExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/RCPageControlExample/RCPageControlExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index f200e14..0000000 --- a/RCPageControlExample/RCPageControlExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/RCPageControlExample/RCPageControlExample.xcodeproj/xcshareddata/xcschemes/RCPageControlExample.xcscheme b/RCPageControlExample/RCPageControlExample.xcodeproj/xcshareddata/xcschemes/RCPageControlExample.xcscheme deleted file mode 100644 index 9e630e4..0000000 --- a/RCPageControlExample/RCPageControlExample.xcodeproj/xcshareddata/xcschemes/RCPageControlExample.xcscheme +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/RCPageControlExample/RCPageControlExample/ViewController.h b/RCPageControlExample/ViewController.h similarity index 100% rename from RCPageControlExample/RCPageControlExample/ViewController.h rename to RCPageControlExample/ViewController.h diff --git a/RCPageControlExample/RCPageControlExample/ViewController.m b/RCPageControlExample/ViewController.m similarity index 99% rename from RCPageControlExample/RCPageControlExample/ViewController.m rename to RCPageControlExample/ViewController.m index 12623a3..3c91b14 100644 --- a/RCPageControlExample/RCPageControlExample/ViewController.m +++ b/RCPageControlExample/ViewController.m @@ -7,7 +7,7 @@ // #import "ViewController.h" -#import +#import "RCPageControl.h" #import @interface ViewController () diff --git a/RCPageControlExample/RCPageControlExample/avatar@2x.png b/RCPageControlExample/avatar@2x.png similarity index 100% rename from RCPageControlExample/RCPageControlExample/avatar@2x.png rename to RCPageControlExample/avatar@2x.png diff --git a/RCPageControlExample/RCPageControlExample/main.m b/RCPageControlExample/main.m similarity index 100% rename from RCPageControlExample/RCPageControlExample/main.m rename to RCPageControlExample/main.m diff --git a/RCPageControlExample/RCPageControlExampleTests/Info.plist b/RCPageControlExampleTests/Info.plist similarity index 100% rename from RCPageControlExample/RCPageControlExampleTests/Info.plist rename to RCPageControlExampleTests/Info.plist diff --git a/RCPageControlExample/RCPageControlExampleTests/RCPageControlExampleTests.m b/RCPageControlExampleTests/RCPageControlExampleTests.m similarity index 100% rename from RCPageControlExample/RCPageControlExampleTests/RCPageControlExampleTests.m rename to RCPageControlExampleTests/RCPageControlExampleTests.m