├── AlignmentControl ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AlingmentItemView.swift │ ├── Animator.swift │ └── AlingmentView.swift ├── _Pods.xcodeproj ├── Example ├── AlignmentControl │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── group.imageset │ │ │ ├── Group.png │ │ │ ├── Group@2x.png │ │ │ ├── Group@3x.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib │ └── ViewController.swift ├── Pods │ ├── Target Support Files │ │ ├── AlignmentControl │ │ │ ├── AlignmentControl.modulemap │ │ │ ├── AlignmentControl-dummy.m │ │ │ ├── AlignmentControl-prefix.pch │ │ │ ├── AlignmentControl-umbrella.h │ │ │ ├── AlignmentControl.xcconfig │ │ │ └── AlignmentControl-Info.plist │ │ ├── Pods-AlignmentControl_Tests │ │ │ ├── Pods-AlignmentControl_Tests-acknowledgements.markdown │ │ │ ├── Pods-AlignmentControl_Tests.modulemap │ │ │ ├── Pods-AlignmentControl_Tests-dummy.m │ │ │ ├── Pods-AlignmentControl_Tests-umbrella.h │ │ │ ├── Pods-AlignmentControl_Tests.debug.xcconfig │ │ │ ├── Pods-AlignmentControl_Tests.release.xcconfig │ │ │ ├── Pods-AlignmentControl_Tests-Info.plist │ │ │ └── Pods-AlignmentControl_Tests-acknowledgements.plist │ │ └── Pods-AlignmentControl_Example │ │ │ ├── Pods-AlignmentControl_Example.modulemap │ │ │ ├── Pods-AlignmentControl_Example-dummy.m │ │ │ ├── Pods-AlignmentControl_Example-umbrella.h │ │ │ ├── Pods-AlignmentControl_Example.debug.xcconfig │ │ │ ├── Pods-AlignmentControl_Example.release.xcconfig │ │ │ ├── Pods-AlignmentControl_Example-Info.plist │ │ │ ├── Pods-AlignmentControl_Example-acknowledgements.markdown │ │ │ ├── Pods-AlignmentControl_Example-acknowledgements.plist │ │ │ └── Pods-AlignmentControl_Example-frameworks.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── AlignmentControl.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── AlignmentControl.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── AlignmentControl-Example.xcscheme │ └── project.pbxproj ├── AlignmentControl.xcworkspace │ ├── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── Podfile.lock └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── LICENSE ├── AlignmentControl.podspec └── README.md /AlignmentControl/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AlignmentControl/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/AlignmentControl/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/AlignmentControl/Images.xcassets/group.imageset/Group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tularovbeslan/AlignmentControl/HEAD/Example/AlignmentControl/Images.xcassets/group.imageset/Group.png -------------------------------------------------------------------------------- /Example/AlignmentControl/Images.xcassets/group.imageset/Group@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tularovbeslan/AlignmentControl/HEAD/Example/AlignmentControl/Images.xcassets/group.imageset/Group@2x.png -------------------------------------------------------------------------------- /Example/AlignmentControl/Images.xcassets/group.imageset/Group@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tularovbeslan/AlignmentControl/HEAD/Example/AlignmentControl/Images.xcassets/group.imageset/Group@3x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl.modulemap: -------------------------------------------------------------------------------- 1 | framework module AlignmentControl { 2 | umbrella header "AlignmentControl-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AlignmentControl : NSObject 3 | @end 4 | @implementation PodsDummy_AlignmentControl 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AlignmentControl_Example' do 4 | pod 'AlignmentControl', :path => '../' 5 | 6 | target 'AlignmentControl_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_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/AlignmentControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AlignmentControl_Tests { 2 | umbrella header "Pods-AlignmentControl_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AlignmentControl_Example { 2 | umbrella header "Pods-AlignmentControl_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AlignmentControl_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AlignmentControl_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/AlignmentControl.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AlignmentControl_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AlignmentControl_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl-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/AlignmentControl.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AlignmentControl.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AlignmentControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AlignmentControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AlignmentControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AlignmentControl: 3d11506700b44287d0ae2897e1f52d454bfdfe60 13 | 14 | PODFILE CHECKSUM: 79ce38103974628862b4fce03fcb0263f37ab7b6 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AlignmentControl (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AlignmentControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AlignmentControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AlignmentControl: 3d11506700b44287d0ae2897e1f52d454bfdfe60 13 | 14 | PODFILE CHECKSUM: 79ce38103974628862b4fce03fcb0263f37ab7b6 15 | 16 | COCOAPODS: 1.6.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl-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 AlignmentControlVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AlignmentControlVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_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_AlignmentControl_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AlignmentControl_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_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_AlignmentControl_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AlignmentControl_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/AlignmentControl/Images.xcassets/group.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Group.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Group@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Group@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode10.2 6 | language: swift 7 | podfile: Example/Podfile 8 | before_install: 9 | - gem install cocoapods 10 | - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/AlignmentControl.xcworkspace -scheme AlignmentControl-Example -sdk iphonesimulator12.2 ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 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 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl/AlignmentControl.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AlignmentControl" 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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl/AlignmentControl.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "AlignmentControl" 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 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AlignmentControl.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AlignmentControl", 3 | "version": "0.1.0", 4 | "summary": "A short description of AlignmentControl.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/tularovbeslan@gmail.com/AlignmentControl", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "tularovbeslan@gmail.com": "tularovbeslan@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/tularovbeslan@gmail.com/AlignmentControl.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "AlignmentControl/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl/AlignmentControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AlignmentControl" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlignmentControl/AlignmentControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "AlignmentControl" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import AlignmentControl 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AlignmentControl/AlignmentControl-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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_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 | -------------------------------------------------------------------------------- /Example/AlignmentControl/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" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 tularovbeslan@gmail.com 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/AlignmentControl/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 | APPL 17 | CFBundleShortVersionString 18 | 1.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AlignmentControl 5 | 6 | Copyright (c) 2019 tularovbeslan@gmail.com 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 | -------------------------------------------------------------------------------- /AlignmentControl.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint AlignmentControl.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 = 'AlignmentControl' 11 | s.version = '1.0.1' 12 | s.summary = 'AlignmentControl is a component for alignment' 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 | Alignment Control is a component to align top, middle, bottom, left, center, right. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/tularovbeslan/AlignmentControl' 25 | 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'tularovbeslan@gmail.com' => 'tularovbeslan@gmail.com' } 28 | s.source = { :git => 'https://github.com/tularovbeslan/AlignmentControl.git', :tag => s.version.to_s } 29 | s.social_media_url = 'https://twitter.com/JiromTomson' 30 | 31 | s.swift_version = '5' 32 | s.ios.deployment_target = '10.0' 33 | 34 | s.source_files = 'AlignmentControl/Classes/**/*' 35 | end 36 | -------------------------------------------------------------------------------- /Example/AlignmentControl/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AlignmentControl 4 | // 5 | // Created by tularovbeslan@gmail.com on 04/16/2019. 6 | // Copyright (c) 2019 tularovbeslan@gmail.com. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // 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. 24 | // 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. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 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 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // 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. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // 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. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_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) 2019 tularovbeslan@gmail.com <tularovbeslan@gmail.com> 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 | AlignmentControl 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 | -------------------------------------------------------------------------------- /Example/AlignmentControl/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 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Example/AlignmentControl/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 24 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Example/AlignmentControl/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AlignmentControl 4 | // 5 | // Created by tularovbeslan@gmail.com on 04/16/2019. 6 | // Copyright (c) 2019 tularovbeslan@gmail.com. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AlignmentControl 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var alignView: AlingmentView! 15 | 16 | var contentView: UIView! 17 | var redView: UIView! 18 | 19 | var axisX: CGFloat = 0 20 | var axisY: CGFloat = 0 21 | 22 | var padding: CGFloat = 40 23 | var width: CGFloat { 24 | return contentView.frame.width - padding 25 | } 26 | 27 | var height: CGFloat { 28 | return contentView.frame.height - padding 29 | } 30 | 31 | override func viewDidLoad() { 32 | super.viewDidLoad() 33 | 34 | setupAlingmentView() 35 | } 36 | 37 | override func viewDidAppear(_ animated: Bool) { 38 | super.viewDidAppear(animated) 39 | 40 | contentViewSetup() 41 | generatePositions() 42 | redViewSetup() 43 | } 44 | 45 | fileprivate func setupAlingmentView() { 46 | 47 | alignView.setBackgroundImage(UIImage(named: "group")) 48 | alignView.delegate = self 49 | alignView.dataSource = self 50 | alignView.animation = .Bounce 51 | alignView.activeAligmentModes = [.Left, .Top] 52 | alignView.isPulse = false 53 | } 54 | 55 | fileprivate func contentViewSetup() { 56 | 57 | contentView = UIView(frame: CGRect(x: view.frame.origin.x + 15, y: 200, width: view.frame.width - 30, height: view.frame.height / 2)) 58 | contentView.layer.cornerRadius = 30 59 | contentView.clipsToBounds = true 60 | contentView.backgroundColor = .white 61 | view.addSubview(contentView) 62 | 63 | let lineDash = CAShapeLayer() 64 | lineDash.strokeColor = UIColor.black.cgColor 65 | lineDash.lineDashPattern = [3, 3] 66 | lineDash.frame = contentView.bounds 67 | lineDash.fillColor = nil 68 | lineDash.lineWidth = 2 69 | lineDash.path = UIBezierPath(roundedRect: contentView.bounds, cornerRadius: 30).cgPath 70 | contentView.layer.addSublayer(lineDash) 71 | } 72 | 73 | fileprivate func redViewSetup() { 74 | 75 | redView = UIView(frame: CGRect(x: 10, 76 | y: 10, 77 | width: width / 3, 78 | height: height / 3)) 79 | redView.layer.cornerRadius = 20 80 | redView.backgroundColor = .red 81 | redView.clipsToBounds = true 82 | contentView.addSubview(redView) 83 | } 84 | 85 | fileprivate func generatePositions() { 86 | 87 | let column: Int = 3 88 | let row: Int = 3 89 | let pagging: CGFloat = 10 90 | 91 | for i in 0.. [AlignmentMode] { 156 | return [.Left, .Center, .Right, .Top, .Middle, .Bottom] 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /Example/AlignmentControl.xcodeproj/xcshareddata/xcschemes/AlignmentControl-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## AlignmentControl is a component for alignment 2 | 3 | [![Twitter](https://img.shields.io/badge/twitter-@JiromTomson-blue.svg?style=flat 4 | )](https://twitter.com/JiromTomson) 5 | [![CI Status](https://travis-ci.org/tularovbeslan/AlignmentControl.svg?branch=master)](https://travis-ci.org/tularovbeslan/AlignmentControl) 6 | [![Version](https://img.shields.io/cocoapods/v/AlignmentControl.svg?style=flat)](https://cocoapods.org/pods/AlignmentControl) 7 | ![iOS 10.0+](https://img.shields.io/badge/iOS-10.0%2B-red.svg) 8 | ![Swift 5](https://img.shields.io/badge/Swift-5-orange.svg) 9 | [![License](https://img.shields.io/cocoapods/l/AlignmentControl.svg?style=flat)](https://cocoapods.org/pods/AlignmentControl) 10 | [![Platform](https://img.shields.io/cocoapods/p/AlignmentControl.svg?style=flat)](https://cocoapods.org/pods/AlignmentControl) 11 | 12 | ![Artboard](https://user-images.githubusercontent.com/4906243/57692047-72610b80-764e-11e9-9ff9-9ddfcd32dfda.png) 13 | 14 | ## Direction 15 | 16 | | AlignmentDirection | | 17 | | --- | --- | 18 | | **Horizontal** | | 19 | | **Vertical** | | 20 | 21 | ## Mode 22 | 23 | | AlignmentMode | | 24 | | --- | --- | 25 | | **Left** | | 26 | | **Center** | | 27 | | **Right** | | 28 | | **Top** | | 29 | | **Middle** | | 30 | | **Bottom** | | 31 | 32 | ## Animation 33 | | AnimationType | | 34 | | --- | --- | 35 | | **None** | | 36 | | **Fade** | | 37 | | **Translation** | | 38 | | **Bounce** | | 39 | 40 | ## Use 41 | 42 | ```swift 43 | let alignView = AlingmentView(frame: CGRect(x: 0, y: 0, width: 124, height: 50)) 44 | alignView.setBackgroundImage(UIImage(named: "group")) 45 | alignView.delegate = self 46 | alignView.dataSource = self 47 | alignView.animation = .Bounce 48 | alignView.activeAligmentModes = [.Left, .Top] 49 | alignView.isPulse = false 50 | ``` 51 | 52 | you also need to conform to datasource and delegate like in UITableview 53 | ``` 54 | public protocol AlingmentViewDelegate: class { 55 | func didSelectOptionFor(_ mode: AlignmentMode) 56 | } 57 | 58 | public protocol AlingmentViewDataSource: class { 59 | func optionsForAlignment() -> [AlignmentMode] 60 | } 61 | ``` 62 | more detail you can see in the example 63 | 64 | ## Example 65 | 66 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 67 | 68 | ## Requirements 69 | 70 | iOS 10.0+ 71 | Xcode Xcode 9.0+ 72 | Swift 5.0 73 | 74 | ## Installation 75 | 76 | AlignmentControl is available through [CocoaPods](https://cocoapods.org). To install 77 | it, simply add the following line to your Podfile: 78 | 79 | ```ruby 80 | pod 'AlignmentControl' 81 | ``` 82 | # Author 83 | 84 | Beslan Tularov | [@JiromTomson](https://twitter.com/JiromTomson) 85 | 86 | Mikhail Kupriyanov | [mpkupriyanov](https://github.com/mpkupriyanov) 87 | 88 | ## License 89 | 90 | ``` 91 | MIT License 92 | 93 | Copyright (c) 2018 Beslan Tularov 94 | 95 | Permission is hereby granted, free of charge, to any person obtaining a copy 96 | of this software and associated documentation files (the "Software"), to deal 97 | in the Software without restriction, including without limitation the rights 98 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 99 | copies of the Software, and to permit persons to whom the Software is 100 | furnished to do so, subject to the following conditions: 101 | 102 | The above copyright notice and this permission notice shall be included in all 103 | copies or substantial portions of the Software. 104 | 105 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 106 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 107 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 108 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 109 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 110 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 111 | SOFTWARE. 112 | ``` 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_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 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | 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}\"" 90 | 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}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # 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. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/AlignmentControl/AlignmentControl.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/AlignmentControl/AlignmentControl.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /AlignmentControl/Classes/AlingmentItemView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AlingmentItemView.swift 3 | // AlignmentControl 4 | // 5 | // Created by workmachine on 16/04/2019. 6 | // 7 | 8 | import UIKit 9 | 10 | public protocol AlingmentItemViewDelegate: class { 11 | func didSelectOptionFor(_ alingmentItemView: AlingmentItemView, mode: AlignmentMode) 12 | func touchesBegan() 13 | func touchesEnded() 14 | } 15 | 16 | open class AlingmentItemView: UIView { 17 | 18 | weak var delegate: AlingmentItemViewDelegate? 19 | 20 | public var colorOfWards: UIColor! 21 | 22 | var mode: AlignmentMode = .Left { 23 | didSet { 24 | switch mode { 25 | case .Left, .Center, .Right: 26 | direction = .Horizontal 27 | case .Top, .Middle, .Bottom: 28 | direction = .Vertical 29 | } 30 | } 31 | } 32 | 33 | var direction: AlignmentDirection = .Horizontal 34 | 35 | public var longWardPath: UIBezierPath! 36 | public var middleWardPath: UIBezierPath! 37 | public var shortWardPath: UIBezierPath! 38 | 39 | private var longWardWidth: CGFloat { 40 | 41 | switch direction { 42 | case .Horizontal: return frame.width * 0.10 43 | case .Vertical: return frame.width 44 | } 45 | } 46 | 47 | private var longWardHeight: CGFloat { 48 | 49 | switch direction { 50 | case .Horizontal: return frame.height 51 | case .Vertical: return frame.height * 0.10 52 | } 53 | } 54 | 55 | private var longWardRadius: CGFloat { return longWardWidth * 0.3 } 56 | 57 | private var middleWardWidth: CGFloat { 58 | 59 | switch direction { 60 | case .Horizontal: return frame.width * 0.60 61 | case .Vertical: return frame.height / 5 62 | } 63 | } 64 | 65 | private var middleWardHeight: CGFloat { 66 | 67 | switch direction { 68 | case .Horizontal: return frame.height / 5 69 | case .Vertical: return frame.height * 0.60 70 | } 71 | } 72 | 73 | public var middleWardRadius: CGFloat { return (frame.height / 5) * 0.3 } 74 | 75 | private var shortWardWidth: CGFloat { 76 | 77 | switch direction { 78 | case .Horizontal: return frame.width * 0.40 79 | case .Vertical: return frame.height / 5 80 | } 81 | } 82 | 83 | private var shortWardHeight: CGFloat { 84 | 85 | switch direction { 86 | case .Horizontal: return frame.height / 5 87 | case .Vertical: return frame.height * 0.40 88 | } 89 | } 90 | 91 | public var index: Int = 0 92 | public var shortWardRadius: CGFloat { return (frame.height / 5) * 0.3 } 93 | 94 | // MARK: - Private 95 | 96 | override open func touchesBegan(_ touches: Set, with event: UIEvent?) { 97 | delegate?.touchesBegan() 98 | } 99 | 100 | override open func touchesEnded(_ touches: Set, with event: UIEvent?) { 101 | 102 | delegate?.touchesEnded() 103 | delegate?.didSelectOptionFor(self, mode: mode) 104 | } 105 | 106 | 107 | override open func draw(_ rect: CGRect) { 108 | super.draw(rect) 109 | 110 | switch mode { 111 | case .Left: drawLeft(frame: rect) 112 | case .Center: drawCenter(frame: rect) 113 | case .Right: drawRight(frame: rect) 114 | case .Top: drawTop(frame: rect) 115 | case .Middle: drawMiddle(frame: rect) 116 | case .Bottom: drawBottom(frame: rect) 117 | } 118 | } 119 | 120 | func drawLeft(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 121 | 122 | longWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.10, 123 | y: 0, 124 | width: longWardWidth, 125 | height: longWardHeight), 126 | cornerRadius: longWardRadius) 127 | colorOfWards.setFill() 128 | longWardPath.fill() 129 | 130 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.3, 131 | y: (frame.height / 6) * 1.4, 132 | width: middleWardWidth, 133 | height: middleWardHeight), 134 | cornerRadius: middleWardRadius) 135 | colorOfWards.setFill() 136 | middleWardPath.fill() 137 | 138 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.3, 139 | y: (frame.height / 6) * 3.4, 140 | width: shortWardWidth, 141 | height: shortWardHeight), 142 | cornerRadius: shortWardRadius) 143 | colorOfWards.setFill() 144 | shortWardPath.fill() 145 | } 146 | 147 | func drawCenter(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 148 | 149 | longWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.45, 150 | y: 0, 151 | width: longWardWidth, 152 | height: longWardHeight), 153 | cornerRadius: longWardRadius) 154 | colorOfWards.setFill() 155 | longWardPath.fill() 156 | 157 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width - middleWardWidth) / 2, 158 | y: (frame.height / 6) * 1.4, 159 | width: middleWardWidth, 160 | height: middleWardHeight), 161 | cornerRadius: middleWardRadius) 162 | colorOfWards.setFill() 163 | middleWardPath.fill() 164 | 165 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width - shortWardWidth) / 2, 166 | y: (frame.height / 6) * 3.4, 167 | width: shortWardWidth, 168 | height: shortWardHeight), 169 | cornerRadius: shortWardRadius) 170 | colorOfWards.setFill() 171 | shortWardPath.fill() 172 | } 173 | 174 | 175 | func drawRight(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 176 | 177 | longWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.80, 178 | y: 0, 179 | width: longWardWidth, 180 | height: longWardHeight), 181 | cornerRadius: longWardRadius) 182 | colorOfWards.setFill() 183 | longWardPath.fill() 184 | 185 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.10, 186 | y: (frame.height / 6) * 1.4, 187 | width: middleWardWidth, 188 | height: middleWardHeight), 189 | cornerRadius: middleWardRadius) 190 | colorOfWards.setFill() 191 | middleWardPath.fill() 192 | 193 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: frame.width * 0.30, 194 | y: (frame.height / 6) * 3.4, 195 | width: shortWardWidth, 196 | height: shortWardHeight), 197 | cornerRadius: shortWardRadius) 198 | colorOfWards.setFill() 199 | shortWardPath.fill() 200 | } 201 | 202 | 203 | func drawTop(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 204 | 205 | longWardPath = UIBezierPath(roundedRect: CGRect(x: 0, 206 | y: frame.height * 0.10, 207 | width: longWardWidth, 208 | height: longWardHeight), 209 | cornerRadius: longWardRadius) 210 | colorOfWards.setFill() 211 | longWardPath.fill() 212 | 213 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 1.4, 214 | y: frame.height * 0.30, 215 | width: middleWardWidth, 216 | height: middleWardHeight), 217 | cornerRadius: middleWardRadius) 218 | colorOfWards.setFill() 219 | middleWardPath.fill() 220 | 221 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 3.4, 222 | y: frame.height * 0.30, 223 | width: shortWardWidth, 224 | height: shortWardHeight), 225 | cornerRadius: shortWardRadius) 226 | colorOfWards.setFill() 227 | shortWardPath.fill() 228 | } 229 | 230 | func drawMiddle(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 231 | 232 | longWardPath = UIBezierPath(roundedRect: CGRect(x: 0, 233 | y: frame.height * 0.45, 234 | width: longWardWidth, 235 | height: longWardHeight), 236 | cornerRadius: longWardRadius) 237 | colorOfWards.setFill() 238 | longWardPath.fill() 239 | 240 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 1.4, 241 | y: (frame.height - middleWardHeight) / 2, 242 | width: middleWardWidth, 243 | height: middleWardHeight), 244 | cornerRadius: middleWardRadius) 245 | colorOfWards.setFill() 246 | middleWardPath.fill() 247 | 248 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 3.4, 249 | y: (frame.height - shortWardHeight) / 2, 250 | width: shortWardWidth, 251 | height: shortWardHeight), 252 | cornerRadius: shortWardRadius) 253 | colorOfWards.setFill() 254 | shortWardPath.fill() 255 | } 256 | 257 | func drawBottom(frame: CGRect = CGRect(x: 0, y: 0, width: 48, height: 48)) { 258 | 259 | longWardPath = UIBezierPath(roundedRect: CGRect(x: 0, 260 | y: frame.height * 0.80, 261 | width: longWardWidth, 262 | height: longWardHeight), 263 | cornerRadius: longWardRadius) 264 | colorOfWards.setFill() 265 | longWardPath.fill() 266 | 267 | middleWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 1.4, 268 | y: (frame.height * 0.40) - (frame.height * 0.30), 269 | width: middleWardWidth, 270 | height: middleWardHeight), 271 | cornerRadius: middleWardRadius) 272 | colorOfWards.setFill() 273 | middleWardPath.fill() 274 | 275 | shortWardPath = UIBezierPath(roundedRect: CGRect(x: (frame.width / 6) * 3.4, 276 | y: (frame.height * 0.60) - (frame.height * 0.30), 277 | width: shortWardWidth, 278 | height: shortWardHeight), 279 | cornerRadius: shortWardRadius) 280 | colorOfWards.setFill() 281 | shortWardPath.fill() 282 | } 283 | } 284 | -------------------------------------------------------------------------------- /AlignmentControl/Classes/Animator.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Animator.swift 3 | // AlignmentControl 4 | // 5 | // Created by workmachine on 12/05/2019. 6 | // 7 | 8 | import Foundation 9 | 10 | public class Animator { 11 | 12 | public static func zoomIn(_ view: UIView) { 13 | 14 | let animation = CABasicAnimation(keyPath: "transform.scale") 15 | animation.fromValue = 1.0 16 | animation.toValue = 0.98 17 | animation.duration = 0.3 18 | animation.fillMode = .forwards 19 | animation.isRemovedOnCompletion = false 20 | animation.autoreverses = false 21 | view.layer.add(animation, forKey: "zoomIn") 22 | } 23 | 24 | public static func zoomOut(_ view: UIView) { 25 | 26 | let animation = CABasicAnimation(keyPath: "transform.scale") 27 | animation.fromValue = 0.98 28 | animation.toValue = 1.0 29 | animation.duration = 0.3 30 | animation.fillMode = .forwards 31 | animation.isRemovedOnCompletion = false 32 | animation.autoreverses = false 33 | view.layer.add(animation, forKey: "zoomOut") 34 | } 35 | 36 | public static func none(_ frames: [CGRect], views: [UIView]) { 37 | 38 | for (index, view) in views.enumerated() { 39 | view.layer.frame = frames[index] 40 | } 41 | } 42 | 43 | public static func fade(_ frames: [CGRect], views: [UIView]) { 44 | 45 | for (index, view) in views.enumerated() { 46 | 47 | let positionXKeyPath = "position.x" 48 | let positionYKeyPath = "position.y" 49 | let fadeInKeyPath = "opacity" 50 | let fadeOutKeyPath = "opacity" 51 | 52 | 53 | let fadeIn = CABasicAnimation(keyPath: fadeInKeyPath) 54 | fadeIn.fromValue = 1 55 | fadeIn.toValue = 0 56 | fadeIn.duration = 0.15 57 | fadeIn.isRemovedOnCompletion = false 58 | fadeIn.fillMode = .forwards 59 | 60 | let positionX = CABasicAnimation(keyPath: positionXKeyPath) 61 | positionX.fromValue = view.frame.midX 62 | positionX.toValue = frames[index].midX 63 | positionX.beginTime = fadeIn.duration 64 | positionX.duration = 0.15 65 | positionX.isRemovedOnCompletion = false 66 | positionX.fillMode = .forwards 67 | 68 | let positionY = CABasicAnimation(keyPath: positionYKeyPath) 69 | positionY.fromValue = view.frame.midY 70 | positionY.toValue = frames[index].midY 71 | positionY.beginTime = fadeIn.duration 72 | positionY.duration = 0.15 73 | positionY.isRemovedOnCompletion = false 74 | positionY.fillMode = .forwards 75 | 76 | let fadeOut = CABasicAnimation(keyPath: fadeOutKeyPath) 77 | fadeOut.fromValue = 0 78 | fadeOut.toValue = 1 79 | fadeOut.beginTime = positionX.duration + fadeIn.duration 80 | fadeOut.duration = 0.15 81 | fadeOut.isRemovedOnCompletion = false 82 | fadeOut.fillMode = .forwards 83 | 84 | let group = CAAnimationGroup() 85 | group.animations = [fadeIn, positionX, positionY, fadeOut] 86 | group.duration = fadeIn.duration + positionX.duration + fadeOut.duration 87 | group.isRemovedOnCompletion = false 88 | group.fillMode = .forwards 89 | 90 | view.layer.add(group, forKey: nil) 91 | } 92 | } 93 | 94 | public static func translation(_ frames: [CGRect], views: [UIView], direction: AlignmentDirection, revers: Bool = false, contentView: UIView) { 95 | 96 | switch direction { 97 | case .Horizontal: 98 | for (index, view) in views.enumerated() { 99 | 100 | let positionXKeyPath = "position.x" 101 | 102 | let positionX = CABasicAnimation(keyPath: positionXKeyPath) 103 | positionX.fromValue = view.frame.midX 104 | positionX.toValue = frames[index].midX 105 | positionX.duration = 0.15 106 | 107 | view.layer.add(positionX, forKey: nil) 108 | view.layer.frame = frames[index] 109 | } 110 | case .Vertical: 111 | 112 | for (index, view) in views.enumerated() { 113 | 114 | let positionXKeyPath = "position.x" 115 | let positionYKeyPath = "position.y" 116 | let fromValue = revers ? frames[index].midY + contentView.frame.height : frames[index].midY - contentView.frame.height 117 | let toValue = revers ? view.frame.midY - contentView.frame.height : view.frame.midY + contentView.frame.height 118 | 119 | let hide = CABasicAnimation(keyPath: positionYKeyPath) 120 | hide.fromValue = view.frame.midY 121 | hide.toValue = toValue 122 | hide.duration = 0.15 123 | hide.isRemovedOnCompletion = false 124 | hide.fillMode = .forwards 125 | 126 | let positionX = CABasicAnimation(keyPath: positionXKeyPath) 127 | positionX.fromValue = view.frame.midX 128 | positionX.toValue = frames[index].midX 129 | positionX.beginTime = hide.duration 130 | positionX.duration = 0.01 131 | positionX.isRemovedOnCompletion = false 132 | positionX.fillMode = .forwards 133 | 134 | let show = CABasicAnimation(keyPath: positionYKeyPath) 135 | show.fromValue = fromValue 136 | show.toValue = frames[index].midY 137 | show.beginTime = positionX.duration + hide.duration 138 | show.duration = 0.15 139 | show.isRemovedOnCompletion = false 140 | show.fillMode = .forwards 141 | 142 | let group = CAAnimationGroup() 143 | group.animations = [hide, positionX, show] 144 | group.duration = hide.duration + positionX.duration + show.duration 145 | group.isRemovedOnCompletion = false 146 | group.fillMode = .forwards 147 | 148 | view.layer.add(group, forKey: nil) 149 | } 150 | } 151 | } 152 | 153 | public static func bounce(_ frames: [CGRect], views: [UIView], direction: AlignmentDirection, revers: Bool = false, contentView: UIView) { 154 | 155 | let phases: (first: CGFloat, second: CGFloat, third: CGFloat) = (0.65, 0.28, 0.02) 156 | 157 | switch direction { 158 | case .Horizontal: 159 | 160 | for (index, view) in views.enumerated() { 161 | 162 | let revers = frames[index].midX > view.frame.midX 163 | let distance: (first: CGFloat, second: CGFloat, third: CGFloat) = (frames[index].width * phases.first, frames[index].width * phases.second, frames[index].width * phases.third) 164 | 165 | let position = CAKeyframeAnimation(keyPath: "position.x") 166 | position.values = [view.frame.midX, 167 | frames[index].midX, 168 | frames[index].midX + (revers ? -distance.first : distance.first), 169 | frames[index].midX, 170 | frames[index].midX + (revers ? -distance.second : distance.second), 171 | frames[index].midX, 172 | frames[index].midX + (revers ? -distance.third : distance.third), 173 | frames[index].midX] 174 | position.keyTimes = [0, 0.38, 0.55, 0.72, 0.81, 0.90, 0.95, 1] 175 | position.duration = 1 176 | position.beginTime = index == 0 ? 0 : CACurrentMediaTime() + 0.1 177 | position.timingFunctions = timingFunctions() 178 | position.isRemovedOnCompletion = true 179 | position.fillMode = .both 180 | 181 | view.layer.add(position, forKey: nil) 182 | view.layer.frame = frames[index] 183 | } 184 | 185 | case .Vertical: 186 | 187 | for (index, view) in views.enumerated() { 188 | 189 | let toValue = revers ? frames[index].midY + contentView.frame.height : frames[index].midY - contentView.frame.height 190 | let fromValue = revers ? view.frame.midY - contentView.frame.height : view.frame.midY + contentView.frame.height 191 | 192 | 193 | let distance: (first: CGFloat, second: CGFloat, third: CGFloat) = (frames[index].height * phases.first, frames[index].height * phases.second, frames[index].height * phases.third) 194 | 195 | let positionY = CABasicAnimation(keyPath: "position.y") 196 | positionY.fromValue = frames[index].midY 197 | positionY.toValue = toValue 198 | positionY.duration = 0.25 199 | positionY.isRemovedOnCompletion = false 200 | positionY.fillMode = .forwards 201 | 202 | let positionX = CABasicAnimation(keyPath: "position.x") 203 | positionX.fromValue = view.frame.midX 204 | positionX.toValue = frames[index].midX 205 | positionX.beginTime = positionY.duration 206 | positionX.duration = 0.01 207 | positionX.isRemovedOnCompletion = false 208 | positionX.fillMode = .forwards 209 | 210 | let show = CAKeyframeAnimation(keyPath: "position.y") 211 | show.values = [fromValue, 212 | frames[index].midY, 213 | frames[index].midY + (revers ? -distance.first : distance.first), 214 | frames[index].midY, 215 | frames[index].midY + (revers ? -distance.second : distance.second), 216 | frames[index].midY, 217 | frames[index].midY + (revers ? -distance.third : distance.third), 218 | frames[index].midY] 219 | show.keyTimes = [0, 0.38, 0.55, 0.72, 0.81, 0.90, 0.95, 1] 220 | show.duration = 1 221 | show.timingFunctions = timingFunctions() 222 | show.beginTime = index == 0 ? positionY.duration + positionX.duration : 0.2 223 | show.isRemovedOnCompletion = false 224 | show.fillMode = .forwards 225 | 226 | let group = CAAnimationGroup() 227 | group.animations = [positionY, positionX, show] 228 | group.duration = show.duration + show.beginTime + positionY.duration + positionX.duration 229 | group.isRemovedOnCompletion = false 230 | group.fillMode = .forwards 231 | 232 | view.layer.add(group, forKey: nil) 233 | } 234 | } 235 | } 236 | 237 | public static func timingFunctions() -> [CAMediaTimingFunction]? { 238 | 239 | return [CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeIn), 240 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeOut), 241 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeIn), 242 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeOut), 243 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeIn), 244 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeOut), 245 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeIn), 246 | CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeOut)] 247 | } 248 | } 249 | -------------------------------------------------------------------------------- /AlignmentControl/Classes/AlingmentView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AlingmentView.swift 3 | // AlignmentControl 4 | // 5 | 6 | import UIKit 7 | 8 | open class AlingmentView: UIView { 9 | 10 | open weak var delegate: AlingmentViewDelegate? 11 | 12 | open weak var dataSource: AlingmentViewDataSource? { 13 | didSet { 14 | alignmentModes = dataSource?.optionsForAlignment() 15 | } 16 | } 17 | 18 | private var alignmentModes: [AlignmentMode]? { 19 | didSet { 20 | setupItems() 21 | } 22 | } 23 | 24 | public var activeAligmentModes: [AlignmentMode] = [.Left] 25 | public var animation: AnimationType = .Bounce 26 | public var isPulse: Bool = true 27 | private var horizontalMiddleWard: UIView! 28 | private var horizontalShortWard: UIView! 29 | private var verticalMiddleWard: UIView! 30 | private var verticalShortWard: UIView! 31 | fileprivate var currentVerticalIndex: Int = 0 32 | 33 | private var items: [AlingmentItemView] = [] 34 | 35 | public var colorOfWards: UIColor = UIColor(red: 220/255.0, green: 224/255.0, blue: 236/255.0, alpha: 1) 36 | 37 | fileprivate var backgroundImage: UIImageView = { 38 | 39 | let imageView: UIImageView = UIImageView() 40 | imageView.translatesAutoresizingMaskIntoConstraints = false 41 | return imageView 42 | }() 43 | 44 | fileprivate func frameForWards(_ item: AlingmentItemView) -> (middle: CGRect, short: CGRect)? { 45 | 46 | guard let modes = alignmentModes else { return nil } 47 | let count = CGFloat(modes.count) 48 | 49 | let itemWidth: CGFloat = (frame.width / count) 50 | let topPadding: CGFloat = (frame.height - (frame.height > itemWidth ? itemWidth : frame.height) * 0.80) / 2 51 | let length: CGFloat = (frame.height > itemWidth ? itemWidth : frame.height) * 0.80 52 | let padding = (frame.width - (length * count)) / count 53 | let offset: CGFloat = ((padding + length) * CGFloat(item.index)) + (padding / 2) 54 | 55 | let middleWardPathFrame = convert(item.middleWardPath.cgPath.boundingBox, to: self) 56 | let shortWardPathFrame = convert(item.shortWardPath.cgPath.boundingBox, to: self) 57 | 58 | let middleFrame = CGRect(x: middleWardPathFrame.origin.x + offset, y: middleWardPathFrame.origin.y + topPadding, width: middleWardPathFrame.width, height: middleWardPathFrame.height) 59 | 60 | let shortFrame = CGRect(x: shortWardPathFrame.origin.x + offset, y: shortWardPathFrame.origin.y + topPadding, width: shortWardPathFrame.width, height: shortWardPathFrame.height) 61 | 62 | return (middle: middleFrame, short: shortFrame) 63 | } 64 | 65 | fileprivate func createWardsFor(_ item: AlingmentItemView) -> (middle: UIView, short: UIView)? { 66 | 67 | guard let frame = frameForWards(item) else { return nil } 68 | 69 | let middle = UIView() 70 | middle.frame = frame.middle 71 | middle.backgroundColor = UIColor.red 72 | middle.layer.cornerRadius = item.middleWardRadius 73 | middle.clipsToBounds = true 74 | middle.isUserInteractionEnabled = false 75 | 76 | let short = UIView() 77 | short.frame = frame.short 78 | short.backgroundColor = UIColor.red 79 | short.layer.cornerRadius = item.shortWardRadius 80 | short.clipsToBounds = true 81 | short.isUserInteractionEnabled = false 82 | 83 | return (middle: middle, short: short) 84 | } 85 | 86 | open func setBackgroundImage(_ image: UIImage?) { 87 | backgroundImage.image = image 88 | } 89 | 90 | fileprivate var pulseAnimation: CASpringAnimation? 91 | 92 | override open func awakeFromNib() { 93 | super.awakeFromNib() 94 | 95 | self.clipsToBounds = true 96 | addSubview(backgroundImage) 97 | setupBackgroundImageConstraints() 98 | setupItems() 99 | 100 | if !frame.isEmpty { 101 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.10) { 102 | self.createActiveWards() 103 | } 104 | } 105 | } 106 | 107 | public override init(frame: CGRect) { 108 | super.init(frame: frame) 109 | 110 | self.clipsToBounds = true 111 | addSubview(backgroundImage) 112 | setupBackgroundImageConstraints() 113 | setupItems() 114 | 115 | if !frame.isEmpty { 116 | 117 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.10) { 118 | self.createActiveWards() 119 | } 120 | } 121 | } 122 | 123 | convenience init(activeAligmentModes: [AlignmentMode], animation: AnimationType, frame: CGRect) { 124 | self.init(frame: frame) 125 | 126 | self.activeAligmentModes = activeAligmentModes 127 | self.animation = animation 128 | } 129 | 130 | required public init?(coder aDecoder: NSCoder) { 131 | super.init(coder: aDecoder) 132 | } 133 | 134 | 135 | // MARK: - Private 136 | 137 | func zoomIn() { 138 | Animator.zoomIn(self) 139 | } 140 | 141 | func zoomOut() { 142 | Animator.zoomOut(self) 143 | } 144 | 145 | fileprivate func setupBackgroundImageConstraints() { 146 | 147 | backgroundImage.topAnchor.constraint(equalTo: topAnchor).isActive = true 148 | backgroundImage.leftAnchor.constraint(equalTo: leftAnchor).isActive = true 149 | backgroundImage.rightAnchor.constraint(equalTo: rightAnchor).isActive = true 150 | backgroundImage.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true 151 | } 152 | 153 | fileprivate func setupItems() { 154 | 155 | guard let modes = alignmentModes else { return } 156 | let count = CGFloat(modes.count) 157 | for (index, mode) in modes.enumerated() { 158 | 159 | let itemWidth: CGFloat = (frame.width / count) 160 | 161 | let length: CGFloat = (frame.height > itemWidth ? itemWidth : frame.height) * 0.80 162 | 163 | let padding = (frame.width - (length * count)) / count 164 | let offset: CGFloat = ((padding + length) * CGFloat(index)) + (padding / 2) 165 | 166 | let width: CGFloat = length 167 | let height: CGFloat = length 168 | 169 | let item = AlingmentItemView() 170 | item.mode = mode 171 | item.index = index 172 | item.delegate = self 173 | item.colorOfWards = colorOfWards 174 | addSubview(item) 175 | items.append(item) 176 | 177 | item.translatesAutoresizingMaskIntoConstraints = false 178 | item.leftAnchor.constraint(equalTo: leftAnchor, constant: offset).isActive = true 179 | item.widthAnchor.constraint(equalToConstant: width).isActive = true 180 | item.heightAnchor.constraint(equalToConstant: height).isActive = true 181 | item.centerYAnchor.constraint(equalTo: centerYAnchor).isActive = true 182 | 183 | item.backgroundColor = .clear 184 | } 185 | } 186 | 187 | /// Create UIView for all active modes 188 | fileprivate func createActiveWards() { 189 | 190 | activeAligmentModes.forEach { (mode) in 191 | 192 | items.forEach({ (item) in 193 | 194 | if item.mode == mode { 195 | 196 | guard let wards: (middle: UIView, short: UIView) = createWardsFor(item) else { return } 197 | 198 | switch item.direction { 199 | case .Horizontal: 200 | horizontalMiddleWard = wards.middle 201 | horizontalShortWard = wards.short 202 | addSubview(horizontalMiddleWard) 203 | addSubview(horizontalShortWard) 204 | 205 | case .Vertical: 206 | verticalMiddleWard = wards.middle 207 | verticalShortWard = wards.short 208 | addSubview(verticalMiddleWard) 209 | addSubview(verticalShortWard) 210 | } 211 | } 212 | }) 213 | } 214 | } 215 | } 216 | 217 | extension AlingmentView: AlingmentItemViewDelegate { 218 | 219 | public func touchesBegan() { 220 | if isPulse { zoomIn() } 221 | } 222 | 223 | public func touchesEnded() { 224 | if isPulse { zoomOut() } 225 | } 226 | 227 | public func didSelectOptionFor(_ alingmentItemView: AlingmentItemView, mode: AlignmentMode) { 228 | delegate?.didSelectOptionFor(mode) 229 | 230 | guard let frame = frameForWards(alingmentItemView) else { return } 231 | 232 | switch animation { 233 | case .None: noneAnimation(frame, view: alingmentItemView) 234 | case .Fade: fadeAnimation(frame, view: alingmentItemView) 235 | case .Translation: transitionAnimation(frame, view: alingmentItemView) 236 | case .Bounce: bounceAnimation(frame, view: alingmentItemView) 237 | } 238 | } 239 | 240 | // MARK: - None Animation 241 | fileprivate func noneAnimation(_ frame: (middle: CGRect, short: CGRect), view: AlingmentItemView) { 242 | 243 | guard let frame = frameForWards(view) else { return } 244 | 245 | switch view.direction { 246 | case .Horizontal: 247 | Animator.none([frame.middle, frame.short], 248 | views: [horizontalMiddleWard, horizontalShortWard]) 249 | case .Vertical: 250 | Animator.none([frame.middle, frame.short], 251 | views: [verticalMiddleWard, verticalShortWard]) 252 | } 253 | } 254 | 255 | // MARK: - Fade Animation 256 | fileprivate func fadeAnimation(_ frame: (middle: CGRect, short: CGRect), view: AlingmentItemView) { 257 | 258 | guard let frame = frameForWards(view) else { return } 259 | 260 | switch view.direction { 261 | case .Horizontal: 262 | Animator.fade([frame.middle, frame.short], 263 | views: [horizontalMiddleWard, horizontalShortWard]) 264 | case .Vertical: 265 | Animator.fade([frame.middle, frame.short], 266 | views: [verticalMiddleWard, verticalShortWard]) 267 | } 268 | } 269 | 270 | // MARK: - Transition Animation 271 | fileprivate func transitionAnimation(_ frame: (middle: CGRect, short: CGRect), view: AlingmentItemView) { 272 | switch view.direction { 273 | case .Horizontal: 274 | Animator.translation([frame.middle, frame.short], 275 | views: [horizontalMiddleWard, horizontalShortWard], direction: .Horizontal, contentView: self) 276 | case .Vertical: 277 | 278 | let revers = view.index < currentVerticalIndex 279 | Animator.translation([frame.middle, frame.short], 280 | views: [verticalMiddleWard, verticalShortWard], direction: .Vertical, revers: revers, contentView: self) 281 | currentVerticalIndex = view.index 282 | } 283 | } 284 | 285 | // MARK: - Bounce Animation 286 | fileprivate func bounceAnimation(_ frame: (middle: CGRect, short: CGRect), view: AlingmentItemView) { 287 | 288 | let revers = view.index > currentVerticalIndex 289 | 290 | switch view.direction { 291 | case .Horizontal: 292 | Animator.bounce([frame.middle, frame.short], 293 | views: [horizontalMiddleWard, horizontalShortWard], 294 | direction: .Horizontal, contentView: self) 295 | case .Vertical: 296 | 297 | Animator.bounce([frame.middle, frame.short], 298 | views: [verticalMiddleWard, verticalShortWard], 299 | direction: .Vertical, revers: revers, contentView: self) 300 | currentVerticalIndex = view.index 301 | } 302 | } 303 | } 304 | 305 | 306 | public protocol AlingmentViewDelegate: class { 307 | func didSelectOptionFor(_ mode: AlignmentMode) 308 | } 309 | 310 | public protocol AlingmentViewDataSource: class { 311 | func optionsForAlignment() -> [AlignmentMode] 312 | } 313 | 314 | public enum AlignmentMode: Int, CaseIterable { 315 | case Left, Center, Right, Top, Middle, Bottom 316 | } 317 | 318 | public enum AnimationType { 319 | case Fade, Translation, Bounce, None 320 | } 321 | 322 | public enum AlignmentDirection: Int, CaseIterable { 323 | case Horizontal, Vertical 324 | } 325 | -------------------------------------------------------------------------------- /Example/AlignmentControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | 7BB160D05A4FD28E31B0980A /* Pods_AlignmentControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A60631810A67C62DE4962C2 /* Pods_AlignmentControl_Tests.framework */; }; 17 | C9D6AC039E28D96C8B767EFE /* Pods_AlignmentControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9AC05FA74A8710688C2E0F1 /* Pods_AlignmentControl_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = AlignmentControl; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 1E4F5322B5EC36C0A4F4696B /* Pods-AlignmentControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AlignmentControl_Tests.release.xcconfig"; path = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.release.xcconfig"; sourceTree = ""; }; 32 | 21161852E81EDC9F1EBDCF31 /* AlignmentControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AlignmentControl.podspec; path = ../AlignmentControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 33 | 2A60631810A67C62DE4962C2 /* Pods_AlignmentControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AlignmentControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 461CA1B4A1B7A268CB62E914 /* Pods-AlignmentControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AlignmentControl_Example.debug.xcconfig"; path = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 562F9B5E77AAE6E543294F75 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 36 | 5ED01BE5FDD5D26FDDDA25F7 /* Pods-AlignmentControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AlignmentControl_Tests.debug.xcconfig"; path = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.debug.xcconfig"; sourceTree = ""; }; 37 | 607FACD01AFB9204008FA782 /* AlignmentControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AlignmentControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 41 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 43 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 44 | 607FACE51AFB9204008FA782 /* AlignmentControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AlignmentControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 47 | 6901EC955A8BA2F524D8486B /* Pods-AlignmentControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AlignmentControl_Example.release.xcconfig"; path = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.release.xcconfig"; sourceTree = ""; }; 48 | B6CDB64C91389FFF5BDB8A8F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | E9AC05FA74A8710688C2E0F1 /* Pods_AlignmentControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AlignmentControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | C9D6AC039E28D96C8B767EFE /* Pods_AlignmentControl_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 7BB160D05A4FD28E31B0980A /* Pods_AlignmentControl_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 44A82DD086024C317400DFC5 /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | E9AC05FA74A8710688C2E0F1 /* Pods_AlignmentControl_Example.framework */, 76 | 2A60631810A67C62DE4962C2 /* Pods_AlignmentControl_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for AlignmentControl */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | 731E4B891B64BD5F50207D51 /* Pods */, 89 | 44A82DD086024C317400DFC5 /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* AlignmentControl_Example.app */, 97 | 607FACE51AFB9204008FA782 /* AlignmentControl_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for AlignmentControl */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for AlignmentControl"; 113 | path = AlignmentControl; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | 21161852E81EDC9F1EBDCF31 /* AlignmentControl.podspec */, 145 | 562F9B5E77AAE6E543294F75 /* README.md */, 146 | B6CDB64C91389FFF5BDB8A8F /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | 731E4B891B64BD5F50207D51 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 461CA1B4A1B7A268CB62E914 /* Pods-AlignmentControl_Example.debug.xcconfig */, 155 | 6901EC955A8BA2F524D8486B /* Pods-AlignmentControl_Example.release.xcconfig */, 156 | 5ED01BE5FDD5D26FDDDA25F7 /* Pods-AlignmentControl_Tests.debug.xcconfig */, 157 | 1E4F5322B5EC36C0A4F4696B /* Pods-AlignmentControl_Tests.release.xcconfig */, 158 | ); 159 | path = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* AlignmentControl_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AlignmentControl_Example" */; 168 | buildPhases = ( 169 | 70D27BD6DCF99075A9BD8B1B /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 792DF1B3AD40F266E44C9D7D /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = AlignmentControl_Example; 180 | productName = AlignmentControl; 181 | productReference = 607FACD01AFB9204008FA782 /* AlignmentControl_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* AlignmentControl_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AlignmentControl_Tests" */; 187 | buildPhases = ( 188 | 821D086D8428BFBA4DAD830F /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = AlignmentControl_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* AlignmentControl_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 1020; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | DevelopmentTeam = MTVD7A69KL; 216 | LastSwiftMigration = 1020; 217 | }; 218 | 607FACE41AFB9204008FA782 = { 219 | CreatedOnToolsVersion = 6.3.1; 220 | DevelopmentTeam = MTVD7A69KL; 221 | LastSwiftMigration = 1020; 222 | TestTargetID = 607FACCF1AFB9204008FA782; 223 | }; 224 | }; 225 | }; 226 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AlignmentControl" */; 227 | compatibilityVersion = "Xcode 3.2"; 228 | developmentRegion = en; 229 | hasScannedForEncodings = 0; 230 | knownRegions = ( 231 | en, 232 | Base, 233 | ); 234 | mainGroup = 607FACC71AFB9204008FA782; 235 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 236 | projectDirPath = ""; 237 | projectRoot = ""; 238 | targets = ( 239 | 607FACCF1AFB9204008FA782 /* AlignmentControl_Example */, 240 | 607FACE41AFB9204008FA782 /* AlignmentControl_Tests */, 241 | ); 242 | }; 243 | /* End PBXProject section */ 244 | 245 | /* Begin PBXResourcesBuildPhase section */ 246 | 607FACCE1AFB9204008FA782 /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 251 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 252 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | 607FACE31AFB9204008FA782 /* Resources */ = { 257 | isa = PBXResourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | ); 261 | runOnlyForDeploymentPostprocessing = 0; 262 | }; 263 | /* End PBXResourcesBuildPhase section */ 264 | 265 | /* Begin PBXShellScriptBuildPhase section */ 266 | 70D27BD6DCF99075A9BD8B1B /* [CP] Check Pods Manifest.lock */ = { 267 | isa = PBXShellScriptBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | inputFileListPaths = ( 272 | ); 273 | inputPaths = ( 274 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 275 | "${PODS_ROOT}/Manifest.lock", 276 | ); 277 | name = "[CP] Check Pods Manifest.lock"; 278 | outputFileListPaths = ( 279 | ); 280 | outputPaths = ( 281 | "$(DERIVED_FILE_DIR)/Pods-AlignmentControl_Example-checkManifestLockResult.txt", 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | shellPath = /bin/sh; 285 | 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"; 286 | showEnvVarsInLog = 0; 287 | }; 288 | 792DF1B3AD40F266E44C9D7D /* [CP] Embed Pods Frameworks */ = { 289 | isa = PBXShellScriptBuildPhase; 290 | buildActionMask = 2147483647; 291 | files = ( 292 | ); 293 | inputFileListPaths = ( 294 | ); 295 | inputPaths = ( 296 | "${PODS_ROOT}/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-frameworks.sh", 297 | "${BUILT_PRODUCTS_DIR}/AlignmentControl/AlignmentControl.framework", 298 | ); 299 | name = "[CP] Embed Pods Frameworks"; 300 | outputFileListPaths = ( 301 | ); 302 | outputPaths = ( 303 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AlignmentControl.framework", 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | shellPath = /bin/sh; 307 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-frameworks.sh\"\n"; 308 | showEnvVarsInLog = 0; 309 | }; 310 | 821D086D8428BFBA4DAD830F /* [CP] Check Pods Manifest.lock */ = { 311 | isa = PBXShellScriptBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | ); 315 | inputFileListPaths = ( 316 | ); 317 | inputPaths = ( 318 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 319 | "${PODS_ROOT}/Manifest.lock", 320 | ); 321 | name = "[CP] Check Pods Manifest.lock"; 322 | outputFileListPaths = ( 323 | ); 324 | outputPaths = ( 325 | "$(DERIVED_FILE_DIR)/Pods-AlignmentControl_Tests-checkManifestLockResult.txt", 326 | ); 327 | runOnlyForDeploymentPostprocessing = 0; 328 | shellPath = /bin/sh; 329 | 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"; 330 | showEnvVarsInLog = 0; 331 | }; 332 | /* End PBXShellScriptBuildPhase section */ 333 | 334 | /* Begin PBXSourcesBuildPhase section */ 335 | 607FACCC1AFB9204008FA782 /* Sources */ = { 336 | isa = PBXSourcesBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 340 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 341 | ); 342 | runOnlyForDeploymentPostprocessing = 0; 343 | }; 344 | 607FACE11AFB9204008FA782 /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | /* End PBXSourcesBuildPhase section */ 353 | 354 | /* Begin PBXTargetDependency section */ 355 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 356 | isa = PBXTargetDependency; 357 | target = 607FACCF1AFB9204008FA782 /* AlignmentControl_Example */; 358 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 359 | }; 360 | /* End PBXTargetDependency section */ 361 | 362 | /* Begin PBXVariantGroup section */ 363 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 364 | isa = PBXVariantGroup; 365 | children = ( 366 | 607FACDA1AFB9204008FA782 /* Base */, 367 | ); 368 | name = Main.storyboard; 369 | sourceTree = ""; 370 | }; 371 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 372 | isa = PBXVariantGroup; 373 | children = ( 374 | 607FACDF1AFB9204008FA782 /* Base */, 375 | ); 376 | name = LaunchScreen.xib; 377 | sourceTree = ""; 378 | }; 379 | /* End PBXVariantGroup section */ 380 | 381 | /* Begin XCBuildConfiguration section */ 382 | 607FACED1AFB9204008FA782 /* Debug */ = { 383 | isa = XCBuildConfiguration; 384 | buildSettings = { 385 | ALWAYS_SEARCH_USER_PATHS = NO; 386 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 387 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 388 | CLANG_CXX_LIBRARY = "libc++"; 389 | CLANG_ENABLE_MODULES = YES; 390 | CLANG_ENABLE_OBJC_ARC = YES; 391 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 392 | CLANG_WARN_BOOL_CONVERSION = YES; 393 | CLANG_WARN_COMMA = YES; 394 | CLANG_WARN_CONSTANT_CONVERSION = YES; 395 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 396 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 397 | CLANG_WARN_EMPTY_BODY = YES; 398 | CLANG_WARN_ENUM_CONVERSION = YES; 399 | CLANG_WARN_INFINITE_RECURSION = YES; 400 | CLANG_WARN_INT_CONVERSION = YES; 401 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 402 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 403 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 404 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 405 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 406 | CLANG_WARN_STRICT_PROTOTYPES = YES; 407 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 408 | CLANG_WARN_UNREACHABLE_CODE = YES; 409 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 410 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 411 | COPY_PHASE_STRIP = NO; 412 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 413 | ENABLE_STRICT_OBJC_MSGSEND = YES; 414 | ENABLE_TESTABILITY = YES; 415 | GCC_C_LANGUAGE_STANDARD = gnu99; 416 | GCC_DYNAMIC_NO_PIC = NO; 417 | GCC_NO_COMMON_BLOCKS = YES; 418 | GCC_OPTIMIZATION_LEVEL = 0; 419 | GCC_PREPROCESSOR_DEFINITIONS = ( 420 | "DEBUG=1", 421 | "$(inherited)", 422 | ); 423 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 426 | GCC_WARN_UNDECLARED_SELECTOR = YES; 427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 428 | GCC_WARN_UNUSED_FUNCTION = YES; 429 | GCC_WARN_UNUSED_VARIABLE = YES; 430 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 431 | MTL_ENABLE_DEBUG_INFO = YES; 432 | ONLY_ACTIVE_ARCH = YES; 433 | SDKROOT = iphoneos; 434 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 435 | }; 436 | name = Debug; 437 | }; 438 | 607FACEE1AFB9204008FA782 /* Release */ = { 439 | isa = XCBuildConfiguration; 440 | buildSettings = { 441 | ALWAYS_SEARCH_USER_PATHS = NO; 442 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 443 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 444 | CLANG_CXX_LIBRARY = "libc++"; 445 | CLANG_ENABLE_MODULES = YES; 446 | CLANG_ENABLE_OBJC_ARC = YES; 447 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 448 | CLANG_WARN_BOOL_CONVERSION = YES; 449 | CLANG_WARN_COMMA = YES; 450 | CLANG_WARN_CONSTANT_CONVERSION = YES; 451 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 452 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 453 | CLANG_WARN_EMPTY_BODY = YES; 454 | CLANG_WARN_ENUM_CONVERSION = YES; 455 | CLANG_WARN_INFINITE_RECURSION = YES; 456 | CLANG_WARN_INT_CONVERSION = YES; 457 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 458 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 459 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 460 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 461 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 462 | CLANG_WARN_STRICT_PROTOTYPES = YES; 463 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 464 | CLANG_WARN_UNREACHABLE_CODE = YES; 465 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 466 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 467 | COPY_PHASE_STRIP = NO; 468 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 469 | ENABLE_NS_ASSERTIONS = NO; 470 | ENABLE_STRICT_OBJC_MSGSEND = YES; 471 | GCC_C_LANGUAGE_STANDARD = gnu99; 472 | GCC_NO_COMMON_BLOCKS = YES; 473 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 474 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 475 | GCC_WARN_UNDECLARED_SELECTOR = YES; 476 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 477 | GCC_WARN_UNUSED_FUNCTION = YES; 478 | GCC_WARN_UNUSED_VARIABLE = YES; 479 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 480 | MTL_ENABLE_DEBUG_INFO = NO; 481 | SDKROOT = iphoneos; 482 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 483 | VALIDATE_PRODUCT = YES; 484 | }; 485 | name = Release; 486 | }; 487 | 607FACF01AFB9204008FA782 /* Debug */ = { 488 | isa = XCBuildConfiguration; 489 | baseConfigurationReference = 461CA1B4A1B7A268CB62E914 /* Pods-AlignmentControl_Example.debug.xcconfig */; 490 | buildSettings = { 491 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 492 | DEVELOPMENT_TEAM = MTVD7A69KL; 493 | INFOPLIST_FILE = AlignmentControl/Info.plist; 494 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 495 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 496 | MODULE_NAME = ExampleApp; 497 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 498 | PRODUCT_NAME = "$(TARGET_NAME)"; 499 | SWIFT_VERSION = 5.0; 500 | }; 501 | name = Debug; 502 | }; 503 | 607FACF11AFB9204008FA782 /* Release */ = { 504 | isa = XCBuildConfiguration; 505 | baseConfigurationReference = 6901EC955A8BA2F524D8486B /* Pods-AlignmentControl_Example.release.xcconfig */; 506 | buildSettings = { 507 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 508 | DEVELOPMENT_TEAM = MTVD7A69KL; 509 | INFOPLIST_FILE = AlignmentControl/Info.plist; 510 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 512 | MODULE_NAME = ExampleApp; 513 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 514 | PRODUCT_NAME = "$(TARGET_NAME)"; 515 | SWIFT_VERSION = 5.0; 516 | }; 517 | name = Release; 518 | }; 519 | 607FACF31AFB9204008FA782 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = 5ED01BE5FDD5D26FDDDA25F7 /* Pods-AlignmentControl_Tests.debug.xcconfig */; 522 | buildSettings = { 523 | DEVELOPMENT_TEAM = MTVD7A69KL; 524 | FRAMEWORK_SEARCH_PATHS = ( 525 | "$(SDKROOT)/Developer/Library/Frameworks", 526 | "$(inherited)", 527 | ); 528 | GCC_PREPROCESSOR_DEFINITIONS = ( 529 | "DEBUG=1", 530 | "$(inherited)", 531 | ); 532 | INFOPLIST_FILE = Tests/Info.plist; 533 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 534 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 535 | PRODUCT_NAME = "$(TARGET_NAME)"; 536 | SWIFT_VERSION = 5.0; 537 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AlignmentControl_Example.app/AlignmentControl_Example"; 538 | }; 539 | name = Debug; 540 | }; 541 | 607FACF41AFB9204008FA782 /* Release */ = { 542 | isa = XCBuildConfiguration; 543 | baseConfigurationReference = 1E4F5322B5EC36C0A4F4696B /* Pods-AlignmentControl_Tests.release.xcconfig */; 544 | buildSettings = { 545 | DEVELOPMENT_TEAM = MTVD7A69KL; 546 | FRAMEWORK_SEARCH_PATHS = ( 547 | "$(SDKROOT)/Developer/Library/Frameworks", 548 | "$(inherited)", 549 | ); 550 | INFOPLIST_FILE = Tests/Info.plist; 551 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | SWIFT_VERSION = 5.0; 555 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AlignmentControl_Example.app/AlignmentControl_Example"; 556 | }; 557 | name = Release; 558 | }; 559 | /* End XCBuildConfiguration section */ 560 | 561 | /* Begin XCConfigurationList section */ 562 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AlignmentControl" */ = { 563 | isa = XCConfigurationList; 564 | buildConfigurations = ( 565 | 607FACED1AFB9204008FA782 /* Debug */, 566 | 607FACEE1AFB9204008FA782 /* Release */, 567 | ); 568 | defaultConfigurationIsVisible = 0; 569 | defaultConfigurationName = Release; 570 | }; 571 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AlignmentControl_Example" */ = { 572 | isa = XCConfigurationList; 573 | buildConfigurations = ( 574 | 607FACF01AFB9204008FA782 /* Debug */, 575 | 607FACF11AFB9204008FA782 /* Release */, 576 | ); 577 | defaultConfigurationIsVisible = 0; 578 | defaultConfigurationName = Release; 579 | }; 580 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AlignmentControl_Tests" */ = { 581 | isa = XCConfigurationList; 582 | buildConfigurations = ( 583 | 607FACF31AFB9204008FA782 /* Debug */, 584 | 607FACF41AFB9204008FA782 /* Release */, 585 | ); 586 | defaultConfigurationIsVisible = 0; 587 | defaultConfigurationName = Release; 588 | }; 589 | /* End XCConfigurationList section */ 590 | }; 591 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 592 | } 593 | -------------------------------------------------------------------------------- /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 | 1351DB9B61C4CD0858FE59FA013D1B43 /* AlignmentControl-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E58ACABE70E0D5D9D711C092F3D83357 /* AlignmentControl-dummy.m */; }; 11 | 28DCD295D7867CDDC8AE633803BA80F8 /* Pods-AlignmentControl_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CDC68062935618F83643B308886F4C75 /* Pods-AlignmentControl_Tests-dummy.m */; }; 12 | 3C428CB40E447799317941F0640A9D51 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 13 | 3F0FD143F16D8E2FBA97B8286E7B50FC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 14 | 577E50342287B5B10011074F /* Animator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577E50332287B5B10011074F /* Animator.swift */; }; 15 | 57E6523E2266461700524487 /* AlingmentItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E6523D2266461700524487 /* AlingmentItemView.swift */; }; 16 | 57E652402266462D00524487 /* AlingmentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E6523F2266462D00524487 /* AlingmentView.swift */; }; 17 | 61A535E3A0811D92677773F772B63205 /* Pods-AlignmentControl_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BED471D705955CA97335A123CE18D0D /* Pods-AlignmentControl_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | 747F36B15710889CE3074A87245E5657 /* AlignmentControl-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 30B1C193D37A7C3F26BF9A5AD0BD5F76 /* AlignmentControl-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | 7A6BE426FCEBA7F0088AABD758466E96 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 20 | CB8F8EAE22C6CBE975CE9E24E0B68567 /* Pods-AlignmentControl_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0BCCAE502F0231E8A943106C88DE27FF /* Pods-AlignmentControl_Example-dummy.m */; }; 21 | D8A1B900181956426AF275C13C4BC358 /* Pods-AlignmentControl_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 04911C8D196C1FA3BBD07BD0EA6FE3D4 /* Pods-AlignmentControl_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | B9684DC380D38DCDC6BB5017077DF309 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 423616224ED35A532DD753372A65D60F; 30 | remoteInfo = AlignmentControl; 31 | }; 32 | D1F3F63199D2F9971729672FDC7F19D1 /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = B7322C8ADA4E03E6E50338D072882CB4; 37 | remoteInfo = "Pods-AlignmentControl_Example"; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 04911C8D196C1FA3BBD07BD0EA6FE3D4 /* Pods-AlignmentControl_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AlignmentControl_Tests-umbrella.h"; sourceTree = ""; }; 43 | 0BCCAE502F0231E8A943106C88DE27FF /* Pods-AlignmentControl_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AlignmentControl_Example-dummy.m"; sourceTree = ""; }; 44 | 0F72908115B9F02BF311310E1E83EC69 /* Pods-AlignmentControl_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AlignmentControl_Tests-Info.plist"; sourceTree = ""; }; 45 | 153CF3DA915AA67342F0CA27F3006484 /* AlignmentControl-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AlignmentControl-Info.plist"; sourceTree = ""; }; 46 | 30B1C193D37A7C3F26BF9A5AD0BD5F76 /* AlignmentControl-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AlignmentControl-umbrella.h"; sourceTree = ""; }; 47 | 36241A954D02914F640CC59953684F3C /* Pods-AlignmentControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AlignmentControl_Tests.release.xcconfig"; sourceTree = ""; }; 48 | 3F56203017D023D59D65BADC9F18530E /* Pods-AlignmentControl_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AlignmentControl_Example-acknowledgements.markdown"; sourceTree = ""; }; 49 | 462B44798392476F61816E05593CE706 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 50 | 5487144011D2D37B590C34AA5EE9EC89 /* Pods-AlignmentControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AlignmentControl_Tests.debug.xcconfig"; sourceTree = ""; }; 51 | 577E50332287B5B10011074F /* Animator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Animator.swift; sourceTree = ""; }; 52 | 57E6523D2266461700524487 /* AlingmentItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlingmentItemView.swift; sourceTree = ""; }; 53 | 57E6523F2266462D00524487 /* AlingmentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlingmentView.swift; sourceTree = ""; }; 54 | 66C15A60629494A511EC629DB5128747 /* Pods-AlignmentControl_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AlignmentControl_Tests.modulemap"; sourceTree = ""; }; 55 | 6881DB2A019442E52A2DD83FDD70CC9C /* AlignmentControl-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AlignmentControl-prefix.pch"; sourceTree = ""; }; 56 | 6DE09246FA19EC168F603B9925F092FD /* Pods-AlignmentControl_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AlignmentControl_Example-frameworks.sh"; sourceTree = ""; }; 57 | 6F5B38D9FDA647A31A8518F9F76B398D /* Pods-AlignmentControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AlignmentControl_Example.debug.xcconfig"; sourceTree = ""; }; 58 | 794D504037330CE3A42B782178FA053C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 59 | 7BED471D705955CA97335A123CE18D0D /* Pods-AlignmentControl_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AlignmentControl_Example-umbrella.h"; sourceTree = ""; }; 60 | 968CDC67B13E51DE14B56FC8C2BC651B /* AlignmentControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AlignmentControl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 62 | 9DE57CE7CF132956146E636D0532D568 /* Pods-AlignmentControl_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AlignmentControl_Example-Info.plist"; sourceTree = ""; }; 63 | 9FE53FA08E1B95F5DA1501E73C6B515C /* AlignmentControl.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = AlignmentControl.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 64 | A6B59BD7FC6BE3466131313B8653BF87 /* Pods-AlignmentControl_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AlignmentControl_Example.modulemap"; sourceTree = ""; }; 65 | B5DF2F35E2446FBD4E7B986088A3FC8A /* AlignmentControl.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AlignmentControl.xcconfig; sourceTree = ""; }; 66 | BAFC3C606E81ADF1B4E1BC3377279DD8 /* Pods-AlignmentControl_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AlignmentControl_Tests-acknowledgements.markdown"; sourceTree = ""; }; 67 | BD42A73B17B1407E9EA2B280D3E73BCC /* Pods-AlignmentControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AlignmentControl_Example.release.xcconfig"; sourceTree = ""; }; 68 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 69 | CB5948E7230FB995E67C768B73DB1EA1 /* AlignmentControl.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AlignmentControl.modulemap; sourceTree = ""; }; 70 | CDC68062935618F83643B308886F4C75 /* Pods-AlignmentControl_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AlignmentControl_Tests-dummy.m"; sourceTree = ""; }; 71 | D9537DF7868BE17008504622927EE935 /* Pods-AlignmentControl_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AlignmentControl_Tests-acknowledgements.plist"; sourceTree = ""; }; 72 | DE21009A6A5A5AEABB598DBDBDBBCBDA /* Pods_AlignmentControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AlignmentControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | E58ACABE70E0D5D9D711C092F3D83357 /* AlignmentControl-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AlignmentControl-dummy.m"; sourceTree = ""; }; 74 | E861DD061C77F9F2DDD409795803B3A2 /* Pods_AlignmentControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AlignmentControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 75 | F92ACD51D9824865A2E99FF4C3D27FE1 /* Pods-AlignmentControl_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AlignmentControl_Example-acknowledgements.plist"; sourceTree = ""; }; 76 | /* End PBXFileReference section */ 77 | 78 | /* Begin PBXFrameworksBuildPhase section */ 79 | 10D20CB27F423DEC8EDD58A487947228 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | 3F0FD143F16D8E2FBA97B8286E7B50FC /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | F61C4B989E911652576CFDFF9CC667B0 /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | 7A6BE426FCEBA7F0088AABD758466E96 /* Foundation.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | FEB3C007BC11A0259A0EBED0FE674352 /* Frameworks */ = { 96 | isa = PBXFrameworksBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | 3C428CB40E447799317941F0640A9D51 /* Foundation.framework in Frameworks */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXFrameworksBuildPhase section */ 104 | 105 | /* Begin PBXGroup section */ 106 | 09D9BB76EDBDD5E41E02C74046976858 /* Pod */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 9FE53FA08E1B95F5DA1501E73C6B515C /* AlignmentControl.podspec */, 110 | 794D504037330CE3A42B782178FA053C /* LICENSE */, 111 | 462B44798392476F61816E05593CE706 /* README.md */, 112 | ); 113 | name = Pod; 114 | sourceTree = ""; 115 | }; 116 | 181DD1C82ABAE2A9BCB953430FC2BAC2 /* Pods-AlignmentControl_Example */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | A6B59BD7FC6BE3466131313B8653BF87 /* Pods-AlignmentControl_Example.modulemap */, 120 | 3F56203017D023D59D65BADC9F18530E /* Pods-AlignmentControl_Example-acknowledgements.markdown */, 121 | F92ACD51D9824865A2E99FF4C3D27FE1 /* Pods-AlignmentControl_Example-acknowledgements.plist */, 122 | 0BCCAE502F0231E8A943106C88DE27FF /* Pods-AlignmentControl_Example-dummy.m */, 123 | 6DE09246FA19EC168F603B9925F092FD /* Pods-AlignmentControl_Example-frameworks.sh */, 124 | 9DE57CE7CF132956146E636D0532D568 /* Pods-AlignmentControl_Example-Info.plist */, 125 | 7BED471D705955CA97335A123CE18D0D /* Pods-AlignmentControl_Example-umbrella.h */, 126 | 6F5B38D9FDA647A31A8518F9F76B398D /* Pods-AlignmentControl_Example.debug.xcconfig */, 127 | BD42A73B17B1407E9EA2B280D3E73BCC /* Pods-AlignmentControl_Example.release.xcconfig */, 128 | ); 129 | name = "Pods-AlignmentControl_Example"; 130 | path = "Target Support Files/Pods-AlignmentControl_Example"; 131 | sourceTree = ""; 132 | }; 133 | 1AF492044EAEAC6D027635CB18C07941 /* AlignmentControl */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 57E6523C2266435C00524487 /* Classes */, 137 | 57E6523B2266435000524487 /* Assets */, 138 | 09D9BB76EDBDD5E41E02C74046976858 /* Pod */, 139 | 3444ABC1935576F4FCEB5563FA2EF474 /* Support Files */, 140 | ); 141 | name = AlignmentControl; 142 | path = ../..; 143 | sourceTree = ""; 144 | }; 145 | 3444ABC1935576F4FCEB5563FA2EF474 /* Support Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | CB5948E7230FB995E67C768B73DB1EA1 /* AlignmentControl.modulemap */, 149 | B5DF2F35E2446FBD4E7B986088A3FC8A /* AlignmentControl.xcconfig */, 150 | E58ACABE70E0D5D9D711C092F3D83357 /* AlignmentControl-dummy.m */, 151 | 153CF3DA915AA67342F0CA27F3006484 /* AlignmentControl-Info.plist */, 152 | 6881DB2A019442E52A2DD83FDD70CC9C /* AlignmentControl-prefix.pch */, 153 | 30B1C193D37A7C3F26BF9A5AD0BD5F76 /* AlignmentControl-umbrella.h */, 154 | ); 155 | name = "Support Files"; 156 | path = "Example/Pods/Target Support Files/AlignmentControl"; 157 | sourceTree = ""; 158 | }; 159 | 47C9D7C1AF81DEBBFCFCE9EDE93BD7F9 /* Pods-AlignmentControl_Tests */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 66C15A60629494A511EC629DB5128747 /* Pods-AlignmentControl_Tests.modulemap */, 163 | BAFC3C606E81ADF1B4E1BC3377279DD8 /* Pods-AlignmentControl_Tests-acknowledgements.markdown */, 164 | D9537DF7868BE17008504622927EE935 /* Pods-AlignmentControl_Tests-acknowledgements.plist */, 165 | CDC68062935618F83643B308886F4C75 /* Pods-AlignmentControl_Tests-dummy.m */, 166 | 0F72908115B9F02BF311310E1E83EC69 /* Pods-AlignmentControl_Tests-Info.plist */, 167 | 04911C8D196C1FA3BBD07BD0EA6FE3D4 /* Pods-AlignmentControl_Tests-umbrella.h */, 168 | 5487144011D2D37B590C34AA5EE9EC89 /* Pods-AlignmentControl_Tests.debug.xcconfig */, 169 | 36241A954D02914F640CC59953684F3C /* Pods-AlignmentControl_Tests.release.xcconfig */, 170 | ); 171 | name = "Pods-AlignmentControl_Tests"; 172 | path = "Target Support Files/Pods-AlignmentControl_Tests"; 173 | sourceTree = ""; 174 | }; 175 | 57E6523B2266435000524487 /* Assets */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | ); 179 | name = Assets; 180 | path = AlignmentControl/Assets; 181 | sourceTree = ""; 182 | }; 183 | 57E6523C2266435C00524487 /* Classes */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | 57E6523F2266462D00524487 /* AlingmentView.swift */, 187 | 57E6523D2266461700524487 /* AlingmentItemView.swift */, 188 | 577E50332287B5B10011074F /* Animator.swift */, 189 | ); 190 | name = Classes; 191 | path = AlignmentControl/Classes; 192 | sourceTree = ""; 193 | }; 194 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 198 | ); 199 | name = iOS; 200 | sourceTree = ""; 201 | }; 202 | 9CB3C424175A44F8B73374A374EFDE3E /* Development Pods */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | 1AF492044EAEAC6D027635CB18C07941 /* AlignmentControl */, 206 | ); 207 | name = "Development Pods"; 208 | sourceTree = ""; 209 | }; 210 | B444973C0F083F30B972411442D3F961 /* Products */ = { 211 | isa = PBXGroup; 212 | children = ( 213 | 968CDC67B13E51DE14B56FC8C2BC651B /* AlignmentControl.framework */, 214 | DE21009A6A5A5AEABB598DBDBDBBCBDA /* Pods_AlignmentControl_Example.framework */, 215 | E861DD061C77F9F2DDD409795803B3A2 /* Pods_AlignmentControl_Tests.framework */, 216 | ); 217 | name = Products; 218 | sourceTree = ""; 219 | }; 220 | C331EDBAA8DB4F6C5D4566F40882D3C1 /* Targets Support Files */ = { 221 | isa = PBXGroup; 222 | children = ( 223 | 181DD1C82ABAE2A9BCB953430FC2BAC2 /* Pods-AlignmentControl_Example */, 224 | 47C9D7C1AF81DEBBFCFCE9EDE93BD7F9 /* Pods-AlignmentControl_Tests */, 225 | ); 226 | name = "Targets Support Files"; 227 | sourceTree = ""; 228 | }; 229 | CF1408CF629C7361332E53B88F7BD30C = { 230 | isa = PBXGroup; 231 | children = ( 232 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 233 | 9CB3C424175A44F8B73374A374EFDE3E /* Development Pods */, 234 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 235 | B444973C0F083F30B972411442D3F961 /* Products */, 236 | C331EDBAA8DB4F6C5D4566F40882D3C1 /* Targets Support Files */, 237 | ); 238 | sourceTree = ""; 239 | }; 240 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 241 | isa = PBXGroup; 242 | children = ( 243 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 244 | ); 245 | name = Frameworks; 246 | sourceTree = ""; 247 | }; 248 | /* End PBXGroup section */ 249 | 250 | /* Begin PBXHeadersBuildPhase section */ 251 | 5CF03D2807AA9CEF7EE53BE8CDFE1A67 /* Headers */ = { 252 | isa = PBXHeadersBuildPhase; 253 | buildActionMask = 2147483647; 254 | files = ( 255 | 747F36B15710889CE3074A87245E5657 /* AlignmentControl-umbrella.h in Headers */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 963C77DE8DE2632B340480CBEE4ACB34 /* Headers */ = { 260 | isa = PBXHeadersBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 61A535E3A0811D92677773F772B63205 /* Pods-AlignmentControl_Example-umbrella.h in Headers */, 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | B6BA8BAA799EB5538FC9D9AB02B40B73 /* Headers */ = { 268 | isa = PBXHeadersBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | D8A1B900181956426AF275C13C4BC358 /* Pods-AlignmentControl_Tests-umbrella.h in Headers */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | /* End PBXHeadersBuildPhase section */ 276 | 277 | /* Begin PBXNativeTarget section */ 278 | 423616224ED35A532DD753372A65D60F /* AlignmentControl */ = { 279 | isa = PBXNativeTarget; 280 | buildConfigurationList = 847974B302AE36E9E069BC44D71CB7BB /* Build configuration list for PBXNativeTarget "AlignmentControl" */; 281 | buildPhases = ( 282 | 5CF03D2807AA9CEF7EE53BE8CDFE1A67 /* Headers */, 283 | 7F4C4945181D1D7EEC3B0A5925E8E53A /* Sources */, 284 | FEB3C007BC11A0259A0EBED0FE674352 /* Frameworks */, 285 | 0EE4442D1E6FEC6D9642753760ABAFC5 /* Resources */, 286 | ); 287 | buildRules = ( 288 | ); 289 | dependencies = ( 290 | ); 291 | name = AlignmentControl; 292 | productName = AlignmentControl; 293 | productReference = 968CDC67B13E51DE14B56FC8C2BC651B /* AlignmentControl.framework */; 294 | productType = "com.apple.product-type.framework"; 295 | }; 296 | B7322C8ADA4E03E6E50338D072882CB4 /* Pods-AlignmentControl_Example */ = { 297 | isa = PBXNativeTarget; 298 | buildConfigurationList = BDB9E13B8CDCDEA670B09B129D7AC3BC /* Build configuration list for PBXNativeTarget "Pods-AlignmentControl_Example" */; 299 | buildPhases = ( 300 | 963C77DE8DE2632B340480CBEE4ACB34 /* Headers */, 301 | 7D1F7809850C203163B4F37AB336E844 /* Sources */, 302 | 10D20CB27F423DEC8EDD58A487947228 /* Frameworks */, 303 | 01AA09AF9D8305E048CC21B75E03AB3E /* Resources */, 304 | ); 305 | buildRules = ( 306 | ); 307 | dependencies = ( 308 | 1F013AAFF776F03E8EC4A61EFD814300 /* PBXTargetDependency */, 309 | ); 310 | name = "Pods-AlignmentControl_Example"; 311 | productName = "Pods-AlignmentControl_Example"; 312 | productReference = DE21009A6A5A5AEABB598DBDBDBBCBDA /* Pods_AlignmentControl_Example.framework */; 313 | productType = "com.apple.product-type.framework"; 314 | }; 315 | F96F5DB9D28CB5D2E817D7117FB28AC5 /* Pods-AlignmentControl_Tests */ = { 316 | isa = PBXNativeTarget; 317 | buildConfigurationList = A5612AA1EFCEFCA0EEC2483AB7FFDFB1 /* Build configuration list for PBXNativeTarget "Pods-AlignmentControl_Tests" */; 318 | buildPhases = ( 319 | B6BA8BAA799EB5538FC9D9AB02B40B73 /* Headers */, 320 | EB72DE8DCF86B74C178B27FF0BDF37CB /* Sources */, 321 | F61C4B989E911652576CFDFF9CC667B0 /* Frameworks */, 322 | 4617307BD190DAAF08DA107E1778E9B2 /* Resources */, 323 | ); 324 | buildRules = ( 325 | ); 326 | dependencies = ( 327 | DA2018FD2C6ED8508CC26198955E9C4B /* PBXTargetDependency */, 328 | ); 329 | name = "Pods-AlignmentControl_Tests"; 330 | productName = "Pods-AlignmentControl_Tests"; 331 | productReference = E861DD061C77F9F2DDD409795803B3A2 /* Pods_AlignmentControl_Tests.framework */; 332 | productType = "com.apple.product-type.framework"; 333 | }; 334 | /* End PBXNativeTarget section */ 335 | 336 | /* Begin PBXProject section */ 337 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 338 | isa = PBXProject; 339 | attributes = { 340 | LastSwiftUpdateCheck = 0930; 341 | LastUpgradeCheck = 1020; 342 | TargetAttributes = { 343 | 423616224ED35A532DD753372A65D60F = { 344 | DevelopmentTeam = MTVD7A69KL; 345 | LastSwiftMigration = 1020; 346 | }; 347 | }; 348 | }; 349 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 350 | compatibilityVersion = "Xcode 3.2"; 351 | developmentRegion = en; 352 | hasScannedForEncodings = 0; 353 | knownRegions = ( 354 | en, 355 | Base, 356 | ); 357 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 358 | productRefGroup = B444973C0F083F30B972411442D3F961 /* Products */; 359 | projectDirPath = ""; 360 | projectRoot = ""; 361 | targets = ( 362 | 423616224ED35A532DD753372A65D60F /* AlignmentControl */, 363 | B7322C8ADA4E03E6E50338D072882CB4 /* Pods-AlignmentControl_Example */, 364 | F96F5DB9D28CB5D2E817D7117FB28AC5 /* Pods-AlignmentControl_Tests */, 365 | ); 366 | }; 367 | /* End PBXProject section */ 368 | 369 | /* Begin PBXResourcesBuildPhase section */ 370 | 01AA09AF9D8305E048CC21B75E03AB3E /* Resources */ = { 371 | isa = PBXResourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | 0EE4442D1E6FEC6D9642753760ABAFC5 /* Resources */ = { 378 | isa = PBXResourcesBuildPhase; 379 | buildActionMask = 2147483647; 380 | files = ( 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | }; 384 | 4617307BD190DAAF08DA107E1778E9B2 /* Resources */ = { 385 | isa = PBXResourcesBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | ); 389 | runOnlyForDeploymentPostprocessing = 0; 390 | }; 391 | /* End PBXResourcesBuildPhase section */ 392 | 393 | /* Begin PBXSourcesBuildPhase section */ 394 | 7D1F7809850C203163B4F37AB336E844 /* Sources */ = { 395 | isa = PBXSourcesBuildPhase; 396 | buildActionMask = 2147483647; 397 | files = ( 398 | CB8F8EAE22C6CBE975CE9E24E0B68567 /* Pods-AlignmentControl_Example-dummy.m in Sources */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | 7F4C4945181D1D7EEC3B0A5925E8E53A /* Sources */ = { 403 | isa = PBXSourcesBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | 577E50342287B5B10011074F /* Animator.swift in Sources */, 407 | 1351DB9B61C4CD0858FE59FA013D1B43 /* AlignmentControl-dummy.m in Sources */, 408 | 57E652402266462D00524487 /* AlingmentView.swift in Sources */, 409 | 57E6523E2266461700524487 /* AlingmentItemView.swift in Sources */, 410 | ); 411 | runOnlyForDeploymentPostprocessing = 0; 412 | }; 413 | EB72DE8DCF86B74C178B27FF0BDF37CB /* Sources */ = { 414 | isa = PBXSourcesBuildPhase; 415 | buildActionMask = 2147483647; 416 | files = ( 417 | 28DCD295D7867CDDC8AE633803BA80F8 /* Pods-AlignmentControl_Tests-dummy.m in Sources */, 418 | ); 419 | runOnlyForDeploymentPostprocessing = 0; 420 | }; 421 | /* End PBXSourcesBuildPhase section */ 422 | 423 | /* Begin PBXTargetDependency section */ 424 | 1F013AAFF776F03E8EC4A61EFD814300 /* PBXTargetDependency */ = { 425 | isa = PBXTargetDependency; 426 | name = AlignmentControl; 427 | target = 423616224ED35A532DD753372A65D60F /* AlignmentControl */; 428 | targetProxy = B9684DC380D38DCDC6BB5017077DF309 /* PBXContainerItemProxy */; 429 | }; 430 | DA2018FD2C6ED8508CC26198955E9C4B /* PBXTargetDependency */ = { 431 | isa = PBXTargetDependency; 432 | name = "Pods-AlignmentControl_Example"; 433 | target = B7322C8ADA4E03E6E50338D072882CB4 /* Pods-AlignmentControl_Example */; 434 | targetProxy = D1F3F63199D2F9971729672FDC7F19D1 /* PBXContainerItemProxy */; 435 | }; 436 | /* End PBXTargetDependency section */ 437 | 438 | /* Begin XCBuildConfiguration section */ 439 | 08F08B7C8BC2E95AB0B1CFBA3DA76ADF /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = B5DF2F35E2446FBD4E7B986088A3FC8A /* AlignmentControl.xcconfig */; 442 | buildSettings = { 443 | CLANG_ENABLE_MODULES = YES; 444 | CODE_SIGN_IDENTITY = "iPhone Developer"; 445 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 446 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 447 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 448 | CURRENT_PROJECT_VERSION = 1; 449 | DEFINES_MODULE = YES; 450 | DEVELOPMENT_TEAM = MTVD7A69KL; 451 | DYLIB_COMPATIBILITY_VERSION = 1; 452 | DYLIB_CURRENT_VERSION = 1; 453 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 454 | GCC_PREFIX_HEADER = "Target Support Files/AlignmentControl/AlignmentControl-prefix.pch"; 455 | INFOPLIST_FILE = "Target Support Files/AlignmentControl/AlignmentControl-Info.plist"; 456 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 457 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 458 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 459 | MODULEMAP_FILE = "Target Support Files/AlignmentControl/AlignmentControl.modulemap"; 460 | PRODUCT_MODULE_NAME = AlignmentControl; 461 | PRODUCT_NAME = AlignmentControl; 462 | SDKROOT = iphoneos; 463 | SKIP_INSTALL = YES; 464 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 465 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 466 | SWIFT_VERSION = 5.0; 467 | TARGETED_DEVICE_FAMILY = "1,2"; 468 | VERSIONING_SYSTEM = "apple-generic"; 469 | VERSION_INFO_PREFIX = ""; 470 | }; 471 | name = Debug; 472 | }; 473 | 13CC288B6372754ED612E902F3D9C23B /* Release */ = { 474 | isa = XCBuildConfiguration; 475 | baseConfigurationReference = 36241A954D02914F640CC59953684F3C /* Pods-AlignmentControl_Tests.release.xcconfig */; 476 | buildSettings = { 477 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 478 | CODE_SIGN_IDENTITY = ""; 479 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 480 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 481 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 482 | CURRENT_PROJECT_VERSION = 1; 483 | DEFINES_MODULE = YES; 484 | DYLIB_COMPATIBILITY_VERSION = 1; 485 | DYLIB_CURRENT_VERSION = 1; 486 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 487 | INFOPLIST_FILE = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests-Info.plist"; 488 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 489 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 490 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 491 | MACH_O_TYPE = staticlib; 492 | MODULEMAP_FILE = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.modulemap"; 493 | OTHER_LDFLAGS = ""; 494 | OTHER_LIBTOOLFLAGS = ""; 495 | PODS_ROOT = "$(SRCROOT)"; 496 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 497 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 498 | SDKROOT = iphoneos; 499 | SKIP_INSTALL = YES; 500 | TARGETED_DEVICE_FAMILY = "1,2"; 501 | VALIDATE_PRODUCT = YES; 502 | VERSIONING_SYSTEM = "apple-generic"; 503 | VERSION_INFO_PREFIX = ""; 504 | }; 505 | name = Release; 506 | }; 507 | 27DFCD07BBB3EB1FD143EFD55BCBFE7D /* Release */ = { 508 | isa = XCBuildConfiguration; 509 | baseConfigurationReference = B5DF2F35E2446FBD4E7B986088A3FC8A /* AlignmentControl.xcconfig */; 510 | buildSettings = { 511 | CLANG_ENABLE_MODULES = YES; 512 | CODE_SIGN_IDENTITY = ""; 513 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 514 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 515 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 516 | CURRENT_PROJECT_VERSION = 1; 517 | DEFINES_MODULE = YES; 518 | DYLIB_COMPATIBILITY_VERSION = 1; 519 | DYLIB_CURRENT_VERSION = 1; 520 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 521 | GCC_PREFIX_HEADER = "Target Support Files/AlignmentControl/AlignmentControl-prefix.pch"; 522 | INFOPLIST_FILE = "Target Support Files/AlignmentControl/AlignmentControl-Info.plist"; 523 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 524 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 525 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 526 | MODULEMAP_FILE = "Target Support Files/AlignmentControl/AlignmentControl.modulemap"; 527 | PRODUCT_MODULE_NAME = AlignmentControl; 528 | PRODUCT_NAME = AlignmentControl; 529 | SDKROOT = iphoneos; 530 | SKIP_INSTALL = YES; 531 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 532 | SWIFT_VERSION = 5.0; 533 | TARGETED_DEVICE_FAMILY = "1,2"; 534 | VALIDATE_PRODUCT = YES; 535 | VERSIONING_SYSTEM = "apple-generic"; 536 | VERSION_INFO_PREFIX = ""; 537 | }; 538 | name = Release; 539 | }; 540 | 9F0948D45A99793BE4A12CBE470985B9 /* Release */ = { 541 | isa = XCBuildConfiguration; 542 | baseConfigurationReference = BD42A73B17B1407E9EA2B280D3E73BCC /* Pods-AlignmentControl_Example.release.xcconfig */; 543 | buildSettings = { 544 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 545 | CODE_SIGN_IDENTITY = ""; 546 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 547 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 548 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 549 | CURRENT_PROJECT_VERSION = 1; 550 | DEFINES_MODULE = YES; 551 | DYLIB_COMPATIBILITY_VERSION = 1; 552 | DYLIB_CURRENT_VERSION = 1; 553 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 554 | INFOPLIST_FILE = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-Info.plist"; 555 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 556 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 557 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 558 | MACH_O_TYPE = staticlib; 559 | MODULEMAP_FILE = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.modulemap"; 560 | OTHER_LDFLAGS = ""; 561 | OTHER_LIBTOOLFLAGS = ""; 562 | PODS_ROOT = "$(SRCROOT)"; 563 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 564 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 565 | SDKROOT = iphoneos; 566 | SKIP_INSTALL = YES; 567 | TARGETED_DEVICE_FAMILY = "1,2"; 568 | VALIDATE_PRODUCT = YES; 569 | VERSIONING_SYSTEM = "apple-generic"; 570 | VERSION_INFO_PREFIX = ""; 571 | }; 572 | name = Release; 573 | }; 574 | A86DFD148208F3368A06319A327D4F81 /* Debug */ = { 575 | isa = XCBuildConfiguration; 576 | baseConfigurationReference = 6F5B38D9FDA647A31A8518F9F76B398D /* Pods-AlignmentControl_Example.debug.xcconfig */; 577 | buildSettings = { 578 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 579 | CODE_SIGN_IDENTITY = ""; 580 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 581 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 582 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 583 | CURRENT_PROJECT_VERSION = 1; 584 | DEFINES_MODULE = YES; 585 | DYLIB_COMPATIBILITY_VERSION = 1; 586 | DYLIB_CURRENT_VERSION = 1; 587 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 588 | INFOPLIST_FILE = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example-Info.plist"; 589 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 590 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 591 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 592 | MACH_O_TYPE = staticlib; 593 | MODULEMAP_FILE = "Target Support Files/Pods-AlignmentControl_Example/Pods-AlignmentControl_Example.modulemap"; 594 | OTHER_LDFLAGS = ""; 595 | OTHER_LIBTOOLFLAGS = ""; 596 | PODS_ROOT = "$(SRCROOT)"; 597 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 598 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 599 | SDKROOT = iphoneos; 600 | SKIP_INSTALL = YES; 601 | TARGETED_DEVICE_FAMILY = "1,2"; 602 | VERSIONING_SYSTEM = "apple-generic"; 603 | VERSION_INFO_PREFIX = ""; 604 | }; 605 | name = Debug; 606 | }; 607 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = { 608 | isa = XCBuildConfiguration; 609 | buildSettings = { 610 | ALWAYS_SEARCH_USER_PATHS = NO; 611 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 612 | CLANG_ANALYZER_NONNULL = YES; 613 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 614 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 615 | CLANG_CXX_LIBRARY = "libc++"; 616 | CLANG_ENABLE_MODULES = YES; 617 | CLANG_ENABLE_OBJC_ARC = YES; 618 | CLANG_ENABLE_OBJC_WEAK = YES; 619 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 620 | CLANG_WARN_BOOL_CONVERSION = YES; 621 | CLANG_WARN_COMMA = YES; 622 | CLANG_WARN_CONSTANT_CONVERSION = YES; 623 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 624 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 625 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 626 | CLANG_WARN_EMPTY_BODY = YES; 627 | CLANG_WARN_ENUM_CONVERSION = YES; 628 | CLANG_WARN_INFINITE_RECURSION = YES; 629 | CLANG_WARN_INT_CONVERSION = YES; 630 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 631 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 632 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 633 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 634 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 635 | CLANG_WARN_STRICT_PROTOTYPES = YES; 636 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 637 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 638 | CLANG_WARN_UNREACHABLE_CODE = YES; 639 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 640 | COPY_PHASE_STRIP = NO; 641 | DEBUG_INFORMATION_FORMAT = dwarf; 642 | ENABLE_STRICT_OBJC_MSGSEND = YES; 643 | ENABLE_TESTABILITY = YES; 644 | GCC_C_LANGUAGE_STANDARD = gnu11; 645 | GCC_DYNAMIC_NO_PIC = NO; 646 | GCC_NO_COMMON_BLOCKS = YES; 647 | GCC_OPTIMIZATION_LEVEL = 0; 648 | GCC_PREPROCESSOR_DEFINITIONS = ( 649 | "POD_CONFIGURATION_DEBUG=1", 650 | "DEBUG=1", 651 | "$(inherited)", 652 | ); 653 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 654 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 655 | GCC_WARN_UNDECLARED_SELECTOR = YES; 656 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 657 | GCC_WARN_UNUSED_FUNCTION = YES; 658 | GCC_WARN_UNUSED_VARIABLE = YES; 659 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 660 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 661 | MTL_FAST_MATH = YES; 662 | ONLY_ACTIVE_ARCH = YES; 663 | PRODUCT_NAME = "$(TARGET_NAME)"; 664 | STRIP_INSTALLED_PRODUCT = NO; 665 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 666 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 667 | SWIFT_VERSION = 4.2; 668 | SYMROOT = "${SRCROOT}/../build"; 669 | }; 670 | name = Debug; 671 | }; 672 | AC8C22FBD3330E6BC252B8DF290B9CD9 /* Debug */ = { 673 | isa = XCBuildConfiguration; 674 | baseConfigurationReference = 5487144011D2D37B590C34AA5EE9EC89 /* Pods-AlignmentControl_Tests.debug.xcconfig */; 675 | buildSettings = { 676 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 677 | CODE_SIGN_IDENTITY = ""; 678 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 679 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 680 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 681 | CURRENT_PROJECT_VERSION = 1; 682 | DEFINES_MODULE = YES; 683 | DYLIB_COMPATIBILITY_VERSION = 1; 684 | DYLIB_CURRENT_VERSION = 1; 685 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 686 | INFOPLIST_FILE = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests-Info.plist"; 687 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 688 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 689 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 690 | MACH_O_TYPE = staticlib; 691 | MODULEMAP_FILE = "Target Support Files/Pods-AlignmentControl_Tests/Pods-AlignmentControl_Tests.modulemap"; 692 | OTHER_LDFLAGS = ""; 693 | OTHER_LIBTOOLFLAGS = ""; 694 | PODS_ROOT = "$(SRCROOT)"; 695 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 696 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 697 | SDKROOT = iphoneos; 698 | SKIP_INSTALL = YES; 699 | TARGETED_DEVICE_FAMILY = "1,2"; 700 | VERSIONING_SYSTEM = "apple-generic"; 701 | VERSION_INFO_PREFIX = ""; 702 | }; 703 | name = Debug; 704 | }; 705 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = { 706 | isa = XCBuildConfiguration; 707 | buildSettings = { 708 | ALWAYS_SEARCH_USER_PATHS = NO; 709 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 710 | CLANG_ANALYZER_NONNULL = YES; 711 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 712 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 713 | CLANG_CXX_LIBRARY = "libc++"; 714 | CLANG_ENABLE_MODULES = YES; 715 | CLANG_ENABLE_OBJC_ARC = YES; 716 | CLANG_ENABLE_OBJC_WEAK = YES; 717 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 718 | CLANG_WARN_BOOL_CONVERSION = YES; 719 | CLANG_WARN_COMMA = YES; 720 | CLANG_WARN_CONSTANT_CONVERSION = YES; 721 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 722 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 723 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 724 | CLANG_WARN_EMPTY_BODY = YES; 725 | CLANG_WARN_ENUM_CONVERSION = YES; 726 | CLANG_WARN_INFINITE_RECURSION = YES; 727 | CLANG_WARN_INT_CONVERSION = YES; 728 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 729 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 730 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 731 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 732 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 733 | CLANG_WARN_STRICT_PROTOTYPES = YES; 734 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 735 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 736 | CLANG_WARN_UNREACHABLE_CODE = YES; 737 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 738 | COPY_PHASE_STRIP = NO; 739 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 740 | ENABLE_NS_ASSERTIONS = NO; 741 | ENABLE_STRICT_OBJC_MSGSEND = YES; 742 | GCC_C_LANGUAGE_STANDARD = gnu11; 743 | GCC_NO_COMMON_BLOCKS = YES; 744 | GCC_PREPROCESSOR_DEFINITIONS = ( 745 | "POD_CONFIGURATION_RELEASE=1", 746 | "$(inherited)", 747 | ); 748 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 749 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 750 | GCC_WARN_UNDECLARED_SELECTOR = YES; 751 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 752 | GCC_WARN_UNUSED_FUNCTION = YES; 753 | GCC_WARN_UNUSED_VARIABLE = YES; 754 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 755 | MTL_ENABLE_DEBUG_INFO = NO; 756 | MTL_FAST_MATH = YES; 757 | PRODUCT_NAME = "$(TARGET_NAME)"; 758 | STRIP_INSTALLED_PRODUCT = NO; 759 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 760 | SWIFT_VERSION = 4.2; 761 | SYMROOT = "${SRCROOT}/../build"; 762 | }; 763 | name = Release; 764 | }; 765 | /* End XCBuildConfiguration section */ 766 | 767 | /* Begin XCConfigurationList section */ 768 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 769 | isa = XCConfigurationList; 770 | buildConfigurations = ( 771 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */, 772 | F232B5ECA11A71BFA199A229B323F454 /* Release */, 773 | ); 774 | defaultConfigurationIsVisible = 0; 775 | defaultConfigurationName = Release; 776 | }; 777 | 847974B302AE36E9E069BC44D71CB7BB /* Build configuration list for PBXNativeTarget "AlignmentControl" */ = { 778 | isa = XCConfigurationList; 779 | buildConfigurations = ( 780 | 08F08B7C8BC2E95AB0B1CFBA3DA76ADF /* Debug */, 781 | 27DFCD07BBB3EB1FD143EFD55BCBFE7D /* Release */, 782 | ); 783 | defaultConfigurationIsVisible = 0; 784 | defaultConfigurationName = Release; 785 | }; 786 | A5612AA1EFCEFCA0EEC2483AB7FFDFB1 /* Build configuration list for PBXNativeTarget "Pods-AlignmentControl_Tests" */ = { 787 | isa = XCConfigurationList; 788 | buildConfigurations = ( 789 | AC8C22FBD3330E6BC252B8DF290B9CD9 /* Debug */, 790 | 13CC288B6372754ED612E902F3D9C23B /* Release */, 791 | ); 792 | defaultConfigurationIsVisible = 0; 793 | defaultConfigurationName = Release; 794 | }; 795 | BDB9E13B8CDCDEA670B09B129D7AC3BC /* Build configuration list for PBXNativeTarget "Pods-AlignmentControl_Example" */ = { 796 | isa = XCConfigurationList; 797 | buildConfigurations = ( 798 | A86DFD148208F3368A06319A327D4F81 /* Debug */, 799 | 9F0948D45A99793BE4A12CBE470985B9 /* Release */, 800 | ); 801 | defaultConfigurationIsVisible = 0; 802 | defaultConfigurationName = Release; 803 | }; 804 | /* End XCConfigurationList section */ 805 | }; 806 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 807 | } 808 | --------------------------------------------------------------------------------