├── XHPageControl ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── XHPageControl.h │ └── XHPageControl.m ├── _Pods.xcodeproj ├── Example ├── Tests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Tests-Prefix.pch │ ├── Tests-Info.plist │ └── Tests.m ├── XHPageControl │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── image1.imageset │ │ │ ├── image1@2x.png │ │ │ └── Contents.json │ │ ├── image2.imageset │ │ │ ├── image2@2x.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── XHViewController.h │ ├── XHAppDelegate.h │ ├── XHPageControl-Prefix.pch │ ├── main.m │ ├── XHPageControl-Info.plist │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── XHAppDelegate.m │ └── XHViewController.m ├── Pods │ ├── Target Support Files │ │ ├── XHPageControl │ │ │ ├── XHPageControl.modulemap │ │ │ ├── XHPageControl-dummy.m │ │ │ ├── XHPageControl-prefix.pch │ │ │ ├── XHPageControl-umbrella.h │ │ │ ├── XHPageControl.debug.xcconfig │ │ │ ├── XHPageControl.release.xcconfig │ │ │ └── XHPageControl-Info.plist │ │ ├── Pods-XHPageControl_Tests │ │ │ ├── Pods-XHPageControl_Tests-acknowledgements.markdown │ │ │ ├── Pods-XHPageControl_Tests.modulemap │ │ │ ├── Pods-XHPageControl_Tests-dummy.m │ │ │ ├── Pods-XHPageControl_Tests-umbrella.h │ │ │ ├── Pods-XHPageControl_Tests.debug.xcconfig │ │ │ ├── Pods-XHPageControl_Tests.release.xcconfig │ │ │ ├── Pods-XHPageControl_Tests-Info.plist │ │ │ └── Pods-XHPageControl_Tests-acknowledgements.plist │ │ └── Pods-XHPageControl_Example │ │ │ ├── Pods-XHPageControl_Example.modulemap │ │ │ ├── Pods-XHPageControl_Example-dummy.m │ │ │ ├── Pods-XHPageControl_Example-umbrella.h │ │ │ ├── Pods-XHPageControl_Example.debug.xcconfig │ │ │ ├── Pods-XHPageControl_Example.release.xcconfig │ │ │ ├── Pods-XHPageControl_Example-Info.plist │ │ │ ├── Pods-XHPageControl_Example-acknowledgements.markdown │ │ │ ├── Pods-XHPageControl_Example-acknowledgements.plist │ │ │ └── Pods-XHPageControl_Example-frameworks.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── XHPageControl.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── XHPageControl.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── XHPageControl-Example.xcscheme │ └── project.pbxproj ├── Podfile ├── XHPageControl.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── Podfile.lock ├── LICENSE ├── .gitignore ├── XHPageControl.podspec └── README.md /XHPageControl/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /XHPageControl/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/XHPageControl/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/image1.imageset/image1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zxhkit/XHPageControl/HEAD/Example/XHPageControl/Images.xcassets/image1.imageset/image1@2x.png -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/image2.imageset/image2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zxhkit/XHPageControl/HEAD/Example/XHPageControl/Images.xcassets/image2.imageset/image2@2x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl.modulemap: -------------------------------------------------------------------------------- 1 | framework module XHPageControl { 2 | umbrella header "XHPageControl-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_XHPageControl : NSObject 3 | @end 4 | @implementation PodsDummy_XHPageControl 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_XHPageControl_Tests { 2 | umbrella header "Pods-XHPageControl_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_XHPageControl_Example { 2 | umbrella header "Pods-XHPageControl_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_XHPageControl_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_XHPageControl_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/XHPageControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | platform :ios, '10.0' 4 | 5 | target 'XHPageControl_Example' do 6 | pod 'XHPageControl', :path => '../' 7 | 8 | target 'XHPageControl_Tests' do 9 | inherit! :search_paths 10 | 11 | 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_XHPageControl_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_XHPageControl_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/XHPageControl.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/XHPageControl.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // XHViewController.h 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | @import UIKit; 11 | 12 | @interface XHViewController : UIViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - XHPageControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - XHPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | XHPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | XHPageControl: b8206ff1b447598cfc51c16b136aa6a89da303d4 13 | 14 | PODFILE CHECKSUM: 9b2560d459e150ad2e8868ac06bf73175bd57fad 15 | 16 | COCOAPODS: 1.11.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - XHPageControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - XHPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | XHPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | XHPageControl: b8206ff1b447598cfc51c16b136aa6a89da303d4 13 | 14 | PODFILE CHECKSUM: 9b2560d459e150ad2e8868ac06bf73175bd57fad 15 | 16 | COCOAPODS: 1.11.3 17 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // XHAppDelegate.h 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | @import UIKit; 11 | 12 | @interface XHAppDelegate : UIResponder 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHPageControl-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/XHPageControl/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // XHPageControl 4 | // 5 | // Created by oauth2 on 09/07/2022. 6 | // Copyright (c) 2022 oauth2. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "XHAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([XHAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/image1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "image1@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/image2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "filename" : "image2@2x.png", 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "XHPageControl.h" 14 | 15 | FOUNDATION_EXPORT double XHPageControlVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char XHPageControlVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_XHPageControl_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_XHPageControl_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_XHPageControl_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_XHPageControl_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/XHPageControl.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "XHPageControl", 3 | "version": "0.1.0", 4 | "summary": "A short description of XHPageControl.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/zxhkit/XHPageControl", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "zxhkit": "820331062" 13 | }, 14 | "source": { 15 | "git": "https://e.coding.net/zhouxuanhe/swifty/XHPageControl.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "10.0" 20 | }, 21 | "source_files": "XHPageControl/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // XHPageControlTests.m 3 | // XHPageControlTests 4 | // 5 | // Created by oauth2 on 09/07/2022. 6 | // Copyright (c) 2022 oauth2. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl/XHPageControl.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "XHPageControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl/XHPageControl.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "XHPageControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl/XHPageControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "XHPageControl" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/XHPageControl/XHPageControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "XHPageControl" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/XHPageControl/XHPageControl-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2022 oauth2 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## XHPageControl 5 | 6 | Copyright (c) 2022 oauth2 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | # CocoaPods 32 | # 33 | # We recommend against adding the Pods directory to your .gitignore. However 34 | # you should judge for yourself, the pros and cons are mentioned at: 35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 36 | # 37 | # Pods/ 38 | 39 | # Carthage 40 | # 41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 42 | # Carthage/Checkouts 43 | 44 | Carthage/Build 45 | 46 | # fastlane 47 | # 48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 49 | # screenshots whenever they are needed. 50 | # For more information about the recommended setup visit: 51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 52 | 53 | fastlane/report.xml 54 | fastlane/Preview.html 55 | fastlane/screenshots/**/*.png 56 | fastlane/test_output 57 | 58 | # Code Injection 59 | # 60 | # After new code Injection tools there's a generated folder /iOSInjectionProject 61 | # https://github.com/johnno1962/injectionforxcode 62 | 63 | iOSInjectionProject/ 64 | -------------------------------------------------------------------------------- /XHPageControl.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint XHPageControl.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'XHPageControl' 11 | s.version = '0.1.0' 12 | s.summary = 'A short description of XHPageControl.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/zxhkit/XHPageControl' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'zxhkit' => '820331062@qq.com' } 28 | s.source = { :git => 'https://github.com/zxhkit/XHPageControl.git', :tag => s.version.to_s } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '10.0' 32 | 33 | s.source_files = 'XHPageControl/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'XHPageControl' => ['XHPageControl/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHPageControl-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/XHPageControl/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/XHPageControl/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/XHPageControl/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // XHAppDelegate.m 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | #import "XHAppDelegate.h" 11 | 12 | @implementation XHAppDelegate 13 | 14 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 15 | { 16 | // Override point for customization after application launch. 17 | return YES; 18 | } 19 | 20 | - (void)applicationWillResignActive:(UIApplication *)application 21 | { 22 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 23 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 24 | } 25 | 26 | - (void)applicationDidEnterBackground:(UIApplication *)application 27 | { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | - (void)applicationWillEnterForeground:(UIApplication *)application 33 | { 34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application 38 | { 39 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 40 | } 41 | 42 | - (void)applicationWillTerminate:(UIApplication *)application 43 | { 44 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2022 oauth2 <zhouxh@tianji.cn> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | XHPageControl 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # XHPageControl 2 | 3 | [![CI Status](https://img.shields.io/travis/oauth2/XHPageControl.svg?style=flat)](https://travis-ci.org/oauth2/XHPageControl) 4 | [![Version](https://img.shields.io/cocoapods/v/XHPageControl.svg?style=flat)](https://cocoapods.org/pods/XHPageControl) 5 | [![License](https://img.shields.io/cocoapods/l/XHPageControl.svg?style=flat)](https://cocoapods.org/pods/XHPageControl) 6 | [![Platform](https://img.shields.io/cocoapods/p/XHPageControl.svg?style=flat)](https://cocoapods.org/pods/XHPageControl) 7 | 8 | ## Example 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | 13 | ## Summary 14 | 15 | The latest version: 0.1.0 16 | 17 | A concise and user-friendly custom UIPageControl 18 | 19 | Please refer to the Swift version:[Swift版本:JJPageControl](https://github.com/zxhkit/JJPageControl) 20 | 21 | ## Requirements 22 | ``` 23 | >= iOS 10.0 24 | ``` 25 | 26 | ## Installation 27 | 28 | XHPageControl is available through [CocoaPods](https://cocoapods.org). To install 29 | it, simply add the following line to your Podfile: 30 | 31 | ```ruby 32 | pod 'XHPageControl' 33 | ``` 34 | 35 | ## Use 36 | 37 | 将自定义PageControl类拖到项目中,并导入头文件. 38 | ``` 39 | //创建pageControl 40 | XHPageControl *pageControl = [[XHPageControl alloc] initWithFrame:CGRectMake(0, 300,[UIScreen mainScreen].bounds.size.width, 30)]; 41 | //设置点的总个数 42 | pageControl.numberOfPages = 7; 43 | //设置非选中点的大小(宽度和高度) 44 | pageControl.otherPointSize = CGSizeMake(12, 6); 45 | //设置选中点的大小(宽度和高度) 46 | pageControl.currentPointSize = CGSizeMake(24, 6); 47 | //设置圆角大小 48 | pageControl.pointCornerRadius = 3; 49 | //设置两点之间的间隙 50 | pageControl.controlSpacing = 3; 51 | //左右间宽,只有在居左居右显示的时候才有用 52 | pageControl.leftAndRightSpacing = 10; 53 | //设置样式.默认居中显示 54 | pageControl.pageAliment = PageControlMiddle; 55 | //非选中点的颜色 56 | pageControl.otherColor=[UIColor grayColor]; 57 | //选中点的颜色 58 | pageControl.currentColor=[UIColor orangeColor]; 59 | //当只有一个点的时候是否隐藏,默认隐藏 60 | pageControl. isHidesForSinglePage = YES; 61 | //是否可以点击,默认不可以点击 62 | pageControl .isCanClickPoint = YES; 63 | //代理 64 | pageControl.delegate = self; 65 | //标记 66 | pageControl.tag = 902; 67 | 68 | [self.view addSubview:pageControl]; 69 | 70 | ``` 71 | 代理实现: 72 | 73 | ``` 74 | #pragma mark - 代理 75 | - (void)xh_PageControlClick:(XHPageControl*)pageControl index:(NSInteger)clickIndex{ 76 | 77 | NSLog(@"%ld",clickIndex); 78 | if(pageControl.tag == 902){ 79 | CGPoint position = CGPointMake([UIScreen mainScreen].bounds.size.width * clickIndex, 0); 80 | [_scrollView2 setContentOffset:position animated:YES]; 81 | } 82 | } 83 | 84 | 85 | ``` 86 | 87 | ## Author 88 | 89 | zhouxuanhe, 820331062@qq.com 90 | 91 | ## License 92 | 93 | XHPageControl is available under the MIT license. See the LICENSE file for more info. 94 | -------------------------------------------------------------------------------- /XHPageControl/Classes/XHPageControl.h: -------------------------------------------------------------------------------- 1 | // 2 | // XHPageControl.h 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | typedef NS_ENUM(NSUInteger,XHPageControlType){ 15 | PageControlMiddle = 0, // 16 | PageControlRight, // 17 | PageControlLeft // 18 | }; 19 | 20 | 21 | @class XHPageControl; 22 | @protocol XHPageControlDelegate 23 | 24 | @optional 25 | 26 | /// 点击PageControl点的时候,响应事件回调 27 | /// @param pageControl 点击的pageControl 28 | /// @param clickIndex 点击点的下标,从0开始 29 | - (void)xh_PageControlClick:(XHPageControl*)pageControl index:(NSInteger)clickIndex; 30 | 31 | @end 32 | @interface XHPageControl : UIControl 33 | 34 | /// 代理 35 | @property (nonatomic, weak) id delegate; 36 | /// Block点击回调 37 | @property (nonatomic, copy) void (^clickPointBlock)(NSInteger index); 38 | 39 | 40 | /// 控件位置,默认中间:PageControlMiddle 41 | @property (nonatomic, assign) XHPageControlType pageAliment; 42 | 43 | /// 当前点的大小默认:(6,6) 44 | @property (nonatomic, assign) CGSize currentPointSize; 45 | 46 | /// 其他点的大小,默认:(6,6) 47 | @property (nonatomic, assign) CGSize otherPointSize; 48 | 49 | /// 圆角大小,默认:3 50 | @property (nonatomic, assign) CGFloat pointCornerRadius; 51 | 52 | /// 分页数量 53 | @property (nonatomic, assign) NSInteger numberOfPages; 54 | 55 | /// 当前点所在下标 56 | @property (nonatomic, assign) NSInteger currentPage; 57 | 58 | /// 两点间的间距 59 | @property (nonatomic, assign) CGFloat controlSpacing; 60 | 61 | /// 左右间宽,只有在居左居右显示的时候才有用 62 | @property (nonatomic, assign) CGFloat leftAndRightSpacing; 63 | 64 | /// 其他未选中点颜色 65 | @property (nonatomic, strong) UIColor *otherColor; 66 | 67 | /// 当前点颜色 68 | @property (nonatomic, strong) UIColor *currentColor; 69 | 70 | ///其他选中点的layer边框颜色 71 | @property (nonatomic, strong) UIColor *otherLayerBorderColor; 72 | 73 | ///当前选中点的layer边框颜色 74 | @property (nonatomic, strong) UIColor *currentLayerBorderColor; 75 | 76 | ///其他点的layer宽 77 | @property (nonatomic, assign) CGFloat otherLayerBorderWidth; 78 | 79 | ///当前选中点的layer宽 80 | @property (nonatomic, assign) CGFloat currentLayerBorderWidth; 81 | 82 | /// 当前点背景图片 83 | @property (nonatomic, strong) UIImage *currentBkImage; 84 | 85 | /// 其他点背景图片 86 | @property (nonatomic, strong) UIImage *otherBkImage; 87 | 88 | /// 当只有一个点的时候是否隐藏,默认隐藏 89 | @property (nonatomic, assign) BOOL isHidesForSinglePage; 90 | 91 | /// 是否可以点击,默认不可以点击 92 | @property (nonatomic, assign) BOOL isCanClickPoint; 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | @end 103 | 104 | NS_ASSUME_NONNULL_END 105 | -------------------------------------------------------------------------------- /Example/XHPageControl.xcodeproj/xcshareddata/xcschemes/XHPageControl-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/XHPageControl/XHViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // XHViewController.m 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | #import "XHViewController.h" 11 | #import 12 | 13 | 14 | @interface XHViewController () 15 | 16 | @property(nonatomic,strong) UIScrollView *scrollView1; 17 | @property(nonatomic,strong) UIScrollView *scrollView2; 18 | @property(nonatomic,strong) UIScrollView *scrollView3; 19 | @property(nonatomic,strong) UIScrollView *scrollView4; 20 | 21 | @property(nonatomic,strong) XHPageControl *pageControl1; 22 | @property(nonatomic,strong) XHPageControl *pageControl2; 23 | @property(nonatomic,strong) XHPageControl *pageControl3; 24 | @property(nonatomic,strong) XHPageControl *pageControl4; 25 | 26 | @end 27 | 28 | @implementation XHViewController 29 | 30 | - (void)didReceiveMemoryWarning 31 | { 32 | [super didReceiveMemoryWarning]; 33 | // Dispose of any resources that can be recreated. 34 | } 35 | 36 | 37 | 38 | - (void)viewDidLoad { 39 | [super viewDidLoad]; 40 | 41 | _scrollView1 = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 60, [UIScreen mainScreen].bounds.size.width, 100)]; 42 | _scrollView1.contentSize = CGSizeMake([UIScreen mainScreen].bounds.size.width*7, 100); 43 | _scrollView1.delegate = self; 44 | _scrollView1.pagingEnabled = YES; 45 | _scrollView1.tag = 1001; 46 | for (int i = 1; i <=7; i++) { 47 | [self.scrollView1 addSubview:[self createImgView:i]]; 48 | } 49 | [self.view addSubview:_scrollView1]; 50 | 51 | 52 | _scrollView2 = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 200, [UIScreen mainScreen].bounds.size.width, 100)]; 53 | _scrollView2.contentSize = CGSizeMake([UIScreen mainScreen].bounds.size.width*7, 100); 54 | _scrollView2.delegate = self; 55 | _scrollView2.pagingEnabled = YES; 56 | _scrollView2.tag = 1002; 57 | for (int i = 1; i <=7; i++) { 58 | [self.scrollView2 addSubview:[self createImgView:i]]; 59 | } 60 | [self.view addSubview:_scrollView2]; 61 | 62 | _scrollView3 = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 340, [UIScreen mainScreen].bounds.size.width, 100)]; 63 | _scrollView3.contentSize = CGSizeMake([UIScreen mainScreen].bounds.size.width*7, 100); 64 | _scrollView3.delegate = self; 65 | _scrollView3.pagingEnabled = YES; 66 | _scrollView3.tag = 1003; 67 | for (int i = 1; i <=7; i++) { 68 | [self.scrollView3 addSubview:[self createImgView:i]]; 69 | } 70 | [self.view addSubview:_scrollView3]; 71 | 72 | 73 | _scrollView4 = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 480, [UIScreen mainScreen].bounds.size.width, 100)]; 74 | _scrollView4.contentSize = CGSizeMake([UIScreen mainScreen].bounds.size.width*7, 100); 75 | _scrollView4.delegate = self; 76 | _scrollView4.pagingEnabled = YES; 77 | _scrollView4.tag = 1004; 78 | for (int i = 1; i <=7; i++) { 79 | [self.scrollView4 addSubview:[self createImgView:i]]; 80 | } 81 | [self.view addSubview:_scrollView4]; 82 | 83 | _pageControl1 = [[XHPageControl alloc] init]; 84 | _pageControl1.frame=CGRectMake(0, 160,[UIScreen mainScreen].bounds.size.width, 30); 85 | _pageControl1.numberOfPages = 7; 86 | _pageControl1.delegate = self; 87 | _pageControl1.otherPointSize = CGSizeMake(12, 12); 88 | _pageControl1.currentPointSize = CGSizeMake(12, 12); 89 | _pageControl1.pointCornerRadius = 6; 90 | _pageControl1.currentColor = [UIColor clearColor]; 91 | _pageControl1.otherColor = [UIColor clearColor]; 92 | _pageControl1.currentLayerBorderWidth = 2; 93 | _pageControl1.otherLayerBorderWidth = 2; 94 | _pageControl1.currentLayerBorderColor = [UIColor colorWithRed:98/255.0 green:152/255.0 blue:19/255.0 alpha:1]; 95 | _pageControl1.otherLayerBorderColor = [UIColor colorWithRed:14/255.0 green:65/255.0 blue:189/255.0 alpha:1]; 96 | _pageControl1.tag = 901; 97 | [self.view addSubview:_pageControl1]; 98 | 99 | 100 | _pageControl2 = [[XHPageControl alloc] initWithFrame:CGRectMake(0, 300,[UIScreen mainScreen].bounds.size.width, 30)]; 101 | _pageControl2.numberOfPages = 7; 102 | _pageControl2.otherPointSize = CGSizeMake(12, 6); 103 | _pageControl2.currentPointSize = CGSizeMake(24, 6); 104 | _pageControl2.pageAliment = PageControlLeft; 105 | _pageControl2.otherColor = [UIColor colorWithRed:14/255.0 green:65/255.0 blue:189/255.0 alpha:1]; 106 | _pageControl2.currentColor = [UIColor colorWithRed:98/255.0 green:152/255.0 blue:19/255.0 alpha:1]; 107 | _pageControl2.delegate = self; 108 | _pageControl2.tag = 902; 109 | _pageControl2.layer.borderWidth = 1; 110 | [self.view addSubview:_pageControl2]; 111 | 112 | 113 | 114 | _pageControl3 = [[XHPageControl alloc] initWithFrame:CGRectMake(0, 440,[UIScreen mainScreen].bounds.size.width, 30)]; 115 | _pageControl3.numberOfPages = 7; 116 | _pageControl3.otherPointSize = CGSizeMake(18, 18); 117 | _pageControl3.currentPointSize = CGSizeMake(18, 18); 118 | _pageControl3.controlSpacing = 15; 119 | _pageControl3.currentBkImage = [UIImage imageNamed:@"image1"]; 120 | _pageControl3.otherBkImage = [UIImage imageNamed:@"image2"]; 121 | _pageControl3.delegate = self; 122 | _pageControl3.tag = 903; 123 | [self.view addSubview:_pageControl3]; 124 | 125 | _pageControl4 = [[XHPageControl alloc] initWithFrame:CGRectMake(0, 580,[UIScreen mainScreen].bounds.size.width, 30)]; 126 | _pageControl4.numberOfPages = 7; 127 | _pageControl4.otherPointSize = CGSizeMake(6, 6); 128 | _pageControl4.currentPointSize = CGSizeMake(6, 16); 129 | _pageControl4.controlSpacing = 4; 130 | _pageControl4.pageAliment = PageControlRight; 131 | _pageControl4.delegate = self; 132 | _pageControl4.tag = 904; 133 | _pageControl4.isCanClickPoint = YES; 134 | _pageControl4.clickPointBlock = ^(NSInteger index) { 135 | NSLog(@"Block:带击了第 %ld 个",index); 136 | }; 137 | [self.view addSubview:_pageControl4]; 138 | 139 | 140 | } 141 | 142 | - (void)scrollViewDidScroll:(UIScrollView *)scrollView{ 143 | NSInteger currentPage = scrollView.contentOffset.x / [UIScreen mainScreen].bounds.size.width; 144 | 145 | if(scrollView.tag == 1001){ 146 | self.pageControl1.currentPage = currentPage; 147 | }else if(scrollView.tag == 1002){ 148 | self.pageControl2.currentPage = currentPage; 149 | 150 | }else if(scrollView.tag == 1003){ 151 | self.pageControl3.currentPage = currentPage; 152 | 153 | }else if(scrollView.tag == 1004){ 154 | self.pageControl4.currentPage = currentPage; 155 | } 156 | } 157 | 158 | #pragma mark -------------------------------------------------- 159 | #pragma mark - 代理 160 | - (void)xh_PageControlClick:(XHPageControl*)pageControl index:(NSInteger)clickIndex{ 161 | 162 | NSLog(@"代理:带击了第 %ld 个",clickIndex); 163 | if(pageControl.tag == 901) { 164 | CGPoint position = CGPointMake([UIScreen mainScreen].bounds.size.width * clickIndex, 0); 165 | [_scrollView1 setContentOffset:position animated:YES]; 166 | 167 | }else if(pageControl.tag == 902){ 168 | CGPoint position = CGPointMake([UIScreen mainScreen].bounds.size.width * clickIndex, 0); 169 | [_scrollView2 setContentOffset:position animated:YES]; 170 | }else if(pageControl.tag == 903){ 171 | CGPoint position = CGPointMake([UIScreen mainScreen].bounds.size.width * clickIndex, 0); 172 | [_scrollView3 setContentOffset:position animated:YES]; 173 | }else if(pageControl.tag == 904){ 174 | CGPoint position = CGPointMake([UIScreen mainScreen].bounds.size.width * clickIndex, 0); 175 | [_scrollView4 setContentOffset:position animated:YES]; 176 | } 177 | } 178 | 179 | 180 | 181 | 182 | 183 | 184 | - (UIImageView *)createImgView:(int)index{ 185 | UIImageView *imgV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:[NSString stringWithFormat:@"pic-%d",index]]]; 186 | imgV.frame = CGRectMake([UIScreen mainScreen].bounds.size.width * (index-1), 0, [UIScreen mainScreen].bounds.size.width, 100); 187 | imgV.layer.borderWidth = 1; 188 | return imgV; 189 | } 190 | 191 | 192 | @end 193 | 194 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 116 | mkdir -p "${DWARF_DSYM_FOLDER_PATH}" 117 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 118 | fi 119 | fi 120 | } 121 | 122 | # Used as a return value for each invocation of `strip_invalid_archs` function. 123 | STRIP_BINARY_RETVAL=0 124 | 125 | # Strip invalid architectures 126 | strip_invalid_archs() { 127 | binary="$1" 128 | warn_missing_arch=${2:-true} 129 | # Get architectures for current target binary 130 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 131 | # Intersect them with the architectures we are building for 132 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 133 | # If there are no archs supported by this binary then warn the user 134 | if [[ -z "$intersected_archs" ]]; then 135 | if [[ "$warn_missing_arch" == "true" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | fi 138 | STRIP_BINARY_RETVAL=1 139 | return 140 | fi 141 | stripped="" 142 | for arch in $binary_archs; do 143 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 144 | # Strip non-valid architectures in-place 145 | lipo -remove "$arch" -output "$binary" "$binary" 146 | stripped="$stripped $arch" 147 | fi 148 | done 149 | if [[ "$stripped" ]]; then 150 | echo "Stripped $binary of architectures:$stripped" 151 | fi 152 | STRIP_BINARY_RETVAL=0 153 | } 154 | 155 | # Copies the bcsymbolmap files of a vendored framework 156 | install_bcsymbolmap() { 157 | local bcsymbolmap_path="$1" 158 | local destination="${BUILT_PRODUCTS_DIR}" 159 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 160 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 161 | } 162 | 163 | # Signs a framework with the provided identity 164 | code_sign_if_enabled() { 165 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 166 | # Use the current code_sign_identity 167 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 168 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 169 | 170 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 171 | code_sign_cmd="$code_sign_cmd &" 172 | fi 173 | echo "$code_sign_cmd" 174 | eval "$code_sign_cmd" 175 | fi 176 | } 177 | 178 | if [[ "$CONFIGURATION" == "Debug" ]]; then 179 | install_framework "${BUILT_PRODUCTS_DIR}/XHPageControl/XHPageControl.framework" 180 | fi 181 | if [[ "$CONFIGURATION" == "Release" ]]; then 182 | install_framework "${BUILT_PRODUCTS_DIR}/XHPageControl/XHPageControl.framework" 183 | fi 184 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 185 | wait 186 | fi 187 | -------------------------------------------------------------------------------- /XHPageControl/Classes/XHPageControl.m: -------------------------------------------------------------------------------- 1 | // 2 | // XHPageControl.m 3 | // XHPageControl 4 | // 5 | // Created by xuanhe on 2022/9/2. 6 | // github:https://github.com/zxhkit/XHPageControl 7 | // 简书:https://www.jianshu.com/p/aae83cfaeeb4 8 | // 9 | 10 | #import "XHPageControl.h" 11 | @interface XHPageControl () 12 | 13 | 14 | @end 15 | 16 | 17 | @interface XHPageControl () 18 | 19 | @property (nonatomic, strong) NSMutableArray *dots; 20 | 21 | @end 22 | @implementation XHPageControl 23 | 24 | - (instancetype)initWithFrame:(CGRect)frame{ 25 | if(self = [super initWithFrame:frame]){ 26 | [self initialize]; 27 | } 28 | return self; 29 | } 30 | - (void)initialize{ 31 | self.backgroundColor = [UIColor clearColor]; 32 | self.currentPointSize = CGSizeMake(6, 6); 33 | self.otherPointSize = CGSizeMake(12, 6); 34 | self.pointCornerRadius = 3; 35 | self.pageAliment = PageControlMiddle; 36 | self.numberOfPages = 0; 37 | self.currentPage = 0; 38 | self.controlSpacing = 8; 39 | self.leftAndRightSpacing = 10; 40 | self.otherColor = [UIColor grayColor]; 41 | self.currentColor = [UIColor orangeColor]; 42 | self.isHidesForSinglePage = YES; 43 | self.isCanClickPoint = NO; 44 | self.currentLayerBorderWidth = 1; 45 | self.otherLayerBorderWidth = 1; 46 | self.dots = [NSMutableArray array]; 47 | } 48 | 49 | - (void)setFrame:(CGRect)frame{ 50 | [super setFrame:frame]; 51 | [self createPointView]; 52 | } 53 | 54 | - (void)setOtherColor:(UIColor *)otherColor{ 55 | if (![self isTheSameColor:otherColor anotherColor:_otherColor]) { 56 | _otherColor = otherColor; 57 | [self createPointView]; 58 | } 59 | } 60 | 61 | - (void)setCurrentColor:(UIColor *)currentColor{ 62 | if (![self isTheSameColor:currentColor anotherColor:_currentColor]) { 63 | _currentColor = currentColor; 64 | [self createPointView]; 65 | } 66 | } 67 | 68 | - (void)setCurrentPointSize:(CGSize)currentPointSize{ 69 | if (!CGSizeEqualToSize(currentPointSize, _currentPointSize)) { 70 | _currentPointSize = currentPointSize; 71 | [self createPointView]; 72 | } 73 | } 74 | 75 | 76 | - (void)setControlSpacing:(CGFloat)controlSpacing{ 77 | if (_controlSpacing != controlSpacing){ 78 | _controlSpacing = controlSpacing; 79 | [self createPointView]; 80 | } 81 | } 82 | 83 | - (void)setCurrentBkImage:(UIImage *)currentBkImage{ 84 | if (_currentBkImage != currentBkImage){ 85 | _currentBkImage = currentBkImage; 86 | [self createPointView]; 87 | } 88 | } 89 | 90 | - (void)setOtherBkImage:(UIImage *)otherBkImage { 91 | if (_otherBkImage != otherBkImage) { 92 | _otherBkImage = otherBkImage; 93 | [self createPointView]; 94 | } 95 | } 96 | 97 | - (void)setPointCornerRadius:(CGFloat)pointCornerRadius{ 98 | if (_pointCornerRadius != pointCornerRadius) { 99 | _pointCornerRadius = pointCornerRadius; 100 | [self createPointView]; 101 | } 102 | } 103 | 104 | - (void)setPageAliment:(XHPageControlType)pageAliment{ 105 | if (_pageAliment != pageAliment) { 106 | _pageAliment = pageAliment; 107 | [self createPointView]; 108 | } 109 | } 110 | 111 | 112 | - (void)setNumberOfPages:(NSInteger)numberOfPages{ 113 | if (_numberOfPages != numberOfPages) { 114 | _numberOfPages = numberOfPages; 115 | [self createPointView]; 116 | } 117 | } 118 | 119 | - (void)setCurrentLayerBorderColor:(UIColor *)currentLayerBorderColor{ 120 | if (![self isTheSameColor:currentLayerBorderColor anotherColor:_currentLayerBorderColor]) { 121 | _currentLayerBorderColor = currentLayerBorderColor; 122 | [self createPointView]; 123 | } 124 | } 125 | 126 | - (void)setOtherLayerBorderColor:(UIColor *)otherLayerBorderColor{ 127 | if (![self isTheSameColor:otherLayerBorderColor anotherColor:_otherLayerBorderColor]) { 128 | _otherLayerBorderColor = otherLayerBorderColor; 129 | [self createPointView]; 130 | } 131 | } 132 | 133 | - (void)setCurrentLayerBorderWidth:(CGFloat)currentLayerBorderWidth{ 134 | if (_currentLayerBorderWidth != currentLayerBorderWidth) { 135 | _currentLayerBorderWidth = currentLayerBorderWidth; 136 | [self createPointView]; 137 | } 138 | } 139 | 140 | - (void)setOtherLayerBorderWidth:(CGFloat)otherLayerBorderWidth{ 141 | if (_otherLayerBorderWidth != otherLayerBorderWidth) { 142 | _otherLayerBorderWidth = otherLayerBorderWidth; 143 | [self createPointView]; 144 | } 145 | } 146 | 147 | 148 | - (void)setCurrentPage:(NSInteger)currentPage { 149 | 150 | if (_currentPage == currentPage){ 151 | return; 152 | } 153 | 154 | [self exchangePointView:_currentPage newPage:currentPage]; 155 | _currentPage = currentPage; 156 | } 157 | 158 | - (void)clearView { 159 | [self.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)]; 160 | } 161 | 162 | - (void)createPointView { 163 | [self.dots removeAllObjects]; 164 | [self clearView]; 165 | if (_numberOfPages <= 0){ 166 | return; 167 | } 168 | //居中控件 169 | CGFloat startX = 0; 170 | CGFloat startY_current = 0; 171 | CGFloat startY_other = 0; 172 | CGFloat mainWidth = (_numberOfPages - 1) * self.otherPointSize.width + (_numberOfPages - 1) * _controlSpacing + self.currentPointSize.width; 173 | if (self.frame.size.width < mainWidth){ 174 | startX = 0; 175 | } else { 176 | if (_pageAliment == PageControlLeft) { 177 | startX = 10; 178 | }else if (_pageAliment == PageControlMiddle){ 179 | startX = (self.frame.size.width - mainWidth)/2.0; 180 | }else if (_pageAliment == PageControlRight){ 181 | startX = self.frame.size.width - mainWidth - 10; 182 | }else{ 183 | NSAssert(1, @"请传入正确的pageAliment"); 184 | } 185 | } 186 | 187 | CGFloat maxHeight = MAX(self.otherPointSize.height, self.currentPointSize.height); 188 | if (self.frame.size.height < maxHeight){ 189 | CGRect rect = CGRectMake(self.frame.origin.x, self.frame.origin.y, self.frame.size.width, maxHeight); 190 | self.frame = rect; 191 | return; 192 | }else{ 193 | startY_current = (CGRectGetHeight(self.frame) - maxHeight)/2.0 + (maxHeight - self.currentPointSize.height); 194 | startY_other = (CGRectGetHeight(self.frame) - maxHeight)/2.0 + (maxHeight - self.otherPointSize.height); 195 | } 196 | //动态创建点 197 | for (int page = 0; page < _numberOfPages; page++) { 198 | if(page == _currentPage){ 199 | UIImageView *currentPoint = [[UIImageView alloc] initWithFrame:CGRectMake(startX, startY_current, self.currentPointSize.width, self.currentPointSize.height)]; 200 | currentPoint.layer.cornerRadius = self.pointCornerRadius; 201 | currentPoint.tag = page+1000; 202 | currentPoint.backgroundColor = _currentColor; 203 | currentPoint.userInteractionEnabled = YES; 204 | currentPoint.image = self.currentBkImage; 205 | if (self.currentBkImage) { 206 | currentPoint.backgroundColor = [UIColor clearColor]; 207 | } 208 | if (self.currentLayerBorderColor) { 209 | currentPoint.layer.borderColor = self.currentLayerBorderColor.CGColor; 210 | currentPoint.layer.borderWidth = self.currentLayerBorderWidth; 211 | }else{ 212 | currentPoint.layer.borderWidth = 0; 213 | } 214 | 215 | if (self.isCanClickPoint) { 216 | UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(clickAction:)]; 217 | [currentPoint addGestureRecognizer:tapGesture]; 218 | } 219 | [self addSubview:currentPoint]; 220 | startX = CGRectGetMaxX(currentPoint.frame) + _controlSpacing; 221 | 222 | [self.dots addObject:currentPoint]; 223 | }else{ 224 | UIImageView *otherPoint = [[UIImageView alloc] initWithFrame:CGRectMake(startX, startY_other, self.otherPointSize.width, self.otherPointSize.height)]; 225 | otherPoint.layer.cornerRadius = self.pointCornerRadius; 226 | otherPoint.backgroundColor = _otherColor; 227 | otherPoint.tag = page+1000; 228 | otherPoint.userInteractionEnabled = YES; 229 | otherPoint.image = self.otherBkImage; 230 | if (self.otherBkImage) { 231 | otherPoint.backgroundColor = [UIColor clearColor]; 232 | } 233 | 234 | if (self.otherLayerBorderColor) { 235 | otherPoint.layer.borderColor = self.otherLayerBorderColor.CGColor; 236 | otherPoint.layer.borderWidth = self.otherLayerBorderWidth; 237 | }else{ 238 | otherPoint.layer.borderWidth = 0; 239 | } 240 | 241 | 242 | if (self.isCanClickPoint) { 243 | UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(clickAction:)]; 244 | [otherPoint addGestureRecognizer:tapGesture]; 245 | [self addSubview:otherPoint]; 246 | } 247 | [self addSubview:otherPoint]; 248 | startX = CGRectGetMaxX(otherPoint.frame) + _controlSpacing; 249 | [self.dots addObject:otherPoint]; 250 | } 251 | } 252 | } 253 | 254 | - (void)clickAction:(UITapGestureRecognizer*)recognizer{ 255 | 256 | NSInteger index = recognizer.view.tag-1000; 257 | NSLog(@"-----:%ld",(long)index); 258 | if (index >= 0 && index <= self.numberOfPages) { 259 | [self setCurrentPage:index]; 260 | if ([self.delegate respondsToSelector:@selector(xh_PageControlClick:index:)]) { 261 | [self.delegate xh_PageControlClick:self index:index]; 262 | } 263 | if (self.clickPointBlock) { 264 | self.clickPointBlock(index); 265 | } 266 | } 267 | } 268 | 269 | //切换当前的点 270 | - (void)exchangePointView:(NSInteger)oldPage newPage:(NSInteger)newPage { 271 | if (oldPage == newPage) { 272 | return; 273 | } 274 | if (oldPage >= self.dots.count) { 275 | return; 276 | } 277 | if (newPage >= self.dots.count) { 278 | return; 279 | } 280 | 281 | UIImageView *theOldDot = self.dots[oldPage]; 282 | CGRect theOldFrame = theOldDot.frame; 283 | 284 | UIImageView *theNewDot = self.dots[newPage]; 285 | CGRect theNewFrame = theNewDot.frame; 286 | 287 | theNewDot.image = self.currentBkImage; 288 | if (self.currentBkImage) { 289 | theNewDot.backgroundColor = [UIColor clearColor]; 290 | }else{ 291 | theNewDot.backgroundColor = self.currentColor; 292 | } 293 | theOldDot.image = self.otherBkImage; 294 | if (self.otherBkImage) { 295 | theOldDot.backgroundColor = [UIColor clearColor]; 296 | }else{ 297 | theOldDot.backgroundColor = self.otherColor; 298 | } 299 | 300 | if (self.currentLayerBorderColor) { 301 | theNewDot.layer.borderColor = self.currentLayerBorderColor.CGColor; 302 | theNewDot.layer.borderWidth = self.currentLayerBorderWidth; 303 | }else{ 304 | theNewDot.layer.borderWidth = 0; 305 | } 306 | if (self.otherLayerBorderColor) { 307 | theOldDot.layer.borderColor = self.otherLayerBorderColor.CGColor; 308 | theOldDot.layer.borderWidth = self.otherLayerBorderWidth; 309 | }else{ 310 | theOldDot.layer.borderWidth = 0; 311 | } 312 | 313 | 314 | __block CGFloat oldMinX = CGRectGetMinX(theOldFrame); 315 | __block CGFloat newMinX = CGRectGetMinX(theNewFrame); 316 | 317 | [UIView animateWithDuration:0.25 animations:^{ 318 | if (newPage < oldPage) { 319 | oldMinX = oldMinX + (self.currentPointSize.width - self.otherPointSize.width); 320 | } 321 | theOldDot.frame = CGRectMake(oldMinX, CGRectGetMinY(theNewFrame), self.otherPointSize.width, self.otherPointSize.height); 322 | 323 | if (newPage > oldPage) { 324 | newMinX = newMinX - (self.currentPointSize.width - self.otherPointSize.width); 325 | } 326 | theNewDot.frame = CGRectMake(newMinX, CGRectGetMinY(theOldFrame), self.currentPointSize.width, self.currentPointSize.height); 327 | 328 | if (newPage - oldPage > 1) { //往右滑动 329 | for (NSInteger index = oldPage+1; index < newPage; index++) { 330 | if (index < self.dots.count) { 331 | UIImageView *point = self.dots[index]; 332 | point.frame = CGRectMake( 333 | CGRectGetMinX(point.frame) - (self.currentPointSize.width - self.otherPointSize.width), 334 | CGRectGetMinY(point.frame), 335 | self.otherPointSize.width, 336 | self.otherPointSize.height); 337 | }else{ 338 | return; 339 | } 340 | } 341 | } 342 | if (newPage - oldPage < -1) { //往左滑动 343 | for (NSInteger index = newPage+1; index < oldPage; index++) { 344 | if (index < self.dots.count) { 345 | UIImageView *point = self.dots[index]; 346 | point.frame = CGRectMake( 347 | CGRectGetMinX(point.frame) + (self.currentPointSize.width-self.otherPointSize.width), 348 | CGRectGetMinY(point.frame), 349 | self.otherPointSize.width, 350 | self.otherPointSize.height); 351 | }else{ 352 | return; 353 | } 354 | } 355 | } 356 | }completion:^(BOOL finished) { 357 | if (finished == NO) { 358 | 359 | if (newPage < oldPage) { 360 | oldMinX = oldMinX + (self.currentPointSize.width - self.otherPointSize.width); 361 | } 362 | theOldDot.frame = CGRectMake(oldMinX, CGRectGetMinY(theNewFrame), self.otherPointSize.width, self.otherPointSize.height); 363 | 364 | if (newPage > oldPage) { 365 | newMinX = newMinX - (self.currentPointSize.width - self.otherPointSize.width); 366 | } 367 | theNewDot.frame = CGRectMake(newMinX, CGRectGetMinY(theOldFrame), self.currentPointSize.width, self.currentPointSize.height); 368 | 369 | if (newPage - oldPage > 1) { //往右滑动 370 | for (NSInteger index = oldPage+1; index < newPage; index++) { 371 | if (index < self.dots.count) { 372 | UIImageView *point = self.dots[index]; 373 | point.frame = CGRectMake( 374 | CGRectGetMinX(point.frame) - (self.currentPointSize.width - self.otherPointSize.width), 375 | CGRectGetMinY(point.frame), 376 | self.otherPointSize.width, 377 | self.otherPointSize.height); 378 | }else{ 379 | return; 380 | } 381 | } 382 | } 383 | if (newPage - oldPage < -1) { //往左滑动 384 | for (NSInteger index = newPage+1; index < oldPage; index++) { 385 | if (index < self.dots.count) { 386 | UIImageView *point = self.dots[index]; 387 | point.frame = CGRectMake( 388 | CGRectGetMinX(point.frame) + (self.currentPointSize.width-self.otherPointSize.width), 389 | CGRectGetMinY(point.frame), 390 | self.otherPointSize.width, 391 | self.otherPointSize.height); 392 | }else{ 393 | return; 394 | } 395 | } 396 | } 397 | } 398 | }]; 399 | } 400 | 401 | - (BOOL)isTheSameColor:(UIColor*)color1 anotherColor:(UIColor*)color2{ 402 | return CGColorEqualToColor(color1.CGColor, color2.CGColor); 403 | } 404 | 405 | 406 | @end 407 | -------------------------------------------------------------------------------- /Example/XHPageControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 47597331D7ED8BADDB7737E2 /* Pods_XHPageControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB26B18084323DF453E4287C /* Pods_XHPageControl_Example.framework */; }; 11 | 4B16B5FD3017E1FA5C411CA6 /* Pods_XHPageControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5459CB477568DA2A645E4DEC /* Pods_XHPageControl_Tests.framework */; }; 12 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 13 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 14 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 15 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 16 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 17 | 6003F59E195388D20070C39A /* XHAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* XHAppDelegate.m */; }; 18 | 6003F5A7195388D20070C39A /* XHViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* XHViewController.m */; }; 19 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 20 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 21 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 22 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 23 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 24 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 25 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 26 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = XHPageControl; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 0D06735D5058E0DA0FD95C29 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 41 | 2C63B89A2852433765940FE5 /* Pods-XHPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XHPageControl_Example.debug.xcconfig"; path = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 42 | 4247D659177C9A588D9A5812 /* Pods-XHPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XHPageControl_Tests.release.xcconfig"; path = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 43 | 5459CB477568DA2A645E4DEC /* Pods_XHPageControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_XHPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 6003F58A195388D20070C39A /* XHPageControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XHPageControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 48 | 6003F595195388D20070C39A /* XHPageControl-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "XHPageControl-Info.plist"; sourceTree = ""; }; 49 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 50 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | 6003F59B195388D20070C39A /* XHPageControl-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "XHPageControl-Prefix.pch"; sourceTree = ""; }; 52 | 6003F59C195388D20070C39A /* XHAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XHAppDelegate.h; sourceTree = ""; }; 53 | 6003F59D195388D20070C39A /* XHAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XHAppDelegate.m; sourceTree = ""; }; 54 | 6003F5A5195388D20070C39A /* XHViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XHViewController.h; sourceTree = ""; }; 55 | 6003F5A6195388D20070C39A /* XHViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XHViewController.m; sourceTree = ""; }; 56 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 57 | 6003F5AE195388D20070C39A /* XHPageControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = XHPageControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 59 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 60 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 61 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 62 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 63 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 64 | 7C76CF8F740BD65E4F9D4BB5 /* Pods-XHPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XHPageControl_Example.release.xcconfig"; path = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.release.xcconfig"; sourceTree = ""; }; 65 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 66 | C15619C4A82A15488BEDA2BF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 67 | D317A8BFC1BB9CDC32BFEE4E /* XHPageControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = XHPageControl.podspec; path = ../XHPageControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 68 | D363460FAE117E6DDAFA23DB /* Pods-XHPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-XHPageControl_Tests.debug.xcconfig"; path = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 69 | DB26B18084323DF453E4287C /* Pods_XHPageControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_XHPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 6003F587195388D20070C39A /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 78 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 79 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 80 | 47597331D7ED8BADDB7737E2 /* Pods_XHPageControl_Example.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 6003F5AB195388D20070C39A /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 89 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 90 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 91 | 4B16B5FD3017E1FA5C411CA6 /* Pods_XHPageControl_Tests.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 500F19AE8E1D02BF486BC9AA /* Pods */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 2C63B89A2852433765940FE5 /* Pods-XHPageControl_Example.debug.xcconfig */, 102 | 7C76CF8F740BD65E4F9D4BB5 /* Pods-XHPageControl_Example.release.xcconfig */, 103 | D363460FAE117E6DDAFA23DB /* Pods-XHPageControl_Tests.debug.xcconfig */, 104 | 4247D659177C9A588D9A5812 /* Pods-XHPageControl_Tests.release.xcconfig */, 105 | ); 106 | path = Pods; 107 | sourceTree = ""; 108 | }; 109 | 6003F581195388D10070C39A = { 110 | isa = PBXGroup; 111 | children = ( 112 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 113 | 6003F593195388D20070C39A /* Example for XHPageControl */, 114 | 6003F5B5195388D20070C39A /* Tests */, 115 | 6003F58C195388D20070C39A /* Frameworks */, 116 | 6003F58B195388D20070C39A /* Products */, 117 | 500F19AE8E1D02BF486BC9AA /* Pods */, 118 | ); 119 | sourceTree = ""; 120 | }; 121 | 6003F58B195388D20070C39A /* Products */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 6003F58A195388D20070C39A /* XHPageControl_Example.app */, 125 | 6003F5AE195388D20070C39A /* XHPageControl_Tests.xctest */, 126 | ); 127 | name = Products; 128 | sourceTree = ""; 129 | }; 130 | 6003F58C195388D20070C39A /* Frameworks */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 6003F58D195388D20070C39A /* Foundation.framework */, 134 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 135 | 6003F591195388D20070C39A /* UIKit.framework */, 136 | 6003F5AF195388D20070C39A /* XCTest.framework */, 137 | DB26B18084323DF453E4287C /* Pods_XHPageControl_Example.framework */, 138 | 5459CB477568DA2A645E4DEC /* Pods_XHPageControl_Tests.framework */, 139 | ); 140 | name = Frameworks; 141 | sourceTree = ""; 142 | }; 143 | 6003F593195388D20070C39A /* Example for XHPageControl */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 6003F59C195388D20070C39A /* XHAppDelegate.h */, 147 | 6003F59D195388D20070C39A /* XHAppDelegate.m */, 148 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 149 | 6003F5A5195388D20070C39A /* XHViewController.h */, 150 | 6003F5A6195388D20070C39A /* XHViewController.m */, 151 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 152 | 6003F5A8195388D20070C39A /* Images.xcassets */, 153 | 6003F594195388D20070C39A /* Supporting Files */, 154 | ); 155 | name = "Example for XHPageControl"; 156 | path = XHPageControl; 157 | sourceTree = ""; 158 | }; 159 | 6003F594195388D20070C39A /* Supporting Files */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 6003F595195388D20070C39A /* XHPageControl-Info.plist */, 163 | 6003F596195388D20070C39A /* InfoPlist.strings */, 164 | 6003F599195388D20070C39A /* main.m */, 165 | 6003F59B195388D20070C39A /* XHPageControl-Prefix.pch */, 166 | ); 167 | name = "Supporting Files"; 168 | sourceTree = ""; 169 | }; 170 | 6003F5B5195388D20070C39A /* Tests */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 6003F5BB195388D20070C39A /* Tests.m */, 174 | 6003F5B6195388D20070C39A /* Supporting Files */, 175 | ); 176 | path = Tests; 177 | sourceTree = ""; 178 | }; 179 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 183 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 184 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 185 | ); 186 | name = "Supporting Files"; 187 | sourceTree = ""; 188 | }; 189 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | D317A8BFC1BB9CDC32BFEE4E /* XHPageControl.podspec */, 193 | 0D06735D5058E0DA0FD95C29 /* README.md */, 194 | C15619C4A82A15488BEDA2BF /* LICENSE */, 195 | ); 196 | name = "Podspec Metadata"; 197 | sourceTree = ""; 198 | }; 199 | /* End PBXGroup section */ 200 | 201 | /* Begin PBXNativeTarget section */ 202 | 6003F589195388D20070C39A /* XHPageControl_Example */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "XHPageControl_Example" */; 205 | buildPhases = ( 206 | DAD85E36ABCE5A023CC7B67B /* [CP] Check Pods Manifest.lock */, 207 | 6003F586195388D20070C39A /* Sources */, 208 | 6003F587195388D20070C39A /* Frameworks */, 209 | 6003F588195388D20070C39A /* Resources */, 210 | 47DDFAE14922F9E066039E3A /* [CP] Embed Pods Frameworks */, 211 | ); 212 | buildRules = ( 213 | ); 214 | dependencies = ( 215 | ); 216 | name = XHPageControl_Example; 217 | productName = XHPageControl; 218 | productReference = 6003F58A195388D20070C39A /* XHPageControl_Example.app */; 219 | productType = "com.apple.product-type.application"; 220 | }; 221 | 6003F5AD195388D20070C39A /* XHPageControl_Tests */ = { 222 | isa = PBXNativeTarget; 223 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "XHPageControl_Tests" */; 224 | buildPhases = ( 225 | 8A1FF33F2C19B5F6CA7C7FBC /* [CP] Check Pods Manifest.lock */, 226 | 6003F5AA195388D20070C39A /* Sources */, 227 | 6003F5AB195388D20070C39A /* Frameworks */, 228 | 6003F5AC195388D20070C39A /* Resources */, 229 | ); 230 | buildRules = ( 231 | ); 232 | dependencies = ( 233 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 234 | ); 235 | name = XHPageControl_Tests; 236 | productName = XHPageControlTests; 237 | productReference = 6003F5AE195388D20070C39A /* XHPageControl_Tests.xctest */; 238 | productType = "com.apple.product-type.bundle.unit-test"; 239 | }; 240 | /* End PBXNativeTarget section */ 241 | 242 | /* Begin PBXProject section */ 243 | 6003F582195388D10070C39A /* Project object */ = { 244 | isa = PBXProject; 245 | attributes = { 246 | CLASSPREFIX = XH; 247 | LastUpgradeCheck = 0720; 248 | ORGANIZATIONNAME = oauth2; 249 | TargetAttributes = { 250 | 6003F5AD195388D20070C39A = { 251 | TestTargetID = 6003F589195388D20070C39A; 252 | }; 253 | }; 254 | }; 255 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "XHPageControl" */; 256 | compatibilityVersion = "Xcode 3.2"; 257 | developmentRegion = English; 258 | hasScannedForEncodings = 0; 259 | knownRegions = ( 260 | English, 261 | en, 262 | Base, 263 | ); 264 | mainGroup = 6003F581195388D10070C39A; 265 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 266 | projectDirPath = ""; 267 | projectRoot = ""; 268 | targets = ( 269 | 6003F589195388D20070C39A /* XHPageControl_Example */, 270 | 6003F5AD195388D20070C39A /* XHPageControl_Tests */, 271 | ); 272 | }; 273 | /* End PBXProject section */ 274 | 275 | /* Begin PBXResourcesBuildPhase section */ 276 | 6003F588195388D20070C39A /* Resources */ = { 277 | isa = PBXResourcesBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 281 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 282 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 283 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | }; 287 | 6003F5AC195388D20070C39A /* Resources */ = { 288 | isa = PBXResourcesBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | /* End PBXResourcesBuildPhase section */ 296 | 297 | /* Begin PBXShellScriptBuildPhase section */ 298 | 47DDFAE14922F9E066039E3A /* [CP] Embed Pods Frameworks */ = { 299 | isa = PBXShellScriptBuildPhase; 300 | buildActionMask = 2147483647; 301 | files = ( 302 | ); 303 | inputPaths = ( 304 | "${PODS_ROOT}/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-frameworks.sh", 305 | "${BUILT_PRODUCTS_DIR}/XHPageControl/XHPageControl.framework", 306 | ); 307 | name = "[CP] Embed Pods Frameworks"; 308 | outputPaths = ( 309 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/XHPageControl.framework", 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | shellPath = /bin/sh; 313 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-frameworks.sh\"\n"; 314 | showEnvVarsInLog = 0; 315 | }; 316 | 8A1FF33F2C19B5F6CA7C7FBC /* [CP] Check Pods Manifest.lock */ = { 317 | isa = PBXShellScriptBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | ); 321 | inputFileListPaths = ( 322 | ); 323 | inputPaths = ( 324 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 325 | "${PODS_ROOT}/Manifest.lock", 326 | ); 327 | name = "[CP] Check Pods Manifest.lock"; 328 | outputFileListPaths = ( 329 | ); 330 | outputPaths = ( 331 | "$(DERIVED_FILE_DIR)/Pods-XHPageControl_Tests-checkManifestLockResult.txt", 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | 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"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | DAD85E36ABCE5A023CC7B67B /* [CP] Check Pods Manifest.lock */ = { 339 | isa = PBXShellScriptBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | ); 343 | inputFileListPaths = ( 344 | ); 345 | inputPaths = ( 346 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 347 | "${PODS_ROOT}/Manifest.lock", 348 | ); 349 | name = "[CP] Check Pods Manifest.lock"; 350 | outputFileListPaths = ( 351 | ); 352 | outputPaths = ( 353 | "$(DERIVED_FILE_DIR)/Pods-XHPageControl_Example-checkManifestLockResult.txt", 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | shellPath = /bin/sh; 357 | 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"; 358 | showEnvVarsInLog = 0; 359 | }; 360 | /* End PBXShellScriptBuildPhase section */ 361 | 362 | /* Begin PBXSourcesBuildPhase section */ 363 | 6003F586195388D20070C39A /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 6003F59E195388D20070C39A /* XHAppDelegate.m in Sources */, 368 | 6003F5A7195388D20070C39A /* XHViewController.m in Sources */, 369 | 6003F59A195388D20070C39A /* main.m in Sources */, 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | }; 373 | 6003F5AA195388D20070C39A /* Sources */ = { 374 | isa = PBXSourcesBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | /* End PBXSourcesBuildPhase section */ 382 | 383 | /* Begin PBXTargetDependency section */ 384 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 385 | isa = PBXTargetDependency; 386 | target = 6003F589195388D20070C39A /* XHPageControl_Example */; 387 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 388 | }; 389 | /* End PBXTargetDependency section */ 390 | 391 | /* Begin PBXVariantGroup section */ 392 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 393 | isa = PBXVariantGroup; 394 | children = ( 395 | 6003F597195388D20070C39A /* en */, 396 | ); 397 | name = InfoPlist.strings; 398 | sourceTree = ""; 399 | }; 400 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 401 | isa = PBXVariantGroup; 402 | children = ( 403 | 6003F5B9195388D20070C39A /* en */, 404 | ); 405 | name = InfoPlist.strings; 406 | sourceTree = ""; 407 | }; 408 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 409 | isa = PBXVariantGroup; 410 | children = ( 411 | 71719F9E1E33DC2100824A3D /* Base */, 412 | ); 413 | name = LaunchScreen.storyboard; 414 | sourceTree = ""; 415 | }; 416 | /* End PBXVariantGroup section */ 417 | 418 | /* Begin XCBuildConfiguration section */ 419 | 6003F5BD195388D20070C39A /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ALWAYS_SEARCH_USER_PATHS = NO; 423 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 424 | CLANG_CXX_LIBRARY = "libc++"; 425 | CLANG_ENABLE_MODULES = YES; 426 | CLANG_ENABLE_OBJC_ARC = YES; 427 | CLANG_WARN_BOOL_CONVERSION = YES; 428 | CLANG_WARN_CONSTANT_CONVERSION = YES; 429 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 430 | CLANG_WARN_EMPTY_BODY = YES; 431 | CLANG_WARN_ENUM_CONVERSION = YES; 432 | CLANG_WARN_INT_CONVERSION = YES; 433 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 434 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 435 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 436 | COPY_PHASE_STRIP = NO; 437 | ENABLE_TESTABILITY = YES; 438 | GCC_C_LANGUAGE_STANDARD = gnu99; 439 | GCC_DYNAMIC_NO_PIC = NO; 440 | GCC_OPTIMIZATION_LEVEL = 0; 441 | GCC_PREPROCESSOR_DEFINITIONS = ( 442 | "DEBUG=1", 443 | "$(inherited)", 444 | ); 445 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 446 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 447 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 448 | GCC_WARN_UNDECLARED_SELECTOR = YES; 449 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 450 | GCC_WARN_UNUSED_FUNCTION = YES; 451 | GCC_WARN_UNUSED_VARIABLE = YES; 452 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 453 | ONLY_ACTIVE_ARCH = YES; 454 | SDKROOT = iphoneos; 455 | TARGETED_DEVICE_FAMILY = "1,2"; 456 | }; 457 | name = Debug; 458 | }; 459 | 6003F5BE195388D20070C39A /* Release */ = { 460 | isa = XCBuildConfiguration; 461 | buildSettings = { 462 | ALWAYS_SEARCH_USER_PATHS = NO; 463 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 464 | CLANG_CXX_LIBRARY = "libc++"; 465 | CLANG_ENABLE_MODULES = YES; 466 | CLANG_ENABLE_OBJC_ARC = YES; 467 | CLANG_WARN_BOOL_CONVERSION = YES; 468 | CLANG_WARN_CONSTANT_CONVERSION = YES; 469 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 470 | CLANG_WARN_EMPTY_BODY = YES; 471 | CLANG_WARN_ENUM_CONVERSION = YES; 472 | CLANG_WARN_INT_CONVERSION = YES; 473 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 474 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 475 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 476 | COPY_PHASE_STRIP = YES; 477 | ENABLE_NS_ASSERTIONS = NO; 478 | GCC_C_LANGUAGE_STANDARD = gnu99; 479 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 480 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 481 | GCC_WARN_UNDECLARED_SELECTOR = YES; 482 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 483 | GCC_WARN_UNUSED_FUNCTION = YES; 484 | GCC_WARN_UNUSED_VARIABLE = YES; 485 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 486 | SDKROOT = iphoneos; 487 | TARGETED_DEVICE_FAMILY = "1,2"; 488 | VALIDATE_PRODUCT = YES; 489 | }; 490 | name = Release; 491 | }; 492 | 6003F5C0195388D20070C39A /* Debug */ = { 493 | isa = XCBuildConfiguration; 494 | baseConfigurationReference = 2C63B89A2852433765940FE5 /* Pods-XHPageControl_Example.debug.xcconfig */; 495 | buildSettings = { 496 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 497 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 498 | GCC_PREFIX_HEADER = "XHPageControl/XHPageControl-Prefix.pch"; 499 | INFOPLIST_FILE = "XHPageControl/XHPageControl-Info.plist"; 500 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 501 | MODULE_NAME = ExampleApp; 502 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 503 | PRODUCT_NAME = "$(TARGET_NAME)"; 504 | SWIFT_VERSION = 4.0; 505 | WRAPPER_EXTENSION = app; 506 | }; 507 | name = Debug; 508 | }; 509 | 6003F5C1195388D20070C39A /* Release */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = 7C76CF8F740BD65E4F9D4BB5 /* Pods-XHPageControl_Example.release.xcconfig */; 512 | buildSettings = { 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 515 | GCC_PREFIX_HEADER = "XHPageControl/XHPageControl-Prefix.pch"; 516 | INFOPLIST_FILE = "XHPageControl/XHPageControl-Info.plist"; 517 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 518 | MODULE_NAME = ExampleApp; 519 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 520 | PRODUCT_NAME = "$(TARGET_NAME)"; 521 | SWIFT_VERSION = 4.0; 522 | WRAPPER_EXTENSION = app; 523 | }; 524 | name = Release; 525 | }; 526 | 6003F5C3195388D20070C39A /* Debug */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = D363460FAE117E6DDAFA23DB /* Pods-XHPageControl_Tests.debug.xcconfig */; 529 | buildSettings = { 530 | BUNDLE_LOADER = "$(TEST_HOST)"; 531 | FRAMEWORK_SEARCH_PATHS = ( 532 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 533 | "$(inherited)", 534 | "$(DEVELOPER_FRAMEWORKS_DIR)", 535 | ); 536 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 537 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 538 | GCC_PREPROCESSOR_DEFINITIONS = ( 539 | "DEBUG=1", 540 | "$(inherited)", 541 | ); 542 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 543 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 544 | PRODUCT_NAME = "$(TARGET_NAME)"; 545 | SWIFT_VERSION = 4.0; 546 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XHPageControl_Example.app/XHPageControl_Example"; 547 | WRAPPER_EXTENSION = xctest; 548 | }; 549 | name = Debug; 550 | }; 551 | 6003F5C4195388D20070C39A /* Release */ = { 552 | isa = XCBuildConfiguration; 553 | baseConfigurationReference = 4247D659177C9A588D9A5812 /* Pods-XHPageControl_Tests.release.xcconfig */; 554 | buildSettings = { 555 | BUNDLE_LOADER = "$(TEST_HOST)"; 556 | FRAMEWORK_SEARCH_PATHS = ( 557 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 558 | "$(inherited)", 559 | "$(DEVELOPER_FRAMEWORKS_DIR)", 560 | ); 561 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 562 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 563 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 564 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 565 | PRODUCT_NAME = "$(TARGET_NAME)"; 566 | SWIFT_VERSION = 4.0; 567 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/XHPageControl_Example.app/XHPageControl_Example"; 568 | WRAPPER_EXTENSION = xctest; 569 | }; 570 | name = Release; 571 | }; 572 | /* End XCBuildConfiguration section */ 573 | 574 | /* Begin XCConfigurationList section */ 575 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "XHPageControl" */ = { 576 | isa = XCConfigurationList; 577 | buildConfigurations = ( 578 | 6003F5BD195388D20070C39A /* Debug */, 579 | 6003F5BE195388D20070C39A /* Release */, 580 | ); 581 | defaultConfigurationIsVisible = 0; 582 | defaultConfigurationName = Release; 583 | }; 584 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "XHPageControl_Example" */ = { 585 | isa = XCConfigurationList; 586 | buildConfigurations = ( 587 | 6003F5C0195388D20070C39A /* Debug */, 588 | 6003F5C1195388D20070C39A /* Release */, 589 | ); 590 | defaultConfigurationIsVisible = 0; 591 | defaultConfigurationName = Release; 592 | }; 593 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "XHPageControl_Tests" */ = { 594 | isa = XCConfigurationList; 595 | buildConfigurations = ( 596 | 6003F5C3195388D20070C39A /* Debug */, 597 | 6003F5C4195388D20070C39A /* Release */, 598 | ); 599 | defaultConfigurationIsVisible = 0; 600 | defaultConfigurationName = Release; 601 | }; 602 | /* End XCConfigurationList section */ 603 | }; 604 | rootObject = 6003F582195388D10070C39A /* Project object */; 605 | } 606 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0A416DEFCFDB2F4F29AE9C0BA3BAD423 /* XHPageControl-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 45C811C5FCDC82765E8A456A2988E050 /* XHPageControl-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 0AB5B86CA396489C5D61DE291CABFF3C /* Pods-XHPageControl_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4536776FA96860BB63008536FFAA84E1 /* Pods-XHPageControl_Tests-dummy.m */; }; 12 | 172F18FBA7AF27BFA5F3C3662C71AA10 /* XHPageControl-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CC2D23051B2983EB5DCACE71DA3B2A62 /* XHPageControl-dummy.m */; }; 13 | 2D1297380ADC376E90BC1273DA27BCD9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 14 | 35CC500D34EE033D4446EE8375136B64 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 15 | 599A8942DEAD2B29454E764A6E168611 /* Pods-XHPageControl_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 41156A07F87B61FCF2F374638594EBDC /* Pods-XHPageControl_Example-dummy.m */; }; 16 | 5E8B3E68AEDDCF8B1A7394747B7DFFBD /* Pods-XHPageControl_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E81A1AA75C0CE3B6D4E4244058959720 /* Pods-XHPageControl_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 71A3420AF52B89E2605445346CCE1A0D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 18 | 742E9201D35A3DED8F4F89DFB5237ABA /* Pods-XHPageControl_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CBE273986EBA24634663BB83E19EDE87 /* Pods-XHPageControl_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | 7ACC78E8305468E7E3AFD0AB3E7551D8 /* XHPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = AFC88E8C2C00AB2B5F34FAAB89CA2AB7 /* XHPageControl.m */; }; 20 | F2E266A0FB85A1885C6CEFC8F351103E /* XHPageControl.h in Headers */ = {isa = PBXBuildFile; fileRef = A3E7CB4AD4C2886AEA4CEBCA5B1833EE /* XHPageControl.h */; settings = {ATTRIBUTES = (Public, ); }; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 6DCD81ACCCF6C9227D220FFCA9CF54C6 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = CC04505E5DFD681C3250153DB74309DE; 29 | remoteInfo = XHPageControl; 30 | }; 31 | B603BEF1CA81FB72FF59C7D1346FFC7F /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 21D39D8E9D2EC1E777B77208605AD899; 36 | remoteInfo = "Pods-XHPageControl_Example"; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 19EA1F28505280DEBFF857F47C4011A5 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 42 | 1C4D48A0D2A7CF5DE240AF5A009FF5B1 /* Pods-XHPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-XHPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 24A5FE9D04EB26F179E98FC9B7BE4FFD /* Pods-XHPageControl_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-XHPageControl_Tests-Info.plist"; sourceTree = ""; }; 44 | 357D89A53771AC4611078012C8C9272D /* Pods-XHPageControl_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-XHPageControl_Example.modulemap"; sourceTree = ""; }; 45 | 3B24FB34CF448B06B72CD975AAF18CA0 /* Pods-XHPageControl_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-XHPageControl_Tests.modulemap"; sourceTree = ""; }; 46 | 3D6564DBC02065DB678248434D79C721 /* Pods-XHPageControl_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-XHPageControl_Example-frameworks.sh"; sourceTree = ""; }; 47 | 41156A07F87B61FCF2F374638594EBDC /* Pods-XHPageControl_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-XHPageControl_Example-dummy.m"; sourceTree = ""; }; 48 | 4536776FA96860BB63008536FFAA84E1 /* Pods-XHPageControl_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-XHPageControl_Tests-dummy.m"; sourceTree = ""; }; 49 | 45C811C5FCDC82765E8A456A2988E050 /* XHPageControl-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "XHPageControl-umbrella.h"; sourceTree = ""; }; 50 | 46B8AC284F0F1129012D6B137ED9676A /* XHPageControl-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "XHPageControl-prefix.pch"; sourceTree = ""; }; 51 | 550855820CE57814075CAB4E9C57081F /* Pods-XHPageControl_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-XHPageControl_Example-acknowledgements.plist"; sourceTree = ""; }; 52 | 6043C2B1E08862C0D4D2DADB9D1B8795 /* Pods-XHPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-XHPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 53 | 61B104A37380472306782E61E20F52A8 /* XHPageControl.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = XHPageControl.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 6FDC0328317EAAB748091F57868781AD /* Pods-XHPageControl_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-XHPageControl_Tests-acknowledgements.markdown"; sourceTree = ""; }; 55 | 72E50B34E980D220DF17EEF5142A1CBD /* Pods-XHPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-XHPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 56 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 57 | 76E839E49B4800EBEB65843512A1CBC0 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 58 | 77804A47BF2FB721E01391869036E658 /* Pods-XHPageControl_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-XHPageControl_Example-Info.plist"; sourceTree = ""; }; 59 | 7BD0026D67BE52BFDEF2A8690558839B /* XHPageControl.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = XHPageControl.release.xcconfig; sourceTree = ""; }; 60 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 61 | A1A21A6CD8D45D5243B49B5069C04972 /* XHPageControl.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = XHPageControl.debug.xcconfig; sourceTree = ""; }; 62 | A3E7CB4AD4C2886AEA4CEBCA5B1833EE /* XHPageControl.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = XHPageControl.h; path = XHPageControl/Classes/XHPageControl.h; sourceTree = ""; }; 63 | AFC88E8C2C00AB2B5F34FAAB89CA2AB7 /* XHPageControl.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = XHPageControl.m; path = XHPageControl/Classes/XHPageControl.m; sourceTree = ""; }; 64 | C049A1A85F38AB0C876775646DBC0144 /* XHPageControl.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = XHPageControl.modulemap; sourceTree = ""; }; 65 | C3ACB1673F332D0EB7C6CAF2F4FB0D7E /* XHPageControl */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = XHPageControl; path = XHPageControl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | CBE273986EBA24634663BB83E19EDE87 /* Pods-XHPageControl_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-XHPageControl_Example-umbrella.h"; sourceTree = ""; }; 67 | CC2D23051B2983EB5DCACE71DA3B2A62 /* XHPageControl-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "XHPageControl-dummy.m"; sourceTree = ""; }; 68 | CDA835DAA3606C1CBE4BFCE999C6ED47 /* Pods-XHPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-XHPageControl_Example.release.xcconfig"; sourceTree = ""; }; 69 | E81A1AA75C0CE3B6D4E4244058959720 /* Pods-XHPageControl_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-XHPageControl_Tests-umbrella.h"; sourceTree = ""; }; 70 | EACFF624672B1443326BCF38B94EFF07 /* Pods-XHPageControl_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-XHPageControl_Tests-acknowledgements.plist"; sourceTree = ""; }; 71 | EFB9C6F6E0EE7F751C33E1124FD806AF /* Pods-XHPageControl_Example */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-XHPageControl_Example"; path = Pods_XHPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | F1DFD75AA21702D36A023C6D67AB1CDA /* XHPageControl-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "XHPageControl-Info.plist"; sourceTree = ""; }; 73 | F626C5E1F54FCEABEEFAA10ED6E7FEF5 /* Pods-XHPageControl_Tests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-XHPageControl_Tests"; path = Pods_XHPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 74 | FB59F9DD5D22D831D81F10B34A014B3B /* Pods-XHPageControl_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-XHPageControl_Example-acknowledgements.markdown"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 11A75FBDA51EA80F96521F623E27CEBA /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 71A3420AF52B89E2605445346CCE1A0D /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 1953521185D006CC654DFF55D2A17AEF /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 2D1297380ADC376E90BC1273DA27BCD9 /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | F777B397094B6064CAC401953AB7F17C /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 35CC500D34EE033D4446EE8375136B64 /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 1DB0237F6618E28860F05A84203D3E18 /* Pods-XHPageControl_Example */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 357D89A53771AC4611078012C8C9272D /* Pods-XHPageControl_Example.modulemap */, 109 | FB59F9DD5D22D831D81F10B34A014B3B /* Pods-XHPageControl_Example-acknowledgements.markdown */, 110 | 550855820CE57814075CAB4E9C57081F /* Pods-XHPageControl_Example-acknowledgements.plist */, 111 | 41156A07F87B61FCF2F374638594EBDC /* Pods-XHPageControl_Example-dummy.m */, 112 | 3D6564DBC02065DB678248434D79C721 /* Pods-XHPageControl_Example-frameworks.sh */, 113 | 77804A47BF2FB721E01391869036E658 /* Pods-XHPageControl_Example-Info.plist */, 114 | CBE273986EBA24634663BB83E19EDE87 /* Pods-XHPageControl_Example-umbrella.h */, 115 | 1C4D48A0D2A7CF5DE240AF5A009FF5B1 /* Pods-XHPageControl_Example.debug.xcconfig */, 116 | CDA835DAA3606C1CBE4BFCE999C6ED47 /* Pods-XHPageControl_Example.release.xcconfig */, 117 | ); 118 | name = "Pods-XHPageControl_Example"; 119 | path = "Target Support Files/Pods-XHPageControl_Example"; 120 | sourceTree = ""; 121 | }; 122 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 126 | ); 127 | name = iOS; 128 | sourceTree = ""; 129 | }; 130 | 95B9949D8456800E884820257F078CB9 /* XHPageControl */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | A3E7CB4AD4C2886AEA4CEBCA5B1833EE /* XHPageControl.h */, 134 | AFC88E8C2C00AB2B5F34FAAB89CA2AB7 /* XHPageControl.m */, 135 | C2C53A1FC382EF861B08A0F67D4377E9 /* Pod */, 136 | E50011B5249095A727EB3BDD63CFE661 /* Support Files */, 137 | ); 138 | name = XHPageControl; 139 | path = ../..; 140 | sourceTree = ""; 141 | }; 142 | AC49019C196C7C0E605346A87F14DCF1 /* Targets Support Files */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 1DB0237F6618E28860F05A84203D3E18 /* Pods-XHPageControl_Example */, 146 | F256BCCF7FED473B16F0EA54B49CF278 /* Pods-XHPageControl_Tests */, 147 | ); 148 | name = "Targets Support Files"; 149 | sourceTree = ""; 150 | }; 151 | BF4E9D5B1828D4172C8E74C4AB6B4D49 /* Products */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | EFB9C6F6E0EE7F751C33E1124FD806AF /* Pods-XHPageControl_Example */, 155 | F626C5E1F54FCEABEEFAA10ED6E7FEF5 /* Pods-XHPageControl_Tests */, 156 | C3ACB1673F332D0EB7C6CAF2F4FB0D7E /* XHPageControl */, 157 | ); 158 | name = Products; 159 | sourceTree = ""; 160 | }; 161 | C2C53A1FC382EF861B08A0F67D4377E9 /* Pod */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 76E839E49B4800EBEB65843512A1CBC0 /* LICENSE */, 165 | 19EA1F28505280DEBFF857F47C4011A5 /* README.md */, 166 | 61B104A37380472306782E61E20F52A8 /* XHPageControl.podspec */, 167 | ); 168 | name = Pod; 169 | sourceTree = ""; 170 | }; 171 | CF1408CF629C7361332E53B88F7BD30C = { 172 | isa = PBXGroup; 173 | children = ( 174 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 175 | FFED32F204FFD6C742FCADFAD204A75E /* Development Pods */, 176 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 177 | BF4E9D5B1828D4172C8E74C4AB6B4D49 /* Products */, 178 | AC49019C196C7C0E605346A87F14DCF1 /* Targets Support Files */, 179 | ); 180 | sourceTree = ""; 181 | }; 182 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 186 | ); 187 | name = Frameworks; 188 | sourceTree = ""; 189 | }; 190 | E50011B5249095A727EB3BDD63CFE661 /* Support Files */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | C049A1A85F38AB0C876775646DBC0144 /* XHPageControl.modulemap */, 194 | CC2D23051B2983EB5DCACE71DA3B2A62 /* XHPageControl-dummy.m */, 195 | F1DFD75AA21702D36A023C6D67AB1CDA /* XHPageControl-Info.plist */, 196 | 46B8AC284F0F1129012D6B137ED9676A /* XHPageControl-prefix.pch */, 197 | 45C811C5FCDC82765E8A456A2988E050 /* XHPageControl-umbrella.h */, 198 | A1A21A6CD8D45D5243B49B5069C04972 /* XHPageControl.debug.xcconfig */, 199 | 7BD0026D67BE52BFDEF2A8690558839B /* XHPageControl.release.xcconfig */, 200 | ); 201 | name = "Support Files"; 202 | path = "Example/Pods/Target Support Files/XHPageControl"; 203 | sourceTree = ""; 204 | }; 205 | F256BCCF7FED473B16F0EA54B49CF278 /* Pods-XHPageControl_Tests */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 3B24FB34CF448B06B72CD975AAF18CA0 /* Pods-XHPageControl_Tests.modulemap */, 209 | 6FDC0328317EAAB748091F57868781AD /* Pods-XHPageControl_Tests-acknowledgements.markdown */, 210 | EACFF624672B1443326BCF38B94EFF07 /* Pods-XHPageControl_Tests-acknowledgements.plist */, 211 | 4536776FA96860BB63008536FFAA84E1 /* Pods-XHPageControl_Tests-dummy.m */, 212 | 24A5FE9D04EB26F179E98FC9B7BE4FFD /* Pods-XHPageControl_Tests-Info.plist */, 213 | E81A1AA75C0CE3B6D4E4244058959720 /* Pods-XHPageControl_Tests-umbrella.h */, 214 | 72E50B34E980D220DF17EEF5142A1CBD /* Pods-XHPageControl_Tests.debug.xcconfig */, 215 | 6043C2B1E08862C0D4D2DADB9D1B8795 /* Pods-XHPageControl_Tests.release.xcconfig */, 216 | ); 217 | name = "Pods-XHPageControl_Tests"; 218 | path = "Target Support Files/Pods-XHPageControl_Tests"; 219 | sourceTree = ""; 220 | }; 221 | FFED32F204FFD6C742FCADFAD204A75E /* Development Pods */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | 95B9949D8456800E884820257F078CB9 /* XHPageControl */, 225 | ); 226 | name = "Development Pods"; 227 | sourceTree = ""; 228 | }; 229 | /* End PBXGroup section */ 230 | 231 | /* Begin PBXHeadersBuildPhase section */ 232 | 19DE2F6AA994528D0529BEFF45BDD30C /* Headers */ = { 233 | isa = PBXHeadersBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | 742E9201D35A3DED8F4F89DFB5237ABA /* Pods-XHPageControl_Example-umbrella.h in Headers */, 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | }; 240 | 40B7A77535CDA6E7895783932123CE60 /* Headers */ = { 241 | isa = PBXHeadersBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | 5E8B3E68AEDDCF8B1A7394747B7DFFBD /* Pods-XHPageControl_Tests-umbrella.h in Headers */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | 4DC644AC676707893DA0C4D6ECE9C3AA /* Headers */ = { 249 | isa = PBXHeadersBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | F2E266A0FB85A1885C6CEFC8F351103E /* XHPageControl.h in Headers */, 253 | 0A416DEFCFDB2F4F29AE9C0BA3BAD423 /* XHPageControl-umbrella.h in Headers */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | /* End PBXHeadersBuildPhase section */ 258 | 259 | /* Begin PBXNativeTarget section */ 260 | 0CE738EAB5468229CC96EC7447C2D748 /* Pods-XHPageControl_Tests */ = { 261 | isa = PBXNativeTarget; 262 | buildConfigurationList = 4BEDF91449FF642F029747DCAA3D6C1D /* Build configuration list for PBXNativeTarget "Pods-XHPageControl_Tests" */; 263 | buildPhases = ( 264 | 40B7A77535CDA6E7895783932123CE60 /* Headers */, 265 | 15C153CA596F4202EEC48A7BBF33CB55 /* Sources */, 266 | 11A75FBDA51EA80F96521F623E27CEBA /* Frameworks */, 267 | 11AB385A6909EC223D9BD1B39670665C /* Resources */, 268 | ); 269 | buildRules = ( 270 | ); 271 | dependencies = ( 272 | 4017F16E33832FF9455D71E70226C3F1 /* PBXTargetDependency */, 273 | ); 274 | name = "Pods-XHPageControl_Tests"; 275 | productName = Pods_XHPageControl_Tests; 276 | productReference = F626C5E1F54FCEABEEFAA10ED6E7FEF5 /* Pods-XHPageControl_Tests */; 277 | productType = "com.apple.product-type.framework"; 278 | }; 279 | 21D39D8E9D2EC1E777B77208605AD899 /* Pods-XHPageControl_Example */ = { 280 | isa = PBXNativeTarget; 281 | buildConfigurationList = 732A583A723E1DA5C06F5D489208CE32 /* Build configuration list for PBXNativeTarget "Pods-XHPageControl_Example" */; 282 | buildPhases = ( 283 | 19DE2F6AA994528D0529BEFF45BDD30C /* Headers */, 284 | A55BE2DABC49E4A0159DF88AF249D269 /* Sources */, 285 | F777B397094B6064CAC401953AB7F17C /* Frameworks */, 286 | 48702F9C60F6523FCC7AED2F6B5F13EF /* Resources */, 287 | ); 288 | buildRules = ( 289 | ); 290 | dependencies = ( 291 | 766EF716320882076E2E8BE49A710D9E /* PBXTargetDependency */, 292 | ); 293 | name = "Pods-XHPageControl_Example"; 294 | productName = Pods_XHPageControl_Example; 295 | productReference = EFB9C6F6E0EE7F751C33E1124FD806AF /* Pods-XHPageControl_Example */; 296 | productType = "com.apple.product-type.framework"; 297 | }; 298 | CC04505E5DFD681C3250153DB74309DE /* XHPageControl */ = { 299 | isa = PBXNativeTarget; 300 | buildConfigurationList = 6246A4C00F08E2D9AD5FA39CD64FF614 /* Build configuration list for PBXNativeTarget "XHPageControl" */; 301 | buildPhases = ( 302 | 4DC644AC676707893DA0C4D6ECE9C3AA /* Headers */, 303 | A374156341B45E6412BE53528354C58A /* Sources */, 304 | 1953521185D006CC654DFF55D2A17AEF /* Frameworks */, 305 | 8DD153CBE8420C6937C9DE503BABEF1F /* Resources */, 306 | ); 307 | buildRules = ( 308 | ); 309 | dependencies = ( 310 | ); 311 | name = XHPageControl; 312 | productName = XHPageControl; 313 | productReference = C3ACB1673F332D0EB7C6CAF2F4FB0D7E /* XHPageControl */; 314 | productType = "com.apple.product-type.framework"; 315 | }; 316 | /* End PBXNativeTarget section */ 317 | 318 | /* Begin PBXProject section */ 319 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 320 | isa = PBXProject; 321 | attributes = { 322 | LastSwiftUpdateCheck = 1240; 323 | LastUpgradeCheck = 1240; 324 | }; 325 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 326 | compatibilityVersion = "Xcode 3.2"; 327 | developmentRegion = en; 328 | hasScannedForEncodings = 0; 329 | knownRegions = ( 330 | Base, 331 | en, 332 | ); 333 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 334 | productRefGroup = BF4E9D5B1828D4172C8E74C4AB6B4D49 /* Products */; 335 | projectDirPath = ""; 336 | projectRoot = ""; 337 | targets = ( 338 | 21D39D8E9D2EC1E777B77208605AD899 /* Pods-XHPageControl_Example */, 339 | 0CE738EAB5468229CC96EC7447C2D748 /* Pods-XHPageControl_Tests */, 340 | CC04505E5DFD681C3250153DB74309DE /* XHPageControl */, 341 | ); 342 | }; 343 | /* End PBXProject section */ 344 | 345 | /* Begin PBXResourcesBuildPhase section */ 346 | 11AB385A6909EC223D9BD1B39670665C /* Resources */ = { 347 | isa = PBXResourcesBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | 48702F9C60F6523FCC7AED2F6B5F13EF /* Resources */ = { 354 | isa = PBXResourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | 8DD153CBE8420C6937C9DE503BABEF1F /* Resources */ = { 361 | isa = PBXResourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | }; 367 | /* End PBXResourcesBuildPhase section */ 368 | 369 | /* Begin PBXSourcesBuildPhase section */ 370 | 15C153CA596F4202EEC48A7BBF33CB55 /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | 0AB5B86CA396489C5D61DE291CABFF3C /* Pods-XHPageControl_Tests-dummy.m in Sources */, 375 | ); 376 | runOnlyForDeploymentPostprocessing = 0; 377 | }; 378 | A374156341B45E6412BE53528354C58A /* Sources */ = { 379 | isa = PBXSourcesBuildPhase; 380 | buildActionMask = 2147483647; 381 | files = ( 382 | 7ACC78E8305468E7E3AFD0AB3E7551D8 /* XHPageControl.m in Sources */, 383 | 172F18FBA7AF27BFA5F3C3662C71AA10 /* XHPageControl-dummy.m in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | A55BE2DABC49E4A0159DF88AF249D269 /* Sources */ = { 388 | isa = PBXSourcesBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | 599A8942DEAD2B29454E764A6E168611 /* Pods-XHPageControl_Example-dummy.m in Sources */, 392 | ); 393 | runOnlyForDeploymentPostprocessing = 0; 394 | }; 395 | /* End PBXSourcesBuildPhase section */ 396 | 397 | /* Begin PBXTargetDependency section */ 398 | 4017F16E33832FF9455D71E70226C3F1 /* PBXTargetDependency */ = { 399 | isa = PBXTargetDependency; 400 | name = "Pods-XHPageControl_Example"; 401 | target = 21D39D8E9D2EC1E777B77208605AD899 /* Pods-XHPageControl_Example */; 402 | targetProxy = B603BEF1CA81FB72FF59C7D1346FFC7F /* PBXContainerItemProxy */; 403 | }; 404 | 766EF716320882076E2E8BE49A710D9E /* PBXTargetDependency */ = { 405 | isa = PBXTargetDependency; 406 | name = XHPageControl; 407 | target = CC04505E5DFD681C3250153DB74309DE /* XHPageControl */; 408 | targetProxy = 6DCD81ACCCF6C9227D220FFCA9CF54C6 /* PBXContainerItemProxy */; 409 | }; 410 | /* End PBXTargetDependency section */ 411 | 412 | /* Begin XCBuildConfiguration section */ 413 | 2E5DD7C970706E35D84380E24912537E /* Debug */ = { 414 | isa = XCBuildConfiguration; 415 | baseConfigurationReference = A1A21A6CD8D45D5243B49B5069C04972 /* XHPageControl.debug.xcconfig */; 416 | buildSettings = { 417 | CLANG_ENABLE_OBJC_WEAK = NO; 418 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 419 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 420 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 421 | CURRENT_PROJECT_VERSION = 1; 422 | DEFINES_MODULE = YES; 423 | DYLIB_COMPATIBILITY_VERSION = 1; 424 | DYLIB_CURRENT_VERSION = 1; 425 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 426 | GCC_PREFIX_HEADER = "Target Support Files/XHPageControl/XHPageControl-prefix.pch"; 427 | INFOPLIST_FILE = "Target Support Files/XHPageControl/XHPageControl-Info.plist"; 428 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 429 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 430 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 431 | MODULEMAP_FILE = "Target Support Files/XHPageControl/XHPageControl.modulemap"; 432 | PRODUCT_MODULE_NAME = XHPageControl; 433 | PRODUCT_NAME = XHPageControl; 434 | SDKROOT = iphoneos; 435 | SKIP_INSTALL = YES; 436 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 437 | SWIFT_VERSION = 4.0; 438 | TARGETED_DEVICE_FAMILY = "1,2"; 439 | VERSIONING_SYSTEM = "apple-generic"; 440 | VERSION_INFO_PREFIX = ""; 441 | }; 442 | name = Debug; 443 | }; 444 | 7EE7A78859F657F6BEFC651185B43192 /* Release */ = { 445 | isa = XCBuildConfiguration; 446 | buildSettings = { 447 | ALWAYS_SEARCH_USER_PATHS = NO; 448 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 449 | CLANG_ANALYZER_NONNULL = YES; 450 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 451 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 452 | CLANG_CXX_LIBRARY = "libc++"; 453 | CLANG_ENABLE_MODULES = YES; 454 | CLANG_ENABLE_OBJC_ARC = YES; 455 | CLANG_ENABLE_OBJC_WEAK = YES; 456 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 457 | CLANG_WARN_BOOL_CONVERSION = YES; 458 | CLANG_WARN_COMMA = YES; 459 | CLANG_WARN_CONSTANT_CONVERSION = YES; 460 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 461 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 462 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 463 | CLANG_WARN_EMPTY_BODY = YES; 464 | CLANG_WARN_ENUM_CONVERSION = YES; 465 | CLANG_WARN_INFINITE_RECURSION = YES; 466 | CLANG_WARN_INT_CONVERSION = YES; 467 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 468 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 469 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 470 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 471 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 472 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 473 | CLANG_WARN_STRICT_PROTOTYPES = YES; 474 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 475 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 476 | CLANG_WARN_UNREACHABLE_CODE = YES; 477 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 478 | COPY_PHASE_STRIP = NO; 479 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 480 | ENABLE_NS_ASSERTIONS = NO; 481 | ENABLE_STRICT_OBJC_MSGSEND = YES; 482 | GCC_C_LANGUAGE_STANDARD = gnu11; 483 | GCC_NO_COMMON_BLOCKS = YES; 484 | GCC_PREPROCESSOR_DEFINITIONS = ( 485 | "POD_CONFIGURATION_RELEASE=1", 486 | "$(inherited)", 487 | ); 488 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 489 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 490 | GCC_WARN_UNDECLARED_SELECTOR = YES; 491 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 492 | GCC_WARN_UNUSED_FUNCTION = YES; 493 | GCC_WARN_UNUSED_VARIABLE = YES; 494 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 495 | MTL_ENABLE_DEBUG_INFO = NO; 496 | MTL_FAST_MATH = YES; 497 | PRODUCT_NAME = "$(TARGET_NAME)"; 498 | STRIP_INSTALLED_PRODUCT = NO; 499 | SWIFT_COMPILATION_MODE = wholemodule; 500 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 501 | SWIFT_VERSION = 5.0; 502 | SYMROOT = "${SRCROOT}/../build"; 503 | }; 504 | name = Release; 505 | }; 506 | 81D3AB11DFD1BE1E958507B25F9D9F50 /* Release */ = { 507 | isa = XCBuildConfiguration; 508 | baseConfigurationReference = 7BD0026D67BE52BFDEF2A8690558839B /* XHPageControl.release.xcconfig */; 509 | buildSettings = { 510 | CLANG_ENABLE_OBJC_WEAK = NO; 511 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 512 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 513 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 514 | CURRENT_PROJECT_VERSION = 1; 515 | DEFINES_MODULE = YES; 516 | DYLIB_COMPATIBILITY_VERSION = 1; 517 | DYLIB_CURRENT_VERSION = 1; 518 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 519 | GCC_PREFIX_HEADER = "Target Support Files/XHPageControl/XHPageControl-prefix.pch"; 520 | INFOPLIST_FILE = "Target Support Files/XHPageControl/XHPageControl-Info.plist"; 521 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 522 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 523 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 524 | MODULEMAP_FILE = "Target Support Files/XHPageControl/XHPageControl.modulemap"; 525 | PRODUCT_MODULE_NAME = XHPageControl; 526 | PRODUCT_NAME = XHPageControl; 527 | SDKROOT = iphoneos; 528 | SKIP_INSTALL = YES; 529 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 530 | SWIFT_VERSION = 4.0; 531 | TARGETED_DEVICE_FAMILY = "1,2"; 532 | VALIDATE_PRODUCT = YES; 533 | VERSIONING_SYSTEM = "apple-generic"; 534 | VERSION_INFO_PREFIX = ""; 535 | }; 536 | name = Release; 537 | }; 538 | 951C1B5A5CC45DD2F002E36C0091A4AD /* Release */ = { 539 | isa = XCBuildConfiguration; 540 | baseConfigurationReference = 6043C2B1E08862C0D4D2DADB9D1B8795 /* Pods-XHPageControl_Tests.release.xcconfig */; 541 | buildSettings = { 542 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 543 | CLANG_ENABLE_OBJC_WEAK = NO; 544 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 545 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 546 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 547 | CURRENT_PROJECT_VERSION = 1; 548 | DEFINES_MODULE = YES; 549 | DYLIB_COMPATIBILITY_VERSION = 1; 550 | DYLIB_CURRENT_VERSION = 1; 551 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 552 | INFOPLIST_FILE = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-Info.plist"; 553 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 554 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 555 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 556 | MACH_O_TYPE = staticlib; 557 | MODULEMAP_FILE = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.modulemap"; 558 | OTHER_LDFLAGS = ""; 559 | OTHER_LIBTOOLFLAGS = ""; 560 | PODS_ROOT = "$(SRCROOT)"; 561 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 562 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 563 | SDKROOT = iphoneos; 564 | SKIP_INSTALL = YES; 565 | TARGETED_DEVICE_FAMILY = "1,2"; 566 | VALIDATE_PRODUCT = YES; 567 | VERSIONING_SYSTEM = "apple-generic"; 568 | VERSION_INFO_PREFIX = ""; 569 | }; 570 | name = Release; 571 | }; 572 | 9BBC6BF5785555144531379255503733 /* Debug */ = { 573 | isa = XCBuildConfiguration; 574 | baseConfigurationReference = 1C4D48A0D2A7CF5DE240AF5A009FF5B1 /* Pods-XHPageControl_Example.debug.xcconfig */; 575 | buildSettings = { 576 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 577 | CLANG_ENABLE_OBJC_WEAK = NO; 578 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 579 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 580 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 581 | CURRENT_PROJECT_VERSION = 1; 582 | DEFINES_MODULE = YES; 583 | DYLIB_COMPATIBILITY_VERSION = 1; 584 | DYLIB_CURRENT_VERSION = 1; 585 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 586 | INFOPLIST_FILE = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-Info.plist"; 587 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 588 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 589 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 590 | MACH_O_TYPE = staticlib; 591 | MODULEMAP_FILE = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.modulemap"; 592 | OTHER_LDFLAGS = ""; 593 | OTHER_LIBTOOLFLAGS = ""; 594 | PODS_ROOT = "$(SRCROOT)"; 595 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 596 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 597 | SDKROOT = iphoneos; 598 | SKIP_INSTALL = YES; 599 | TARGETED_DEVICE_FAMILY = "1,2"; 600 | VERSIONING_SYSTEM = "apple-generic"; 601 | VERSION_INFO_PREFIX = ""; 602 | }; 603 | name = Debug; 604 | }; 605 | A446D0C9E6220A7E277E1094CA957318 /* Debug */ = { 606 | isa = XCBuildConfiguration; 607 | baseConfigurationReference = 72E50B34E980D220DF17EEF5142A1CBD /* Pods-XHPageControl_Tests.debug.xcconfig */; 608 | buildSettings = { 609 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 610 | CLANG_ENABLE_OBJC_WEAK = NO; 611 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 612 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 613 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 614 | CURRENT_PROJECT_VERSION = 1; 615 | DEFINES_MODULE = YES; 616 | DYLIB_COMPATIBILITY_VERSION = 1; 617 | DYLIB_CURRENT_VERSION = 1; 618 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 619 | INFOPLIST_FILE = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests-Info.plist"; 620 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 621 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 622 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 623 | MACH_O_TYPE = staticlib; 624 | MODULEMAP_FILE = "Target Support Files/Pods-XHPageControl_Tests/Pods-XHPageControl_Tests.modulemap"; 625 | OTHER_LDFLAGS = ""; 626 | OTHER_LIBTOOLFLAGS = ""; 627 | PODS_ROOT = "$(SRCROOT)"; 628 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 629 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 630 | SDKROOT = iphoneos; 631 | SKIP_INSTALL = YES; 632 | TARGETED_DEVICE_FAMILY = "1,2"; 633 | VERSIONING_SYSTEM = "apple-generic"; 634 | VERSION_INFO_PREFIX = ""; 635 | }; 636 | name = Debug; 637 | }; 638 | D299434AB35E7FD6F7921C8EF24742FF /* Debug */ = { 639 | isa = XCBuildConfiguration; 640 | buildSettings = { 641 | ALWAYS_SEARCH_USER_PATHS = NO; 642 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 643 | CLANG_ANALYZER_NONNULL = YES; 644 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 645 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 646 | CLANG_CXX_LIBRARY = "libc++"; 647 | CLANG_ENABLE_MODULES = YES; 648 | CLANG_ENABLE_OBJC_ARC = YES; 649 | CLANG_ENABLE_OBJC_WEAK = YES; 650 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 651 | CLANG_WARN_BOOL_CONVERSION = YES; 652 | CLANG_WARN_COMMA = YES; 653 | CLANG_WARN_CONSTANT_CONVERSION = YES; 654 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 655 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 656 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 657 | CLANG_WARN_EMPTY_BODY = YES; 658 | CLANG_WARN_ENUM_CONVERSION = YES; 659 | CLANG_WARN_INFINITE_RECURSION = YES; 660 | CLANG_WARN_INT_CONVERSION = YES; 661 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 662 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 663 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 664 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 665 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 666 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 667 | CLANG_WARN_STRICT_PROTOTYPES = YES; 668 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 669 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 670 | CLANG_WARN_UNREACHABLE_CODE = YES; 671 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 672 | COPY_PHASE_STRIP = NO; 673 | DEBUG_INFORMATION_FORMAT = dwarf; 674 | ENABLE_STRICT_OBJC_MSGSEND = YES; 675 | ENABLE_TESTABILITY = YES; 676 | GCC_C_LANGUAGE_STANDARD = gnu11; 677 | GCC_DYNAMIC_NO_PIC = NO; 678 | GCC_NO_COMMON_BLOCKS = YES; 679 | GCC_OPTIMIZATION_LEVEL = 0; 680 | GCC_PREPROCESSOR_DEFINITIONS = ( 681 | "POD_CONFIGURATION_DEBUG=1", 682 | "DEBUG=1", 683 | "$(inherited)", 684 | ); 685 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 686 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 687 | GCC_WARN_UNDECLARED_SELECTOR = YES; 688 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 689 | GCC_WARN_UNUSED_FUNCTION = YES; 690 | GCC_WARN_UNUSED_VARIABLE = YES; 691 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 692 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 693 | MTL_FAST_MATH = YES; 694 | ONLY_ACTIVE_ARCH = YES; 695 | PRODUCT_NAME = "$(TARGET_NAME)"; 696 | STRIP_INSTALLED_PRODUCT = NO; 697 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 698 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 699 | SWIFT_VERSION = 5.0; 700 | SYMROOT = "${SRCROOT}/../build"; 701 | }; 702 | name = Debug; 703 | }; 704 | FE5AB937355B54EB4BDAB152B9F750B7 /* Release */ = { 705 | isa = XCBuildConfiguration; 706 | baseConfigurationReference = CDA835DAA3606C1CBE4BFCE999C6ED47 /* Pods-XHPageControl_Example.release.xcconfig */; 707 | buildSettings = { 708 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 709 | CLANG_ENABLE_OBJC_WEAK = NO; 710 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 711 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 712 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 713 | CURRENT_PROJECT_VERSION = 1; 714 | DEFINES_MODULE = YES; 715 | DYLIB_COMPATIBILITY_VERSION = 1; 716 | DYLIB_CURRENT_VERSION = 1; 717 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 718 | INFOPLIST_FILE = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example-Info.plist"; 719 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 720 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 721 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 722 | MACH_O_TYPE = staticlib; 723 | MODULEMAP_FILE = "Target Support Files/Pods-XHPageControl_Example/Pods-XHPageControl_Example.modulemap"; 724 | OTHER_LDFLAGS = ""; 725 | OTHER_LIBTOOLFLAGS = ""; 726 | PODS_ROOT = "$(SRCROOT)"; 727 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 728 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 729 | SDKROOT = iphoneos; 730 | SKIP_INSTALL = YES; 731 | TARGETED_DEVICE_FAMILY = "1,2"; 732 | VALIDATE_PRODUCT = YES; 733 | VERSIONING_SYSTEM = "apple-generic"; 734 | VERSION_INFO_PREFIX = ""; 735 | }; 736 | name = Release; 737 | }; 738 | /* End XCBuildConfiguration section */ 739 | 740 | /* Begin XCConfigurationList section */ 741 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 742 | isa = XCConfigurationList; 743 | buildConfigurations = ( 744 | D299434AB35E7FD6F7921C8EF24742FF /* Debug */, 745 | 7EE7A78859F657F6BEFC651185B43192 /* Release */, 746 | ); 747 | defaultConfigurationIsVisible = 0; 748 | defaultConfigurationName = Release; 749 | }; 750 | 4BEDF91449FF642F029747DCAA3D6C1D /* Build configuration list for PBXNativeTarget "Pods-XHPageControl_Tests" */ = { 751 | isa = XCConfigurationList; 752 | buildConfigurations = ( 753 | A446D0C9E6220A7E277E1094CA957318 /* Debug */, 754 | 951C1B5A5CC45DD2F002E36C0091A4AD /* Release */, 755 | ); 756 | defaultConfigurationIsVisible = 0; 757 | defaultConfigurationName = Release; 758 | }; 759 | 6246A4C00F08E2D9AD5FA39CD64FF614 /* Build configuration list for PBXNativeTarget "XHPageControl" */ = { 760 | isa = XCConfigurationList; 761 | buildConfigurations = ( 762 | 2E5DD7C970706E35D84380E24912537E /* Debug */, 763 | 81D3AB11DFD1BE1E958507B25F9D9F50 /* Release */, 764 | ); 765 | defaultConfigurationIsVisible = 0; 766 | defaultConfigurationName = Release; 767 | }; 768 | 732A583A723E1DA5C06F5D489208CE32 /* Build configuration list for PBXNativeTarget "Pods-XHPageControl_Example" */ = { 769 | isa = XCConfigurationList; 770 | buildConfigurations = ( 771 | 9BBC6BF5785555144531379255503733 /* Debug */, 772 | FE5AB937355B54EB4BDAB152B9F750B7 /* Release */, 773 | ); 774 | defaultConfigurationIsVisible = 0; 775 | defaultConfigurationName = Release; 776 | }; 777 | /* End XCConfigurationList section */ 778 | }; 779 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 780 | } 781 | --------------------------------------------------------------------------------