From 39b10fb384def3eaaa8ba14a75d66c4b7501f380 Mon Sep 17 00:00:00 2001 From: WenchaoD Date: Wed, 22 Feb 2017 18:39:37 +0800 Subject: [PATCH] Support Carthage --- .../xcdebugger/Breakpoints_v2.xcbkptlist | 5 - .../xcschemes/FSPagerViewExample.xcscheme | 111 ------ .../xcschemes/xcschememanagement.plist | 37 -- .../project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../FSPagerViewExample/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Assets.xcassets/Contents.json | 0 .../icon_cat.imageset/Contents.json | 0 .../icon_cat.imageset/icon_cat@2x.png | Bin .../icon_footprint.imageset/Contents.json | 0 .../icon_footprint@2x.png | Bin .../Base.lproj/LaunchScreen.storyboard | 0 .../Base.lproj/Main.storyboard | 0 .../BasicExampleViewController.swift | 0 .../FSPagerViewExample/Info.plist | 0 .../PageControlExampleViewController.swift | 0 .../TransformerExampleViewController.swift | 0 .../FSPagerViewExampleUITests.swift | 0 .../FSPagerViewExampleUITests/Info.plist | 0 .../FSPagerView.xcodeproj/project.pbxproj | 336 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/FSPagerView.xcscheme | 80 +++++ FSPagerView/FSPagerView/FSPagerView.h | 19 + FSPagerView/FSPagerView/Info.plist | 24 ++ README-OBJECTIVE-C.md | 8 +- README.md | 13 +- 27 files changed, 483 insertions(+), 157 deletions(-) delete mode 100644 FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist delete mode 100644 FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/FSPagerViewExample.xcscheme delete mode 100644 FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/xcschememanagement.plist rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample.xcodeproj/project.pbxproj (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/AppDelegate.swift (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/Contents.json (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/Contents.json (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/icon_cat@2x.png (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/Contents.json (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/icon_footprint@2x.png (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Base.lproj/LaunchScreen.storyboard (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Base.lproj/Main.storyboard (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/BasicExampleViewController.swift (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/Info.plist (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/PageControlExampleViewController.swift (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExample/TransformerExampleViewController.swift (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExampleUITests/FSPagerViewExampleUITests.swift (100%) rename {FSPageSliderExample-Swift => FSPageViewExample-Swift}/FSPagerViewExampleUITests/Info.plist (100%) create mode 100644 FSPagerView/FSPagerView.xcodeproj/project.pbxproj create mode 100644 FSPagerView/FSPagerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 FSPagerView/FSPagerView.xcodeproj/xcshareddata/xcschemes/FSPagerView.xcscheme create mode 100644 FSPagerView/FSPagerView/FSPagerView.h create mode 100644 FSPagerView/FSPagerView/Info.plist diff --git a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index fe2b454..0000000 --- a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/FSPagerViewExample.xcscheme b/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/FSPagerViewExample.xcscheme deleted file mode 100644 index b35e32e..0000000 --- a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/FSPagerViewExample.xcscheme +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/xcschememanagement.plist b/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index d9328b0..0000000 --- a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/xcuserdata/wenchaoding.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,37 +0,0 @@ - - - - - SchemeUserState - - FSPagerViewExample.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - F97C96761E1FDE25002D9E7E - - primary - - - F97C968A1E1FDE25002D9E7E - - primary - - - F97C96951E1FDE25002D9E7E - - primary - - - F9C694561E40C720007084B6 - - primary - - - - - diff --git a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/project.pbxproj b/FSPageViewExample-Swift/FSPagerViewExample.xcodeproj/project.pbxproj similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/project.pbxproj rename to FSPageViewExample-Swift/FSPagerViewExample.xcodeproj/project.pbxproj diff --git a/FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/FSPageViewExample-Swift/FSPagerViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to FSPageViewExample-Swift/FSPagerViewExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/AppDelegate.swift b/FSPageViewExample-Swift/FSPagerViewExample/AppDelegate.swift similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/AppDelegate.swift rename to FSPageViewExample-Swift/FSPagerViewExample/AppDelegate.swift diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/AppIcon.appiconset/Contents.json b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/AppIcon.appiconset/Contents.json rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/Contents.json b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/Contents.json similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/Contents.json rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/Contents.json diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/Contents.json b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/Contents.json similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/Contents.json rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/Contents.json diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/icon_cat@2x.png b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/icon_cat@2x.png similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/icon_cat@2x.png rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_cat.imageset/icon_cat@2x.png diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/Contents.json b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/Contents.json similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/Contents.json rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/Contents.json diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/icon_footprint@2x.png b/FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/icon_footprint@2x.png similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/icon_footprint@2x.png rename to FSPageViewExample-Swift/FSPagerViewExample/Assets.xcassets/icon_footprint.imageset/icon_footprint@2x.png diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Base.lproj/LaunchScreen.storyboard b/FSPageViewExample-Swift/FSPagerViewExample/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Base.lproj/LaunchScreen.storyboard rename to FSPageViewExample-Swift/FSPagerViewExample/Base.lproj/LaunchScreen.storyboard diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Base.lproj/Main.storyboard b/FSPageViewExample-Swift/FSPagerViewExample/Base.lproj/Main.storyboard similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Base.lproj/Main.storyboard rename to FSPageViewExample-Swift/FSPagerViewExample/Base.lproj/Main.storyboard diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/BasicExampleViewController.swift b/FSPageViewExample-Swift/FSPagerViewExample/BasicExampleViewController.swift similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/BasicExampleViewController.swift rename to FSPageViewExample-Swift/FSPagerViewExample/BasicExampleViewController.swift diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/Info.plist b/FSPageViewExample-Swift/FSPagerViewExample/Info.plist similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/Info.plist rename to FSPageViewExample-Swift/FSPagerViewExample/Info.plist diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/PageControlExampleViewController.swift b/FSPageViewExample-Swift/FSPagerViewExample/PageControlExampleViewController.swift similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/PageControlExampleViewController.swift rename to FSPageViewExample-Swift/FSPagerViewExample/PageControlExampleViewController.swift diff --git a/FSPageSliderExample-Swift/FSPagerViewExample/TransformerExampleViewController.swift b/FSPageViewExample-Swift/FSPagerViewExample/TransformerExampleViewController.swift similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExample/TransformerExampleViewController.swift rename to FSPageViewExample-Swift/FSPagerViewExample/TransformerExampleViewController.swift diff --git a/FSPageSliderExample-Swift/FSPagerViewExampleUITests/FSPagerViewExampleUITests.swift b/FSPageViewExample-Swift/FSPagerViewExampleUITests/FSPagerViewExampleUITests.swift similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExampleUITests/FSPagerViewExampleUITests.swift rename to FSPageViewExample-Swift/FSPagerViewExampleUITests/FSPagerViewExampleUITests.swift diff --git a/FSPageSliderExample-Swift/FSPagerViewExampleUITests/Info.plist b/FSPageViewExample-Swift/FSPagerViewExampleUITests/Info.plist similarity index 100% rename from FSPageSliderExample-Swift/FSPagerViewExampleUITests/Info.plist rename to FSPageViewExample-Swift/FSPagerViewExampleUITests/Info.plist diff --git a/FSPagerView/FSPagerView.xcodeproj/project.pbxproj b/FSPagerView/FSPagerView.xcodeproj/project.pbxproj new file mode 100644 index 0000000..be192e0 --- /dev/null +++ b/FSPagerView/FSPagerView.xcodeproj/project.pbxproj @@ -0,0 +1,336 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + F9580B7B1E5D9F0600C5B267 /* FSPagerView.h in Headers */ = {isa = PBXBuildFile; fileRef = F9580B791E5D9F0600C5B267 /* FSPagerView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F9580B881E5D9F2B00C5B267 /* FSPageControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B821E5D9F2B00C5B267 /* FSPageControl.swift */; }; + F9580B891E5D9F2B00C5B267 /* FSPagerCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B831E5D9F2B00C5B267 /* FSPagerCollectionView.swift */; }; + F9580B8A1E5D9F2B00C5B267 /* FSPagerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B841E5D9F2B00C5B267 /* FSPagerView.swift */; }; + F9580B8B1E5D9F2B00C5B267 /* FSPagerViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B851E5D9F2B00C5B267 /* FSPagerViewCell.swift */; }; + F9580B8C1E5D9F2B00C5B267 /* FSPageViewLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B861E5D9F2B00C5B267 /* FSPageViewLayout.swift */; }; + F9580B8D1E5D9F2B00C5B267 /* FSPageViewTransformer.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9580B871E5D9F2B00C5B267 /* FSPageViewTransformer.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + F9580B761E5D9F0600C5B267 /* FSPagerView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FSPagerView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F9580B791E5D9F0600C5B267 /* FSPagerView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FSPagerView.h; sourceTree = ""; }; + F9580B7A1E5D9F0600C5B267 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + F9580B821E5D9F2B00C5B267 /* FSPageControl.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPageControl.swift; sourceTree = ""; }; + F9580B831E5D9F2B00C5B267 /* FSPagerCollectionView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPagerCollectionView.swift; sourceTree = ""; }; + F9580B841E5D9F2B00C5B267 /* FSPagerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPagerView.swift; sourceTree = ""; }; + F9580B851E5D9F2B00C5B267 /* FSPagerViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPagerViewCell.swift; sourceTree = ""; }; + F9580B861E5D9F2B00C5B267 /* FSPageViewLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPageViewLayout.swift; sourceTree = ""; }; + F9580B871E5D9F2B00C5B267 /* FSPageViewTransformer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FSPageViewTransformer.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + F9580B721E5D9F0600C5B267 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + F9580B6C1E5D9F0600C5B267 = { + isa = PBXGroup; + children = ( + F9580B811E5D9F2B00C5B267 /* Sources */, + F9580B781E5D9F0600C5B267 /* FSPagerView */, + F9580B771E5D9F0600C5B267 /* Products */, + ); + sourceTree = ""; + }; + F9580B771E5D9F0600C5B267 /* Products */ = { + isa = PBXGroup; + children = ( + F9580B761E5D9F0600C5B267 /* FSPagerView.framework */, + ); + name = Products; + sourceTree = ""; + }; + F9580B781E5D9F0600C5B267 /* FSPagerView */ = { + isa = PBXGroup; + children = ( + F9580B791E5D9F0600C5B267 /* FSPagerView.h */, + F9580B7A1E5D9F0600C5B267 /* Info.plist */, + ); + path = FSPagerView; + sourceTree = ""; + }; + F9580B811E5D9F2B00C5B267 /* Sources */ = { + isa = PBXGroup; + children = ( + F9580B821E5D9F2B00C5B267 /* FSPageControl.swift */, + F9580B831E5D9F2B00C5B267 /* FSPagerCollectionView.swift */, + F9580B841E5D9F2B00C5B267 /* FSPagerView.swift */, + F9580B851E5D9F2B00C5B267 /* FSPagerViewCell.swift */, + F9580B861E5D9F2B00C5B267 /* FSPageViewLayout.swift */, + F9580B871E5D9F2B00C5B267 /* FSPageViewTransformer.swift */, + ); + name = Sources; + path = ../Sources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + F9580B731E5D9F0600C5B267 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F9580B7B1E5D9F0600C5B267 /* FSPagerView.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + F9580B751E5D9F0600C5B267 /* FSPagerView */ = { + isa = PBXNativeTarget; + buildConfigurationList = F9580B7E1E5D9F0600C5B267 /* Build configuration list for PBXNativeTarget "FSPagerView" */; + buildPhases = ( + F9580B711E5D9F0600C5B267 /* Sources */, + F9580B721E5D9F0600C5B267 /* Frameworks */, + F9580B731E5D9F0600C5B267 /* Headers */, + F9580B741E5D9F0600C5B267 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FSPagerView; + productName = FSPagerView; + productReference = F9580B761E5D9F0600C5B267 /* FSPagerView.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + F9580B6D1E5D9F0600C5B267 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0820; + ORGANIZATIONNAME = "Wenchao Ding"; + TargetAttributes = { + F9580B751E5D9F0600C5B267 = { + CreatedOnToolsVersion = 8.2.1; + DevelopmentTeam = HZF422TY46; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = F9580B701E5D9F0600C5B267 /* Build configuration list for PBXProject "FSPagerView" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = F9580B6C1E5D9F0600C5B267; + productRefGroup = F9580B771E5D9F0600C5B267 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + F9580B751E5D9F0600C5B267 /* FSPagerView */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + F9580B741E5D9F0600C5B267 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + F9580B711E5D9F0600C5B267 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F9580B8D1E5D9F2B00C5B267 /* FSPageViewTransformer.swift in Sources */, + F9580B881E5D9F2B00C5B267 /* FSPageControl.swift in Sources */, + F9580B891E5D9F2B00C5B267 /* FSPagerCollectionView.swift in Sources */, + F9580B8C1E5D9F2B00C5B267 /* FSPageViewLayout.swift in Sources */, + F9580B8A1E5D9F2B00C5B267 /* FSPagerView.swift in Sources */, + F9580B8B1E5D9F2B00C5B267 /* FSPagerViewCell.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + F9580B7C1E5D9F0600C5B267 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = gnu99; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + F9580B7D1E5D9F0600C5B267 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = gnu99; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + F9580B7F1E5D9F0600C5B267 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = HZF422TY46; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = FSPagerView/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.wenchaod.FSPagerView; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + F9580B801E5D9F0600C5B267 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = HZF422TY46; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = FSPagerView/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.wenchaod.FSPagerView; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + F9580B701E5D9F0600C5B267 /* Build configuration list for PBXProject "FSPagerView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F9580B7C1E5D9F0600C5B267 /* Debug */, + F9580B7D1E5D9F0600C5B267 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F9580B7E1E5D9F0600C5B267 /* Build configuration list for PBXNativeTarget "FSPagerView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F9580B7F1E5D9F0600C5B267 /* Debug */, + F9580B801E5D9F0600C5B267 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = F9580B6D1E5D9F0600C5B267 /* Project object */; +} diff --git a/FSPagerView/FSPagerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/FSPagerView/FSPagerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..23df69a --- /dev/null +++ b/FSPagerView/FSPagerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/FSPagerView/FSPagerView.xcodeproj/xcshareddata/xcschemes/FSPagerView.xcscheme b/FSPagerView/FSPagerView.xcodeproj/xcshareddata/xcschemes/FSPagerView.xcscheme new file mode 100644 index 0000000..94303f0 --- /dev/null +++ b/FSPagerView/FSPagerView.xcodeproj/xcshareddata/xcschemes/FSPagerView.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FSPagerView/FSPagerView/FSPagerView.h b/FSPagerView/FSPagerView/FSPagerView.h new file mode 100644 index 0000000..680bbc5 --- /dev/null +++ b/FSPagerView/FSPagerView/FSPagerView.h @@ -0,0 +1,19 @@ +// +// FSPagerView.h +// FSPagerView +// +// Created by Wenchao Ding on 22/02/2017. +// Copyright © 2017 Wenchao Ding. All rights reserved. +// + +#import + +//! Project version number for FSPagerView. +FOUNDATION_EXPORT double FSPagerViewVersionNumber; + +//! Project version string for FSPagerView. +FOUNDATION_EXPORT const unsigned char FSPagerViewVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/FSPagerView/FSPagerView/Info.plist b/FSPagerView/FSPagerView/Info.plist new file mode 100644 index 0000000..fbe1e6b --- /dev/null +++ b/FSPagerView/FSPagerView/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/README-OBJECTIVE-C.md b/README-OBJECTIVE-C.md index b05ad5b..8ef3c6f 100644 --- a/README-OBJECTIVE-C.md +++ b/README-OBJECTIVE-C.md @@ -220,8 +220,9 @@ Sets the path for page indicators to use for the specified state. (selected/norm ``` ## Installation -* Manually +* Manually * Cocoapods +* Carthage ### Manually 1. ***[Download](#)*** the source code. @@ -234,6 +235,11 @@ use_frameworks! pod FSPagerView ``` +### Carthage +```ruby +github "WenchaoD/FSPagerView" +``` + ## Tutorial * [Get started](#get_started) * [Implement FSPagerViewDataSource](#implement_fspagerviewdatasource) diff --git a/README.md b/README.md index b9c1557..5643319 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # FSPagerView -[![Platform](https://img.shields.io/badge/platform-iOS%207-blue.svg?style=flat)](http://cocoadocs.org/docsets/FSPagerView) -[![Version](https://img.shields.io/cocoapods/v/FSPagerView.svg?style=flat)](http://cocoadocs.org/docsets/FSCalendar)
-[![Languages](https://img.shields.io/badge/language-swift%20|%20objc-FF69B4.svg?style=plastic)](#) +[![Languages](https://img.shields.io/badge/language-swift%20|%20objc-FF69B4.svg?style=plastic)](#)
+[![Platform](https://img.shields.io/badge/platform-iOS%207-blue.svg?style=plastic)](http://cocoadocs.org/docsets/FSPagerView) +[![Version](https://img.shields.io/cocoapods/v/FSPagerView.svg?style=plastic)](http://cocoadocs.org/docsets/FSCalendar) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=plastic)](https://github.com/Carthage/Carthage) | SWIFT | [OBJECTIVE-C](https://github.com/WenchaoD/FSPagerView/blob/master/README-OBJECTIVE-C.md) | |---|---| @@ -228,6 +229,7 @@ pageControl.setPath(UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: 8, height: 8) ## Installation * Manually * Cocoapods +* Carthage ### Manually 1. ***[Download](#)*** the source code. @@ -240,6 +242,11 @@ use_frameworks! pod FSPagerView ``` +### Carthage +```ruby +github "WenchaoD/FSPagerView" +``` + ## Tutorial * [Get started](#get_started) * [Implement FSPagerViewDataSource](#implement_fspagerviewdatasource)