├── .gitattributes ├── .gitignore ├── Classes └── CameraButton.swift ├── README.md ├── camerabutton.gif ├── iOS-Camera-Button.podspec ├── license.md └── sample ├── Podfile ├── Podfile.lock ├── Pods ├── Local Podspecs │ └── iOS-Camera-button.podspec.json ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj └── Target Support Files │ ├── Pods-cameraButton │ ├── Info.plist │ ├── Pods-cameraButton-acknowledgements.markdown │ ├── Pods-cameraButton-acknowledgements.plist │ ├── Pods-cameraButton-dummy.m │ ├── Pods-cameraButton-frameworks.sh │ ├── Pods-cameraButton-resources.sh │ ├── Pods-cameraButton-umbrella.h │ ├── Pods-cameraButton.debug.xcconfig │ ├── Pods-cameraButton.modulemap │ └── Pods-cameraButton.release.xcconfig │ └── iOS-Camera-Button │ ├── Info.plist │ ├── iOS-Camera-Button-dummy.m │ ├── iOS-Camera-Button-prefix.pch │ ├── iOS-Camera-Button-umbrella.h │ ├── iOS-Camera-Button.modulemap │ └── iOS-Camera-Button.xcconfig ├── cameraButton.xcodeproj ├── project.pbxproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── cameraButton.xcworkspace └── contents.xcworkspacedata └── cameraButton ├── AppDelegate.swift ├── Assets.xcassets └── AppIcon.appiconset │ └── Contents.json ├── Base.lproj ├── LaunchScreen.storyboard └── Main.storyboard ├── Info.plist └── ViewController.swift /.gitattributes: -------------------------------------------------------------------------------- 1 | iOS-Camera-Button.podspec linguist-vendored 2 | sample/Podfile linguist-vendored -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /Classes/CameraButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CameraButton.swift 3 | // TenStats 4 | // 5 | // Created by Olivier Destrebecq on 1/16/16. 6 | // Copyright © 2016 MobDesign. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable 12 | class CameraButton: UIButton { 13 | //create a new layer to render the various circles 14 | var pathLayer:CAShapeLayer! 15 | let animationDuration = 0.4 16 | 17 | override init(frame: CGRect) { 18 | 19 | super.init(frame: frame) 20 | 21 | self.setup() 22 | } 23 | 24 | required init?(coder aDecoder: NSCoder) { 25 | super.init(coder: aDecoder) 26 | 27 | self.setup() 28 | } 29 | 30 | //common set up code 31 | func setup() 32 | { 33 | //add a shape layer for the inner shape to be able to animate it 34 | self.pathLayer = CAShapeLayer() 35 | 36 | //show the right shape for the current state of the control 37 | self.pathLayer.path = self.currentInnerPath().cgPath 38 | 39 | //don't use a stroke color, which would give a ring around the inner circle 40 | self.pathLayer.strokeColor = nil 41 | 42 | //set the color for the inner shape 43 | self.pathLayer.fillColor = UIColor.red.cgColor 44 | 45 | //add the path layer to the control layer so it gets drawn 46 | self.layer.addSublayer(self.pathLayer) 47 | } 48 | 49 | override func awakeFromNib() 50 | { 51 | super.awakeFromNib() 52 | 53 | //lock the size to match the size of the camera button 54 | self.addConstraint(NSLayoutConstraint(item: self, 55 | attribute:.width, 56 | relatedBy:.equal, 57 | toItem:nil, 58 | attribute:.width, 59 | multiplier:1, 60 | constant:66.0)) 61 | self.addConstraint(NSLayoutConstraint(item: self, 62 | attribute:.height, 63 | relatedBy:.equal, 64 | toItem:nil, 65 | attribute:.width, 66 | multiplier:1, 67 | constant:66.0)) 68 | 69 | //clear the title 70 | self.setTitle("", for:UIControlState.normal) 71 | 72 | //add out target for event handling 73 | self.addTarget(self, action: #selector(touchUpInside), for: UIControlEvents.touchUpInside) 74 | self.addTarget(self, action: #selector(touchDown), for: UIControlEvents.touchDown) 75 | } 76 | 77 | 78 | override func prepareForInterfaceBuilder() 79 | { 80 | //clear the title 81 | self.setTitle("", for:UIControlState.normal) 82 | } 83 | 84 | override var isSelected:Bool{ 85 | didSet{ 86 | //change the inner shape to match the state 87 | let morph = CABasicAnimation(keyPath: "path") 88 | morph.duration = animationDuration; 89 | morph.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) 90 | 91 | //change the shape according to the current state of the control 92 | morph.toValue = self.currentInnerPath().cgPath 93 | 94 | //ensure the animation is not reverted once completed 95 | morph.fillMode = kCAFillModeForwards 96 | morph.isRemovedOnCompletion = false 97 | 98 | //add the animation 99 | self.pathLayer.add(morph, forKey:"") 100 | } 101 | } 102 | 103 | func touchUpInside(sender:UIButton) 104 | { 105 | //Create the animation to restore the color of the button 106 | let colorChange = CABasicAnimation(keyPath: "fillColor") 107 | colorChange.duration = animationDuration; 108 | colorChange.toValue = UIColor.red.cgColor 109 | 110 | //make sure that the color animation is not reverted once the animation is completed 111 | colorChange.fillMode = kCAFillModeForwards 112 | colorChange.isRemovedOnCompletion = false 113 | 114 | //indicate which animation timing function to use, in this case ease in and ease out 115 | colorChange.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) 116 | 117 | //add the animation 118 | self.pathLayer.add(colorChange, forKey:"darkColor") 119 | 120 | //change the state of the control to update the shape 121 | self.isSelected = !self.isSelected 122 | } 123 | 124 | func touchDown(sender:UIButton) 125 | { 126 | //when the user touches the button, the inner shape should change transparency 127 | //create the animation for the fill color 128 | let morph = CABasicAnimation(keyPath: "fillColor") 129 | morph.duration = animationDuration; 130 | 131 | //set the value we want to animate to 132 | morph.toValue = UIColor(colorLiteralRed: 1, green: 0, blue: 0, alpha: 0.5).cgColor 133 | 134 | //ensure the animation does not get reverted once completed 135 | morph.fillMode = kCAFillModeForwards 136 | morph.isRemovedOnCompletion = false 137 | 138 | morph.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) 139 | self.pathLayer.add(morph, forKey:"") 140 | } 141 | 142 | override func draw(_ rect: CGRect) { 143 | //always draw the outer ring, the inner control is drawn during the animations 144 | let outerRing = UIBezierPath(ovalIn: CGRect(x:3, y:3, width:60, height:60)) 145 | outerRing.lineWidth = 6 146 | UIColor.white.setStroke() 147 | outerRing.stroke() 148 | } 149 | 150 | func currentInnerPath () -> UIBezierPath 151 | { 152 | //choose the correct inner path based on the control state 153 | var returnPath:UIBezierPath; 154 | if (self.isSelected) 155 | { 156 | returnPath = self.innerSquarePath() 157 | } 158 | else 159 | { 160 | returnPath = self.innerCirclePath() 161 | } 162 | 163 | return returnPath 164 | } 165 | 166 | func innerCirclePath () -> UIBezierPath 167 | { 168 | return UIBezierPath(roundedRect: CGRect(x:8, y:8, width:50, height:50), cornerRadius: 25) 169 | } 170 | 171 | func innerSquarePath () -> UIBezierPath 172 | { 173 | return UIBezierPath(roundedRect: CGRect(x:18, y:18, width:30, height:30), cornerRadius: 4) 174 | } 175 | } 176 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # iOS-camera-button 2 | A button that behave the same way as the video camera button in the iOS camera 3 | 4 | # Preview 5 | ![Button preview](https://github.com/otusweb/iOS-camera-button/blob/master/camerabutton.gif?raw=true) 6 | 7 | # installation 8 | ## Using cocoapod 9 | `pod 'iOS-Camera-Button' 10 | 11 | ## Manually 12 | copy cameraButton.swift to your project 13 | 14 | # usage 15 | ## storyboard 16 | - add a button to your view 17 | - in the "Identity Inspector" in xCode, change the class to "CameraButton" 18 | - add constraint for the placement of the button 19 | - no need to add a height and width contraint, those are added automatically (66*66) 20 | 21 | # License 22 | iOS-Camera-Button is available under MIT license, see the license file for details -------------------------------------------------------------------------------- /camerabutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/otusweb/iOS-camera-button/b18ee790e52ea32ce4d43e31bb03fbe2404c7d42/camerabutton.gif -------------------------------------------------------------------------------- /iOS-Camera-Button.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod spec lint iOS-Camera-Button.podspec' to ensure this is a 3 | # valid spec and to remove all comments including this before submitting the spec. 4 | # 5 | # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html 6 | # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | 11 | # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 12 | # 13 | # These will help people to find your library, and whilst it 14 | # can feel like a chore to fill in it's definitely to your advantage. The 15 | # summary should be tweet-length, and the description more in depth. 16 | # 17 | 18 | s.name = "iOS-Camera-Button" 19 | s.version = "0.0.1" 20 | s.summary = "A button that behaves like the camera button in iOS" 21 | 22 | # This description is used to generate tags and improve search results. 23 | # * Think: What does it do? Why did you write it? What is the focus? 24 | # * Try to keep it short, snappy and to the point. 25 | # * Write the description between the DESC delimiters below. 26 | # * Finally, don't worry about the indent, CocoaPods strips it! 27 | s.description = <<-DESC 28 | A clone of the iOS camera button including animation 29 | DESC 30 | 31 | s.homepage = "https://github.com/otusweb/iOS-camera-button" 32 | # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" 33 | 34 | 35 | # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 36 | # 37 | # Licensing your code is important. See http://choosealicense.com for more info. 38 | # CocoaPods will detect a license file if there is a named LICENSE* 39 | # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. 40 | # 41 | 42 | # s.license = "MIT (example)" 43 | s.license = { :type => "MIT", :file => "license.md" } 44 | 45 | 46 | # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 47 | # 48 | # Specify the authors of the library, with email addresses. Email addresses 49 | # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also 50 | # accepts just a name if you'd rather not provide an email address. 51 | # 52 | # Specify a social_media_url where others can refer to, for example a twitter 53 | # profile URL. 54 | # 55 | 56 | s.author = { "Olivier Destrebecq" => "olivier@mobdesignapps.fr" } 57 | # Or just: s.author = "Olivier Destrebecq" 58 | # s.authors = { "Olivier Destrebecq" => "olivier@mobdesignapps.fr" } 59 | s.social_media_url = "http://twitter.com/otusweb" 60 | 61 | # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 62 | # 63 | # If this Pod runs only on iOS or OS X, then specify the platform and 64 | # the deployment target. You can optionally include the target after the platform. 65 | # 66 | 67 | # s.platform = :ios 68 | s.platform = :ios, "8.0" 69 | 70 | # When using multiple platforms 71 | s.ios.deployment_target = "9.0" 72 | # s.osx.deployment_target = "10.7" 73 | # s.watchos.deployment_target = "2.0" 74 | # s.tvos.deployment_target = "9.0" 75 | 76 | 77 | # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 78 | # 79 | # Specify the location from where the source should be retrieved. 80 | # Supports git, hg, bzr, svn and HTTP. 81 | # 82 | 83 | s.source = { :git => "https://github.com/otusweb/iOS-camera-button.git", :tag => "#{s.version}" } 84 | 85 | 86 | # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 87 | # 88 | # CocoaPods is smart about how it includes source code. For source files 89 | # giving a folder will include any swift, h, m, mm, c & cpp files. 90 | # For header files it will include any header in the folder. 91 | # Not including the public_header_files will make all headers public. 92 | # 93 | 94 | s.source_files = "Classes/*.{swift}" 95 | s.exclude_files = "sample" 96 | 97 | # s.public_header_files = "Classes/**/*.h" 98 | 99 | 100 | # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 101 | # 102 | # A list of resources included with the Pod. These are copied into the 103 | # target bundle with a build phase script. Anything else will be cleaned. 104 | # You can preserve files from being cleaned, please don't preserve 105 | # non-essential files like tests, examples and documentation. 106 | # 107 | 108 | # s.resource = "icon.png" 109 | # s.resources = "Resources/*.png" 110 | 111 | # s.preserve_paths = "FilesToSave", "MoreFilesToSave" 112 | 113 | 114 | # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 115 | # 116 | # Link your library with frameworks, or libraries. Libraries do not include 117 | # the lib prefix of their name. 118 | # 119 | 120 | # s.framework = "SomeFramework" 121 | # s.frameworks = "SomeFramework", "AnotherFramework" 122 | 123 | # s.library = "iconv" 124 | # s.libraries = "iconv", "xml2" 125 | 126 | 127 | # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 128 | # 129 | # If your library depends on compiler flags you can set them in the xcconfig hash 130 | # where they will only apply to your library. If you depend on other Podspecs 131 | # you can include multiple dependencies to ensure it works. 132 | 133 | # s.requires_arc = true 134 | 135 | # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } 136 | # s.dependency "JSONKit", "~> 1.4" 137 | 138 | end 139 | -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Olivier Destrebecq 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sample/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'cameraButton' do 5 | # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for cameraButton 9 | pod 'iOS-Camera-Button', :path => '../' 10 | 11 | end 12 | -------------------------------------------------------------------------------- /sample/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - iOS-Camera-Button (0.0.1) 3 | 4 | DEPENDENCIES: 5 | - iOS-Camera-Button (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | iOS-Camera-Button: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | iOS-Camera-Button: aaf8b2fdc00b3ebb698d42fdcee2a847bbb36187 13 | 14 | PODFILE CHECKSUM: f471f434b143dbe9b8751dfcaf38bb36b575b31c 15 | 16 | COCOAPODS: 1.1.1 17 | -------------------------------------------------------------------------------- /sample/Pods/Local Podspecs/iOS-Camera-button.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "iOS-Camera-Button", 3 | "version": "0.0.1", 4 | "summary": "A button that behaves like the camera button in iOS", 5 | "description": "A clone of the iOS camera button including animation", 6 | "homepage": "https://github.com/otusweb/iOS-camera-button", 7 | "license": { 8 | "type": "MIT", 9 | "file": "license.md" 10 | }, 11 | "authors": { 12 | "Olivier Destrebecq": "olivier@mobdesignapps.fr" 13 | }, 14 | "social_media_url": "http://twitter.com/otusweb", 15 | "platforms": { 16 | "ios": "9.0" 17 | }, 18 | "source": { 19 | "git": "https://github.com/otusweb/iOS-camera-button.git", 20 | "tag": "0.0.1" 21 | }, 22 | "source_files": "Classes/*.{swift}", 23 | "exclude_files": "sample" 24 | } 25 | -------------------------------------------------------------------------------- /sample/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - iOS-Camera-Button (0.0.1) 3 | 4 | DEPENDENCIES: 5 | - iOS-Camera-Button (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | iOS-Camera-Button: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | iOS-Camera-Button: aaf8b2fdc00b3ebb698d42fdcee2a847bbb36187 13 | 14 | PODFILE CHECKSUM: f471f434b143dbe9b8751dfcaf38bb36b575b31c 15 | 16 | COCOAPODS: 1.1.1 17 | -------------------------------------------------------------------------------- /sample/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 | 1F4EBB40306C31FA819E57A48A28FCB8 /* CameraButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F3F7FC190A176D5A81289AE645F66A /* CameraButton.swift */; }; 11 | 64D1B247C76D7C140A7D52F3FB4A8887 /* iOS-Camera-Button-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7FA6EF7D2D0A97FE59A9A2C9A252AAB3 /* iOS-Camera-Button-dummy.m */; }; 12 | A0FC1B8050593AF44DC295D4E27D01AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | BF9541914A11EA099660D80005543705 /* iOS-Camera-Button-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = ED2B0326AC153991D50167B2294B647C /* iOS-Camera-Button-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | C7F4A27E8329AE6D27032670BDD33B9F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | D93F6B804E57168542F5336CA6875C06 /* Pods-cameraButton-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3D0916ECB9BFCE9BB93E6AE28A46B7FD /* Pods-cameraButton-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | E7756F0AAA4942021BDA08DD455CB768 /* Pods-cameraButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D964ABBB97367C387A05E5D2EF85C88F /* Pods-cameraButton-dummy.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 820D02687B1473C885B3522EFE509238 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = AF6DFCB917775E150ACF44D1F354520D; 25 | remoteInfo = "iOS-Camera-Button"; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 102D396008EC9E80280E67DC0418FDEE /* Pods-cameraButton.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-cameraButton.debug.xcconfig"; sourceTree = ""; }; 31 | 223838703F4458A02EC2ACA572EE52CB /* iOS-Camera-Button-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iOS-Camera-Button-prefix.pch"; sourceTree = ""; }; 32 | 34492263475E987930F66D55A81F14A2 /* Pods-cameraButton.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-cameraButton.release.xcconfig"; sourceTree = ""; }; 33 | 3D0916ECB9BFCE9BB93E6AE28A46B7FD /* Pods-cameraButton-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-cameraButton-umbrella.h"; sourceTree = ""; }; 34 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 35 | 748E98A91F0A19B423C2962C5CDD8915 /* Pods-cameraButton-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-cameraButton-acknowledgements.plist"; sourceTree = ""; }; 36 | 7FA6EF7D2D0A97FE59A9A2C9A252AAB3 /* iOS-Camera-Button-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "iOS-Camera-Button-dummy.m"; sourceTree = ""; }; 37 | 895B1F82068784095464B33B9DB88E92 /* Pods-cameraButton-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-cameraButton-frameworks.sh"; sourceTree = ""; }; 38 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 39 | 97DC63915537054FCF59C3BC5F66C38F /* iOS_Camera_Button.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = iOS_Camera_Button.framework; path = "iOS-Camera-Button.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | A5F167CA12D26A696FD5F89660359DF7 /* iOS-Camera-Button.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "iOS-Camera-Button.modulemap"; sourceTree = ""; }; 41 | B40D583CB763EA7D12B6F2137086526B /* iOS-Camera-Button.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "iOS-Camera-Button.xcconfig"; sourceTree = ""; }; 42 | B9C2AD3FCB0A4F4E36561EDB47F98B72 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | B9F3F7FC190A176D5A81289AE645F66A /* CameraButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CameraButton.swift; sourceTree = ""; }; 44 | C0C2C2778863E7E8AD00477EC0AAB8A7 /* Pods-cameraButton.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-cameraButton.modulemap"; sourceTree = ""; }; 45 | D4215D1B6C8C645E0D5939196C708A3D /* Pods_cameraButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_cameraButton.framework; path = "Pods-cameraButton.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | D964ABBB97367C387A05E5D2EF85C88F /* Pods-cameraButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-cameraButton-dummy.m"; sourceTree = ""; }; 47 | DD43F16316E53770F76C37C37F46223E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | ED2B0326AC153991D50167B2294B647C /* iOS-Camera-Button-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "iOS-Camera-Button-umbrella.h"; sourceTree = ""; }; 49 | F1B91589B7D0A0726ABA70E772101041 /* Pods-cameraButton-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-cameraButton-acknowledgements.markdown"; sourceTree = ""; }; 50 | F674E4F34FF9FF1F5917C8AF784CE24C /* Pods-cameraButton-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-cameraButton-resources.sh"; sourceTree = ""; }; 51 | /* End PBXFileReference section */ 52 | 53 | /* Begin PBXFrameworksBuildPhase section */ 54 | D855BCAFFB1BDA6C5CB8BACE016CA0FD /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | A0FC1B8050593AF44DC295D4E27D01AB /* Foundation.framework in Frameworks */, 59 | ); 60 | runOnlyForDeploymentPostprocessing = 0; 61 | }; 62 | F147950C6C391A2B52ACE8F10BB46249 /* Frameworks */ = { 63 | isa = PBXFrameworksBuildPhase; 64 | buildActionMask = 2147483647; 65 | files = ( 66 | C7F4A27E8329AE6D27032670BDD33B9F /* Foundation.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 19A886B7757306DC408F44A290F25CD5 /* iOS-Camera-Button */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | F4A762FA3E01D94060A322082FEF5088 /* Classes */, 77 | 4DF963752B74EF8B595B426E6FED67EE /* Support Files */, 78 | ); 79 | name = "iOS-Camera-Button"; 80 | path = ../..; 81 | sourceTree = ""; 82 | }; 83 | 3AF8DCDA3991A3A38CBBDB5E9B9F3692 /* Pods-cameraButton */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | DD43F16316E53770F76C37C37F46223E /* Info.plist */, 87 | C0C2C2778863E7E8AD00477EC0AAB8A7 /* Pods-cameraButton.modulemap */, 88 | F1B91589B7D0A0726ABA70E772101041 /* Pods-cameraButton-acknowledgements.markdown */, 89 | 748E98A91F0A19B423C2962C5CDD8915 /* Pods-cameraButton-acknowledgements.plist */, 90 | D964ABBB97367C387A05E5D2EF85C88F /* Pods-cameraButton-dummy.m */, 91 | 895B1F82068784095464B33B9DB88E92 /* Pods-cameraButton-frameworks.sh */, 92 | F674E4F34FF9FF1F5917C8AF784CE24C /* Pods-cameraButton-resources.sh */, 93 | 3D0916ECB9BFCE9BB93E6AE28A46B7FD /* Pods-cameraButton-umbrella.h */, 94 | 102D396008EC9E80280E67DC0418FDEE /* Pods-cameraButton.debug.xcconfig */, 95 | 34492263475E987930F66D55A81F14A2 /* Pods-cameraButton.release.xcconfig */, 96 | ); 97 | name = "Pods-cameraButton"; 98 | path = "Target Support Files/Pods-cameraButton"; 99 | sourceTree = ""; 100 | }; 101 | 4DF963752B74EF8B595B426E6FED67EE /* Support Files */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | B9C2AD3FCB0A4F4E36561EDB47F98B72 /* Info.plist */, 105 | A5F167CA12D26A696FD5F89660359DF7 /* iOS-Camera-Button.modulemap */, 106 | B40D583CB763EA7D12B6F2137086526B /* iOS-Camera-Button.xcconfig */, 107 | 7FA6EF7D2D0A97FE59A9A2C9A252AAB3 /* iOS-Camera-Button-dummy.m */, 108 | 223838703F4458A02EC2ACA572EE52CB /* iOS-Camera-Button-prefix.pch */, 109 | ED2B0326AC153991D50167B2294B647C /* iOS-Camera-Button-umbrella.h */, 110 | ); 111 | name = "Support Files"; 112 | path = "sample/Pods/Target Support Files/iOS-Camera-Button"; 113 | sourceTree = ""; 114 | }; 115 | 7DB346D0F39D3F0E887471402A8071AB = { 116 | isa = PBXGroup; 117 | children = ( 118 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 119 | EF973B021E0FE72AE171298400D0C3EE /* Development Pods */, 120 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 121 | F6D3430A496D02AC85DC004D0A3238E9 /* Products */, 122 | DE6754163326375A492EC7666C42A10F /* Targets Support Files */, 123 | ); 124 | sourceTree = ""; 125 | }; 126 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 130 | ); 131 | name = Frameworks; 132 | sourceTree = ""; 133 | }; 134 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 138 | ); 139 | name = iOS; 140 | sourceTree = ""; 141 | }; 142 | DE6754163326375A492EC7666C42A10F /* Targets Support Files */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 3AF8DCDA3991A3A38CBBDB5E9B9F3692 /* Pods-cameraButton */, 146 | ); 147 | name = "Targets Support Files"; 148 | sourceTree = ""; 149 | }; 150 | EF973B021E0FE72AE171298400D0C3EE /* Development Pods */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | 19A886B7757306DC408F44A290F25CD5 /* iOS-Camera-Button */, 154 | ); 155 | name = "Development Pods"; 156 | sourceTree = ""; 157 | }; 158 | F4A762FA3E01D94060A322082FEF5088 /* Classes */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | B9F3F7FC190A176D5A81289AE645F66A /* CameraButton.swift */, 162 | ); 163 | name = Classes; 164 | path = Classes; 165 | sourceTree = ""; 166 | }; 167 | F6D3430A496D02AC85DC004D0A3238E9 /* Products */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | 97DC63915537054FCF59C3BC5F66C38F /* iOS_Camera_Button.framework */, 171 | D4215D1B6C8C645E0D5939196C708A3D /* Pods_cameraButton.framework */, 172 | ); 173 | name = Products; 174 | sourceTree = ""; 175 | }; 176 | /* End PBXGroup section */ 177 | 178 | /* Begin PBXHeadersBuildPhase section */ 179 | 48DE85A4B19B81B4C9C0F9E8430713B0 /* Headers */ = { 180 | isa = PBXHeadersBuildPhase; 181 | buildActionMask = 2147483647; 182 | files = ( 183 | BF9541914A11EA099660D80005543705 /* iOS-Camera-Button-umbrella.h in Headers */, 184 | ); 185 | runOnlyForDeploymentPostprocessing = 0; 186 | }; 187 | C2C6A2709150DF075AA5E0C9E3F80A07 /* Headers */ = { 188 | isa = PBXHeadersBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | D93F6B804E57168542F5336CA6875C06 /* Pods-cameraButton-umbrella.h in Headers */, 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | }; 195 | /* End PBXHeadersBuildPhase section */ 196 | 197 | /* Begin PBXNativeTarget section */ 198 | 53931414E7B0D34B5B678992D3A467C4 /* Pods-cameraButton */ = { 199 | isa = PBXNativeTarget; 200 | buildConfigurationList = 108422EE873FC0356EA886CDEF73FD45 /* Build configuration list for PBXNativeTarget "Pods-cameraButton" */; 201 | buildPhases = ( 202 | 12810EDDCE6C41A702AA27265F7FD36C /* Sources */, 203 | D855BCAFFB1BDA6C5CB8BACE016CA0FD /* Frameworks */, 204 | C2C6A2709150DF075AA5E0C9E3F80A07 /* Headers */, 205 | ); 206 | buildRules = ( 207 | ); 208 | dependencies = ( 209 | 73FCD2AAA323144DB91A57535113451F /* PBXTargetDependency */, 210 | ); 211 | name = "Pods-cameraButton"; 212 | productName = "Pods-cameraButton"; 213 | productReference = D4215D1B6C8C645E0D5939196C708A3D /* Pods_cameraButton.framework */; 214 | productType = "com.apple.product-type.framework"; 215 | }; 216 | AF6DFCB917775E150ACF44D1F354520D /* iOS-Camera-Button */ = { 217 | isa = PBXNativeTarget; 218 | buildConfigurationList = 2EF377053C23DDFE898BD387330CD1B5 /* Build configuration list for PBXNativeTarget "iOS-Camera-Button" */; 219 | buildPhases = ( 220 | 114A6D98A19D997377A8CB8611B30936 /* Sources */, 221 | F147950C6C391A2B52ACE8F10BB46249 /* Frameworks */, 222 | 48DE85A4B19B81B4C9C0F9E8430713B0 /* Headers */, 223 | ); 224 | buildRules = ( 225 | ); 226 | dependencies = ( 227 | ); 228 | name = "iOS-Camera-Button"; 229 | productName = "iOS-Camera-Button"; 230 | productReference = 97DC63915537054FCF59C3BC5F66C38F /* iOS_Camera_Button.framework */; 231 | productType = "com.apple.product-type.framework"; 232 | }; 233 | /* End PBXNativeTarget section */ 234 | 235 | /* Begin PBXProject section */ 236 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 237 | isa = PBXProject; 238 | attributes = { 239 | LastSwiftUpdateCheck = 0830; 240 | LastUpgradeCheck = 0700; 241 | }; 242 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 243 | compatibilityVersion = "Xcode 3.2"; 244 | developmentRegion = English; 245 | hasScannedForEncodings = 0; 246 | knownRegions = ( 247 | en, 248 | ); 249 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 250 | productRefGroup = F6D3430A496D02AC85DC004D0A3238E9 /* Products */; 251 | projectDirPath = ""; 252 | projectRoot = ""; 253 | targets = ( 254 | AF6DFCB917775E150ACF44D1F354520D /* iOS-Camera-Button */, 255 | 53931414E7B0D34B5B678992D3A467C4 /* Pods-cameraButton */, 256 | ); 257 | }; 258 | /* End PBXProject section */ 259 | 260 | /* Begin PBXSourcesBuildPhase section */ 261 | 114A6D98A19D997377A8CB8611B30936 /* Sources */ = { 262 | isa = PBXSourcesBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | 1F4EBB40306C31FA819E57A48A28FCB8 /* CameraButton.swift in Sources */, 266 | 64D1B247C76D7C140A7D52F3FB4A8887 /* iOS-Camera-Button-dummy.m in Sources */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | 12810EDDCE6C41A702AA27265F7FD36C /* Sources */ = { 271 | isa = PBXSourcesBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | E7756F0AAA4942021BDA08DD455CB768 /* Pods-cameraButton-dummy.m in Sources */, 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | }; 278 | /* End PBXSourcesBuildPhase section */ 279 | 280 | /* Begin PBXTargetDependency section */ 281 | 73FCD2AAA323144DB91A57535113451F /* PBXTargetDependency */ = { 282 | isa = PBXTargetDependency; 283 | name = "iOS-Camera-Button"; 284 | target = AF6DFCB917775E150ACF44D1F354520D /* iOS-Camera-Button */; 285 | targetProxy = 820D02687B1473C885B3522EFE509238 /* PBXContainerItemProxy */; 286 | }; 287 | /* End PBXTargetDependency section */ 288 | 289 | /* Begin XCBuildConfiguration section */ 290 | 03F15BD3A7D9B1444199441C900313EF /* Release */ = { 291 | isa = XCBuildConfiguration; 292 | baseConfigurationReference = 34492263475E987930F66D55A81F14A2 /* Pods-cameraButton.release.xcconfig */; 293 | buildSettings = { 294 | CODE_SIGN_IDENTITY = ""; 295 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 296 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 297 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 298 | CURRENT_PROJECT_VERSION = 1; 299 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 300 | DEFINES_MODULE = YES; 301 | DYLIB_COMPATIBILITY_VERSION = 1; 302 | DYLIB_CURRENT_VERSION = 1; 303 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 304 | ENABLE_STRICT_OBJC_MSGSEND = YES; 305 | GCC_NO_COMMON_BLOCKS = YES; 306 | INFOPLIST_FILE = "Target Support Files/Pods-cameraButton/Info.plist"; 307 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 308 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 309 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 310 | MACH_O_TYPE = staticlib; 311 | MODULEMAP_FILE = "Target Support Files/Pods-cameraButton/Pods-cameraButton.modulemap"; 312 | MTL_ENABLE_DEBUG_INFO = NO; 313 | OTHER_LDFLAGS = ""; 314 | OTHER_LIBTOOLFLAGS = ""; 315 | PODS_ROOT = "$(SRCROOT)"; 316 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 317 | PRODUCT_NAME = Pods_cameraButton; 318 | SDKROOT = iphoneos; 319 | SKIP_INSTALL = YES; 320 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 321 | SWIFT_VERSION = 3.0; 322 | TARGETED_DEVICE_FAMILY = "1,2"; 323 | VERSIONING_SYSTEM = "apple-generic"; 324 | VERSION_INFO_PREFIX = ""; 325 | }; 326 | name = Release; 327 | }; 328 | 1C08534DBB07711571810539E9B9B9AD /* Debug */ = { 329 | isa = XCBuildConfiguration; 330 | baseConfigurationReference = B40D583CB763EA7D12B6F2137086526B /* iOS-Camera-Button.xcconfig */; 331 | buildSettings = { 332 | CODE_SIGN_IDENTITY = ""; 333 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 335 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 336 | CURRENT_PROJECT_VERSION = 1; 337 | DEBUG_INFORMATION_FORMAT = dwarf; 338 | DEFINES_MODULE = YES; 339 | DYLIB_COMPATIBILITY_VERSION = 1; 340 | DYLIB_CURRENT_VERSION = 1; 341 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 342 | ENABLE_STRICT_OBJC_MSGSEND = YES; 343 | GCC_NO_COMMON_BLOCKS = YES; 344 | GCC_PREFIX_HEADER = "Target Support Files/iOS-Camera-Button/iOS-Camera-Button-prefix.pch"; 345 | INFOPLIST_FILE = "Target Support Files/iOS-Camera-Button/Info.plist"; 346 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 347 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 348 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 349 | MODULEMAP_FILE = "Target Support Files/iOS-Camera-Button/iOS-Camera-Button.modulemap"; 350 | MTL_ENABLE_DEBUG_INFO = YES; 351 | PRODUCT_NAME = iOS_Camera_Button; 352 | SDKROOT = iphoneos; 353 | SKIP_INSTALL = YES; 354 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 355 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 356 | SWIFT_VERSION = 3.0; 357 | TARGETED_DEVICE_FAMILY = "1,2"; 358 | VERSIONING_SYSTEM = "apple-generic"; 359 | VERSION_INFO_PREFIX = ""; 360 | }; 361 | name = Debug; 362 | }; 363 | 45ABADFFC63B09F53CD27D5CBF0DD8C3 /* Debug */ = { 364 | isa = XCBuildConfiguration; 365 | baseConfigurationReference = 102D396008EC9E80280E67DC0418FDEE /* Pods-cameraButton.debug.xcconfig */; 366 | buildSettings = { 367 | CODE_SIGN_IDENTITY = ""; 368 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 369 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 370 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 371 | CURRENT_PROJECT_VERSION = 1; 372 | DEBUG_INFORMATION_FORMAT = dwarf; 373 | DEFINES_MODULE = YES; 374 | DYLIB_COMPATIBILITY_VERSION = 1; 375 | DYLIB_CURRENT_VERSION = 1; 376 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 377 | ENABLE_STRICT_OBJC_MSGSEND = YES; 378 | GCC_NO_COMMON_BLOCKS = YES; 379 | INFOPLIST_FILE = "Target Support Files/Pods-cameraButton/Info.plist"; 380 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 381 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 382 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 383 | MACH_O_TYPE = staticlib; 384 | MODULEMAP_FILE = "Target Support Files/Pods-cameraButton/Pods-cameraButton.modulemap"; 385 | MTL_ENABLE_DEBUG_INFO = YES; 386 | OTHER_LDFLAGS = ""; 387 | OTHER_LIBTOOLFLAGS = ""; 388 | PODS_ROOT = "$(SRCROOT)"; 389 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 390 | PRODUCT_NAME = Pods_cameraButton; 391 | SDKROOT = iphoneos; 392 | SKIP_INSTALL = YES; 393 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 394 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 395 | SWIFT_VERSION = 3.0; 396 | TARGETED_DEVICE_FAMILY = "1,2"; 397 | VERSIONING_SYSTEM = "apple-generic"; 398 | VERSION_INFO_PREFIX = ""; 399 | }; 400 | name = Debug; 401 | }; 402 | 5FD3C308E1FF2B6C127426676CBBBEF9 /* Release */ = { 403 | isa = XCBuildConfiguration; 404 | buildSettings = { 405 | ALWAYS_SEARCH_USER_PATHS = NO; 406 | CLANG_ANALYZER_NONNULL = YES; 407 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 408 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 409 | CLANG_CXX_LIBRARY = "libc++"; 410 | CLANG_ENABLE_MODULES = YES; 411 | CLANG_ENABLE_OBJC_ARC = YES; 412 | CLANG_WARN_BOOL_CONVERSION = YES; 413 | CLANG_WARN_CONSTANT_CONVERSION = YES; 414 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 415 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 416 | CLANG_WARN_EMPTY_BODY = YES; 417 | CLANG_WARN_ENUM_CONVERSION = YES; 418 | CLANG_WARN_INFINITE_RECURSION = YES; 419 | CLANG_WARN_INT_CONVERSION = YES; 420 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 421 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 422 | CLANG_WARN_UNREACHABLE_CODE = YES; 423 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 424 | CODE_SIGNING_REQUIRED = NO; 425 | COPY_PHASE_STRIP = YES; 426 | ENABLE_NS_ASSERTIONS = NO; 427 | GCC_C_LANGUAGE_STANDARD = gnu99; 428 | GCC_PREPROCESSOR_DEFINITIONS = ( 429 | "POD_CONFIGURATION_RELEASE=1", 430 | "$(inherited)", 431 | ); 432 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 433 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 434 | GCC_WARN_UNDECLARED_SELECTOR = YES; 435 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 436 | GCC_WARN_UNUSED_FUNCTION = YES; 437 | GCC_WARN_UNUSED_VARIABLE = YES; 438 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 439 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 440 | STRIP_INSTALLED_PRODUCT = NO; 441 | SYMROOT = "${SRCROOT}/../build"; 442 | VALIDATE_PRODUCT = YES; 443 | }; 444 | name = Release; 445 | }; 446 | 6019147392E8923D124D0744E61B49EF /* Release */ = { 447 | isa = XCBuildConfiguration; 448 | baseConfigurationReference = B40D583CB763EA7D12B6F2137086526B /* iOS-Camera-Button.xcconfig */; 449 | buildSettings = { 450 | CODE_SIGN_IDENTITY = ""; 451 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 452 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 453 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 454 | CURRENT_PROJECT_VERSION = 1; 455 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 456 | DEFINES_MODULE = YES; 457 | DYLIB_COMPATIBILITY_VERSION = 1; 458 | DYLIB_CURRENT_VERSION = 1; 459 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 461 | GCC_NO_COMMON_BLOCKS = YES; 462 | GCC_PREFIX_HEADER = "Target Support Files/iOS-Camera-Button/iOS-Camera-Button-prefix.pch"; 463 | INFOPLIST_FILE = "Target Support Files/iOS-Camera-Button/Info.plist"; 464 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 465 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 467 | MODULEMAP_FILE = "Target Support Files/iOS-Camera-Button/iOS-Camera-Button.modulemap"; 468 | MTL_ENABLE_DEBUG_INFO = NO; 469 | PRODUCT_NAME = iOS_Camera_Button; 470 | SDKROOT = iphoneos; 471 | SKIP_INSTALL = YES; 472 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 473 | SWIFT_VERSION = 3.0; 474 | TARGETED_DEVICE_FAMILY = "1,2"; 475 | VERSIONING_SYSTEM = "apple-generic"; 476 | VERSION_INFO_PREFIX = ""; 477 | }; 478 | name = Release; 479 | }; 480 | BC964E5A03B37AD63A0C3163280AD597 /* Debug */ = { 481 | isa = XCBuildConfiguration; 482 | buildSettings = { 483 | ALWAYS_SEARCH_USER_PATHS = NO; 484 | CLANG_ANALYZER_NONNULL = YES; 485 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 486 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 487 | CLANG_CXX_LIBRARY = "libc++"; 488 | CLANG_ENABLE_MODULES = YES; 489 | CLANG_ENABLE_OBJC_ARC = YES; 490 | CLANG_WARN_BOOL_CONVERSION = YES; 491 | CLANG_WARN_CONSTANT_CONVERSION = YES; 492 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 493 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 494 | CLANG_WARN_EMPTY_BODY = YES; 495 | CLANG_WARN_ENUM_CONVERSION = YES; 496 | CLANG_WARN_INFINITE_RECURSION = YES; 497 | CLANG_WARN_INT_CONVERSION = YES; 498 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 499 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 500 | CLANG_WARN_UNREACHABLE_CODE = YES; 501 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 502 | CODE_SIGNING_REQUIRED = NO; 503 | COPY_PHASE_STRIP = NO; 504 | ENABLE_TESTABILITY = YES; 505 | GCC_C_LANGUAGE_STANDARD = gnu99; 506 | GCC_DYNAMIC_NO_PIC = NO; 507 | GCC_OPTIMIZATION_LEVEL = 0; 508 | GCC_PREPROCESSOR_DEFINITIONS = ( 509 | "POD_CONFIGURATION_DEBUG=1", 510 | "DEBUG=1", 511 | "$(inherited)", 512 | ); 513 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 514 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 515 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 516 | GCC_WARN_UNDECLARED_SELECTOR = YES; 517 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 518 | GCC_WARN_UNUSED_FUNCTION = YES; 519 | GCC_WARN_UNUSED_VARIABLE = YES; 520 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 521 | ONLY_ACTIVE_ARCH = YES; 522 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 523 | STRIP_INSTALLED_PRODUCT = NO; 524 | SYMROOT = "${SRCROOT}/../build"; 525 | }; 526 | name = Debug; 527 | }; 528 | /* End XCBuildConfiguration section */ 529 | 530 | /* Begin XCConfigurationList section */ 531 | 108422EE873FC0356EA886CDEF73FD45 /* Build configuration list for PBXNativeTarget "Pods-cameraButton" */ = { 532 | isa = XCConfigurationList; 533 | buildConfigurations = ( 534 | 45ABADFFC63B09F53CD27D5CBF0DD8C3 /* Debug */, 535 | 03F15BD3A7D9B1444199441C900313EF /* Release */, 536 | ); 537 | defaultConfigurationIsVisible = 0; 538 | defaultConfigurationName = Release; 539 | }; 540 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 541 | isa = XCConfigurationList; 542 | buildConfigurations = ( 543 | BC964E5A03B37AD63A0C3163280AD597 /* Debug */, 544 | 5FD3C308E1FF2B6C127426676CBBBEF9 /* Release */, 545 | ); 546 | defaultConfigurationIsVisible = 0; 547 | defaultConfigurationName = Release; 548 | }; 549 | 2EF377053C23DDFE898BD387330CD1B5 /* Build configuration list for PBXNativeTarget "iOS-Camera-Button" */ = { 550 | isa = XCConfigurationList; 551 | buildConfigurations = ( 552 | 1C08534DBB07711571810539E9B9B9AD /* Debug */, 553 | 6019147392E8923D124D0744E61B49EF /* Release */, 554 | ); 555 | defaultConfigurationIsVisible = 0; 556 | defaultConfigurationName = Release; 557 | }; 558 | /* End XCConfigurationList section */ 559 | }; 560 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 561 | } 562 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/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 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## iOS-Camera-Button 5 | 6 | MIT License 7 | 8 | Copyright (c) 2017 Olivier Destrebecq 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-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 | MIT License 18 | 19 | Copyright (c) 2017 Olivier Destrebecq 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | iOS-Camera-Button 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_cameraButton : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_cameraButton 5 | @end 6 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/iOS-Camera-Button/iOS_Camera_Button.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/iOS-Camera-Button/iOS_Camera_Button.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | install_resource() 27 | { 28 | if [[ "$1" = /* ]] ; then 29 | RESOURCE_PATH="$1" 30 | else 31 | RESOURCE_PATH="${PODS_ROOT}/$1" 32 | fi 33 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 34 | cat << EOM 35 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 36 | EOM 37 | exit 1 38 | fi 39 | case $RESOURCE_PATH in 40 | *.storyboard) 41 | 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}" 42 | 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} 43 | ;; 44 | *.xib) 45 | 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}" 46 | 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} 47 | ;; 48 | *.framework) 49 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 50 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 51 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 52 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | ;; 54 | *.xcdatamodel) 55 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 56 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 57 | ;; 58 | *.xcdatamodeld) 59 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 60 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 61 | ;; 62 | *.xcmappingmodel) 63 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 64 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 65 | ;; 66 | *.xcassets) 67 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 68 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 69 | ;; 70 | *) 71 | echo "$RESOURCE_PATH" 72 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 73 | ;; 74 | esac 75 | } 76 | 77 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 79 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 80 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | fi 83 | rm -f "$RESOURCES_TO_COPY" 84 | 85 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 86 | then 87 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 88 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 89 | while read line; do 90 | if [[ $line != "${PODS_ROOT}*" ]]; then 91 | XCASSET_FILES+=("$line") 92 | fi 93 | done <<<"$OTHER_XCASSETS" 94 | 95 | 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}" 96 | fi 97 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double Pods_cameraButtonVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char Pods_cameraButtonVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/iOS-Camera-Button" 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/iOS-Camera-Button/iOS_Camera_Button.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "iOS_Camera_Button" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_cameraButton { 2 | umbrella header "Pods-cameraButton-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/iOS-Camera-Button" 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/iOS-Camera-Button/iOS_Camera_Button.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "iOS_Camera_Button" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/iOS-Camera-Button-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_iOS_Camera_Button : NSObject 3 | @end 4 | @implementation PodsDummy_iOS_Camera_Button 5 | @end 6 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/iOS-Camera-Button-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/iOS-Camera-Button-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double iOS_Camera_ButtonVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char iOS_Camera_ButtonVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/iOS-Camera-Button.modulemap: -------------------------------------------------------------------------------- 1 | framework module iOS_Camera_Button { 2 | umbrella header "iOS-Camera-Button-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /sample/Pods/Target Support Files/iOS-Camera-Button/iOS-Camera-Button.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/iOS-Camera-Button 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /sample/cameraButton.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1C6BF5991C98488700B074BB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6BF5981C98488700B074BB /* AppDelegate.swift */; }; 11 | 1C6BF59B1C98488700B074BB /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6BF59A1C98488700B074BB /* ViewController.swift */; }; 12 | 1C6BF59E1C98488700B074BB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1C6BF59C1C98488700B074BB /* Main.storyboard */; }; 13 | 1C6BF5A01C98488700B074BB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1C6BF59F1C98488700B074BB /* Assets.xcassets */; }; 14 | 1C6BF5A31C98488700B074BB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1C6BF5A11C98488700B074BB /* LaunchScreen.storyboard */; }; 15 | 4A89239C87EA8F16E43D3985 /* Pods_cameraButton.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F09386308877449395FDABD2 /* Pods_cameraButton.framework */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 1C6BF5951C98488700B074BB /* cameraButton.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = cameraButton.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 1C6BF5981C98488700B074BB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 1C6BF59A1C98488700B074BB /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 22 | 1C6BF59D1C98488700B074BB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 1C6BF59F1C98488700B074BB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 1C6BF5A21C98488700B074BB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 1C6BF5A41C98488700B074BB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 375CC753588FB23D672B9D5D /* Pods-cameraButton.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-cameraButton.debug.xcconfig"; path = "Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton.debug.xcconfig"; sourceTree = ""; }; 27 | 8D9CBA28445F156F1AD0DD9C /* Pods-cameraButton.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-cameraButton.release.xcconfig"; path = "Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton.release.xcconfig"; sourceTree = ""; }; 28 | F09386308877449395FDABD2 /* Pods_cameraButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_cameraButton.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 1C6BF5921C98488700B074BB /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | 4A89239C87EA8F16E43D3985 /* Pods_cameraButton.framework in Frameworks */, 37 | ); 38 | runOnlyForDeploymentPostprocessing = 0; 39 | }; 40 | /* End PBXFrameworksBuildPhase section */ 41 | 42 | /* Begin PBXGroup section */ 43 | 04FF95B6F81B03A651EF18D7 /* Pods */ = { 44 | isa = PBXGroup; 45 | children = ( 46 | 375CC753588FB23D672B9D5D /* Pods-cameraButton.debug.xcconfig */, 47 | 8D9CBA28445F156F1AD0DD9C /* Pods-cameraButton.release.xcconfig */, 48 | ); 49 | name = Pods; 50 | sourceTree = ""; 51 | }; 52 | 1C6BF58C1C98488700B074BB = { 53 | isa = PBXGroup; 54 | children = ( 55 | 1C6BF5971C98488700B074BB /* cameraButton */, 56 | 1C6BF5961C98488700B074BB /* Products */, 57 | 04FF95B6F81B03A651EF18D7 /* Pods */, 58 | E8D463081F23F29B9919D5A5 /* Frameworks */, 59 | ); 60 | sourceTree = ""; 61 | }; 62 | 1C6BF5961C98488700B074BB /* Products */ = { 63 | isa = PBXGroup; 64 | children = ( 65 | 1C6BF5951C98488700B074BB /* cameraButton.app */, 66 | ); 67 | name = Products; 68 | sourceTree = ""; 69 | }; 70 | 1C6BF5971C98488700B074BB /* cameraButton */ = { 71 | isa = PBXGroup; 72 | children = ( 73 | 1C6BF5981C98488700B074BB /* AppDelegate.swift */, 74 | 1C6BF59A1C98488700B074BB /* ViewController.swift */, 75 | 1C6BF59C1C98488700B074BB /* Main.storyboard */, 76 | 1C6BF59F1C98488700B074BB /* Assets.xcassets */, 77 | 1C6BF5A11C98488700B074BB /* LaunchScreen.storyboard */, 78 | 1C6BF5A41C98488700B074BB /* Info.plist */, 79 | ); 80 | path = cameraButton; 81 | sourceTree = ""; 82 | }; 83 | E8D463081F23F29B9919D5A5 /* Frameworks */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | F09386308877449395FDABD2 /* Pods_cameraButton.framework */, 87 | ); 88 | name = Frameworks; 89 | sourceTree = ""; 90 | }; 91 | /* End PBXGroup section */ 92 | 93 | /* Begin PBXNativeTarget section */ 94 | 1C6BF5941C98488700B074BB /* cameraButton */ = { 95 | isa = PBXNativeTarget; 96 | buildConfigurationList = 1C6BF5A71C98488700B074BB /* Build configuration list for PBXNativeTarget "cameraButton" */; 97 | buildPhases = ( 98 | 1D39B6E6013849EAFB17CF39 /* [CP] Check Pods Manifest.lock */, 99 | 1C6BF5911C98488700B074BB /* Sources */, 100 | 1C6BF5921C98488700B074BB /* Frameworks */, 101 | 1C6BF5931C98488700B074BB /* Resources */, 102 | 6446D2DB2B7334161DD39638 /* [CP] Embed Pods Frameworks */, 103 | 6ADD675F8D05D58B4EA71521 /* [CP] Copy Pods Resources */, 104 | ); 105 | buildRules = ( 106 | ); 107 | dependencies = ( 108 | ); 109 | name = cameraButton; 110 | productName = cameraButton; 111 | productReference = 1C6BF5951C98488700B074BB /* cameraButton.app */; 112 | productType = "com.apple.product-type.application"; 113 | }; 114 | /* End PBXNativeTarget section */ 115 | 116 | /* Begin PBXProject section */ 117 | 1C6BF58D1C98488700B074BB /* Project object */ = { 118 | isa = PBXProject; 119 | attributes = { 120 | LastSwiftUpdateCheck = 0720; 121 | LastUpgradeCheck = 0800; 122 | ORGANIZATIONNAME = MobDesign; 123 | TargetAttributes = { 124 | 1C6BF5941C98488700B074BB = { 125 | CreatedOnToolsVersion = 7.2.1; 126 | LastSwiftMigration = 0800; 127 | }; 128 | }; 129 | }; 130 | buildConfigurationList = 1C6BF5901C98488700B074BB /* Build configuration list for PBXProject "cameraButton" */; 131 | compatibilityVersion = "Xcode 3.2"; 132 | developmentRegion = English; 133 | hasScannedForEncodings = 0; 134 | knownRegions = ( 135 | en, 136 | Base, 137 | ); 138 | mainGroup = 1C6BF58C1C98488700B074BB; 139 | productRefGroup = 1C6BF5961C98488700B074BB /* Products */; 140 | projectDirPath = ""; 141 | projectRoot = ""; 142 | targets = ( 143 | 1C6BF5941C98488700B074BB /* cameraButton */, 144 | ); 145 | }; 146 | /* End PBXProject section */ 147 | 148 | /* Begin PBXResourcesBuildPhase section */ 149 | 1C6BF5931C98488700B074BB /* Resources */ = { 150 | isa = PBXResourcesBuildPhase; 151 | buildActionMask = 2147483647; 152 | files = ( 153 | 1C6BF5A31C98488700B074BB /* LaunchScreen.storyboard in Resources */, 154 | 1C6BF5A01C98488700B074BB /* Assets.xcassets in Resources */, 155 | 1C6BF59E1C98488700B074BB /* Main.storyboard in Resources */, 156 | ); 157 | runOnlyForDeploymentPostprocessing = 0; 158 | }; 159 | /* End PBXResourcesBuildPhase section */ 160 | 161 | /* Begin PBXShellScriptBuildPhase section */ 162 | 1D39B6E6013849EAFB17CF39 /* [CP] Check Pods Manifest.lock */ = { 163 | isa = PBXShellScriptBuildPhase; 164 | buildActionMask = 2147483647; 165 | files = ( 166 | ); 167 | inputPaths = ( 168 | ); 169 | name = "[CP] Check Pods Manifest.lock"; 170 | outputPaths = ( 171 | ); 172 | runOnlyForDeploymentPostprocessing = 0; 173 | shellPath = /bin/sh; 174 | shellScript = "diff \"${PODS_ROOT}/../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"; 175 | showEnvVarsInLog = 0; 176 | }; 177 | 6446D2DB2B7334161DD39638 /* [CP] Embed Pods Frameworks */ = { 178 | isa = PBXShellScriptBuildPhase; 179 | buildActionMask = 2147483647; 180 | files = ( 181 | ); 182 | inputPaths = ( 183 | ); 184 | name = "[CP] Embed Pods Frameworks"; 185 | outputPaths = ( 186 | ); 187 | runOnlyForDeploymentPostprocessing = 0; 188 | shellPath = /bin/sh; 189 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-frameworks.sh\"\n"; 190 | showEnvVarsInLog = 0; 191 | }; 192 | 6ADD675F8D05D58B4EA71521 /* [CP] Copy Pods Resources */ = { 193 | isa = PBXShellScriptBuildPhase; 194 | buildActionMask = 2147483647; 195 | files = ( 196 | ); 197 | inputPaths = ( 198 | ); 199 | name = "[CP] Copy Pods Resources"; 200 | outputPaths = ( 201 | ); 202 | runOnlyForDeploymentPostprocessing = 0; 203 | shellPath = /bin/sh; 204 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-cameraButton/Pods-cameraButton-resources.sh\"\n"; 205 | showEnvVarsInLog = 0; 206 | }; 207 | /* End PBXShellScriptBuildPhase section */ 208 | 209 | /* Begin PBXSourcesBuildPhase section */ 210 | 1C6BF5911C98488700B074BB /* Sources */ = { 211 | isa = PBXSourcesBuildPhase; 212 | buildActionMask = 2147483647; 213 | files = ( 214 | 1C6BF59B1C98488700B074BB /* ViewController.swift in Sources */, 215 | 1C6BF5991C98488700B074BB /* AppDelegate.swift in Sources */, 216 | ); 217 | runOnlyForDeploymentPostprocessing = 0; 218 | }; 219 | /* End PBXSourcesBuildPhase section */ 220 | 221 | /* Begin PBXVariantGroup section */ 222 | 1C6BF59C1C98488700B074BB /* Main.storyboard */ = { 223 | isa = PBXVariantGroup; 224 | children = ( 225 | 1C6BF59D1C98488700B074BB /* Base */, 226 | ); 227 | name = Main.storyboard; 228 | sourceTree = ""; 229 | }; 230 | 1C6BF5A11C98488700B074BB /* LaunchScreen.storyboard */ = { 231 | isa = PBXVariantGroup; 232 | children = ( 233 | 1C6BF5A21C98488700B074BB /* Base */, 234 | ); 235 | name = LaunchScreen.storyboard; 236 | sourceTree = ""; 237 | }; 238 | /* End PBXVariantGroup section */ 239 | 240 | /* Begin XCBuildConfiguration section */ 241 | 1C6BF5A51C98488700B074BB /* Debug */ = { 242 | isa = XCBuildConfiguration; 243 | buildSettings = { 244 | ALWAYS_SEARCH_USER_PATHS = NO; 245 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 246 | CLANG_CXX_LIBRARY = "libc++"; 247 | CLANG_ENABLE_MODULES = YES; 248 | CLANG_ENABLE_OBJC_ARC = YES; 249 | CLANG_WARN_BOOL_CONVERSION = YES; 250 | CLANG_WARN_CONSTANT_CONVERSION = YES; 251 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 252 | CLANG_WARN_EMPTY_BODY = YES; 253 | CLANG_WARN_ENUM_CONVERSION = YES; 254 | CLANG_WARN_INFINITE_RECURSION = YES; 255 | CLANG_WARN_INT_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 258 | CLANG_WARN_UNREACHABLE_CODE = YES; 259 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 260 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 261 | COPY_PHASE_STRIP = NO; 262 | DEBUG_INFORMATION_FORMAT = dwarf; 263 | ENABLE_STRICT_OBJC_MSGSEND = YES; 264 | ENABLE_TESTABILITY = YES; 265 | GCC_C_LANGUAGE_STANDARD = gnu99; 266 | GCC_DYNAMIC_NO_PIC = NO; 267 | GCC_NO_COMMON_BLOCKS = YES; 268 | GCC_OPTIMIZATION_LEVEL = 0; 269 | GCC_PREPROCESSOR_DEFINITIONS = ( 270 | "DEBUG=1", 271 | "$(inherited)", 272 | ); 273 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 274 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 275 | GCC_WARN_UNDECLARED_SELECTOR = YES; 276 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 277 | GCC_WARN_UNUSED_FUNCTION = YES; 278 | GCC_WARN_UNUSED_VARIABLE = YES; 279 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 280 | MTL_ENABLE_DEBUG_INFO = YES; 281 | ONLY_ACTIVE_ARCH = YES; 282 | SDKROOT = iphoneos; 283 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 284 | TARGETED_DEVICE_FAMILY = "1,2"; 285 | }; 286 | name = Debug; 287 | }; 288 | 1C6BF5A61C98488700B074BB /* Release */ = { 289 | isa = XCBuildConfiguration; 290 | buildSettings = { 291 | ALWAYS_SEARCH_USER_PATHS = NO; 292 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 293 | CLANG_CXX_LIBRARY = "libc++"; 294 | CLANG_ENABLE_MODULES = YES; 295 | CLANG_ENABLE_OBJC_ARC = YES; 296 | CLANG_WARN_BOOL_CONVERSION = YES; 297 | CLANG_WARN_CONSTANT_CONVERSION = YES; 298 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 299 | CLANG_WARN_EMPTY_BODY = YES; 300 | CLANG_WARN_ENUM_CONVERSION = YES; 301 | CLANG_WARN_INFINITE_RECURSION = YES; 302 | CLANG_WARN_INT_CONVERSION = YES; 303 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 304 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 305 | CLANG_WARN_UNREACHABLE_CODE = YES; 306 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 307 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 308 | COPY_PHASE_STRIP = NO; 309 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 310 | ENABLE_NS_ASSERTIONS = NO; 311 | ENABLE_STRICT_OBJC_MSGSEND = YES; 312 | GCC_C_LANGUAGE_STANDARD = gnu99; 313 | GCC_NO_COMMON_BLOCKS = YES; 314 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 315 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 316 | GCC_WARN_UNDECLARED_SELECTOR = YES; 317 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 318 | GCC_WARN_UNUSED_FUNCTION = YES; 319 | GCC_WARN_UNUSED_VARIABLE = YES; 320 | IPHONEOS_DEPLOYMENT_TARGET = 9.2; 321 | MTL_ENABLE_DEBUG_INFO = NO; 322 | SDKROOT = iphoneos; 323 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 324 | TARGETED_DEVICE_FAMILY = "1,2"; 325 | VALIDATE_PRODUCT = YES; 326 | }; 327 | name = Release; 328 | }; 329 | 1C6BF5A81C98488700B074BB /* Debug */ = { 330 | isa = XCBuildConfiguration; 331 | baseConfigurationReference = 375CC753588FB23D672B9D5D /* Pods-cameraButton.debug.xcconfig */; 332 | buildSettings = { 333 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 334 | DEVELOPMENT_TEAM = ""; 335 | INFOPLIST_FILE = cameraButton/Info.plist; 336 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 337 | PRODUCT_BUNDLE_IDENTIFIER = com.MobDesign.cameraButton; 338 | PRODUCT_NAME = "$(TARGET_NAME)"; 339 | SWIFT_VERSION = 3.0; 340 | }; 341 | name = Debug; 342 | }; 343 | 1C6BF5A91C98488700B074BB /* Release */ = { 344 | isa = XCBuildConfiguration; 345 | baseConfigurationReference = 8D9CBA28445F156F1AD0DD9C /* Pods-cameraButton.release.xcconfig */; 346 | buildSettings = { 347 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 348 | DEVELOPMENT_TEAM = ""; 349 | INFOPLIST_FILE = cameraButton/Info.plist; 350 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 351 | PRODUCT_BUNDLE_IDENTIFIER = com.MobDesign.cameraButton; 352 | PRODUCT_NAME = "$(TARGET_NAME)"; 353 | SWIFT_VERSION = 3.0; 354 | }; 355 | name = Release; 356 | }; 357 | /* End XCBuildConfiguration section */ 358 | 359 | /* Begin XCConfigurationList section */ 360 | 1C6BF5901C98488700B074BB /* Build configuration list for PBXProject "cameraButton" */ = { 361 | isa = XCConfigurationList; 362 | buildConfigurations = ( 363 | 1C6BF5A51C98488700B074BB /* Debug */, 364 | 1C6BF5A61C98488700B074BB /* Release */, 365 | ); 366 | defaultConfigurationIsVisible = 0; 367 | defaultConfigurationName = Release; 368 | }; 369 | 1C6BF5A71C98488700B074BB /* Build configuration list for PBXNativeTarget "cameraButton" */ = { 370 | isa = XCConfigurationList; 371 | buildConfigurations = ( 372 | 1C6BF5A81C98488700B074BB /* Debug */, 373 | 1C6BF5A91C98488700B074BB /* Release */, 374 | ); 375 | defaultConfigurationIsVisible = 0; 376 | defaultConfigurationName = Release; 377 | }; 378 | /* End XCConfigurationList section */ 379 | }; 380 | rootObject = 1C6BF58D1C98488700B074BB /* Project object */; 381 | } 382 | -------------------------------------------------------------------------------- /sample/cameraButton.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /sample/cameraButton.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /sample/cameraButton/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // cameraButton 4 | // 5 | // Created by Olivier Destrebecq on 3/15/16. 6 | // Copyright © 2016 MobDesign. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | private func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> 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 | private 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 | -------------------------------------------------------------------------------- /sample/cameraButton/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /sample/cameraButton/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /sample/cameraButton/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 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /sample/cameraButton/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 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /sample/cameraButton/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // cameraButton 4 | // 5 | // Created by Olivier Destrebecq on 3/15/16. 6 | // Copyright © 2016 MobDesign. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | 24 | } 25 | 26 | --------------------------------------------------------------------------------