├── AASignatureView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AASignatureView+Helper.swift │ └── AASignatureView.swift ├── _Pods.xcodeproj ├── Screenshots ├── Step1.png ├── Step2.png ├── Step3.png └── demo.gif ├── Example ├── AASignatureView │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── AA.imageset │ │ │ ├── 17049477.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ ├── Icon-Small-50x50@2x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── ShowSignature.swift │ ├── Info.plist │ ├── ViewController.swift │ ├── AppDelegate.swift │ └── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard ├── Podfile ├── Pods │ ├── Target Support Files │ │ ├── AASignatureView │ │ │ ├── AASignatureView.modulemap │ │ │ ├── AASignatureView-dummy.m │ │ │ ├── AASignatureView-prefix.pch │ │ │ ├── AASignatureView-umbrella.h │ │ │ ├── AASignatureView.xcconfig │ │ │ ├── AASignatureView.debug.xcconfig │ │ │ ├── AASignatureView.release.xcconfig │ │ │ ├── Info.plist │ │ │ └── AASignatureView-Info.plist │ │ └── Pods-AASignatureView_Example │ │ │ ├── Pods-AASignatureView_Example.modulemap │ │ │ ├── Pods-AASignatureView_Example-dummy.m │ │ │ ├── Pods-AASignatureView_Example-umbrella.h │ │ │ ├── Info.plist │ │ │ ├── Pods-AASignatureView_Example-Info.plist │ │ │ ├── Pods-AASignatureView_Example.debug.xcconfig │ │ │ ├── Pods-AASignatureView_Example.release.xcconfig │ │ │ ├── Pods-AASignatureView_Example-acknowledgements.markdown │ │ │ ├── Pods-AASignatureView_Example-acknowledgements.plist │ │ │ ├── Pods-AASignatureView_Example-resources.sh │ │ │ └── Pods-AASignatureView_Example-frameworks.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── AASignatureView.podspec.json │ └── Pods.xcodeproj │ │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── AASignatureView.xcscheme │ │ └── project.pbxproj ├── AASignatureView.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── AASignatureView-Example.xcscheme │ └── project.pbxproj ├── AASignatureView.xcworkspace │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata └── Podfile.lock ├── .travis.yml ├── .gitignore ├── AASignatureView.podspec ├── LICENSE └── README.md /AASignatureView/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AASignatureView/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Screenshots/Step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Screenshots/Step1.png -------------------------------------------------------------------------------- /Screenshots/Step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Screenshots/Step2.png -------------------------------------------------------------------------------- /Screenshots/Step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Screenshots/Step3.png -------------------------------------------------------------------------------- /Screenshots/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Screenshots/demo.gif -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AASignatureView_Example' do 4 | pod 'AASignatureView', :path => '../' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AA.imageset/17049477.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AA.imageset/17049477.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView.modulemap: -------------------------------------------------------------------------------- 1 | framework module AASignatureView { 2 | umbrella header "AASignatureView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AASignatureView : NSObject 3 | @end 4 | @implementation PodsDummy_AASignatureView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AASignatureView/HEAD/Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Example/AASignatureView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AASignatureView_Example { 2 | umbrella header "Pods-AASignatureView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AASignatureView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AASignatureView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView-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/AASignatureView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/AASignatureView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AASignatureView (1.0) 3 | 4 | DEPENDENCIES: 5 | - AASignatureView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AASignatureView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AASignatureView: 4b432a386df0c6870b79be78f5aaab51cf368497 13 | 14 | PODFILE CHECKSUM: 76da1ae706a64c046b859e783031826e74cb2e04 15 | 16 | COCOAPODS: 1.10.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AASignatureView (1.0) 3 | 4 | DEPENDENCIES: 5 | - AASignatureView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AASignatureView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AASignatureView: 4b432a386df0c6870b79be78f5aaab51cf368497 13 | 14 | PODFILE CHECKSUM: 76da1ae706a64c046b859e783031826e74cb2e04 15 | 16 | COCOAPODS: 1.10.0 17 | -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AA.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "17049477.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView-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 AASignatureViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AASignatureViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_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_AASignatureView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AASignatureView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/AASignatureView.xcworkspace -scheme AASignatureView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AASignatureView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /.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 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /Example/AASignatureView/ShowSignature.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ShowSignature.swift 3 | // AASignatureView 4 | // 5 | // Created by Engr. Ahsan Ali on 18/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ShowSignature: UIViewController { 12 | 13 | @IBOutlet weak var imageView: UIImageView! 14 | var savedSignaure: UIImage? 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | if let image = savedSignaure { 20 | imageView.image = image 21 | } 22 | 23 | // Do any additional setup after loading the view. 24 | } 25 | 26 | override func didReceiveMemoryWarning() { 27 | super.didReceiveMemoryWarning() 28 | // Dispose of any resources that can be recreated. 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AASignatureView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AASignatureView", 3 | "version": "1.0", 4 | "summary": "AASignatureView is a UIView to capture digital signature by drawing it on screen easily in iOS, written in Swift.", 5 | "description": "AASignatureView is a customised storyboard based UIView class that allows to capture digital signature easily without writing code.", 6 | "homepage": "https://github.com/EngrAhsanAli/AASignatureView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Engr. Ahsan Ali": "hafiz.m.ahsan.ali@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/EngrAhsanAli/AASignatureView.git", 16 | "tag": "1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "AASignatureView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /AASignatureView.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'AASignatureView' 3 | s.version = '1.0' 4 | s.summary = 'AASignatureView is a UIView to capture digital signature by drawing it on screen easily in iOS, written in Swift.' 5 | 6 | s.description = <<-DESC 7 | AASignatureView is a customised storyboard based UIView class that allows to capture digital signature easily without writing code. 8 | DESC 9 | 10 | s.homepage = 'https://github.com/EngrAhsanAli/AASignatureView' 11 | s.license = { :type => 'MIT', :file => 'LICENSE' } 12 | s.author = { 'Engr. Ahsan Ali' => 'hafiz.m.ahsan.ali@gmail.com' } 13 | s.source = { :git => 'https://github.com/EngrAhsanAli/AASignatureView.git', :tag => s.version.to_s } 14 | s.ios.deployment_target = '9.0' 15 | 16 | s.source_files = 'AASignatureView/Classes/**/*' 17 | s.swift_version = '5.0' 18 | end 19 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AASignatureView/AASignatureView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView/AASignatureView.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "AASignatureView" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AASignatureView/AASignatureView.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "AASignatureView" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Engr. Ahsan Ali 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/AASignatureView/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 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 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AASignatureView 5 | 6 | Copyright (c) 2017 Engr. Ahsan Ali 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 | -------------------------------------------------------------------------------- /Example/AASignatureView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AASignatureView 4 | // 5 | // Created by Engr. Ahsan Ali on 01/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AASignatureView 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var signatureView: AASignatureView! 15 | 16 | var savedSignaure: UIImage? 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | // Do any additional setup after loading the view, typically from a nib. 21 | 22 | } 23 | 24 | override func didReceiveMemoryWarning() { 25 | super.didReceiveMemoryWarning() 26 | // Dispose of any resources that can be recreated. 27 | } 28 | 29 | @IBAction func clearSignature(_ sender: UIButton) { 30 | self.signatureView.clear() 31 | } 32 | 33 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) { 34 | 35 | if segue.identifier == "show" { 36 | let destVC = segue.destination as! ShowSignature 37 | destVC.savedSignaure = savedSignaure 38 | } 39 | 40 | } 41 | 42 | 43 | @IBAction func saveSignature(_ sender: UIButton) { 44 | 45 | if let image = signatureView.signature { 46 | savedSignaure = image 47 | self.performSegue(withIdentifier: "show", sender: self) 48 | } 49 | } 50 | 51 | } 52 | 53 | 54 | -------------------------------------------------------------------------------- /Example/AASignatureView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AASignatureView 4 | // 5 | // Created by Engr. Ahsan Ali on 01/01/2017. 6 | // Copyright (c) 2017 AA-Creations. 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-AASignatureView_Example/Pods-AASignatureView_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) 2017 Engr. Ahsan Ali <hafiz.m.ahsan.ali@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 | AASignatureView 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/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AASignatureView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /AASignatureView/Classes/AASignatureView+Helper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AASignatureView+Helper.swift 3 | // AASignatureView 4 | // 5 | // Created by Engr. Ahsan Ali on 19/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | 12 | // MARK: - UIImage extenison 13 | 14 | extension UIImage { 15 | 16 | /// Responsible for converting UIView to UImage 17 | /// 18 | /// - Parameter view: view to convert 19 | convenience init(view: UIView) { 20 | UIGraphicsBeginImageContext(view.bounds.size) 21 | view.layer.render(in: UIGraphicsGetCurrentContext()!) 22 | let image = UIGraphicsGetImageFromCurrentImageContext() 23 | UIGraphicsEndImageContext() 24 | self.init(cgImage: (image?.cgImage)!) 25 | } 26 | } 27 | 28 | // MARK: - UIColor extenison 29 | 30 | extension UIColor { 31 | 32 | /// hex value for color 33 | /// 34 | /// - Parameter rgb: hex value 35 | convenience init(rgb: UInt) { 36 | self.init( 37 | red: CGFloat((rgb & 0xFF0000) >> 16) / 255.0, 38 | green: CGFloat((rgb & 0x00FF00) >> 8) / 255.0, 39 | blue: CGFloat(rgb & 0x0000FF) / 255.0, 40 | alpha: CGFloat(1.0) 41 | ) 42 | } 43 | } 44 | 45 | // MARK: - AASignatureView extenison 46 | 47 | extension AASignatureView { 48 | /// Insert Touch Point in array 49 | /// 50 | /// - Parameters: 51 | /// - touch: touch location of first index 52 | /// - index: control points index counter 53 | func insertTouch(touch: CGPoint, at index: Int) { 54 | ctr = index 55 | touches.insert(touch, at: ctr) 56 | } 57 | } 58 | 59 | // MARK: - UIBezierPath extenison 60 | 61 | extension UIBezierPath { 62 | 63 | 64 | /// Responsible to move and add curve after calculating mid point between two specified indexes. 65 | /// 66 | /// - Parameters: 67 | /// - a: point 1 68 | /// - b: point 2 69 | /// - c: point 3 70 | /// - d: point 4 71 | /// - Returns: Calculated mid point 72 | func moveWithCurve(a: CGPoint, b: CGPoint, c: CGPoint, d: CGPoint) -> CGPoint { 73 | 74 | var midPoint = a 75 | move(to: midPoint) 76 | midPoint = getMidPoint(a: c, b: d) 77 | addCurve(to: midPoint, controlPoint1: b, controlPoint2: c) 78 | return midPoint 79 | } 80 | 81 | 82 | /// Add point in current path at specified point 83 | /// 84 | /// - Parameters: 85 | /// - origin: Point to insert dot 86 | /// - size: size of dot for equal width and height 87 | func addDot(origin: CGPoint, size: CGFloat) { 88 | let rect = CGRect(origin: origin, size: CGSize(width: size, height: size)) 89 | let dotPath = UIBezierPath(ovalIn: rect) 90 | append(dotPath) 91 | 92 | } 93 | 94 | /// Calculation of midpoint between two points 95 | /// 96 | /// - Parameters: 97 | /// - a: point 1 98 | /// - b: point 2 99 | /// - Returns: resultant midpoint 100 | fileprivate func getMidPoint(a: CGPoint, b: CGPoint) -> CGPoint { 101 | return CGPoint(x: (a.x + b.x)/2.0, y: (a.y + b.y)/2.0) 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /Example/AASignatureView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "57x57", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-57x57@1x.png", 49 | "scale" : "1x" 50 | }, 51 | { 52 | "size" : "57x57", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-57x57@2x.png", 55 | "scale" : "2x" 56 | }, 57 | { 58 | "size" : "60x60", 59 | "idiom" : "iphone", 60 | "filename" : "Icon-App-60x60@2x.png", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "size" : "60x60", 65 | "idiom" : "iphone", 66 | "filename" : "Icon-App-60x60@3x.png", 67 | "scale" : "3x" 68 | }, 69 | { 70 | "size" : "20x20", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-20x20@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "20x20", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-20x20@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "29x29", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-29x29@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "29x29", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-29x29@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "40x40", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-40x40@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "40x40", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-40x40@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "50x50", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-Small-50x50@1x.png", 109 | "scale" : "1x" 110 | }, 111 | { 112 | "size" : "50x50", 113 | "idiom" : "ipad", 114 | "filename" : "Icon-Small-50x50@2x.png", 115 | "scale" : "2x" 116 | }, 117 | { 118 | "size" : "72x72", 119 | "idiom" : "ipad", 120 | "filename" : "Icon-App-72x72@1x.png", 121 | "scale" : "1x" 122 | }, 123 | { 124 | "size" : "72x72", 125 | "idiom" : "ipad", 126 | "filename" : "Icon-App-72x72@2x.png", 127 | "scale" : "2x" 128 | }, 129 | { 130 | "size" : "76x76", 131 | "idiom" : "ipad", 132 | "filename" : "Icon-App-76x76@1x.png", 133 | "scale" : "1x" 134 | }, 135 | { 136 | "size" : "76x76", 137 | "idiom" : "ipad", 138 | "filename" : "Icon-App-76x76@2x.png", 139 | "scale" : "2x" 140 | }, 141 | { 142 | "size" : "83.5x83.5", 143 | "idiom" : "ipad", 144 | "filename" : "Icon-App-83.5x83.5@2x.png", 145 | "scale" : "2x" 146 | } 147 | ], 148 | "info" : { 149 | "version" : 1, 150 | "author" : "xcode" 151 | } 152 | } 153 | -------------------------------------------------------------------------------- /AASignatureView/Classes/AASignatureView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AASignatureView.swift 3 | // AASignatureView 4 | // 5 | // Created by Engr. Ahsan Ali on 12/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | 12 | /// IBDesignable class for AASignatureView 13 | /// Extended from UIView 14 | /// Main class for drawing signature 15 | 16 | @IBDesignable open class AASignatureView: UIView { 17 | 18 | /// IBInspectable - Drawing line width IBInspectable 19 | @IBInspectable open var lineWidth: CGFloat = 3.0 { 20 | didSet { 21 | path.lineWidth = lineWidth 22 | setNeedsDisplay() 23 | } 24 | } 25 | 26 | /// IBInspectable - Drawing line color IBInspectable 27 | @IBInspectable open var lineColor: UIColor = .black { 28 | didSet { 29 | setNeedsDisplay() 30 | } 31 | } 32 | 33 | /// Counter for number of control points 34 | var ctr: Int = 0 35 | 36 | /// Saves touche points for drawing 37 | var touches = [CGPoint](repeating: CGPoint(), count:5) 38 | 39 | /// Drawing path 40 | var path = UIBezierPath() { 41 | didSet { 42 | path.lineJoinStyle = .round 43 | setNeedsDisplay() 44 | } 45 | } 46 | 47 | /// Check for empty view 48 | open var isEmpty: Bool { 49 | get { 50 | guard !self.path.isEmpty else { 51 | return true 52 | } 53 | return false 54 | } 55 | } 56 | 57 | /// AASignatureView - Interface View 58 | open override func prepareForInterfaceBuilder() { 59 | let label = UILabel(frame: self.bounds) 60 | label.text = "AASignatureView" 61 | label.textColor = UIColor.white.withAlphaComponent(0.7) 62 | label.textAlignment = .center 63 | label.font = UIFont(name: "Gill Sans", size: bounds.width/10) 64 | label.sizeThatFits(intrinsicContentSize) 65 | self.addSubview(label) 66 | self.backgroundColor = UIColor(rgb: 0x2891B1) 67 | 68 | } 69 | 70 | /// Default draw function, will call on touch 71 | /// 72 | /// - Parameter rect: drawing view frame 73 | override open func draw(_ rect: CGRect) { 74 | super.draw(rect) 75 | lineColor.setStroke() 76 | path.stroke() 77 | setNeedsDisplay() 78 | } 79 | 80 | /// default init 81 | /// 82 | /// - Parameter frame: view frame 83 | override public init(frame: CGRect) { 84 | super.init(frame: frame) 85 | 86 | } 87 | 88 | required public init?(coder aDecoder: NSCoder) { 89 | super.init(coder: aDecoder) 90 | 91 | } 92 | 93 | /// touchesBegan 94 | /// 95 | /// - Parameters: 96 | /// - touch: Initial Touch 97 | /// - event: touch event 98 | override open func touchesBegan(_ touch: Set, with event: UIEvent?) 99 | { 100 | let point = touch.first!.location(in: self) 101 | insertTouch(touch: point, at: 0) 102 | super.touchesBegan(touch, with: event) 103 | 104 | } 105 | 106 | /// touchesMoved 107 | /// 108 | /// - Parameters: 109 | /// - touch: Moving touches 110 | /// - event: touch event 111 | override open func touchesMoved(_ touch: Set, with event: UIEvent?) 112 | { 113 | let point = touch.first!.location(in: self) // It must come in any case 114 | 115 | guard ctr == 4 else { 116 | insertTouch(touch: point, at: ctr+1) 117 | return 118 | } 119 | 120 | touches[1] = path.moveWithCurve(a: touches[1], b: touches[2], c: touches[3], d: point) 121 | 122 | insertTouch(touch: point, at: 2) 123 | 124 | setNeedsDisplay() 125 | 126 | super.touchesMoved(touch, with: event) 127 | } 128 | 129 | /// touchesEnded 130 | /// 131 | /// - Parameters: 132 | /// - touch: Last Touch 133 | /// - event: touch event 134 | override open func touchesEnded(_ touch: Set, with event: UIEvent?) 135 | { 136 | guard ctr == 0 else { 137 | ctr = 0 138 | return 139 | } 140 | 141 | path.addDot(origin: touches.first!, size: lineWidth) 142 | setNeedsDisplay() 143 | super.touchesEnded(touch, with: event) 144 | 145 | } 146 | 147 | /// Clear the view 148 | open func clear() { 149 | path.removeAllPoints() 150 | setNeedsDisplay() 151 | } 152 | 153 | /// Get captured view 154 | open var signature: UIImage? { 155 | guard !isEmpty else { 156 | return nil 157 | } 158 | return UIImage(view: self) 159 | } 160 | 161 | } 162 | -------------------------------------------------------------------------------- /Example/AASignatureView.xcodeproj/xcshareddata/xcschemes/AASignatureView-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 | -------------------------------------------------------------------------------- /Example/AASignatureView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 27 | 28 | 29 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Table of Contents 2 | 3 | - [AASignatureView](#section-id-4) 4 | - [Description](#section-id-10) 5 | - [Demonstration](#section-id-16) 6 | - [Requirements](#section-id-26) 7 | - [Installation](#section-id-32) 8 | - [CocoaPods](#section-id-37) 9 | - [Carthage](#section-id-63) 10 | - [Manual Installation](#section-id-82) 11 | - [Getting Started](#section-id-87) 12 | - [Create object of signature view](#section-id-90) 13 | - [Set view object as signature view](#section-id-104) 14 | - [Customise the signature view](#section-id-112) 15 | - [Capture signature view as UIImage](#section-id-132) 16 | - [Clear signature view](#section-id-150) 17 | - [Contributions & License](#section-id-156) 18 | 19 | 20 |
21 | 22 | #AASignatureView 23 | 24 | [![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat)](https://developer.apple.com/swift/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![CocoaPods](https://img.shields.io/cocoapods/v/AASignatureView.svg)](http://cocoadocs.org/docsets/AASignatureView) [![License MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://github.com/Carthage/Carthage) [![Build Status](https://travis-ci.org/EngrAhsanAli/AASignatureView.svg?branch=master)](https://travis-ci.org/EngrAhsanAli/AASignatureView) 25 | ![License MIT](https://img.shields.io/github/license/mashape/apistatus.svg) [![CocoaPods](https://img.shields.io/cocoapods/p/AASignatureView.svg)]() 26 | 27 | 28 |
29 | 30 | ##Description 31 | 32 | 33 | AASignatureView is a simple UIView to capture digital signature by drawing it on screen easily in iOS, written in Swift. It is a customised storyboard based UIView class that allows to capture digital signature easily without writing code. 34 | 35 | 36 |
37 | 38 | ##Demonstration 39 | 40 | 41 | 42 | ![](https://github.com/EngrAhsanAli/AASignatureView/blob/master/Screenshots/demo.gif) 43 | 44 | 45 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 46 | 47 | 48 |
49 | 50 | ##Requirements 51 | 52 | - iOS 8.0+ 53 | - Xcode 8.0+ 54 | - Swift 3+ 55 | 56 |
57 | 58 | # Installation 59 | 60 | `AASignatureView` can be installed using CocoaPods, Carthage, or manually. 61 | 62 | 63 |
64 | 65 | ##CocoaPods 66 | 67 | `AASignatureView` is available through [CocoaPods](http://cocoapods.org). To install CocoaPods, run: 68 | 69 | `$ gem install cocoapods` 70 | 71 | Then create a Podfile with the following contents: 72 | 73 | ``` 74 | source 'https://github.com/CocoaPods/Specs.git' 75 | platform :ios, '8.0' 76 | use_frameworks! 77 | 78 | target '' do 79 | pod 'AASignatureView' 80 | end 81 | 82 | ``` 83 | 84 | Finally, run the following command to install it: 85 | ``` 86 | $ pod install 87 | ``` 88 | 89 | 90 | 91 |
92 | 93 | ##Carthage 94 | 95 | To install Carthage, run (using Homebrew): 96 | ``` 97 | $ brew update 98 | $ brew install carthage 99 | ``` 100 | Then add the following line to your Cartfile: 101 | 102 | ``` 103 | github "EngrAhsanAli/AASignatureView" "master" 104 | ``` 105 | 106 | Then import the library in all files where you use it: 107 | ```swift 108 | import AASignatureView 109 | ``` 110 | 111 | 112 |
113 | 114 | ##Manual Installation 115 | 116 | If you prefer not to use either of the above mentioned dependency managers, you can integrate `AASignatureView` into your project manually by adding the files contained in the Classes folder to your project. 117 | 118 | 119 |
120 | 121 | #Getting Started 122 | ---------- 123 | 124 |
125 | 126 | ##Create object of signature view 127 | 128 | Drag `UIView` object from the *Object Library* into your `UIViewController` in storyboard. 129 | 130 | ![](https://github.com/EngrAhsanAli/AASignatureView/blob/master/Screenshots/Step1.png) 131 | 132 |
133 | 134 | ##Set view object as signature view 135 | 136 | Set the view's class to `AASignatureView` in the *Identity Inspector*. 137 | Make sure the module property is also set to `AASignatureView`. 138 | 139 | ![](https://github.com/EngrAhsanAli/AASignatureView/blob/master/Screenshots/Step2.png) 140 | 141 |
142 | 143 | ##Customise the signature view 144 | 145 | You can customise the rating bar appearance in the *Attributes Inspector.* 146 | 147 | > Note: If storyboard does not show the stars click *Refresh All Views* from the *Editor menu*. 148 | 149 | ![](https://github.com/EngrAhsanAli/AASignatureView/blob/master/Screenshots/Step3.png) 150 | 151 |
152 | 153 | ##Capture signature view as UIImage 154 | 155 | You can capture the signature view as UIImage . 156 | 157 | ```swift 158 | if let image = signatureView.signature { 159 | // captured image of signature view 160 | } 161 | ``` 162 | 163 | > You can check if signature view is empty or not using simple property `signatureView.isEmpty`. 164 | 165 |
166 | 167 | ##Clear signature view 168 | 169 | You can clear the signature view by calling `clear()` function. 170 | 171 | ```swift 172 | signatureView.clear() 173 | ``` 174 | 175 |
176 | 177 | #Contributions & License 178 | 179 | `AASignatureView` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info. 180 | 181 | Pull requests are welcome! The best contributions will consist of substitutions or configurations for classes/methods known to block the main thread during a typical app lifecycle. 182 | 183 | I would love to know if you are using `AASignatureView` in your app, send an email to [Engr. Ahsan Ali](mailto:hafiz.m.ahsan.ali@gmail.com) 184 | 185 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 116 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 117 | fi 118 | fi 119 | } 120 | 121 | # Used as a return value for each invocation of `strip_invalid_archs` function. 122 | STRIP_BINARY_RETVAL=0 123 | 124 | # Strip invalid architectures 125 | strip_invalid_archs() { 126 | binary="$1" 127 | warn_missing_arch=${2:-true} 128 | # Get architectures for current target binary 129 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 130 | # Intersect them with the architectures we are building for 131 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 132 | # If there are no archs supported by this binary then warn the user 133 | if [[ -z "$intersected_archs" ]]; then 134 | if [[ "$warn_missing_arch" == "true" ]]; then 135 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 136 | fi 137 | STRIP_BINARY_RETVAL=1 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=0 152 | } 153 | 154 | # Copies the bcsymbolmap files of a vendored framework 155 | install_bcsymbolmap() { 156 | local bcsymbolmap_path="$1" 157 | local destination="${BUILT_PRODUCTS_DIR}" 158 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 159 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 160 | } 161 | 162 | # Signs a framework with the provided identity 163 | code_sign_if_enabled() { 164 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 165 | # Use the current code_sign_identity 166 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 167 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 168 | 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | code_sign_cmd="$code_sign_cmd &" 171 | fi 172 | echo "$code_sign_cmd" 173 | eval "$code_sign_cmd" 174 | fi 175 | } 176 | 177 | if [[ "$CONFIGURATION" == "Debug" ]]; then 178 | install_framework "${BUILT_PRODUCTS_DIR}/AASignatureView/AASignatureView.framework" 179 | fi 180 | if [[ "$CONFIGURATION" == "Release" ]]; then 181 | install_framework "${BUILT_PRODUCTS_DIR}/AASignatureView/AASignatureView.framework" 182 | fi 183 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 184 | wait 185 | fi 186 | -------------------------------------------------------------------------------- /Example/AASignatureView/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 | 56 | 57 | 58 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /Example/AASignatureView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 42B6FEAE1E2FE4160008E562 /* ShowSignature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42B6FEAD1E2FE4160008E562 /* ShowSignature.swift */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | B7099E1105BF26CEC380CBAB /* Pods_AASignatureView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23FCA02C567AD354067DFDF1 /* Pods_AASignatureView_Example.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 13349BC6705BAB12A63D1377 /* Pods-AASignatureView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AASignatureView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AASignatureView_Tests/Pods-AASignatureView_Tests.debug.xcconfig"; sourceTree = ""; }; 21 | 1F4E7A23556C642E4FEFB803 /* Pods_AASignatureView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AASignatureView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 23FCA02C567AD354067DFDF1 /* Pods_AASignatureView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AASignatureView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 28B5766881CF498690318EA7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 24 | 32C5A56D1970DD58B403E9A1 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 25 | 3F4D863E6A71DC75627CA3EA /* Pods-AASignatureView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AASignatureView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.debug.xcconfig"; sourceTree = ""; }; 26 | 42B6FEAD1E2FE4160008E562 /* ShowSignature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShowSignature.swift; sourceTree = ""; }; 27 | 607FACD01AFB9204008FA782 /* AASignatureView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AASignatureView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 29 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 30 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 31 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 32 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 33 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 34 | 7260AFFCDE746F9C59CE6269 /* Pods-AASignatureView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AASignatureView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AASignatureView_Tests/Pods-AASignatureView_Tests.release.xcconfig"; sourceTree = ""; }; 35 | A46174768FDEE9A770E3B81E /* Pods-AASignatureView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AASignatureView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.release.xcconfig"; sourceTree = ""; }; 36 | BAC8748B6E4A3A3F6C5EC6FB /* AASignatureView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AASignatureView.podspec; path = ../AASignatureView.podspec; sourceTree = ""; }; 37 | /* End PBXFileReference section */ 38 | 39 | /* Begin PBXFrameworksBuildPhase section */ 40 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 41 | isa = PBXFrameworksBuildPhase; 42 | buildActionMask = 2147483647; 43 | files = ( 44 | B7099E1105BF26CEC380CBAB /* Pods_AASignatureView_Example.framework in Frameworks */, 45 | ); 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXFrameworksBuildPhase section */ 49 | 50 | /* Begin PBXGroup section */ 51 | 607FACC71AFB9204008FA782 = { 52 | isa = PBXGroup; 53 | children = ( 54 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 55 | 607FACD21AFB9204008FA782 /* Example for AASignatureView */, 56 | 607FACD11AFB9204008FA782 /* Products */, 57 | 9C44949D03C6DE57DBD10AAC /* Pods */, 58 | 8252489C527E1B9156464229 /* Frameworks */, 59 | ); 60 | sourceTree = ""; 61 | }; 62 | 607FACD11AFB9204008FA782 /* Products */ = { 63 | isa = PBXGroup; 64 | children = ( 65 | 607FACD01AFB9204008FA782 /* AASignatureView_Example.app */, 66 | ); 67 | name = Products; 68 | sourceTree = ""; 69 | }; 70 | 607FACD21AFB9204008FA782 /* Example for AASignatureView */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 74 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 75 | 42B6FEAD1E2FE4160008E562 /* ShowSignature.swift */, 76 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 77 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 78 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 79 | 607FACD31AFB9204008FA782 /* Supporting Files */, 80 | ); 81 | name = "Example for AASignatureView"; 82 | path = AASignatureView; 83 | sourceTree = ""; 84 | }; 85 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 607FACD41AFB9204008FA782 /* Info.plist */, 89 | ); 90 | name = "Supporting Files"; 91 | sourceTree = ""; 92 | }; 93 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | BAC8748B6E4A3A3F6C5EC6FB /* AASignatureView.podspec */, 97 | 28B5766881CF498690318EA7 /* README.md */, 98 | 32C5A56D1970DD58B403E9A1 /* LICENSE */, 99 | ); 100 | name = "Podspec Metadata"; 101 | sourceTree = ""; 102 | }; 103 | 8252489C527E1B9156464229 /* Frameworks */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 23FCA02C567AD354067DFDF1 /* Pods_AASignatureView_Example.framework */, 107 | 1F4E7A23556C642E4FEFB803 /* Pods_AASignatureView_Tests.framework */, 108 | ); 109 | name = Frameworks; 110 | sourceTree = ""; 111 | }; 112 | 9C44949D03C6DE57DBD10AAC /* Pods */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 3F4D863E6A71DC75627CA3EA /* Pods-AASignatureView_Example.debug.xcconfig */, 116 | A46174768FDEE9A770E3B81E /* Pods-AASignatureView_Example.release.xcconfig */, 117 | 13349BC6705BAB12A63D1377 /* Pods-AASignatureView_Tests.debug.xcconfig */, 118 | 7260AFFCDE746F9C59CE6269 /* Pods-AASignatureView_Tests.release.xcconfig */, 119 | ); 120 | name = Pods; 121 | sourceTree = ""; 122 | }; 123 | /* End PBXGroup section */ 124 | 125 | /* Begin PBXNativeTarget section */ 126 | 607FACCF1AFB9204008FA782 /* AASignatureView_Example */ = { 127 | isa = PBXNativeTarget; 128 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AASignatureView_Example" */; 129 | buildPhases = ( 130 | 15E7F2EBB0BEED73EB5B647A /* [CP] Check Pods Manifest.lock */, 131 | 607FACCC1AFB9204008FA782 /* Sources */, 132 | 607FACCD1AFB9204008FA782 /* Frameworks */, 133 | 607FACCE1AFB9204008FA782 /* Resources */, 134 | 90E43A74CF2830A333129313 /* [CP] Embed Pods Frameworks */, 135 | ); 136 | buildRules = ( 137 | ); 138 | dependencies = ( 139 | ); 140 | name = AASignatureView_Example; 141 | productName = AASignatureView; 142 | productReference = 607FACD01AFB9204008FA782 /* AASignatureView_Example.app */; 143 | productType = "com.apple.product-type.application"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 607FACC81AFB9204008FA782 /* Project object */ = { 149 | isa = PBXProject; 150 | attributes = { 151 | LastSwiftUpdateCheck = 0720; 152 | LastUpgradeCheck = 0820; 153 | ORGANIZATIONNAME = CocoaPods; 154 | TargetAttributes = { 155 | 607FACCF1AFB9204008FA782 = { 156 | CreatedOnToolsVersion = 6.3.1; 157 | DevelopmentTeam = 5J29YQGG4K; 158 | LastSwiftMigration = 0820; 159 | }; 160 | }; 161 | }; 162 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AASignatureView" */; 163 | compatibilityVersion = "Xcode 3.2"; 164 | developmentRegion = English; 165 | hasScannedForEncodings = 0; 166 | knownRegions = ( 167 | English, 168 | en, 169 | Base, 170 | ); 171 | mainGroup = 607FACC71AFB9204008FA782; 172 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 173 | projectDirPath = ""; 174 | projectRoot = ""; 175 | targets = ( 176 | 607FACCF1AFB9204008FA782 /* AASignatureView_Example */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | 607FACCE1AFB9204008FA782 /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 187 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 188 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 189 | ); 190 | runOnlyForDeploymentPostprocessing = 0; 191 | }; 192 | /* End PBXResourcesBuildPhase section */ 193 | 194 | /* Begin PBXShellScriptBuildPhase section */ 195 | 15E7F2EBB0BEED73EB5B647A /* [CP] Check Pods Manifest.lock */ = { 196 | isa = PBXShellScriptBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | ); 200 | inputPaths = ( 201 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 202 | "${PODS_ROOT}/Manifest.lock", 203 | ); 204 | name = "[CP] Check Pods Manifest.lock"; 205 | outputPaths = ( 206 | "$(DERIVED_FILE_DIR)/Pods-AASignatureView_Example-checkManifestLockResult.txt", 207 | ); 208 | runOnlyForDeploymentPostprocessing = 0; 209 | shellPath = /bin/sh; 210 | 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"; 211 | showEnvVarsInLog = 0; 212 | }; 213 | 90E43A74CF2830A333129313 /* [CP] Embed Pods Frameworks */ = { 214 | isa = PBXShellScriptBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | ); 218 | inputPaths = ( 219 | "${PODS_ROOT}/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-frameworks.sh", 220 | "${BUILT_PRODUCTS_DIR}/AASignatureView/AASignatureView.framework", 221 | ); 222 | name = "[CP] Embed Pods Frameworks"; 223 | outputPaths = ( 224 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AASignatureView.framework", 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | shellPath = /bin/sh; 228 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-frameworks.sh\"\n"; 229 | showEnvVarsInLog = 0; 230 | }; 231 | /* End PBXShellScriptBuildPhase section */ 232 | 233 | /* Begin PBXSourcesBuildPhase section */ 234 | 607FACCC1AFB9204008FA782 /* Sources */ = { 235 | isa = PBXSourcesBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 239 | 42B6FEAE1E2FE4160008E562 /* ShowSignature.swift in Sources */, 240 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | /* End PBXSourcesBuildPhase section */ 245 | 246 | /* Begin PBXVariantGroup section */ 247 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 248 | isa = PBXVariantGroup; 249 | children = ( 250 | 607FACDA1AFB9204008FA782 /* Base */, 251 | ); 252 | name = Main.storyboard; 253 | sourceTree = ""; 254 | }; 255 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 256 | isa = PBXVariantGroup; 257 | children = ( 258 | 607FACDF1AFB9204008FA782 /* Base */, 259 | ); 260 | name = LaunchScreen.xib; 261 | sourceTree = ""; 262 | }; 263 | /* End PBXVariantGroup section */ 264 | 265 | /* Begin XCBuildConfiguration section */ 266 | 607FACED1AFB9204008FA782 /* Debug */ = { 267 | isa = XCBuildConfiguration; 268 | buildSettings = { 269 | ALWAYS_SEARCH_USER_PATHS = NO; 270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 271 | CLANG_CXX_LIBRARY = "libc++"; 272 | CLANG_ENABLE_MODULES = YES; 273 | CLANG_ENABLE_OBJC_ARC = YES; 274 | CLANG_WARN_BOOL_CONVERSION = YES; 275 | CLANG_WARN_CONSTANT_CONVERSION = YES; 276 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 277 | CLANG_WARN_EMPTY_BODY = YES; 278 | CLANG_WARN_ENUM_CONVERSION = YES; 279 | CLANG_WARN_INFINITE_RECURSION = YES; 280 | CLANG_WARN_INT_CONVERSION = YES; 281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 282 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 283 | CLANG_WARN_UNREACHABLE_CODE = YES; 284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 286 | COPY_PHASE_STRIP = NO; 287 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 288 | ENABLE_STRICT_OBJC_MSGSEND = YES; 289 | ENABLE_TESTABILITY = YES; 290 | GCC_C_LANGUAGE_STANDARD = gnu99; 291 | GCC_DYNAMIC_NO_PIC = NO; 292 | GCC_NO_COMMON_BLOCKS = YES; 293 | GCC_OPTIMIZATION_LEVEL = 0; 294 | GCC_PREPROCESSOR_DEFINITIONS = ( 295 | "DEBUG=1", 296 | "$(inherited)", 297 | ); 298 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 299 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 300 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 301 | GCC_WARN_UNDECLARED_SELECTOR = YES; 302 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 303 | GCC_WARN_UNUSED_FUNCTION = YES; 304 | GCC_WARN_UNUSED_VARIABLE = YES; 305 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 306 | MTL_ENABLE_DEBUG_INFO = YES; 307 | ONLY_ACTIVE_ARCH = YES; 308 | SDKROOT = iphoneos; 309 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 310 | }; 311 | name = Debug; 312 | }; 313 | 607FACEE1AFB9204008FA782 /* Release */ = { 314 | isa = XCBuildConfiguration; 315 | buildSettings = { 316 | ALWAYS_SEARCH_USER_PATHS = NO; 317 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 318 | CLANG_CXX_LIBRARY = "libc++"; 319 | CLANG_ENABLE_MODULES = YES; 320 | CLANG_ENABLE_OBJC_ARC = YES; 321 | CLANG_WARN_BOOL_CONVERSION = YES; 322 | CLANG_WARN_CONSTANT_CONVERSION = YES; 323 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 324 | CLANG_WARN_EMPTY_BODY = YES; 325 | CLANG_WARN_ENUM_CONVERSION = YES; 326 | CLANG_WARN_INFINITE_RECURSION = YES; 327 | CLANG_WARN_INT_CONVERSION = YES; 328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 329 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 330 | CLANG_WARN_UNREACHABLE_CODE = YES; 331 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 332 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 333 | COPY_PHASE_STRIP = NO; 334 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 335 | ENABLE_NS_ASSERTIONS = NO; 336 | ENABLE_STRICT_OBJC_MSGSEND = YES; 337 | GCC_C_LANGUAGE_STANDARD = gnu99; 338 | GCC_NO_COMMON_BLOCKS = YES; 339 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 340 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 341 | GCC_WARN_UNDECLARED_SELECTOR = YES; 342 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 343 | GCC_WARN_UNUSED_FUNCTION = YES; 344 | GCC_WARN_UNUSED_VARIABLE = YES; 345 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 346 | MTL_ENABLE_DEBUG_INFO = NO; 347 | SDKROOT = iphoneos; 348 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 349 | VALIDATE_PRODUCT = YES; 350 | }; 351 | name = Release; 352 | }; 353 | 607FACF01AFB9204008FA782 /* Debug */ = { 354 | isa = XCBuildConfiguration; 355 | baseConfigurationReference = 3F4D863E6A71DC75627CA3EA /* Pods-AASignatureView_Example.debug.xcconfig */; 356 | buildSettings = { 357 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 358 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 359 | DEVELOPMENT_TEAM = 5J29YQGG4K; 360 | INFOPLIST_FILE = AASignatureView/Info.plist; 361 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 362 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 363 | MODULE_NAME = ExampleApp; 364 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 365 | PRODUCT_NAME = "$(TARGET_NAME)"; 366 | SWIFT_VERSION = 5.0; 367 | TARGETED_DEVICE_FAMILY = "1,2"; 368 | }; 369 | name = Debug; 370 | }; 371 | 607FACF11AFB9204008FA782 /* Release */ = { 372 | isa = XCBuildConfiguration; 373 | baseConfigurationReference = A46174768FDEE9A770E3B81E /* Pods-AASignatureView_Example.release.xcconfig */; 374 | buildSettings = { 375 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 376 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 377 | DEVELOPMENT_TEAM = 5J29YQGG4K; 378 | INFOPLIST_FILE = AASignatureView/Info.plist; 379 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 381 | MODULE_NAME = ExampleApp; 382 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 383 | PRODUCT_NAME = "$(TARGET_NAME)"; 384 | SWIFT_VERSION = 5.0; 385 | TARGETED_DEVICE_FAMILY = "1,2"; 386 | }; 387 | name = Release; 388 | }; 389 | /* End XCBuildConfiguration section */ 390 | 391 | /* Begin XCConfigurationList section */ 392 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AASignatureView" */ = { 393 | isa = XCConfigurationList; 394 | buildConfigurations = ( 395 | 607FACED1AFB9204008FA782 /* Debug */, 396 | 607FACEE1AFB9204008FA782 /* Release */, 397 | ); 398 | defaultConfigurationIsVisible = 0; 399 | defaultConfigurationName = Release; 400 | }; 401 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AASignatureView_Example" */ = { 402 | isa = XCConfigurationList; 403 | buildConfigurations = ( 404 | 607FACF01AFB9204008FA782 /* Debug */, 405 | 607FACF11AFB9204008FA782 /* Release */, 406 | ); 407 | defaultConfigurationIsVisible = 0; 408 | defaultConfigurationName = Release; 409 | }; 410 | /* End XCConfigurationList section */ 411 | }; 412 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 413 | } 414 | -------------------------------------------------------------------------------- /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 | 0D6D98003F258895D886070AB3817DE7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 11 | 26DECC21DBFD6510DAA5436FE9841787 /* AASignatureView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 623594054B7754EB1F5B002062F9E4DC /* AASignatureView-dummy.m */; }; 12 | 288ACB1C804D4DFF5A590999531CF02E /* AASignatureView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E30EC946A569E6F76FDB13365BE30B0 /* AASignatureView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 4604E167E57FD185D482C7769F251706 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 14 | 61C2A94B930EAC58A4C237272CE0094A /* Pods-AASignatureView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EEAB9D728FFAC8C74874215C5105277 /* Pods-AASignatureView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | B5F5B092ACFE2E7590C8391E3C1DAE3F /* AASignatureView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8F15BA43F664C0127B4D9FCA6EEAD99 /* AASignatureView.swift */; }; 16 | C4DE6F5DE1E18F0CCA700E40C7D2387C /* AASignatureView+Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9C6275C0FC221487F3DBE75B5E5FED4 /* AASignatureView+Helper.swift */; }; 17 | DF7AD7B433BE95738A85D13E6EB84B88 /* Pods-AASignatureView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 015B30743CE29D83F04A505BA2F1A4FB /* Pods-AASignatureView_Example-dummy.m */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 40E338741027DE14CE26F6561723F270 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 07DEE59693EF7918D04C64B0F474D1F4; 26 | remoteInfo = AASignatureView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 015B30743CE29D83F04A505BA2F1A4FB /* Pods-AASignatureView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AASignatureView_Example-dummy.m"; sourceTree = ""; }; 32 | 08D401632E34AB763199DE4110AFE70B /* AASignatureView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AASignatureView.modulemap; sourceTree = ""; }; 33 | 349D5197A9E4DFC61FF1A1F2CEFEE107 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 34 | 3E3598AA4C271BF0A54A4C3363D25D2C /* Pods-AASignatureView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AASignatureView_Example-acknowledgements.markdown"; sourceTree = ""; }; 35 | 4E30EC946A569E6F76FDB13365BE30B0 /* AASignatureView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AASignatureView-umbrella.h"; sourceTree = ""; }; 36 | 55451FDFFE27E3DB10F42B778C85292E /* Pods-AASignatureView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AASignatureView_Example.modulemap"; sourceTree = ""; }; 37 | 623594054B7754EB1F5B002062F9E4DC /* AASignatureView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AASignatureView-dummy.m"; sourceTree = ""; }; 38 | 6C7533F71BBA129979273D4BB1481714 /* Pods-AASignatureView_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AASignatureView_Example-Info.plist"; sourceTree = ""; }; 39 | 6EEAB9D728FFAC8C74874215C5105277 /* Pods-AASignatureView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AASignatureView_Example-umbrella.h"; sourceTree = ""; }; 40 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 41 | 75A20DC7E48DC9EEB30C3BF289D33E7C /* AASignatureView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = AASignatureView.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 42 | 771D751880D1FB5D1DE0F1F41B698A10 /* Pods-AASignatureView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AASignatureView_Example-acknowledgements.plist"; sourceTree = ""; }; 43 | 79DB903DFC68E5124AC0D080AF99BAA1 /* AASignatureView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AASignatureView.debug.xcconfig; sourceTree = ""; }; 44 | 9857A8D8A52FD8780FFCEC166EB07750 /* AASignatureView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "AASignatureView-Info.plist"; sourceTree = ""; }; 45 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 46 | A292E6BCD17479A27D01032F12BB6E11 /* AASignatureView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AASignatureView.framework; path = AASignatureView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | ACCC91C18668C7578BD9565E2E548C49 /* AASignatureView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AASignatureView.release.xcconfig; sourceTree = ""; }; 48 | AF64087AA09961BEE81C87D444BC723B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 49 | B2604447B776267A3FD8E91FF3DE10BC /* Pods-AASignatureView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AASignatureView_Example.release.xcconfig"; sourceTree = ""; }; 50 | B8F15BA43F664C0127B4D9FCA6EEAD99 /* AASignatureView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AASignatureView.swift; path = AASignatureView/Classes/AASignatureView.swift; sourceTree = ""; }; 51 | BAF942211E634E55E5D3FC8BEA85B4D3 /* Pods_AASignatureView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AASignatureView_Example.framework; path = "Pods-AASignatureView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | D7AD3038558924D574C4017828902C88 /* AASignatureView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AASignatureView-prefix.pch"; sourceTree = ""; }; 53 | E7458DD78A96AC4C8400462FD3E4163B /* Pods-AASignatureView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AASignatureView_Example.debug.xcconfig"; sourceTree = ""; }; 54 | F28DEF74AB417B2A650CF1FBA36B71BF /* Pods-AASignatureView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AASignatureView_Example-frameworks.sh"; sourceTree = ""; }; 55 | F9C6275C0FC221487F3DBE75B5E5FED4 /* AASignatureView+Helper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "AASignatureView+Helper.swift"; path = "AASignatureView/Classes/AASignatureView+Helper.swift"; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 5B862F73E24AE54D777D60884031CE20 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 0D6D98003F258895D886070AB3817DE7 /* Foundation.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | FE8A170D79B6F3886DB2261D305419C4 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | 4604E167E57FD185D482C7769F251706 /* Foundation.framework in Frameworks */, 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | /* End PBXFrameworksBuildPhase section */ 76 | 77 | /* Begin PBXGroup section */ 78 | 073A8B623713D22A526797621D13F45B /* Development Pods */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 22245A7022C76071A9A047A1E6B1BEF4 /* AASignatureView */, 82 | ); 83 | name = "Development Pods"; 84 | sourceTree = ""; 85 | }; 86 | 22245A7022C76071A9A047A1E6B1BEF4 /* AASignatureView */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | B8F15BA43F664C0127B4D9FCA6EEAD99 /* AASignatureView.swift */, 90 | F9C6275C0FC221487F3DBE75B5E5FED4 /* AASignatureView+Helper.swift */, 91 | 245DC1D8D04970FCD05B619115E19B79 /* Pod */, 92 | 41E2A817F59A636FC48AEFD6E2FF6FCD /* Support Files */, 93 | ); 94 | name = AASignatureView; 95 | path = ../..; 96 | sourceTree = ""; 97 | }; 98 | 245DC1D8D04970FCD05B619115E19B79 /* Pod */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 75A20DC7E48DC9EEB30C3BF289D33E7C /* AASignatureView.podspec */, 102 | AF64087AA09961BEE81C87D444BC723B /* LICENSE */, 103 | 349D5197A9E4DFC61FF1A1F2CEFEE107 /* README.md */, 104 | ); 105 | name = Pod; 106 | sourceTree = ""; 107 | }; 108 | 41E2A817F59A636FC48AEFD6E2FF6FCD /* Support Files */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 08D401632E34AB763199DE4110AFE70B /* AASignatureView.modulemap */, 112 | 623594054B7754EB1F5B002062F9E4DC /* AASignatureView-dummy.m */, 113 | 9857A8D8A52FD8780FFCEC166EB07750 /* AASignatureView-Info.plist */, 114 | D7AD3038558924D574C4017828902C88 /* AASignatureView-prefix.pch */, 115 | 4E30EC946A569E6F76FDB13365BE30B0 /* AASignatureView-umbrella.h */, 116 | 79DB903DFC68E5124AC0D080AF99BAA1 /* AASignatureView.debug.xcconfig */, 117 | ACCC91C18668C7578BD9565E2E548C49 /* AASignatureView.release.xcconfig */, 118 | ); 119 | name = "Support Files"; 120 | path = "Example/Pods/Target Support Files/AASignatureView"; 121 | sourceTree = ""; 122 | }; 123 | 48D01060AE826B5C163B0C68B042932D /* Pods-AASignatureView_Example */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 55451FDFFE27E3DB10F42B778C85292E /* Pods-AASignatureView_Example.modulemap */, 127 | 3E3598AA4C271BF0A54A4C3363D25D2C /* Pods-AASignatureView_Example-acknowledgements.markdown */, 128 | 771D751880D1FB5D1DE0F1F41B698A10 /* Pods-AASignatureView_Example-acknowledgements.plist */, 129 | 015B30743CE29D83F04A505BA2F1A4FB /* Pods-AASignatureView_Example-dummy.m */, 130 | F28DEF74AB417B2A650CF1FBA36B71BF /* Pods-AASignatureView_Example-frameworks.sh */, 131 | 6C7533F71BBA129979273D4BB1481714 /* Pods-AASignatureView_Example-Info.plist */, 132 | 6EEAB9D728FFAC8C74874215C5105277 /* Pods-AASignatureView_Example-umbrella.h */, 133 | E7458DD78A96AC4C8400462FD3E4163B /* Pods-AASignatureView_Example.debug.xcconfig */, 134 | B2604447B776267A3FD8E91FF3DE10BC /* Pods-AASignatureView_Example.release.xcconfig */, 135 | ); 136 | name = "Pods-AASignatureView_Example"; 137 | path = "Target Support Files/Pods-AASignatureView_Example"; 138 | sourceTree = ""; 139 | }; 140 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 144 | ); 145 | name = iOS; 146 | sourceTree = ""; 147 | }; 148 | 9BDFBB3687E63E5B2541D0E72AB7A61B /* Products */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | A292E6BCD17479A27D01032F12BB6E11 /* AASignatureView.framework */, 152 | BAF942211E634E55E5D3FC8BEA85B4D3 /* Pods_AASignatureView_Example.framework */, 153 | ); 154 | name = Products; 155 | sourceTree = ""; 156 | }; 157 | A8BB94EC4B413F51C2B01611FC30991C /* Targets Support Files */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | 48D01060AE826B5C163B0C68B042932D /* Pods-AASignatureView_Example */, 161 | ); 162 | name = "Targets Support Files"; 163 | sourceTree = ""; 164 | }; 165 | CF1408CF629C7361332E53B88F7BD30C = { 166 | isa = PBXGroup; 167 | children = ( 168 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 169 | 073A8B623713D22A526797621D13F45B /* Development Pods */, 170 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 171 | 9BDFBB3687E63E5B2541D0E72AB7A61B /* Products */, 172 | A8BB94EC4B413F51C2B01611FC30991C /* Targets Support Files */, 173 | ); 174 | sourceTree = ""; 175 | }; 176 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 180 | ); 181 | name = Frameworks; 182 | sourceTree = ""; 183 | }; 184 | /* End PBXGroup section */ 185 | 186 | /* Begin PBXHeadersBuildPhase section */ 187 | 619055A7369B8750D83E6CB51F1A35C4 /* Headers */ = { 188 | isa = PBXHeadersBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | 61C2A94B930EAC58A4C237272CE0094A /* Pods-AASignatureView_Example-umbrella.h in Headers */, 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | }; 195 | C3211A0B0EC70039C9DA3BB4CEF81093 /* Headers */ = { 196 | isa = PBXHeadersBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | 288ACB1C804D4DFF5A590999531CF02E /* AASignatureView-umbrella.h in Headers */, 200 | ); 201 | runOnlyForDeploymentPostprocessing = 0; 202 | }; 203 | /* End PBXHeadersBuildPhase section */ 204 | 205 | /* Begin PBXNativeTarget section */ 206 | 05D04FED15DA796E7EBEE358E707B339 /* Pods-AASignatureView_Example */ = { 207 | isa = PBXNativeTarget; 208 | buildConfigurationList = 4B5D32941B5632C7F275D17F71E1BDC8 /* Build configuration list for PBXNativeTarget "Pods-AASignatureView_Example" */; 209 | buildPhases = ( 210 | 619055A7369B8750D83E6CB51F1A35C4 /* Headers */, 211 | 7421229525DD647B85778CCBFE936163 /* Sources */, 212 | 5B862F73E24AE54D777D60884031CE20 /* Frameworks */, 213 | D63D0267204C356D2E7930A0ED37CF24 /* Resources */, 214 | ); 215 | buildRules = ( 216 | ); 217 | dependencies = ( 218 | E8FE80D373967768AB7C49B26894DB5E /* PBXTargetDependency */, 219 | ); 220 | name = "Pods-AASignatureView_Example"; 221 | productName = "Pods-AASignatureView_Example"; 222 | productReference = BAF942211E634E55E5D3FC8BEA85B4D3 /* Pods_AASignatureView_Example.framework */; 223 | productType = "com.apple.product-type.framework"; 224 | }; 225 | 07DEE59693EF7918D04C64B0F474D1F4 /* AASignatureView */ = { 226 | isa = PBXNativeTarget; 227 | buildConfigurationList = 68D0854CDD0972511335309FD6CCAE39 /* Build configuration list for PBXNativeTarget "AASignatureView" */; 228 | buildPhases = ( 229 | C3211A0B0EC70039C9DA3BB4CEF81093 /* Headers */, 230 | 3E5CDDBA82A5DA9242188ACC4CC0F468 /* Sources */, 231 | FE8A170D79B6F3886DB2261D305419C4 /* Frameworks */, 232 | 4D819F8FFA691512CFBB2A54ECA0AB5F /* Resources */, 233 | ); 234 | buildRules = ( 235 | ); 236 | dependencies = ( 237 | ); 238 | name = AASignatureView; 239 | productName = AASignatureView; 240 | productReference = A292E6BCD17479A27D01032F12BB6E11 /* AASignatureView.framework */; 241 | productType = "com.apple.product-type.framework"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | LastSwiftUpdateCheck = 1100; 250 | LastUpgradeCheck = 1100; 251 | }; 252 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 253 | compatibilityVersion = "Xcode 3.2"; 254 | developmentRegion = en; 255 | hasScannedForEncodings = 0; 256 | knownRegions = ( 257 | en, 258 | Base, 259 | ); 260 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 261 | productRefGroup = 9BDFBB3687E63E5B2541D0E72AB7A61B /* Products */; 262 | projectDirPath = ""; 263 | projectRoot = ""; 264 | targets = ( 265 | 07DEE59693EF7918D04C64B0F474D1F4 /* AASignatureView */, 266 | 05D04FED15DA796E7EBEE358E707B339 /* Pods-AASignatureView_Example */, 267 | ); 268 | }; 269 | /* End PBXProject section */ 270 | 271 | /* Begin PBXResourcesBuildPhase section */ 272 | 4D819F8FFA691512CFBB2A54ECA0AB5F /* Resources */ = { 273 | isa = PBXResourcesBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | D63D0267204C356D2E7930A0ED37CF24 /* Resources */ = { 280 | isa = PBXResourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | /* End PBXResourcesBuildPhase section */ 287 | 288 | /* Begin PBXSourcesBuildPhase section */ 289 | 3E5CDDBA82A5DA9242188ACC4CC0F468 /* Sources */ = { 290 | isa = PBXSourcesBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | C4DE6F5DE1E18F0CCA700E40C7D2387C /* AASignatureView+Helper.swift in Sources */, 294 | 26DECC21DBFD6510DAA5436FE9841787 /* AASignatureView-dummy.m in Sources */, 295 | B5F5B092ACFE2E7590C8391E3C1DAE3F /* AASignatureView.swift in Sources */, 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | }; 299 | 7421229525DD647B85778CCBFE936163 /* Sources */ = { 300 | isa = PBXSourcesBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | DF7AD7B433BE95738A85D13E6EB84B88 /* Pods-AASignatureView_Example-dummy.m in Sources */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | /* End PBXSourcesBuildPhase section */ 308 | 309 | /* Begin PBXTargetDependency section */ 310 | E8FE80D373967768AB7C49B26894DB5E /* PBXTargetDependency */ = { 311 | isa = PBXTargetDependency; 312 | name = AASignatureView; 313 | target = 07DEE59693EF7918D04C64B0F474D1F4 /* AASignatureView */; 314 | targetProxy = 40E338741027DE14CE26F6561723F270 /* PBXContainerItemProxy */; 315 | }; 316 | /* End PBXTargetDependency section */ 317 | 318 | /* Begin XCBuildConfiguration section */ 319 | 6D42DC62C4F2E194221DF89C48496C98 /* Release */ = { 320 | isa = XCBuildConfiguration; 321 | buildSettings = { 322 | ALWAYS_SEARCH_USER_PATHS = NO; 323 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 324 | CLANG_ANALYZER_NONNULL = YES; 325 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_ENABLE_OBJC_WEAK = YES; 331 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 332 | CLANG_WARN_BOOL_CONVERSION = YES; 333 | CLANG_WARN_COMMA = YES; 334 | CLANG_WARN_CONSTANT_CONVERSION = YES; 335 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 336 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 337 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 338 | CLANG_WARN_EMPTY_BODY = YES; 339 | CLANG_WARN_ENUM_CONVERSION = YES; 340 | CLANG_WARN_INFINITE_RECURSION = YES; 341 | CLANG_WARN_INT_CONVERSION = YES; 342 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 343 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 344 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 345 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 346 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 347 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 348 | CLANG_WARN_STRICT_PROTOTYPES = YES; 349 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 350 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 351 | CLANG_WARN_UNREACHABLE_CODE = YES; 352 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 353 | COPY_PHASE_STRIP = NO; 354 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 355 | ENABLE_NS_ASSERTIONS = NO; 356 | ENABLE_STRICT_OBJC_MSGSEND = YES; 357 | GCC_C_LANGUAGE_STANDARD = gnu11; 358 | GCC_NO_COMMON_BLOCKS = YES; 359 | GCC_PREPROCESSOR_DEFINITIONS = ( 360 | "POD_CONFIGURATION_RELEASE=1", 361 | "$(inherited)", 362 | ); 363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 365 | GCC_WARN_UNDECLARED_SELECTOR = YES; 366 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 367 | GCC_WARN_UNUSED_FUNCTION = YES; 368 | GCC_WARN_UNUSED_VARIABLE = YES; 369 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 370 | MTL_ENABLE_DEBUG_INFO = NO; 371 | MTL_FAST_MATH = YES; 372 | PRODUCT_NAME = "$(TARGET_NAME)"; 373 | STRIP_INSTALLED_PRODUCT = NO; 374 | SWIFT_COMPILATION_MODE = wholemodule; 375 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 376 | SWIFT_VERSION = 5.0; 377 | SYMROOT = "${SRCROOT}/../build"; 378 | }; 379 | name = Release; 380 | }; 381 | 80A573EDED332D3B84500815D7584243 /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | baseConfigurationReference = ACCC91C18668C7578BD9565E2E548C49 /* AASignatureView.release.xcconfig */; 384 | buildSettings = { 385 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 386 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 387 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 388 | CURRENT_PROJECT_VERSION = 1; 389 | DEFINES_MODULE = YES; 390 | DYLIB_COMPATIBILITY_VERSION = 1; 391 | DYLIB_CURRENT_VERSION = 1; 392 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 393 | GCC_PREFIX_HEADER = "Target Support Files/AASignatureView/AASignatureView-prefix.pch"; 394 | INFOPLIST_FILE = "Target Support Files/AASignatureView/AASignatureView-Info.plist"; 395 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 396 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 398 | MODULEMAP_FILE = "Target Support Files/AASignatureView/AASignatureView.modulemap"; 399 | PRODUCT_MODULE_NAME = AASignatureView; 400 | PRODUCT_NAME = AASignatureView; 401 | SDKROOT = iphoneos; 402 | SKIP_INSTALL = YES; 403 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 404 | SWIFT_VERSION = 5.0; 405 | TARGETED_DEVICE_FAMILY = "1,2"; 406 | VALIDATE_PRODUCT = YES; 407 | VERSIONING_SYSTEM = "apple-generic"; 408 | VERSION_INFO_PREFIX = ""; 409 | }; 410 | name = Release; 411 | }; 412 | 81005662A5026FD9D8E5DC80107855FC /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = 79DB903DFC68E5124AC0D080AF99BAA1 /* AASignatureView.debug.xcconfig */; 415 | buildSettings = { 416 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 418 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 419 | CURRENT_PROJECT_VERSION = 1; 420 | DEFINES_MODULE = YES; 421 | DYLIB_COMPATIBILITY_VERSION = 1; 422 | DYLIB_CURRENT_VERSION = 1; 423 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 424 | GCC_PREFIX_HEADER = "Target Support Files/AASignatureView/AASignatureView-prefix.pch"; 425 | INFOPLIST_FILE = "Target Support Files/AASignatureView/AASignatureView-Info.plist"; 426 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 427 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 428 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 429 | MODULEMAP_FILE = "Target Support Files/AASignatureView/AASignatureView.modulemap"; 430 | PRODUCT_MODULE_NAME = AASignatureView; 431 | PRODUCT_NAME = AASignatureView; 432 | SDKROOT = iphoneos; 433 | SKIP_INSTALL = YES; 434 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 435 | SWIFT_VERSION = 5.0; 436 | TARGETED_DEVICE_FAMILY = "1,2"; 437 | VERSIONING_SYSTEM = "apple-generic"; 438 | VERSION_INFO_PREFIX = ""; 439 | }; 440 | name = Debug; 441 | }; 442 | DDF341CDCA7CF52AD70ED95FC069C66E /* Release */ = { 443 | isa = XCBuildConfiguration; 444 | baseConfigurationReference = B2604447B776267A3FD8E91FF3DE10BC /* Pods-AASignatureView_Example.release.xcconfig */; 445 | buildSettings = { 446 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 447 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 448 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 449 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 450 | CURRENT_PROJECT_VERSION = 1; 451 | DEFINES_MODULE = YES; 452 | DYLIB_COMPATIBILITY_VERSION = 1; 453 | DYLIB_CURRENT_VERSION = 1; 454 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 455 | INFOPLIST_FILE = "Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example-Info.plist"; 456 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 457 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 458 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 459 | MACH_O_TYPE = staticlib; 460 | MODULEMAP_FILE = "Target Support Files/Pods-AASignatureView_Example/Pods-AASignatureView_Example.modulemap"; 461 | OTHER_LDFLAGS = ""; 462 | OTHER_LIBTOOLFLAGS = ""; 463 | PODS_ROOT = "$(SRCROOT)"; 464 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 465 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 466 | SDKROOT = iphoneos; 467 | SKIP_INSTALL = YES; 468 | TARGETED_DEVICE_FAMILY = "1,2"; 469 | VALIDATE_PRODUCT = YES; 470 | VERSIONING_SYSTEM = "apple-generic"; 471 | VERSION_INFO_PREFIX = ""; 472 | }; 473 | name = Release; 474 | }; 475 | E4D0D44B090D4284607EBBC4E71A96C1 /* Debug */ = { 476 | isa = XCBuildConfiguration; 477 | buildSettings = { 478 | ALWAYS_SEARCH_USER_PATHS = NO; 479 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 480 | CLANG_ANALYZER_NONNULL = YES; 481 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 482 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 483 | CLANG_CXX_LIBRARY = "libc++"; 484 | CLANG_ENABLE_MODULES = YES; 485 | CLANG_ENABLE_OBJC_ARC = YES; 486 | CLANG_ENABLE_OBJC_WEAK = YES; 487 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 488 | CLANG_WARN_BOOL_CONVERSION = YES; 489 | CLANG_WARN_COMMA = YES; 490 | CLANG_WARN_CONSTANT_CONVERSION = YES; 491 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 492 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 493 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 494 | CLANG_WARN_EMPTY_BODY = YES; 495 | CLANG_WARN_ENUM_CONVERSION = YES; 496 | CLANG_WARN_INFINITE_RECURSION = YES; 497 | CLANG_WARN_INT_CONVERSION = YES; 498 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 499 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 500 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 501 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 502 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 503 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 504 | CLANG_WARN_STRICT_PROTOTYPES = YES; 505 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 506 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 507 | CLANG_WARN_UNREACHABLE_CODE = YES; 508 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 509 | COPY_PHASE_STRIP = NO; 510 | DEBUG_INFORMATION_FORMAT = dwarf; 511 | ENABLE_STRICT_OBJC_MSGSEND = YES; 512 | ENABLE_TESTABILITY = YES; 513 | GCC_C_LANGUAGE_STANDARD = gnu11; 514 | GCC_DYNAMIC_NO_PIC = NO; 515 | GCC_NO_COMMON_BLOCKS = YES; 516 | GCC_OPTIMIZATION_LEVEL = 0; 517 | GCC_PREPROCESSOR_DEFINITIONS = ( 518 | "POD_CONFIGURATION_DEBUG=1", 519 | "DEBUG=1", 520 | "$(inherited)", 521 | ); 522 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 523 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 524 | GCC_WARN_UNDECLARED_SELECTOR = YES; 525 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 526 | GCC_WARN_UNUSED_FUNCTION = YES; 527 | GCC_WARN_UNUSED_VARIABLE = YES; 528 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 529 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 530 | MTL_FAST_MATH = YES; 531 | ONLY_ACTIVE_ARCH = YES; 532 | PRODUCT_NAME = "$(TARGET_NAME)"; 533 | STRIP_INSTALLED_PRODUCT = NO; 534 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 535 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 536 | SWIFT_VERSION = 5.0; 537 | SYMROOT = "${SRCROOT}/../build"; 538 | }; 539 | name = Debug; 540 | }; 541 | F7E02C22684707E8804FA806E4880509 /* Debug */ = { 542 | isa = XCBuildConfiguration; 543 | baseConfigurationReference = E7458DD78A96AC4C8400462FD3E4163B /* Pods-AASignatureView_Example.debug.xcconfig */; 544 | buildSettings = { 545 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 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-AASignatureView_Example/Pods-AASignatureView_Example-Info.plist"; 555 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 556 | IPHONEOS_DEPLOYMENT_TARGET = 8.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-AASignatureView_Example/Pods-AASignatureView_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 | VERSIONING_SYSTEM = "apple-generic"; 569 | VERSION_INFO_PREFIX = ""; 570 | }; 571 | name = Debug; 572 | }; 573 | /* End XCBuildConfiguration section */ 574 | 575 | /* Begin XCConfigurationList section */ 576 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 577 | isa = XCConfigurationList; 578 | buildConfigurations = ( 579 | E4D0D44B090D4284607EBBC4E71A96C1 /* Debug */, 580 | 6D42DC62C4F2E194221DF89C48496C98 /* Release */, 581 | ); 582 | defaultConfigurationIsVisible = 0; 583 | defaultConfigurationName = Release; 584 | }; 585 | 4B5D32941B5632C7F275D17F71E1BDC8 /* Build configuration list for PBXNativeTarget "Pods-AASignatureView_Example" */ = { 586 | isa = XCConfigurationList; 587 | buildConfigurations = ( 588 | F7E02C22684707E8804FA806E4880509 /* Debug */, 589 | DDF341CDCA7CF52AD70ED95FC069C66E /* Release */, 590 | ); 591 | defaultConfigurationIsVisible = 0; 592 | defaultConfigurationName = Release; 593 | }; 594 | 68D0854CDD0972511335309FD6CCAE39 /* Build configuration list for PBXNativeTarget "AASignatureView" */ = { 595 | isa = XCConfigurationList; 596 | buildConfigurations = ( 597 | 81005662A5026FD9D8E5DC80107855FC /* Debug */, 598 | 80A573EDED332D3B84500815D7584243 /* Release */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | /* End XCConfigurationList section */ 604 | }; 605 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 606 | } 607 | --------------------------------------------------------------------------------