├── .swift-version ├── .travis.yml ├── AADraggableView.podspec ├── AADraggableView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AADraggableView+Helper.swift │ └── AADraggableView.swift ├── Example ├── AADraggableView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── AADraggableView-Example.xcscheme │ └── xcuserdata │ │ ├── ahsanali.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ ├── macbookpro.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ └── muhammad.ahsan.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── AADraggableView.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── ahsanali.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ ├── macbookpro.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ └── muhammad.ahsan.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── AADraggableView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AA.imageset │ │ │ ├── 17049477.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── 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-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ └── Icon-Small-50x50@2x.png │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock └── Pods │ ├── Local Podspecs │ └── AADraggableView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ ├── project.pbxproj │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── AADraggableView.xcscheme │ └── xcuserdata │ │ ├── ahsanali.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ ├── macbookpro.xcuserdatad │ │ └── xcschemes │ │ │ ├── AADraggableView.xcscheme │ │ │ ├── Pods-AADraggableView_Example.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── muhammad.ahsan.xcuserdatad │ │ └── xcschemes │ │ ├── Pods-AADraggableView_Example.xcscheme │ │ └── xcschememanagement.plist │ └── Target Support Files │ ├── AADraggableView │ ├── AADraggableView-dummy.m │ ├── AADraggableView-prefix.pch │ ├── AADraggableView-umbrella.h │ ├── AADraggableView.modulemap │ ├── AADraggableView.xcconfig │ └── Info.plist │ └── Pods-AADraggableView_Example │ ├── Info.plist │ ├── Pods-AADraggableView_Example-acknowledgements.markdown │ ├── Pods-AADraggableView_Example-acknowledgements.plist │ ├── Pods-AADraggableView_Example-dummy.m │ ├── Pods-AADraggableView_Example-frameworks.sh │ ├── Pods-AADraggableView_Example-resources.sh │ ├── Pods-AADraggableView_Example-umbrella.h │ ├── Pods-AADraggableView_Example.debug.xcconfig │ ├── Pods-AADraggableView_Example.modulemap │ └── Pods-AADraggableView_Example.release.xcconfig ├── LICENSE ├── README.md ├── Screenshots ├── AADraggableView.png ├── BottomOnly.gif ├── EdgesOnly.gif ├── Free.gif ├── LeftOnly.gif ├── RightOnly.gif ├── Step1.png ├── Step2.png ├── Sticky.gif └── TopOnly.gif └── _Pods.xcodeproj /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /.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/AADraggableView.xcworkspace -scheme AADraggableView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AADraggableView.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = 'AADraggableView' 4 | s.version = '1.0' 5 | s.summary = 'AADraggableView is easy-to-use draggable views with options, written in Swift.' 6 | 7 | s.description = <<-DESC 8 | AADraggableView is a light-weight and easy-to-use draggable views in screen bounds with options designed to drag any UIView. It allows to drag the UIView in any view controller. 9 | DESC 10 | 11 | s.homepage = 'https://github.com/EngrAhsanAli/AADraggableView' 12 | s.screenshots = 'https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/master/Screenshots/AADraggableView.png' 13 | s.license = { :type => 'MIT', :file => 'LICENSE' } 14 | s.author = { 'engrahsanali' => 'hafiz.m.ahsan.ali@gmail.com' } 15 | s.source = { :git => 'https://github.com/EngrAhsanAli/AADraggableView.git', :tag => s.version.to_s } 16 | 17 | s.ios.deployment_target = '8.0' 18 | 19 | s.source_files = 'AADraggableView/Classes/**/*' 20 | 21 | end 22 | -------------------------------------------------------------------------------- /AADraggableView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/AADraggableView/Assets/.gitkeep -------------------------------------------------------------------------------- /AADraggableView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/AADraggableView/Classes/.gitkeep -------------------------------------------------------------------------------- /AADraggableView/Classes/AADraggableView+Helper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AADraggableView+Helper.swift 3 | // AADraggableView 4 | // 5 | // Created by Engr. Ahsan Ali on 03/02/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | /// MARK:- AADraggableViewDelegate 10 | @objc public protocol AADraggableViewDelegate { 11 | @objc optional func draggingDidBegan(_ sender: UIView) 12 | @objc optional func draggingDidEnd(_ sender: UIView) 13 | } 14 | 15 | /// Repositioning varients after dragging the view 16 | /// 17 | /// - sticky: Stick with the edges with padding 18 | /// - free: Free to move 19 | /// - edgesOnly: Stick with nearby edges only 20 | /// - topOnly: stick with top edge 21 | /// - bottomOnly: stick with bottom edge 22 | /// - leftOnly: stick with left edge 23 | /// - rightOnly: stick with right edge 24 | public enum Reposition { 25 | case sticky 26 | case free 27 | case edgesOnly 28 | case topOnly 29 | case bottomOnly 30 | case leftOnly 31 | case rightOnly 32 | } 33 | 34 | // MARK: - AADraggableView bounds calculations 35 | extension AADraggableView { 36 | 37 | /// Respected bounds from UIView, default is UIScreen view 38 | var respectedBounds: CGRect { 39 | if let bounds = respectedView?.bounds { 40 | return bounds 41 | } 42 | return UIScreen.main.bounds 43 | } 44 | 45 | /// screen min x axis 46 | var screenMinX: CGFloat { 47 | return respectedBounds.minX + padding 48 | } 49 | 50 | /// screen mid x axis 51 | var screenMidX: CGFloat { 52 | return respectedBounds.midX + padding 53 | } 54 | 55 | /// screen max x axis 56 | var screenMaxX: CGFloat { 57 | return respectedBounds.maxX - padding 58 | } 59 | 60 | /// screen min y axis 61 | var screenMinY: CGFloat { 62 | return respectedBounds.minY + padding 63 | } 64 | 65 | /// screen mid y axis 66 | var screenMidY: CGFloat { 67 | return respectedBounds.midY + padding 68 | } 69 | 70 | /// screen max y axis 71 | var screenMaxY: CGFloat { 72 | return respectedBounds.maxY - padding 73 | } 74 | 75 | /// minX 76 | var minX: CGFloat { 77 | return screenMinX + bounds.midX 78 | } 79 | 80 | /// maxX 81 | var maxX: CGFloat { 82 | return screenMaxX - bounds.midX 83 | } 84 | 85 | /// minY 86 | var minY: CGFloat { 87 | return screenMinY + bounds.midY 88 | } 89 | 90 | /// maxY 91 | var maxY: CGFloat { 92 | return screenMaxY - bounds.midY 93 | } 94 | 95 | /// Reposition for near x corner 96 | var repositionNearX: CGFloat { 97 | if self.frame.midX > screenMidX { 98 | return maxX 99 | } 100 | return minX 101 | } 102 | 103 | /// Reposition for near y corner 104 | var repositionNearY: CGFloat { 105 | if self.frame.midY > screenMidY { 106 | return maxY 107 | } 108 | return minY 109 | } 110 | 111 | /// Reposition for minimum x axis 112 | var repositionMinX: CGFloat? { 113 | if self.frame.minX < screenMinX { 114 | return minX 115 | } 116 | return nil 117 | } 118 | 119 | /// Reposition for maximum x axis 120 | var repositionMaxX: CGFloat? { 121 | if self.frame.maxX > screenMaxX { 122 | return maxX 123 | } 124 | return nil 125 | } 126 | 127 | /// Reposition for minimum y axis 128 | var repositionMinY: CGFloat? { 129 | if self.frame.minY < screenMinY { 130 | return minY 131 | } 132 | return nil 133 | } 134 | /// Reposition for maximum y axis 135 | var repositionMaxY: CGFloat? { 136 | if self.frame.maxY > screenMaxY { 137 | return maxY 138 | } 139 | return nil 140 | } 141 | 142 | } 143 | 144 | // MARK: - UIPanGestureRecognizer extension 145 | extension UIPanGestureRecognizer { 146 | 147 | 148 | /// Translate view center according to translation 149 | /// 150 | /// - Parameter view: view to translate 151 | func translateView(_ view: UIView) { 152 | let translation = self.translation(in: view) 153 | let xAxis = view.center.x + translation.x 154 | let yAxis = view.center.y + translation.y 155 | view.center = CGPoint(x: xAxis, y: yAxis) 156 | setTranslation(.zero, in: view) 157 | } 158 | 159 | } 160 | -------------------------------------------------------------------------------- /AADraggableView/Classes/AADraggableView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AADraggableView.swift 3 | // AADraggableView 4 | // 5 | // Created by Engr. Ahsan Ali on 31/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | 10 | /// MARK:- AADraggableView 11 | open class AADraggableView: UIView { 12 | 13 | /// @IBInspectable padding 14 | @IBInspectable open var padding: CGFloat = 0 15 | 16 | // MARK:- Delegate for touch begin and touch end 17 | open var delegate: AADraggableViewDelegate? 18 | 19 | /// Animation duration 20 | open var duration: TimeInterval = 0.1 21 | 22 | /// AADraggableView in respected view, default is UIScreen 23 | open var respectedView: UIView? 24 | 25 | /// Auto position after releasing the view 26 | open var reposition: Reposition = .sticky 27 | 28 | /// AADraggableView dragging Enabled 29 | @IBInspectable open var isEnabled: Bool = true { 30 | didSet { 31 | setupTapGesture() 32 | setNeedsLayout() 33 | } 34 | } 35 | 36 | /// AADraggableView touch pan gesture 37 | var panGesture: UIPanGestureRecognizer { 38 | return UIPanGestureRecognizer(target: self, 39 | action: #selector(self.touchHandler(_:))) 40 | } 41 | 42 | /// Drawing AADraggableView 43 | /// 44 | /// - Parameter rect: view frame 45 | open override func draw(_ rect: CGRect) { 46 | super.draw(rect) 47 | setupTapGesture() 48 | } 49 | 50 | /// Add or remove pan gesture as required 51 | func setupTapGesture() { 52 | guard isEnabled else { 53 | removeGestureRecognizer(panGesture) 54 | return 55 | } 56 | addGestureRecognizer(panGesture) 57 | } 58 | 59 | /// View touch handling 60 | /// 61 | /// - Parameter sender: UIPanGestureRecognizer 62 | @objc func touchHandler(_ sender: UIPanGestureRecognizer) { 63 | 64 | sender.translateView(self) 65 | 66 | let state = sender.state 67 | 68 | guard state == .ended else { 69 | if state == .began { 70 | delegate?.draggingDidBegan?(self) 71 | } 72 | return 73 | } 74 | 75 | repositionIfNeeded() 76 | delegate?.draggingDidEnd?(self) 77 | 78 | } 79 | 80 | /// Reposition the view if needed 81 | open func repositionIfNeeded() { 82 | 83 | var newCenter = self.center 84 | 85 | switch reposition { 86 | case .sticky: 87 | if let minX = repositionMinX { 88 | newCenter.x = minX 89 | } 90 | if let maxX = repositionMaxX { 91 | newCenter.x = maxX 92 | } 93 | if let minY = repositionMinY { 94 | newCenter.y = minY 95 | } 96 | if let maxY = repositionMaxY { 97 | newCenter.y = maxY 98 | } 99 | break 100 | case .edgesOnly: 101 | newCenter.x = repositionNearX 102 | newCenter.y = repositionNearY 103 | break 104 | case .topOnly: 105 | newCenter.y = minY 106 | break 107 | case .bottomOnly: 108 | newCenter.y = maxY 109 | break 110 | case .leftOnly: 111 | newCenter.x = minX 112 | break 113 | case .rightOnly: 114 | newCenter.x = maxX 115 | break 116 | default: 117 | break 118 | } 119 | 120 | animateToReposition(newCenter) 121 | 122 | } 123 | 124 | 125 | /// Animate view with respect to center if needed 126 | /// 127 | /// - Parameter toPoint: center point 128 | func animateToReposition(_ toPoint: CGPoint) { 129 | 130 | guard toPoint != self.center else { 131 | return 132 | } 133 | 134 | UIView.animate(withDuration: duration) { 135 | self.center = toPoint 136 | } 137 | } 138 | 139 | } 140 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | C18395BCCF8E847AC1DE08D4 /* Pods_AADraggableView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4C7285C54BAD560C4B76B63 /* Pods_AADraggableView_Example.framework */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 46B792C8F2E3DFF736018F49 /* Pods-AADraggableView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AADraggableView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AADraggableView_Tests/Pods-AADraggableView_Tests.debug.xcconfig"; sourceTree = ""; }; 20 | 56E966F37F1E36A97DF3630D /* AADraggableView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AADraggableView.podspec; path = ../AADraggableView.podspec; sourceTree = ""; }; 21 | 607FACD01AFB9204008FA782 /* AADraggableView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AADraggableView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 23 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 24 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 25 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 26 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 27 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 28 | 99C6112899A8146AEF6A0830 /* Pods-AADraggableView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AADraggableView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AADraggableView_Tests/Pods-AADraggableView_Tests.release.xcconfig"; sourceTree = ""; }; 29 | A4C7285C54BAD560C4B76B63 /* Pods_AADraggableView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AADraggableView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | B9CBE43A6C939FB8B29CCB1F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 31 | CE5B20850C05C3B29E1856EB /* Pods_AADraggableView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AADraggableView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | D17FA9CF089000EE242CECF7 /* Pods-AADraggableView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AADraggableView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.debug.xcconfig"; sourceTree = ""; }; 33 | F2CE1BCE2D1E55D181FA2821 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 34 | F3EEA3EC2D29A51EE67F902C /* Pods-AADraggableView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AADraggableView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.release.xcconfig"; sourceTree = ""; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | C18395BCCF8E847AC1DE08D4 /* Pods_AADraggableView_Example.framework in Frameworks */, 43 | ); 44 | runOnlyForDeploymentPostprocessing = 0; 45 | }; 46 | /* End PBXFrameworksBuildPhase section */ 47 | 48 | /* Begin PBXGroup section */ 49 | 271F4021B2009BD458D9ED74 /* Frameworks */ = { 50 | isa = PBXGroup; 51 | children = ( 52 | A4C7285C54BAD560C4B76B63 /* Pods_AADraggableView_Example.framework */, 53 | CE5B20850C05C3B29E1856EB /* Pods_AADraggableView_Tests.framework */, 54 | ); 55 | name = Frameworks; 56 | sourceTree = ""; 57 | }; 58 | 607FACC71AFB9204008FA782 = { 59 | isa = PBXGroup; 60 | children = ( 61 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 62 | 607FACD21AFB9204008FA782 /* Example for AADraggableView */, 63 | 607FACD11AFB9204008FA782 /* Products */, 64 | C0F034F2C4604856F7DB0BE8 /* Pods */, 65 | 271F4021B2009BD458D9ED74 /* Frameworks */, 66 | ); 67 | sourceTree = ""; 68 | }; 69 | 607FACD11AFB9204008FA782 /* Products */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 607FACD01AFB9204008FA782 /* AADraggableView_Example.app */, 73 | ); 74 | name = Products; 75 | sourceTree = ""; 76 | }; 77 | 607FACD21AFB9204008FA782 /* Example for AADraggableView */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 81 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 82 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 83 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 84 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 85 | 607FACD31AFB9204008FA782 /* Supporting Files */, 86 | ); 87 | name = "Example for AADraggableView"; 88 | path = AADraggableView; 89 | sourceTree = ""; 90 | }; 91 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 607FACD41AFB9204008FA782 /* Info.plist */, 95 | ); 96 | name = "Supporting Files"; 97 | sourceTree = ""; 98 | }; 99 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 56E966F37F1E36A97DF3630D /* AADraggableView.podspec */, 103 | B9CBE43A6C939FB8B29CCB1F /* README.md */, 104 | F2CE1BCE2D1E55D181FA2821 /* LICENSE */, 105 | ); 106 | name = "Podspec Metadata"; 107 | sourceTree = ""; 108 | }; 109 | C0F034F2C4604856F7DB0BE8 /* Pods */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | D17FA9CF089000EE242CECF7 /* Pods-AADraggableView_Example.debug.xcconfig */, 113 | F3EEA3EC2D29A51EE67F902C /* Pods-AADraggableView_Example.release.xcconfig */, 114 | 46B792C8F2E3DFF736018F49 /* Pods-AADraggableView_Tests.debug.xcconfig */, 115 | 99C6112899A8146AEF6A0830 /* Pods-AADraggableView_Tests.release.xcconfig */, 116 | ); 117 | name = Pods; 118 | sourceTree = ""; 119 | }; 120 | /* End PBXGroup section */ 121 | 122 | /* Begin PBXNativeTarget section */ 123 | 607FACCF1AFB9204008FA782 /* AADraggableView_Example */ = { 124 | isa = PBXNativeTarget; 125 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AADraggableView_Example" */; 126 | buildPhases = ( 127 | 934420AD0D305E1B43F4AC31 /* [CP] Check Pods Manifest.lock */, 128 | 607FACCC1AFB9204008FA782 /* Sources */, 129 | 607FACCD1AFB9204008FA782 /* Frameworks */, 130 | 607FACCE1AFB9204008FA782 /* Resources */, 131 | 5E32A2AE21FF33DC406D790C /* [CP] Embed Pods Frameworks */, 132 | ); 133 | buildRules = ( 134 | ); 135 | dependencies = ( 136 | ); 137 | name = AADraggableView_Example; 138 | productName = AADraggableView; 139 | productReference = 607FACD01AFB9204008FA782 /* AADraggableView_Example.app */; 140 | productType = "com.apple.product-type.application"; 141 | }; 142 | /* End PBXNativeTarget section */ 143 | 144 | /* Begin PBXProject section */ 145 | 607FACC81AFB9204008FA782 /* Project object */ = { 146 | isa = PBXProject; 147 | attributes = { 148 | LastSwiftUpdateCheck = 0720; 149 | LastUpgradeCheck = 1020; 150 | ORGANIZATIONNAME = "AA-Creations"; 151 | TargetAttributes = { 152 | 607FACCF1AFB9204008FA782 = { 153 | CreatedOnToolsVersion = 6.3.1; 154 | DevelopmentTeam = 5J29YQGG4K; 155 | LastSwiftMigration = 0940; 156 | }; 157 | }; 158 | }; 159 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AADraggableView" */; 160 | compatibilityVersion = "Xcode 3.2"; 161 | developmentRegion = English; 162 | hasScannedForEncodings = 0; 163 | knownRegions = ( 164 | English, 165 | en, 166 | Base, 167 | ); 168 | mainGroup = 607FACC71AFB9204008FA782; 169 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 170 | projectDirPath = ""; 171 | projectRoot = ""; 172 | targets = ( 173 | 607FACCF1AFB9204008FA782 /* AADraggableView_Example */, 174 | ); 175 | }; 176 | /* End PBXProject section */ 177 | 178 | /* Begin PBXResourcesBuildPhase section */ 179 | 607FACCE1AFB9204008FA782 /* Resources */ = { 180 | isa = PBXResourcesBuildPhase; 181 | buildActionMask = 2147483647; 182 | files = ( 183 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 184 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 185 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | }; 189 | /* End PBXResourcesBuildPhase section */ 190 | 191 | /* Begin PBXShellScriptBuildPhase section */ 192 | 5E32A2AE21FF33DC406D790C /* [CP] Embed Pods Frameworks */ = { 193 | isa = PBXShellScriptBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | ); 197 | inputPaths = ( 198 | "${SRCROOT}/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example-frameworks.sh", 199 | "${BUILT_PRODUCTS_DIR}/AADraggableView/AADraggableView.framework", 200 | ); 201 | name = "[CP] Embed Pods Frameworks"; 202 | outputPaths = ( 203 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AADraggableView.framework", 204 | ); 205 | runOnlyForDeploymentPostprocessing = 0; 206 | shellPath = /bin/sh; 207 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example-frameworks.sh\"\n"; 208 | showEnvVarsInLog = 0; 209 | }; 210 | 934420AD0D305E1B43F4AC31 /* [CP] Check Pods Manifest.lock */ = { 211 | isa = PBXShellScriptBuildPhase; 212 | buildActionMask = 2147483647; 213 | files = ( 214 | ); 215 | inputPaths = ( 216 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 217 | "${PODS_ROOT}/Manifest.lock", 218 | ); 219 | name = "[CP] Check Pods Manifest.lock"; 220 | outputPaths = ( 221 | "$(DERIVED_FILE_DIR)/Pods-AADraggableView_Example-checkManifestLockResult.txt", 222 | ); 223 | runOnlyForDeploymentPostprocessing = 0; 224 | shellPath = /bin/sh; 225 | 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"; 226 | showEnvVarsInLog = 0; 227 | }; 228 | /* End PBXShellScriptBuildPhase section */ 229 | 230 | /* Begin PBXSourcesBuildPhase section */ 231 | 607FACCC1AFB9204008FA782 /* Sources */ = { 232 | isa = PBXSourcesBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 236 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | }; 240 | /* End PBXSourcesBuildPhase section */ 241 | 242 | /* Begin PBXVariantGroup section */ 243 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 244 | isa = PBXVariantGroup; 245 | children = ( 246 | 607FACDA1AFB9204008FA782 /* Base */, 247 | ); 248 | name = Main.storyboard; 249 | sourceTree = ""; 250 | }; 251 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 252 | isa = PBXVariantGroup; 253 | children = ( 254 | 607FACDF1AFB9204008FA782 /* Base */, 255 | ); 256 | name = LaunchScreen.xib; 257 | sourceTree = ""; 258 | }; 259 | /* End PBXVariantGroup section */ 260 | 261 | /* Begin XCBuildConfiguration section */ 262 | 607FACED1AFB9204008FA782 /* Debug */ = { 263 | isa = XCBuildConfiguration; 264 | buildSettings = { 265 | ALWAYS_SEARCH_USER_PATHS = NO; 266 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 267 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 268 | CLANG_CXX_LIBRARY = "libc++"; 269 | CLANG_ENABLE_MODULES = YES; 270 | CLANG_ENABLE_OBJC_ARC = YES; 271 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 272 | CLANG_WARN_BOOL_CONVERSION = YES; 273 | CLANG_WARN_COMMA = YES; 274 | CLANG_WARN_CONSTANT_CONVERSION = YES; 275 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; 282 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 283 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 284 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 285 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 286 | CLANG_WARN_STRICT_PROTOTYPES = YES; 287 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 288 | CLANG_WARN_UNREACHABLE_CODE = YES; 289 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 290 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 291 | COPY_PHASE_STRIP = NO; 292 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 293 | ENABLE_STRICT_OBJC_MSGSEND = YES; 294 | ENABLE_TESTABILITY = YES; 295 | GCC_C_LANGUAGE_STANDARD = gnu99; 296 | GCC_DYNAMIC_NO_PIC = NO; 297 | GCC_NO_COMMON_BLOCKS = YES; 298 | GCC_OPTIMIZATION_LEVEL = 0; 299 | GCC_PREPROCESSOR_DEFINITIONS = ( 300 | "DEBUG=1", 301 | "$(inherited)", 302 | ); 303 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 304 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 305 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 306 | GCC_WARN_UNDECLARED_SELECTOR = YES; 307 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 308 | GCC_WARN_UNUSED_FUNCTION = YES; 309 | GCC_WARN_UNUSED_VARIABLE = YES; 310 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 311 | MTL_ENABLE_DEBUG_INFO = YES; 312 | ONLY_ACTIVE_ARCH = YES; 313 | SDKROOT = iphoneos; 314 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 315 | }; 316 | name = Debug; 317 | }; 318 | 607FACEE1AFB9204008FA782 /* Release */ = { 319 | isa = XCBuildConfiguration; 320 | buildSettings = { 321 | ALWAYS_SEARCH_USER_PATHS = NO; 322 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 323 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 324 | CLANG_CXX_LIBRARY = "libc++"; 325 | CLANG_ENABLE_MODULES = YES; 326 | CLANG_ENABLE_OBJC_ARC = YES; 327 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 328 | CLANG_WARN_BOOL_CONVERSION = YES; 329 | CLANG_WARN_COMMA = YES; 330 | CLANG_WARN_CONSTANT_CONVERSION = YES; 331 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_EMPTY_BODY = YES; 334 | CLANG_WARN_ENUM_CONVERSION = YES; 335 | CLANG_WARN_INFINITE_RECURSION = YES; 336 | CLANG_WARN_INT_CONVERSION = YES; 337 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 338 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 339 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 340 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 341 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 342 | CLANG_WARN_STRICT_PROTOTYPES = YES; 343 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 344 | CLANG_WARN_UNREACHABLE_CODE = YES; 345 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 346 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 347 | COPY_PHASE_STRIP = NO; 348 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 349 | ENABLE_NS_ASSERTIONS = NO; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | GCC_C_LANGUAGE_STANDARD = gnu99; 352 | GCC_NO_COMMON_BLOCKS = YES; 353 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 354 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 355 | GCC_WARN_UNDECLARED_SELECTOR = YES; 356 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 357 | GCC_WARN_UNUSED_FUNCTION = YES; 358 | GCC_WARN_UNUSED_VARIABLE = YES; 359 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 360 | MTL_ENABLE_DEBUG_INFO = NO; 361 | SDKROOT = iphoneos; 362 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 363 | VALIDATE_PRODUCT = YES; 364 | }; 365 | name = Release; 366 | }; 367 | 607FACF01AFB9204008FA782 /* Debug */ = { 368 | isa = XCBuildConfiguration; 369 | baseConfigurationReference = D17FA9CF089000EE242CECF7 /* Pods-AADraggableView_Example.debug.xcconfig */; 370 | buildSettings = { 371 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 372 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 373 | DEVELOPMENT_TEAM = 5J29YQGG4K; 374 | INFOPLIST_FILE = AADraggableView/Info.plist; 375 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 376 | MODULE_NAME = ExampleApp; 377 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 378 | PRODUCT_NAME = "$(TARGET_NAME)"; 379 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 380 | SWIFT_VERSION = 4.0; 381 | }; 382 | name = Debug; 383 | }; 384 | 607FACF11AFB9204008FA782 /* Release */ = { 385 | isa = XCBuildConfiguration; 386 | baseConfigurationReference = F3EEA3EC2D29A51EE67F902C /* Pods-AADraggableView_Example.release.xcconfig */; 387 | buildSettings = { 388 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 390 | DEVELOPMENT_TEAM = 5J29YQGG4K; 391 | INFOPLIST_FILE = AADraggableView/Info.plist; 392 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 393 | MODULE_NAME = ExampleApp; 394 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 395 | PRODUCT_NAME = "$(TARGET_NAME)"; 396 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 397 | SWIFT_VERSION = 4.0; 398 | }; 399 | name = Release; 400 | }; 401 | /* End XCBuildConfiguration section */ 402 | 403 | /* Begin XCConfigurationList section */ 404 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "AADraggableView" */ = { 405 | isa = XCConfigurationList; 406 | buildConfigurations = ( 407 | 607FACED1AFB9204008FA782 /* Debug */, 408 | 607FACEE1AFB9204008FA782 /* Release */, 409 | ); 410 | defaultConfigurationIsVisible = 0; 411 | defaultConfigurationName = Release; 412 | }; 413 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "AADraggableView_Example" */ = { 414 | isa = XCConfigurationList; 415 | buildConfigurations = ( 416 | 607FACF01AFB9204008FA782 /* Debug */, 417 | 607FACF11AFB9204008FA782 /* Release */, 418 | ); 419 | defaultConfigurationIsVisible = 0; 420 | defaultConfigurationName = Release; 421 | }; 422 | /* End XCConfigurationList section */ 423 | }; 424 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 425 | } 426 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcodeproj/xcshareddata/xcschemes/AADraggableView-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/AADraggableView.xcodeproj/xcuserdata/ahsanali.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AADraggableView-Example.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 1 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcodeproj/xcuserdata/macbookpro.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AADraggableView-Example.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 1 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcodeproj/xcuserdata/muhammad.ahsan.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SuppressBuildableAutocreation 6 | 7 | 607FACCF1AFB9204008FA782 8 | 9 | primary 10 | 11 | 12 | 607FACE41AFB9204008FA782 13 | 14 | primary 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/xcuserdata/ahsanali.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView.xcworkspace/xcuserdata/ahsanali.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/xcuserdata/macbookpro.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView.xcworkspace/xcuserdata/macbookpro.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/xcuserdata/muhammad.ahsan.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView.xcworkspace/xcuserdata/muhammad.ahsan.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/AADraggableView.xcworkspace/xcuserdata/muhammad.ahsan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Example/AADraggableView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // AADraggableView 4 | // 5 | // Created by Engr. Ahsan Ali on 31/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: [UIApplicationLaunchOptionsKey: 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/AADraggableView/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/AADraggableView/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 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AA.imageset/17049477.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AA.imageset/17049477.png -------------------------------------------------------------------------------- /Example/AADraggableView/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/AADraggableView/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 | } -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Example/AADraggableView/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /Example/AADraggableView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/AADraggableView/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/AADraggableView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // AADraggableView 4 | // 5 | // Created by Engr. Ahsan Ali on 31/01/2017. 6 | // Copyright (c) 2017 AA-Creations. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import AADraggableView 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var respectedView: UIView! 15 | 16 | @IBOutlet var views: [AADraggableView]! 17 | 18 | override func viewDidLoad() { 19 | super.viewDidLoad() 20 | 21 | } 22 | 23 | override func viewDidAppear(_ animated: Bool) { 24 | views.forEach { (view) in 25 | view.delegate = self 26 | view.respectedView = respectedView 27 | view.reposition = .sticky 28 | // view.repositionIfNeeded() 29 | } 30 | } 31 | 32 | override func didReceiveMemoryWarning() { 33 | super.didReceiveMemoryWarning() 34 | // Dispose of any resources that can be recreated. 35 | } 36 | 37 | } 38 | 39 | 40 | extension ViewController: AADraggableViewDelegate { 41 | func draggingDidBegan(_ sender: UIView) { 42 | sender.layer.zPosition = 1 43 | sender.layer.shadowOffset = CGSize(width: 0, height: 20) 44 | sender.layer.shadowOpacity = 0.3 45 | sender.layer.shadowRadius = 6 46 | } 47 | 48 | func draggingDidEnd(_ sender: UIView) { 49 | sender.layer.zPosition = 0 50 | sender.layer.shadowOffset = CGSize.zero 51 | sender.layer.shadowOpacity = 0.0 52 | sender.layer.shadowRadius = 0 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'AADraggableView_Example' do 4 | pod 'AADraggableView', :path => '../' 5 | end 6 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AADraggableView (1.0) 3 | 4 | DEPENDENCIES: 5 | - AADraggableView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AADraggableView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AADraggableView: b66d472f01df5618bf33ed669e13563c17d0d3ae 13 | 14 | PODFILE CHECKSUM: 89edb1bff62c6647425dfbfc3e5a7d93075fc7cc 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AADraggableView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AADraggableView", 3 | "version": "1.0", 4 | "summary": "AADraggableView is easy-to-use draggable views with options, written in Swift.", 5 | "description": "AADraggableView is a light-weight and easy-to-use draggable views in screen bounds with options designed to drag any UIView. It allows to drag the UIView in any view controller.", 6 | "homepage": "https://github.com/EngrAhsanAli/AADraggableView", 7 | "screenshots": "https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/master/Screenshots/AADraggableView.png", 8 | "license": { 9 | "type": "MIT", 10 | "file": "LICENSE" 11 | }, 12 | "authors": { 13 | "engrahsanali": "hafiz.m.ahsan.ali@gmail.com" 14 | }, 15 | "source": { 16 | "git": "https://github.com/EngrAhsanAli/AADraggableView.git", 17 | "tag": "1.0" 18 | }, 19 | "platforms": { 20 | "ios": "8.0" 21 | }, 22 | "source_files": "AADraggableView/Classes/**/*" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AADraggableView (1.0) 3 | 4 | DEPENDENCIES: 5 | - AADraggableView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AADraggableView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AADraggableView: b66d472f01df5618bf33ed669e13563c17d0d3ae 13 | 14 | PODFILE CHECKSUM: 89edb1bff62c6647425dfbfc3e5a7d93075fc7cc 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /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 | 0FEA9E73E1D00E6094A3E39C76795C8E /* AADraggableView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 531540817B6AD2B8763419FA5BA1DEF3 /* AADraggableView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1C2762B7895E87ECA1D52CB535C7C415 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 12 | 73702A79785725CB1BB11A810BE0C538 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 13 | A15CF7EB3B02C6FA6CE0CBEE80AAAEF6 /* AADraggableView+Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5FFFFB1D072D042D0CAD046981B23A1 /* AADraggableView+Helper.swift */; }; 14 | B699D2BA21A36B7DD0916AEA243D29A7 /* AADraggableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A4241A45497048C5929A8C3A660E2AC /* AADraggableView.swift */; }; 15 | D557EA5EEC5B1D729BCC1B6D59C88E6D /* AADraggableView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D5B2D63CEBE4E05FCBC94ED054096544 /* AADraggableView-dummy.m */; }; 16 | E5838D034176804D5F546F3976123399 /* Pods-AADraggableView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 10906FE0D5D18B5FB107C41F5410961D /* Pods-AADraggableView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | E88AF9E8EB85BAA942B597F2765DE532 /* Pods-AADraggableView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AF546615E2B0D5FA50125792025341F5 /* Pods-AADraggableView_Example-dummy.m */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | ACA0746F8E8767FDC417425143F65CA9 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 7BBE4404A414593E8314B3D4CBC014D5; 26 | remoteInfo = AADraggableView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 024A69464DCE819229865D73AD23EF0C /* Pods-AADraggableView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AADraggableView_Example.debug.xcconfig"; sourceTree = ""; }; 32 | 06CB8909ED21E0640F7E78253F333E7C /* Pods_AADraggableView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AADraggableView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 10906FE0D5D18B5FB107C41F5410961D /* Pods-AADraggableView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AADraggableView_Example-umbrella.h"; sourceTree = ""; }; 34 | 2A4241A45497048C5929A8C3A660E2AC /* AADraggableView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AADraggableView.swift; path = AADraggableView/Classes/AADraggableView.swift; sourceTree = ""; }; 35 | 3856F1A858B4B11CAE67F493A488D731 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 36 | 3CF1D7026B8DD31A90523440FDDF29D3 /* Pods-AADraggableView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AADraggableView_Example.modulemap"; sourceTree = ""; }; 37 | 3D793A2CB037DC267D9DCF395D9ACD6D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 38 | 531540817B6AD2B8763419FA5BA1DEF3 /* AADraggableView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AADraggableView-umbrella.h"; sourceTree = ""; }; 39 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 40 | 64AA32E2291E5E31AC8F6C6DFC2C71CD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 8523512692417B6D15AEEA054AD64575 /* Pods-AADraggableView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AADraggableView_Example-acknowledgements.markdown"; sourceTree = ""; }; 42 | 8E5D6E61FB1EEC2594ACED9DF8BFB98E /* Pods-AADraggableView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AADraggableView_Example-acknowledgements.plist"; sourceTree = ""; }; 43 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 44 | 9412C2B0DDCE260E24A91D4D62CB63F6 /* AADraggableView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AADraggableView-prefix.pch"; sourceTree = ""; }; 45 | 9645A45E75F3B055852690714844F79B /* Pods-AADraggableView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AADraggableView_Example-resources.sh"; sourceTree = ""; }; 46 | 9BF95A0FBD537473F08FEA4598A14073 /* AADraggableView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = AADraggableView.modulemap; sourceTree = ""; }; 47 | AF546615E2B0D5FA50125792025341F5 /* Pods-AADraggableView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AADraggableView_Example-dummy.m"; sourceTree = ""; }; 48 | B19B763348442B78F0EBF25E4C32D7B7 /* AADraggableView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AADraggableView.xcconfig; sourceTree = ""; }; 49 | B497580E31677DC1E98EC528963D8FE5 /* AADraggableView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AADraggableView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | B5FFFFB1D072D042D0CAD046981B23A1 /* AADraggableView+Helper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "AADraggableView+Helper.swift"; path = "AADraggableView/Classes/AADraggableView+Helper.swift"; sourceTree = ""; }; 51 | D055233C9E42DD1D4F9F5D42A35CC825 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 52 | D5B2D63CEBE4E05FCBC94ED054096544 /* AADraggableView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AADraggableView-dummy.m"; sourceTree = ""; }; 53 | D8510F714B4E38C5A5C748DEFC706A52 /* Pods-AADraggableView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AADraggableView_Example-frameworks.sh"; sourceTree = ""; }; 54 | F9FFCBFA0627EDC4161733A4D49CA3D9 /* AADraggableView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = AADraggableView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | FED27E4117661EC586E5C4D09BF1BB22 /* Pods-AADraggableView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AADraggableView_Example.release.xcconfig"; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 0E3990A2B9DE4C07151BCC9EF4B690F0 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 73702A79785725CB1BB11A810BE0C538 /* Foundation.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | E1AE05916FE8A68A5F711F6F84EDDBDA /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | 1C2762B7895E87ECA1D52CB535C7C415 /* Foundation.framework in Frameworks */, 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | /* End PBXFrameworksBuildPhase section */ 76 | 77 | /* Begin PBXGroup section */ 78 | 067A84994F5E588DEF53282D4DFCF860 /* Development Pods */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | CD2A6F6CB4E96C6255BD20D71806A1E7 /* AADraggableView */, 82 | ); 83 | name = "Development Pods"; 84 | sourceTree = ""; 85 | }; 86 | 1688E18568678F88337C9A18D00173CC /* Support Files */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 9BF95A0FBD537473F08FEA4598A14073 /* AADraggableView.modulemap */, 90 | B19B763348442B78F0EBF25E4C32D7B7 /* AADraggableView.xcconfig */, 91 | D5B2D63CEBE4E05FCBC94ED054096544 /* AADraggableView-dummy.m */, 92 | 9412C2B0DDCE260E24A91D4D62CB63F6 /* AADraggableView-prefix.pch */, 93 | 531540817B6AD2B8763419FA5BA1DEF3 /* AADraggableView-umbrella.h */, 94 | D055233C9E42DD1D4F9F5D42A35CC825 /* Info.plist */, 95 | ); 96 | name = "Support Files"; 97 | path = "Example/Pods/Target Support Files/AADraggableView"; 98 | sourceTree = ""; 99 | }; 100 | 5E0D919E635D23B70123790B8308F8EF /* iOS */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */, 104 | ); 105 | name = iOS; 106 | sourceTree = ""; 107 | }; 108 | 7DB346D0F39D3F0E887471402A8071AB = { 109 | isa = PBXGroup; 110 | children = ( 111 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 112 | 067A84994F5E588DEF53282D4DFCF860 /* Development Pods */, 113 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 114 | B5D4CDCCF1328661CC7F1A71CFF69B53 /* Products */, 115 | 862A1B3A1655F52672FB7B0F5A14DCC6 /* Targets Support Files */, 116 | ); 117 | sourceTree = ""; 118 | }; 119 | 862A1B3A1655F52672FB7B0F5A14DCC6 /* Targets Support Files */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | D31A689DC1D72D1A8C95E9C14FCFD7B6 /* Pods-AADraggableView_Example */, 123 | ); 124 | name = "Targets Support Files"; 125 | sourceTree = ""; 126 | }; 127 | B5D4CDCCF1328661CC7F1A71CFF69B53 /* Products */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | B497580E31677DC1E98EC528963D8FE5 /* AADraggableView.framework */, 131 | 06CB8909ED21E0640F7E78253F333E7C /* Pods_AADraggableView_Example.framework */, 132 | ); 133 | name = Products; 134 | sourceTree = ""; 135 | }; 136 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 5E0D919E635D23B70123790B8308F8EF /* iOS */, 140 | ); 141 | name = Frameworks; 142 | sourceTree = ""; 143 | }; 144 | CD2A6F6CB4E96C6255BD20D71806A1E7 /* AADraggableView */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 2A4241A45497048C5929A8C3A660E2AC /* AADraggableView.swift */, 148 | B5FFFFB1D072D042D0CAD046981B23A1 /* AADraggableView+Helper.swift */, 149 | D1D8527F28EF35FAA547114A20B6E567 /* Pod */, 150 | 1688E18568678F88337C9A18D00173CC /* Support Files */, 151 | ); 152 | name = AADraggableView; 153 | path = ../..; 154 | sourceTree = ""; 155 | }; 156 | D1D8527F28EF35FAA547114A20B6E567 /* Pod */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | F9FFCBFA0627EDC4161733A4D49CA3D9 /* AADraggableView.podspec */, 160 | 3D793A2CB037DC267D9DCF395D9ACD6D /* LICENSE */, 161 | 3856F1A858B4B11CAE67F493A488D731 /* README.md */, 162 | ); 163 | name = Pod; 164 | sourceTree = ""; 165 | }; 166 | D31A689DC1D72D1A8C95E9C14FCFD7B6 /* Pods-AADraggableView_Example */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | 64AA32E2291E5E31AC8F6C6DFC2C71CD /* Info.plist */, 170 | 3CF1D7026B8DD31A90523440FDDF29D3 /* Pods-AADraggableView_Example.modulemap */, 171 | 8523512692417B6D15AEEA054AD64575 /* Pods-AADraggableView_Example-acknowledgements.markdown */, 172 | 8E5D6E61FB1EEC2594ACED9DF8BFB98E /* Pods-AADraggableView_Example-acknowledgements.plist */, 173 | AF546615E2B0D5FA50125792025341F5 /* Pods-AADraggableView_Example-dummy.m */, 174 | D8510F714B4E38C5A5C748DEFC706A52 /* Pods-AADraggableView_Example-frameworks.sh */, 175 | 9645A45E75F3B055852690714844F79B /* Pods-AADraggableView_Example-resources.sh */, 176 | 10906FE0D5D18B5FB107C41F5410961D /* Pods-AADraggableView_Example-umbrella.h */, 177 | 024A69464DCE819229865D73AD23EF0C /* Pods-AADraggableView_Example.debug.xcconfig */, 178 | FED27E4117661EC586E5C4D09BF1BB22 /* Pods-AADraggableView_Example.release.xcconfig */, 179 | ); 180 | name = "Pods-AADraggableView_Example"; 181 | path = "Target Support Files/Pods-AADraggableView_Example"; 182 | sourceTree = ""; 183 | }; 184 | /* End PBXGroup section */ 185 | 186 | /* Begin PBXHeadersBuildPhase section */ 187 | 563B6FE2C85C8EFB38D5E7BCD2E9C84F /* Headers */ = { 188 | isa = PBXHeadersBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | E5838D034176804D5F546F3976123399 /* Pods-AADraggableView_Example-umbrella.h in Headers */, 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | }; 195 | C74668755500780ECA75ADC756308798 /* Headers */ = { 196 | isa = PBXHeadersBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | 0FEA9E73E1D00E6094A3E39C76795C8E /* AADraggableView-umbrella.h in Headers */, 200 | ); 201 | runOnlyForDeploymentPostprocessing = 0; 202 | }; 203 | /* End PBXHeadersBuildPhase section */ 204 | 205 | /* Begin PBXNativeTarget section */ 206 | 7A5846459E9589600B669BF1AA0F1A18 /* Pods-AADraggableView_Example */ = { 207 | isa = PBXNativeTarget; 208 | buildConfigurationList = 661904285C0073A6D38D39F434F5A81B /* Build configuration list for PBXNativeTarget "Pods-AADraggableView_Example" */; 209 | buildPhases = ( 210 | 563B6FE2C85C8EFB38D5E7BCD2E9C84F /* Headers */, 211 | CE343979E41523654F35CF30A1A3D947 /* Sources */, 212 | E1AE05916FE8A68A5F711F6F84EDDBDA /* Frameworks */, 213 | 6449787061DC09B2953B58411DCD07F0 /* Resources */, 214 | ); 215 | buildRules = ( 216 | ); 217 | dependencies = ( 218 | 3C894AB924B8F6E7D6DEED33E02137DA /* PBXTargetDependency */, 219 | ); 220 | name = "Pods-AADraggableView_Example"; 221 | productName = "Pods-AADraggableView_Example"; 222 | productReference = 06CB8909ED21E0640F7E78253F333E7C /* Pods_AADraggableView_Example.framework */; 223 | productType = "com.apple.product-type.framework"; 224 | }; 225 | 7BBE4404A414593E8314B3D4CBC014D5 /* AADraggableView */ = { 226 | isa = PBXNativeTarget; 227 | buildConfigurationList = 7DCB28B06D6DE687E1ABFD80D4502B86 /* Build configuration list for PBXNativeTarget "AADraggableView" */; 228 | buildPhases = ( 229 | C74668755500780ECA75ADC756308798 /* Headers */, 230 | 05ADE7FC482904EC2BF9BC20D74C7D80 /* Sources */, 231 | 0E3990A2B9DE4C07151BCC9EF4B690F0 /* Frameworks */, 232 | 0E7714AE703C97E56829D49C62FE9917 /* Resources */, 233 | ); 234 | buildRules = ( 235 | ); 236 | dependencies = ( 237 | ); 238 | name = AADraggableView; 239 | productName = AADraggableView; 240 | productReference = B497580E31677DC1E98EC528963D8FE5 /* AADraggableView.framework */; 241 | productType = "com.apple.product-type.framework"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | LastSwiftUpdateCheck = 0930; 250 | LastUpgradeCheck = 0930; 251 | TargetAttributes = { 252 | 7BBE4404A414593E8314B3D4CBC014D5 = { 253 | LastSwiftMigration = 1020; 254 | }; 255 | }; 256 | }; 257 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 258 | compatibilityVersion = "Xcode 3.2"; 259 | developmentRegion = English; 260 | hasScannedForEncodings = 0; 261 | knownRegions = ( 262 | English, 263 | en, 264 | ); 265 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 266 | productRefGroup = B5D4CDCCF1328661CC7F1A71CFF69B53 /* Products */; 267 | projectDirPath = ""; 268 | projectRoot = ""; 269 | targets = ( 270 | 7BBE4404A414593E8314B3D4CBC014D5 /* AADraggableView */, 271 | 7A5846459E9589600B669BF1AA0F1A18 /* Pods-AADraggableView_Example */, 272 | ); 273 | }; 274 | /* End PBXProject section */ 275 | 276 | /* Begin PBXResourcesBuildPhase section */ 277 | 0E7714AE703C97E56829D49C62FE9917 /* Resources */ = { 278 | isa = PBXResourcesBuildPhase; 279 | buildActionMask = 2147483647; 280 | files = ( 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | }; 284 | 6449787061DC09B2953B58411DCD07F0 /* Resources */ = { 285 | isa = PBXResourcesBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | /* End PBXResourcesBuildPhase section */ 292 | 293 | /* Begin PBXSourcesBuildPhase section */ 294 | 05ADE7FC482904EC2BF9BC20D74C7D80 /* Sources */ = { 295 | isa = PBXSourcesBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | A15CF7EB3B02C6FA6CE0CBEE80AAAEF6 /* AADraggableView+Helper.swift in Sources */, 299 | D557EA5EEC5B1D729BCC1B6D59C88E6D /* AADraggableView-dummy.m in Sources */, 300 | B699D2BA21A36B7DD0916AEA243D29A7 /* AADraggableView.swift in Sources */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | CE343979E41523654F35CF30A1A3D947 /* Sources */ = { 305 | isa = PBXSourcesBuildPhase; 306 | buildActionMask = 2147483647; 307 | files = ( 308 | E88AF9E8EB85BAA942B597F2765DE532 /* Pods-AADraggableView_Example-dummy.m in Sources */, 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | }; 312 | /* End PBXSourcesBuildPhase section */ 313 | 314 | /* Begin PBXTargetDependency section */ 315 | 3C894AB924B8F6E7D6DEED33E02137DA /* PBXTargetDependency */ = { 316 | isa = PBXTargetDependency; 317 | name = AADraggableView; 318 | target = 7BBE4404A414593E8314B3D4CBC014D5 /* AADraggableView */; 319 | targetProxy = ACA0746F8E8767FDC417425143F65CA9 /* PBXContainerItemProxy */; 320 | }; 321 | /* End PBXTargetDependency section */ 322 | 323 | /* Begin XCBuildConfiguration section */ 324 | 0C89BD00557A579B78942821C759296D /* Release */ = { 325 | isa = XCBuildConfiguration; 326 | baseConfigurationReference = FED27E4117661EC586E5C4D09BF1BB22 /* Pods-AADraggableView_Example.release.xcconfig */; 327 | buildSettings = { 328 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 329 | CODE_SIGN_IDENTITY = ""; 330 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 331 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 332 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 333 | CURRENT_PROJECT_VERSION = 1; 334 | DEFINES_MODULE = YES; 335 | DYLIB_COMPATIBILITY_VERSION = 1; 336 | DYLIB_CURRENT_VERSION = 1; 337 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 338 | INFOPLIST_FILE = "Target Support Files/Pods-AADraggableView_Example/Info.plist"; 339 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 340 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 341 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 342 | MACH_O_TYPE = staticlib; 343 | MODULEMAP_FILE = "Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.modulemap"; 344 | OTHER_LDFLAGS = ""; 345 | OTHER_LIBTOOLFLAGS = ""; 346 | PODS_ROOT = "$(SRCROOT)"; 347 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 348 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 349 | SDKROOT = iphoneos; 350 | SKIP_INSTALL = YES; 351 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 352 | TARGETED_DEVICE_FAMILY = "1,2"; 353 | VALIDATE_PRODUCT = YES; 354 | VERSIONING_SYSTEM = "apple-generic"; 355 | VERSION_INFO_PREFIX = ""; 356 | }; 357 | name = Release; 358 | }; 359 | 48A5A0C1F2DFC432DAA293A184B346C1 /* Debug */ = { 360 | isa = XCBuildConfiguration; 361 | baseConfigurationReference = B19B763348442B78F0EBF25E4C32D7B7 /* AADraggableView.xcconfig */; 362 | buildSettings = { 363 | CODE_SIGN_IDENTITY = ""; 364 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 365 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 366 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 367 | CURRENT_PROJECT_VERSION = 1; 368 | DEFINES_MODULE = YES; 369 | DYLIB_COMPATIBILITY_VERSION = 1; 370 | DYLIB_CURRENT_VERSION = 1; 371 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 372 | GCC_PREFIX_HEADER = "Target Support Files/AADraggableView/AADraggableView-prefix.pch"; 373 | INFOPLIST_FILE = "Target Support Files/AADraggableView/Info.plist"; 374 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 375 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 377 | MODULEMAP_FILE = "Target Support Files/AADraggableView/AADraggableView.modulemap"; 378 | PRODUCT_MODULE_NAME = AADraggableView; 379 | PRODUCT_NAME = AADraggableView; 380 | SDKROOT = iphoneos; 381 | SKIP_INSTALL = YES; 382 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 383 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 384 | SWIFT_VERSION = 5.0; 385 | TARGETED_DEVICE_FAMILY = "1,2"; 386 | VERSIONING_SYSTEM = "apple-generic"; 387 | VERSION_INFO_PREFIX = ""; 388 | }; 389 | name = Debug; 390 | }; 391 | 4C826CD411913113C71FEC19EF8E778D /* Release */ = { 392 | isa = XCBuildConfiguration; 393 | baseConfigurationReference = B19B763348442B78F0EBF25E4C32D7B7 /* AADraggableView.xcconfig */; 394 | buildSettings = { 395 | CODE_SIGN_IDENTITY = ""; 396 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 397 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 398 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 399 | CURRENT_PROJECT_VERSION = 1; 400 | DEFINES_MODULE = YES; 401 | DYLIB_COMPATIBILITY_VERSION = 1; 402 | DYLIB_CURRENT_VERSION = 1; 403 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 404 | GCC_PREFIX_HEADER = "Target Support Files/AADraggableView/AADraggableView-prefix.pch"; 405 | INFOPLIST_FILE = "Target Support Files/AADraggableView/Info.plist"; 406 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 407 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 408 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 409 | MODULEMAP_FILE = "Target Support Files/AADraggableView/AADraggableView.modulemap"; 410 | PRODUCT_MODULE_NAME = AADraggableView; 411 | PRODUCT_NAME = AADraggableView; 412 | SDKROOT = iphoneos; 413 | SKIP_INSTALL = YES; 414 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 415 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 416 | SWIFT_VERSION = 5.0; 417 | TARGETED_DEVICE_FAMILY = "1,2"; 418 | VALIDATE_PRODUCT = YES; 419 | VERSIONING_SYSTEM = "apple-generic"; 420 | VERSION_INFO_PREFIX = ""; 421 | }; 422 | name = Release; 423 | }; 424 | 73ABC2D18F03827B7773405E7F2AD926 /* Debug */ = { 425 | isa = XCBuildConfiguration; 426 | buildSettings = { 427 | ALWAYS_SEARCH_USER_PATHS = NO; 428 | CLANG_ANALYZER_NONNULL = YES; 429 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 430 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 431 | CLANG_CXX_LIBRARY = "libc++"; 432 | CLANG_ENABLE_MODULES = YES; 433 | CLANG_ENABLE_OBJC_ARC = YES; 434 | CLANG_ENABLE_OBJC_WEAK = YES; 435 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 436 | CLANG_WARN_BOOL_CONVERSION = YES; 437 | CLANG_WARN_COMMA = YES; 438 | CLANG_WARN_CONSTANT_CONVERSION = YES; 439 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 440 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 441 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 442 | CLANG_WARN_EMPTY_BODY = YES; 443 | CLANG_WARN_ENUM_CONVERSION = YES; 444 | CLANG_WARN_INFINITE_RECURSION = YES; 445 | CLANG_WARN_INT_CONVERSION = YES; 446 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 447 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 451 | CLANG_WARN_STRICT_PROTOTYPES = YES; 452 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 453 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 454 | CLANG_WARN_UNREACHABLE_CODE = YES; 455 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 456 | CODE_SIGNING_ALLOWED = NO; 457 | CODE_SIGNING_REQUIRED = NO; 458 | COPY_PHASE_STRIP = NO; 459 | DEBUG_INFORMATION_FORMAT = dwarf; 460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 461 | ENABLE_TESTABILITY = YES; 462 | GCC_C_LANGUAGE_STANDARD = gnu11; 463 | GCC_DYNAMIC_NO_PIC = NO; 464 | GCC_NO_COMMON_BLOCKS = YES; 465 | GCC_OPTIMIZATION_LEVEL = 0; 466 | GCC_PREPROCESSOR_DEFINITIONS = ( 467 | "POD_CONFIGURATION_DEBUG=1", 468 | "DEBUG=1", 469 | "$(inherited)", 470 | ); 471 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 472 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 473 | GCC_WARN_UNDECLARED_SELECTOR = YES; 474 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 475 | GCC_WARN_UNUSED_FUNCTION = YES; 476 | GCC_WARN_UNUSED_VARIABLE = YES; 477 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 478 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 479 | MTL_FAST_MATH = YES; 480 | ONLY_ACTIVE_ARCH = YES; 481 | PRODUCT_NAME = "$(TARGET_NAME)"; 482 | STRIP_INSTALLED_PRODUCT = NO; 483 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 484 | SYMROOT = "${SRCROOT}/../build"; 485 | }; 486 | name = Debug; 487 | }; 488 | 74FC47609FA3836D8ED1261A9E684245 /* Debug */ = { 489 | isa = XCBuildConfiguration; 490 | baseConfigurationReference = 024A69464DCE819229865D73AD23EF0C /* Pods-AADraggableView_Example.debug.xcconfig */; 491 | buildSettings = { 492 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 493 | CODE_SIGN_IDENTITY = ""; 494 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 495 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 496 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 497 | CURRENT_PROJECT_VERSION = 1; 498 | DEFINES_MODULE = YES; 499 | DYLIB_COMPATIBILITY_VERSION = 1; 500 | DYLIB_CURRENT_VERSION = 1; 501 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 502 | INFOPLIST_FILE = "Target Support Files/Pods-AADraggableView_Example/Info.plist"; 503 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 504 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 505 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 506 | MACH_O_TYPE = staticlib; 507 | MODULEMAP_FILE = "Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.modulemap"; 508 | OTHER_LDFLAGS = ""; 509 | OTHER_LIBTOOLFLAGS = ""; 510 | PODS_ROOT = "$(SRCROOT)"; 511 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 512 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 513 | SDKROOT = iphoneos; 514 | SKIP_INSTALL = YES; 515 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 516 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 517 | TARGETED_DEVICE_FAMILY = "1,2"; 518 | VERSIONING_SYSTEM = "apple-generic"; 519 | VERSION_INFO_PREFIX = ""; 520 | }; 521 | name = Debug; 522 | }; 523 | 9B6B989AABD96BB9DECB1784EA5E2534 /* Release */ = { 524 | isa = XCBuildConfiguration; 525 | buildSettings = { 526 | ALWAYS_SEARCH_USER_PATHS = NO; 527 | CLANG_ANALYZER_NONNULL = YES; 528 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 529 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 530 | CLANG_CXX_LIBRARY = "libc++"; 531 | CLANG_ENABLE_MODULES = YES; 532 | CLANG_ENABLE_OBJC_ARC = YES; 533 | CLANG_ENABLE_OBJC_WEAK = YES; 534 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 535 | CLANG_WARN_BOOL_CONVERSION = YES; 536 | CLANG_WARN_COMMA = YES; 537 | CLANG_WARN_CONSTANT_CONVERSION = YES; 538 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 539 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 540 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 541 | CLANG_WARN_EMPTY_BODY = YES; 542 | CLANG_WARN_ENUM_CONVERSION = YES; 543 | CLANG_WARN_INFINITE_RECURSION = YES; 544 | CLANG_WARN_INT_CONVERSION = YES; 545 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 546 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 547 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 548 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 549 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 550 | CLANG_WARN_STRICT_PROTOTYPES = YES; 551 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 552 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 553 | CLANG_WARN_UNREACHABLE_CODE = YES; 554 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 555 | CODE_SIGNING_ALLOWED = NO; 556 | CODE_SIGNING_REQUIRED = NO; 557 | COPY_PHASE_STRIP = NO; 558 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 559 | ENABLE_NS_ASSERTIONS = NO; 560 | ENABLE_STRICT_OBJC_MSGSEND = YES; 561 | GCC_C_LANGUAGE_STANDARD = gnu11; 562 | GCC_NO_COMMON_BLOCKS = YES; 563 | GCC_PREPROCESSOR_DEFINITIONS = ( 564 | "POD_CONFIGURATION_RELEASE=1", 565 | "$(inherited)", 566 | ); 567 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 568 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 569 | GCC_WARN_UNDECLARED_SELECTOR = YES; 570 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 571 | GCC_WARN_UNUSED_FUNCTION = YES; 572 | GCC_WARN_UNUSED_VARIABLE = YES; 573 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 574 | MTL_ENABLE_DEBUG_INFO = NO; 575 | MTL_FAST_MATH = YES; 576 | PRODUCT_NAME = "$(TARGET_NAME)"; 577 | STRIP_INSTALLED_PRODUCT = NO; 578 | SYMROOT = "${SRCROOT}/../build"; 579 | }; 580 | name = Release; 581 | }; 582 | /* End XCBuildConfiguration section */ 583 | 584 | /* Begin XCConfigurationList section */ 585 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 586 | isa = XCConfigurationList; 587 | buildConfigurations = ( 588 | 73ABC2D18F03827B7773405E7F2AD926 /* Debug */, 589 | 9B6B989AABD96BB9DECB1784EA5E2534 /* Release */, 590 | ); 591 | defaultConfigurationIsVisible = 0; 592 | defaultConfigurationName = Release; 593 | }; 594 | 661904285C0073A6D38D39F434F5A81B /* Build configuration list for PBXNativeTarget "Pods-AADraggableView_Example" */ = { 595 | isa = XCConfigurationList; 596 | buildConfigurations = ( 597 | 74FC47609FA3836D8ED1261A9E684245 /* Debug */, 598 | 0C89BD00557A579B78942821C759296D /* Release */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | 7DCB28B06D6DE687E1ABFD80D4502B86 /* Build configuration list for PBXNativeTarget "AADraggableView" */ = { 604 | isa = XCConfigurationList; 605 | buildConfigurations = ( 606 | 48A5A0C1F2DFC432DAA293A184B346C1 /* Debug */, 607 | 4C826CD411913113C71FEC19EF8E778D /* Release */, 608 | ); 609 | defaultConfigurationIsVisible = 0; 610 | defaultConfigurationName = Release; 611 | }; 612 | /* End XCConfigurationList section */ 613 | }; 614 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 615 | } 616 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AADraggableView.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 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/ahsanali.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AADraggableView.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | Pods-AADraggableView_Example.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 2 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/macbookpro.xcuserdatad/xcschemes/AADraggableView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/macbookpro.xcuserdatad/xcschemes/Pods-AADraggableView_Example.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 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/macbookpro.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AADraggableView.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-AADraggableView_Example.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/muhammad.ahsan.xcuserdatad/xcschemes/Pods-AADraggableView_Example.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 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/muhammad.ahsan.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AADraggableView.xcscheme_^#shared#^_ 8 | 9 | isShown 10 | 11 | 12 | Pods-AADraggableView_Example.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 3367E6822328477A77389E4C474C9383 21 | 22 | primary 23 | 24 | 25 | 554742C8C7E365F1CC7BD5B08907757C 26 | 27 | primary 28 | 29 | 30 | 71AE0304288D48C228A0E2D57B4E6946 31 | 32 | primary 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AADraggableView/AADraggableView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AADraggableView : NSObject 3 | @end 4 | @implementation PodsDummy_AADraggableView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AADraggableView/AADraggableView-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/Pods/Target Support Files/AADraggableView/AADraggableView-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 AADraggableViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AADraggableViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AADraggableView/AADraggableView.modulemap: -------------------------------------------------------------------------------- 1 | framework module AADraggableView { 2 | umbrella header "AADraggableView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AADraggableView/AADraggableView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AADraggableView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AADraggableView/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-AADraggableView_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-AADraggableView_Example/Pods-AADraggableView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AADraggableView 5 | 6 | Copyright (c) 2017 engrahsanali 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/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_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 engrahsanali <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 | AADraggableView 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/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AADraggableView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AADraggableView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | 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}\"" 80 | 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}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # 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. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/AADraggableView/AADraggableView.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/AADraggableView/AADraggableView.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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}" || true 60 | 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} 61 | ;; 62 | *.xib) 63 | 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}" || true 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_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_AADraggableView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AADraggableView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AADraggableView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AADraggableView/AADraggableView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AADraggableView" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AADraggableView_Example { 2 | umbrella header "Pods-AADraggableView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AADraggableView_Example/Pods-AADraggableView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AADraggableView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/AADraggableView/AADraggableView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "AADraggableView" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 engrahsanali 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Table of Contents 2 | 3 | - [AADraggableView](#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 draggable view](#section-id-90) 13 | - [Set view object as draggable view](#section-id-104) 14 | - [Set properties and usage](#section-id-112) 15 | - [Properties with description](#section-id-150) 16 | - [Contributions & License](#section-id-156) 17 | 18 | 19 |
20 | 21 | #AADraggableView 22 | 23 | [![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/AADraggableView.svg)](http://cocoadocs.org/docsets/AADraggableView) [![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/AADraggableView.svg?branch=master)](https://travis-ci.org/EngrAhsanAli/AADraggableView) 24 | ![License MIT](https://img.shields.io/github/license/mashape/apistatus.svg) [![CocoaPods](https://img.shields.io/cocoapods/p/AADraggableView.svg)]() 25 | 26 | 27 |
28 | 29 | ##Description 30 | 31 | AADraggableView is a light-weight and easy-to-use draggable views in screen bounds with options designed to drag any `UIView`. It allows to drag the `UIView` in any view controller. 32 | 33 |
34 | 35 | ##Demonstration 36 | 37 | You can define repositioning after dragging by following values: 38 | 39 | 40 | -- **sticky** 41 | 42 | > View will stick with the edges with padding. 43 | 44 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/Sticky.gif) 45 | 46 | 47 | -- **free** 48 | 49 | > View will free to move in whole screen 50 | 51 | 52 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/Free.gif) 53 | 54 | 55 | -- **edgesOnly** 56 | 57 | > View will stick with nearby edges only 58 | 59 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/EdgesOnly.gif) 60 | 61 | 62 | -- **topOnly** 63 | > View will stick with top edge 64 | 65 | 66 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/TopOnly.gif) 67 | 68 | 69 | -- **bottomOnly** 70 | > View will stick with bottom edge 71 | 72 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/BottomOnly.gif) 73 | 74 | 75 | -- **leftOnly** 76 | > View will stick with left edge 77 | 78 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/LeftOnly.gif) 79 | 80 | 81 | -- **rightOnly** 82 | > View will stick with right edge 83 | 84 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/RightOnly.gif) 85 | 86 | 87 | 88 | 89 | 90 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 91 | 92 | 93 |
94 | 95 | ##Requirements 96 | 97 | - iOS 8.0+ 98 | - Xcode 8.0+ 99 | - Swift 3+ 100 | 101 |
102 | 103 | # Installation 104 | 105 | `AADraggableView` can be installed using CocoaPods, Carthage, or manually. 106 | 107 | 108 |
109 | 110 | ##CocoaPods 111 | 112 | `AADraggableView` is available through [CocoaPods](http://cocoapods.org). To install CocoaPods, run: 113 | 114 | `$ gem install cocoapods` 115 | 116 | Then create a Podfile with the following contents: 117 | 118 | ``` 119 | source 'https://github.com/CocoaPods/Specs.git' 120 | platform :ios, '8.0' 121 | use_frameworks! 122 | 123 | target '' do 124 | pod 'AADraggableView' 125 | end 126 | 127 | ``` 128 | 129 | Finally, run the following command to install it: 130 | ``` 131 | $ pod install 132 | ``` 133 | 134 | 135 | 136 |
137 | 138 | ##Carthage 139 | 140 | To install Carthage, run (using Homebrew): 141 | ``` 142 | $ brew update 143 | $ brew install carthage 144 | ``` 145 | Then add the following line to your Cartfile: 146 | 147 | ``` 148 | github "EngrAhsanAli/AADraggableView" "master" 149 | ``` 150 | 151 | Then import the library in all files where you use it: 152 | ```swift 153 | import AADraggableView 154 | ``` 155 | 156 | 157 |
158 | 159 | ##Manual Installation 160 | 161 | If you prefer not to use either of the above mentioned dependency managers, you can integrate `AADraggableView` into your project manually by adding the files contained in the Classes folder to your project. 162 | 163 | 164 |
165 | 166 | #Getting Started 167 | ---------- 168 | 169 |
170 | 171 | ##Create object of draggable view 172 | 173 | Drag `UIView` object from the *Object Library* into your `UIViewController` in storyboard. 174 | 175 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/Step1.png) 176 | 177 |
178 | 179 | ##Set view object as draggable view 180 | 181 | Set the view's class to `AADraggableView` in the *Identity Inspector*. 182 | Make sure the module property is also set to `AADraggableView`. 183 | 184 | ![](https://github.com/EngrAhsanAli/AADraggableView/blob/master/Screenshots/Step2.png) 185 | 186 |
187 | 188 | ##Set properties and usage 189 | 190 | You can set following properties in `viewDidLoad` method in your view controller. 191 | 192 | **Usage**: 193 | ```swift 194 | // IBOutlet for AADraggableView 195 | @IBOutlet weak var view: AADraggableView 196 | 197 | // Set options 198 | view.delegate = self // AADraggableViewDelegate 199 | view.respectedView = // reference view 200 | view.reposition = // Reposition option 201 | view.repositionIfNeeded() // Auto correct reposition 202 | 203 | // Add delegate methods and observe changes! 204 | func draggingDidBegan(_ sender: UIView) { 205 | // Dragging did began of sender 206 | } 207 | 208 | func draggingDidEnd(_ sender: UIView) { 209 | // Dragging did end of sender 210 | } 211 | ``` 212 | 213 |
214 | 215 | ##Properties with description 216 | 217 | You can use following properties: 218 | 219 | | Properties | Types | Description | 220 | |-----------------|----------------|--------------------------------------------| 221 | | `padding` | `CGFloat` | Padding from edges when reposition | 222 | | `duration` | `TimeInterval` | Animaiton duration for reposition | 223 | | `respectedView` | `UIView?` | Respected UIView for reference view bounds | 224 | | `reposition` | `Reposition` | Reposition enum with options | 225 | | `isEnabled` | `Bool` | User dragging enable or disable | 226 | 227 |
228 | 229 | #Contributions & License 230 | 231 | `AADraggableView` is available under the MIT license. See the [LICENSE](./LICENSE) file for more info. 232 | 233 | 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. 234 | 235 | I would love to know if you are using `AADraggableView` in your app, send an email to [Engr. Ahsan Ali](mailto:hafiz.m.ahsan.ali@gmail.com) 236 | 237 | -------------------------------------------------------------------------------- /Screenshots/AADraggableView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/AADraggableView.png -------------------------------------------------------------------------------- /Screenshots/BottomOnly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/BottomOnly.gif -------------------------------------------------------------------------------- /Screenshots/EdgesOnly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/EdgesOnly.gif -------------------------------------------------------------------------------- /Screenshots/Free.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/Free.gif -------------------------------------------------------------------------------- /Screenshots/LeftOnly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/LeftOnly.gif -------------------------------------------------------------------------------- /Screenshots/RightOnly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/RightOnly.gif -------------------------------------------------------------------------------- /Screenshots/Step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/Step1.png -------------------------------------------------------------------------------- /Screenshots/Step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/Step2.png -------------------------------------------------------------------------------- /Screenshots/Sticky.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/Sticky.gif -------------------------------------------------------------------------------- /Screenshots/TopOnly.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EngrAhsanAli/AADraggableView/5e3718b9be239657bffd954c8c05c0bce24249ff/Screenshots/TopOnly.gif -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------