├── .gitignore ├── .travis.yml ├── DXCustomCallout-ObjC.podspec ├── Example ├── DXCustomCallout-ObjC.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── DXCustomCallout-ObjC-Example.xcscheme ├── DXCustomCallout-ObjC.xcworkspace │ └── contents.xcworkspacedata ├── DXCustomCallout-ObjC │ ├── Base.lproj │ │ ├── Main_iPad.storyboard │ │ └── Main_iPhone.storyboard │ ├── DXAppDelegate.h │ ├── DXAppDelegate.m │ ├── DXCustomCallout-ObjC-Info.plist │ ├── DXCustomCallout-ObjC-Prefix.pch │ ├── DXViewController.h │ ├── DXViewController.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── car-blue-icon.imageset │ │ │ ├── Contents.json │ │ │ └── car-blue-icon.png │ │ └── pin.imageset │ │ │ ├── Contents.json │ │ │ └── pin.png │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── main.m │ └── myView.xib ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ ├── Private │ │ │ └── DXCustomCallout-ObjC │ │ │ │ ├── DXAnnotationSettings.h │ │ │ │ └── DXAnnotationView.h │ │ └── Public │ │ │ └── DXCustomCallout-ObjC │ │ │ ├── DXAnnotationSettings.h │ │ │ └── DXAnnotationView.h │ ├── Local Podspecs │ │ └── DXCustomCallout-ObjC.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC │ │ ├── Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig │ │ ├── Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m │ │ ├── Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch │ │ └── Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig │ │ ├── Pods-DXCustomCallout-ObjC │ │ ├── Pods-DXCustomCallout-ObjC-acknowledgements.markdown │ │ ├── Pods-DXCustomCallout-ObjC-acknowledgements.plist │ │ ├── Pods-DXCustomCallout-ObjC-dummy.m │ │ ├── Pods-DXCustomCallout-ObjC-environment.h │ │ ├── Pods-DXCustomCallout-ObjC-resources.sh │ │ ├── Pods-DXCustomCallout-ObjC.debug.xcconfig │ │ └── Pods-DXCustomCallout-ObjC.release.xcconfig │ │ ├── Pods-Tests-DXCustomCallout-ObjC │ │ ├── Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig │ │ ├── Pods-Tests-DXCustomCallout-ObjC-dummy.m │ │ ├── Pods-Tests-DXCustomCallout-ObjC-prefix.pch │ │ └── Pods-Tests-DXCustomCallout-ObjC.xcconfig │ │ └── Pods-Tests │ │ ├── Pods-Tests-acknowledgements.markdown │ │ ├── Pods-Tests-acknowledgements.plist │ │ ├── Pods-Tests-dummy.m │ │ ├── Pods-Tests-environment.h │ │ ├── Pods-Tests-resources.sh │ │ ├── Pods-Tests.debug.xcconfig │ │ └── Pods-Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── Pod ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── DXAnnotationSettings.h │ ├── DXAnnotationSettings.m │ ├── DXAnnotationView.h │ └── DXAnnotationView.m └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # We recommend against adding the Pods directory to your .gitignore. However 26 | # you should judge for yourself, the pros and cons are mentioned at: 27 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 28 | # 29 | # Note: if you ignore the Pods directory, make sure to uncomment 30 | # `pod install` in .travis.yml 31 | # 32 | # Pods/ 33 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | install: 12 | - gem install xcpretty --no-rdoc --no-ri --no-document --quiet 13 | script: 14 | - set -o pipefail && xcodebuild test -workspace Example/DXCustomCallout-ObjC.xcworkspace -scheme DXCustomCallout-ObjC-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c 15 | - pod lib lint --quick 16 | -------------------------------------------------------------------------------- /DXCustomCallout-ObjC.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint DXCustomCallout-ObjC.podspec' to ensure this is a 3 | # valid spec and remove all comments before submitting the spec. 4 | # 5 | # Any lines starting with a # are optional, but encouraged 6 | # 7 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 8 | # 9 | 10 | Pod::Spec.new do |s| 11 | s.name = "DXCustomCallout-ObjC" 12 | s.version = "0.2.0" 13 | s.summary = "A simpler approach to CustomCallouts on MKMapview" 14 | s.description = <<-DESC 15 | DXAnnotationView takes a PinView and a CalloutView as UIViews and beautifully displays it in MKMapView. It is; 16 | * Easy to use 17 | * Highly configurable 18 | DESC 19 | s.homepage = "https://github.com/s3lvin/DXCustomCallout-ObjC" 20 | s.screenshots = "http://s26.postimg.org/68lrdhei1/i_OS_Simulator_Screen_Shot_13_Apr_2015_1_02_35_am.png" 21 | s.license = 'MIT' 22 | s.author = { "s3lvin" => "mariaselvin@gmail.com" } 23 | s.source = { :git => "https://github.com/s3lvin/DXCustomCallout-ObjC.git", :tag => s.version.to_s } 24 | 25 | s.platform = :ios, '7.0' 26 | s.requires_arc = true 27 | 28 | s.source_files = 'Pod/Classes/**/*' 29 | 30 | #s.public_header_files = 'Pod/Classes/**/*.h' 31 | s.frameworks = 'UIKit', 'MapKit' 32 | 33 | end 34 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 11AC0D971ADAFAF8004A629A /* myView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 11AC0D961ADAFAF8004A629A /* myView.xib */; }; 11 | 57F7B703970580BED8D3F261 /* libPods-Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E1887B2802449DB13BD8970 /* libPods-Tests.a */; }; 12 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 13 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 14 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 15 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 16 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 17 | 6003F59E195388D20070C39A /* DXAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* DXAppDelegate.m */; }; 18 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F59F195388D20070C39A /* Main_iPhone.storyboard */; }; 19 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A2195388D20070C39A /* Main_iPad.storyboard */; }; 20 | 6003F5A7195388D20070C39A /* DXViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* DXViewController.m */; }; 21 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 22 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 23 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 24 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 25 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 26 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 27 | 6D99F8811D11046264A12E59 /* libPods-DXCustomCallout-ObjC.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EF0EDC8DD0BD5AEAE596A755 /* libPods-DXCustomCallout-ObjC.a */; }; 28 | /* End PBXBuildFile section */ 29 | 30 | /* Begin PBXContainerItemProxy section */ 31 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = 6003F582195388D10070C39A /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 6003F589195388D20070C39A; 36 | remoteInfo = "DXCustomCallout-ObjC"; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 11AC0D961ADAFAF8004A629A /* myView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = myView.xib; sourceTree = ""; }; 42 | 2E1887B2802449DB13BD8970 /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 4A33D774E30B97BFF81FD6B3 /* Pods-DXCustomCallout-ObjC.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DXCustomCallout-ObjC.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC.debug.xcconfig"; sourceTree = ""; }; 44 | 5BE4009AFBE04B20E4EB3ED9 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 45 | 6003F58A195388D20070C39A /* DXCustomCallout-ObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DXCustomCallout-ObjC.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 47 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 48 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 49 | 6003F595195388D20070C39A /* DXCustomCallout-ObjC-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DXCustomCallout-ObjC-Info.plist"; sourceTree = ""; }; 50 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 51 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 52 | 6003F59B195388D20070C39A /* DXCustomCallout-ObjC-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DXCustomCallout-ObjC-Prefix.pch"; sourceTree = ""; }; 53 | 6003F59C195388D20070C39A /* DXAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DXAppDelegate.h; sourceTree = ""; }; 54 | 6003F59D195388D20070C39A /* DXAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DXAppDelegate.m; sourceTree = ""; }; 55 | 6003F5A0195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = ""; }; 56 | 6003F5A3195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = ""; }; 57 | 6003F5A5195388D20070C39A /* DXViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DXViewController.h; sourceTree = ""; }; 58 | 6003F5A6195388D20070C39A /* DXViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DXViewController.m; sourceTree = ""; }; 59 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 60 | 6003F5AE195388D20070C39A /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 62 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 63 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 64 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 65 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 66 | 60846373611B4BDADA49F1AE /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 67 | 894E6637B8AD0C9A403CD45B /* DXCustomCallout-ObjC.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "DXCustomCallout-ObjC.podspec"; path = "../DXCustomCallout-ObjC.podspec"; sourceTree = ""; }; 68 | 93E68A797C842B276D7EED1E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 69 | DFA299114547A8ADEB5044A3 /* Pods-DXCustomCallout-ObjC.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DXCustomCallout-ObjC.release.xcconfig"; path = "Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC.release.xcconfig"; sourceTree = ""; }; 70 | E7DA2923DA00C04B2D3FC17C /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; }; 71 | EF0EDC8DD0BD5AEAE596A755 /* libPods-DXCustomCallout-ObjC.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DXCustomCallout-ObjC.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 72 | /* End PBXFileReference section */ 73 | 74 | /* Begin PBXFrameworksBuildPhase section */ 75 | 6003F587195388D20070C39A /* Frameworks */ = { 76 | isa = PBXFrameworksBuildPhase; 77 | buildActionMask = 2147483647; 78 | files = ( 79 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 80 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 81 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 82 | 6D99F8811D11046264A12E59 /* libPods-DXCustomCallout-ObjC.a in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 6003F5AB195388D20070C39A /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 91 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 92 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 93 | 57F7B703970580BED8D3F261 /* libPods-Tests.a in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | /* End PBXFrameworksBuildPhase section */ 98 | 99 | /* Begin PBXGroup section */ 100 | 5A78F101234DAA0381498F28 /* Pods */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 4A33D774E30B97BFF81FD6B3 /* Pods-DXCustomCallout-ObjC.debug.xcconfig */, 104 | DFA299114547A8ADEB5044A3 /* Pods-DXCustomCallout-ObjC.release.xcconfig */, 105 | 60846373611B4BDADA49F1AE /* Pods-Tests.debug.xcconfig */, 106 | E7DA2923DA00C04B2D3FC17C /* Pods-Tests.release.xcconfig */, 107 | ); 108 | name = Pods; 109 | sourceTree = ""; 110 | }; 111 | 6003F581195388D10070C39A = { 112 | isa = PBXGroup; 113 | children = ( 114 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 115 | 6003F593195388D20070C39A /* DXCustomCallout-ObjC */, 116 | 6003F5B5195388D20070C39A /* Tests */, 117 | 6003F58C195388D20070C39A /* Frameworks */, 118 | 6003F58B195388D20070C39A /* Products */, 119 | 5A78F101234DAA0381498F28 /* Pods */, 120 | ); 121 | sourceTree = ""; 122 | }; 123 | 6003F58B195388D20070C39A /* Products */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 6003F58A195388D20070C39A /* DXCustomCallout-ObjC.app */, 127 | 6003F5AE195388D20070C39A /* Tests.xctest */, 128 | ); 129 | name = Products; 130 | sourceTree = ""; 131 | }; 132 | 6003F58C195388D20070C39A /* Frameworks */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 6003F58D195388D20070C39A /* Foundation.framework */, 136 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 137 | 6003F591195388D20070C39A /* UIKit.framework */, 138 | 6003F5AF195388D20070C39A /* XCTest.framework */, 139 | EF0EDC8DD0BD5AEAE596A755 /* libPods-DXCustomCallout-ObjC.a */, 140 | 2E1887B2802449DB13BD8970 /* libPods-Tests.a */, 141 | ); 142 | name = Frameworks; 143 | sourceTree = ""; 144 | }; 145 | 6003F593195388D20070C39A /* DXCustomCallout-ObjC */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 6003F59C195388D20070C39A /* DXAppDelegate.h */, 149 | 6003F59D195388D20070C39A /* DXAppDelegate.m */, 150 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */, 151 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */, 152 | 6003F5A5195388D20070C39A /* DXViewController.h */, 153 | 6003F5A6195388D20070C39A /* DXViewController.m */, 154 | 11AC0D961ADAFAF8004A629A /* myView.xib */, 155 | 6003F5A8195388D20070C39A /* Images.xcassets */, 156 | 6003F594195388D20070C39A /* Supporting Files */, 157 | ); 158 | path = "DXCustomCallout-ObjC"; 159 | sourceTree = ""; 160 | }; 161 | 6003F594195388D20070C39A /* Supporting Files */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 6003F595195388D20070C39A /* DXCustomCallout-ObjC-Info.plist */, 165 | 6003F596195388D20070C39A /* InfoPlist.strings */, 166 | 6003F599195388D20070C39A /* main.m */, 167 | 6003F59B195388D20070C39A /* DXCustomCallout-ObjC-Prefix.pch */, 168 | ); 169 | name = "Supporting Files"; 170 | sourceTree = ""; 171 | }; 172 | 6003F5B5195388D20070C39A /* Tests */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 6003F5BB195388D20070C39A /* Tests.m */, 176 | 6003F5B6195388D20070C39A /* Supporting Files */, 177 | ); 178 | path = Tests; 179 | sourceTree = ""; 180 | }; 181 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 185 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 186 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 187 | ); 188 | name = "Supporting Files"; 189 | sourceTree = ""; 190 | }; 191 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 894E6637B8AD0C9A403CD45B /* DXCustomCallout-ObjC.podspec */, 195 | 5BE4009AFBE04B20E4EB3ED9 /* README.md */, 196 | 93E68A797C842B276D7EED1E /* LICENSE */, 197 | ); 198 | name = "Podspec Metadata"; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXGroup section */ 202 | 203 | /* Begin PBXNativeTarget section */ 204 | 6003F589195388D20070C39A /* DXCustomCallout-ObjC */ = { 205 | isa = PBXNativeTarget; 206 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "DXCustomCallout-ObjC" */; 207 | buildPhases = ( 208 | F064153D5392E9F222B37F18 /* Check Pods Manifest.lock */, 209 | 6003F586195388D20070C39A /* Sources */, 210 | 6003F587195388D20070C39A /* Frameworks */, 211 | 6003F588195388D20070C39A /* Resources */, 212 | 0A5F11089196DADCB8E22072 /* Copy Pods Resources */, 213 | ); 214 | buildRules = ( 215 | ); 216 | dependencies = ( 217 | ); 218 | name = "DXCustomCallout-ObjC"; 219 | productName = "DXCustomCallout-ObjC"; 220 | productReference = 6003F58A195388D20070C39A /* DXCustomCallout-ObjC.app */; 221 | productType = "com.apple.product-type.application"; 222 | }; 223 | 6003F5AD195388D20070C39A /* Tests */ = { 224 | isa = PBXNativeTarget; 225 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */; 226 | buildPhases = ( 227 | 00A2B15D31509C5BE882E798 /* Check Pods Manifest.lock */, 228 | 6003F5AA195388D20070C39A /* Sources */, 229 | 6003F5AB195388D20070C39A /* Frameworks */, 230 | 6003F5AC195388D20070C39A /* Resources */, 231 | 3A8C66BD0B5D1914663B5A68 /* Copy Pods Resources */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 237 | ); 238 | name = Tests; 239 | productName = "DXCustomCallout-ObjCTests"; 240 | productReference = 6003F5AE195388D20070C39A /* Tests.xctest */; 241 | productType = "com.apple.product-type.bundle.unit-test"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | 6003F582195388D10070C39A /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | CLASSPREFIX = DX; 250 | LastUpgradeCheck = 0510; 251 | ORGANIZATIONNAME = s3lvin; 252 | TargetAttributes = { 253 | 6003F5AD195388D20070C39A = { 254 | TestTargetID = 6003F589195388D20070C39A; 255 | }; 256 | }; 257 | }; 258 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "DXCustomCallout-ObjC" */; 259 | compatibilityVersion = "Xcode 3.2"; 260 | developmentRegion = English; 261 | hasScannedForEncodings = 0; 262 | knownRegions = ( 263 | en, 264 | Base, 265 | ); 266 | mainGroup = 6003F581195388D10070C39A; 267 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 268 | projectDirPath = ""; 269 | projectRoot = ""; 270 | targets = ( 271 | 6003F589195388D20070C39A /* DXCustomCallout-ObjC */, 272 | 6003F5AD195388D20070C39A /* Tests */, 273 | ); 274 | }; 275 | /* End PBXProject section */ 276 | 277 | /* Begin PBXResourcesBuildPhase section */ 278 | 6003F588195388D20070C39A /* Resources */ = { 279 | isa = PBXResourcesBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | 11AC0D971ADAFAF8004A629A /* myView.xib in Resources */, 283 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */, 284 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 285 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */, 286 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 287 | ); 288 | runOnlyForDeploymentPostprocessing = 0; 289 | }; 290 | 6003F5AC195388D20070C39A /* Resources */ = { 291 | isa = PBXResourcesBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 295 | ); 296 | runOnlyForDeploymentPostprocessing = 0; 297 | }; 298 | /* End PBXResourcesBuildPhase section */ 299 | 300 | /* Begin PBXShellScriptBuildPhase section */ 301 | 00A2B15D31509C5BE882E798 /* Check Pods Manifest.lock */ = { 302 | isa = PBXShellScriptBuildPhase; 303 | buildActionMask = 2147483647; 304 | files = ( 305 | ); 306 | inputPaths = ( 307 | ); 308 | name = "Check Pods Manifest.lock"; 309 | outputPaths = ( 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | shellPath = /bin/sh; 313 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 314 | showEnvVarsInLog = 0; 315 | }; 316 | 0A5F11089196DADCB8E22072 /* Copy Pods Resources */ = { 317 | isa = PBXShellScriptBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | ); 321 | inputPaths = ( 322 | ); 323 | name = "Copy Pods Resources"; 324 | outputPaths = ( 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | shellPath = /bin/sh; 328 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-resources.sh\"\n"; 329 | showEnvVarsInLog = 0; 330 | }; 331 | 3A8C66BD0B5D1914663B5A68 /* Copy Pods Resources */ = { 332 | isa = PBXShellScriptBuildPhase; 333 | buildActionMask = 2147483647; 334 | files = ( 335 | ); 336 | inputPaths = ( 337 | ); 338 | name = "Copy Pods Resources"; 339 | outputPaths = ( 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | shellPath = /bin/sh; 343 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh\"\n"; 344 | showEnvVarsInLog = 0; 345 | }; 346 | F064153D5392E9F222B37F18 /* Check Pods Manifest.lock */ = { 347 | isa = PBXShellScriptBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | ); 351 | inputPaths = ( 352 | ); 353 | name = "Check Pods Manifest.lock"; 354 | outputPaths = ( 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | shellPath = /bin/sh; 358 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 359 | showEnvVarsInLog = 0; 360 | }; 361 | /* End PBXShellScriptBuildPhase section */ 362 | 363 | /* Begin PBXSourcesBuildPhase section */ 364 | 6003F586195388D20070C39A /* Sources */ = { 365 | isa = PBXSourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 6003F59E195388D20070C39A /* DXAppDelegate.m in Sources */, 369 | 6003F5A7195388D20070C39A /* DXViewController.m in Sources */, 370 | 6003F59A195388D20070C39A /* main.m in Sources */, 371 | ); 372 | runOnlyForDeploymentPostprocessing = 0; 373 | }; 374 | 6003F5AA195388D20070C39A /* Sources */ = { 375 | isa = PBXSourcesBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | /* End PBXSourcesBuildPhase section */ 383 | 384 | /* Begin PBXTargetDependency section */ 385 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 386 | isa = PBXTargetDependency; 387 | target = 6003F589195388D20070C39A /* DXCustomCallout-ObjC */; 388 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 389 | }; 390 | /* End PBXTargetDependency section */ 391 | 392 | /* Begin PBXVariantGroup section */ 393 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 394 | isa = PBXVariantGroup; 395 | children = ( 396 | 6003F597195388D20070C39A /* en */, 397 | ); 398 | name = InfoPlist.strings; 399 | sourceTree = ""; 400 | }; 401 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */ = { 402 | isa = PBXVariantGroup; 403 | children = ( 404 | 6003F5A0195388D20070C39A /* Base */, 405 | ); 406 | name = Main_iPhone.storyboard; 407 | sourceTree = ""; 408 | }; 409 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */ = { 410 | isa = PBXVariantGroup; 411 | children = ( 412 | 6003F5A3195388D20070C39A /* Base */, 413 | ); 414 | name = Main_iPad.storyboard; 415 | sourceTree = ""; 416 | }; 417 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 418 | isa = PBXVariantGroup; 419 | children = ( 420 | 6003F5B9195388D20070C39A /* en */, 421 | ); 422 | name = InfoPlist.strings; 423 | sourceTree = ""; 424 | }; 425 | /* End PBXVariantGroup section */ 426 | 427 | /* Begin XCBuildConfiguration section */ 428 | 6003F5BD195388D20070C39A /* Debug */ = { 429 | isa = XCBuildConfiguration; 430 | buildSettings = { 431 | ALWAYS_SEARCH_USER_PATHS = NO; 432 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 433 | CLANG_CXX_LIBRARY = "libc++"; 434 | CLANG_ENABLE_MODULES = YES; 435 | CLANG_ENABLE_OBJC_ARC = YES; 436 | CLANG_WARN_BOOL_CONVERSION = YES; 437 | CLANG_WARN_CONSTANT_CONVERSION = YES; 438 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 439 | CLANG_WARN_EMPTY_BODY = YES; 440 | CLANG_WARN_ENUM_CONVERSION = YES; 441 | CLANG_WARN_INT_CONVERSION = YES; 442 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 443 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 444 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 445 | COPY_PHASE_STRIP = NO; 446 | GCC_C_LANGUAGE_STANDARD = gnu99; 447 | GCC_DYNAMIC_NO_PIC = NO; 448 | GCC_OPTIMIZATION_LEVEL = 0; 449 | GCC_PREPROCESSOR_DEFINITIONS = ( 450 | "DEBUG=1", 451 | "$(inherited)", 452 | ); 453 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 454 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 455 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 456 | GCC_WARN_UNDECLARED_SELECTOR = YES; 457 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 458 | GCC_WARN_UNUSED_FUNCTION = YES; 459 | GCC_WARN_UNUSED_VARIABLE = YES; 460 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 461 | ONLY_ACTIVE_ARCH = YES; 462 | SDKROOT = iphoneos; 463 | TARGETED_DEVICE_FAMILY = "1,2"; 464 | }; 465 | name = Debug; 466 | }; 467 | 6003F5BE195388D20070C39A /* Release */ = { 468 | isa = XCBuildConfiguration; 469 | buildSettings = { 470 | ALWAYS_SEARCH_USER_PATHS = NO; 471 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 472 | CLANG_CXX_LIBRARY = "libc++"; 473 | CLANG_ENABLE_MODULES = YES; 474 | CLANG_ENABLE_OBJC_ARC = YES; 475 | CLANG_WARN_BOOL_CONVERSION = YES; 476 | CLANG_WARN_CONSTANT_CONVERSION = YES; 477 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 478 | CLANG_WARN_EMPTY_BODY = YES; 479 | CLANG_WARN_ENUM_CONVERSION = YES; 480 | CLANG_WARN_INT_CONVERSION = YES; 481 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 482 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 483 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 484 | COPY_PHASE_STRIP = YES; 485 | ENABLE_NS_ASSERTIONS = NO; 486 | GCC_C_LANGUAGE_STANDARD = gnu99; 487 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 488 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 489 | GCC_WARN_UNDECLARED_SELECTOR = YES; 490 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 491 | GCC_WARN_UNUSED_FUNCTION = YES; 492 | GCC_WARN_UNUSED_VARIABLE = YES; 493 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 494 | SDKROOT = iphoneos; 495 | TARGETED_DEVICE_FAMILY = "1,2"; 496 | VALIDATE_PRODUCT = YES; 497 | }; 498 | name = Release; 499 | }; 500 | 6003F5C0195388D20070C39A /* Debug */ = { 501 | isa = XCBuildConfiguration; 502 | baseConfigurationReference = 4A33D774E30B97BFF81FD6B3 /* Pods-DXCustomCallout-ObjC.debug.xcconfig */; 503 | buildSettings = { 504 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 505 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 506 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 507 | GCC_PREFIX_HEADER = "DXCustomCallout-ObjC/DXCustomCallout-ObjC-Prefix.pch"; 508 | INFOPLIST_FILE = "DXCustomCallout-ObjC/DXCustomCallout-ObjC-Info.plist"; 509 | PRODUCT_NAME = "$(TARGET_NAME)"; 510 | WRAPPER_EXTENSION = app; 511 | }; 512 | name = Debug; 513 | }; 514 | 6003F5C1195388D20070C39A /* Release */ = { 515 | isa = XCBuildConfiguration; 516 | baseConfigurationReference = DFA299114547A8ADEB5044A3 /* Pods-DXCustomCallout-ObjC.release.xcconfig */; 517 | buildSettings = { 518 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 519 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 520 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 521 | GCC_PREFIX_HEADER = "DXCustomCallout-ObjC/DXCustomCallout-ObjC-Prefix.pch"; 522 | INFOPLIST_FILE = "DXCustomCallout-ObjC/DXCustomCallout-ObjC-Info.plist"; 523 | PRODUCT_NAME = "$(TARGET_NAME)"; 524 | WRAPPER_EXTENSION = app; 525 | }; 526 | name = Release; 527 | }; 528 | 6003F5C3195388D20070C39A /* Debug */ = { 529 | isa = XCBuildConfiguration; 530 | baseConfigurationReference = 60846373611B4BDADA49F1AE /* Pods-Tests.debug.xcconfig */; 531 | buildSettings = { 532 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/DXCustomCallout-ObjC.app/DXCustomCallout-ObjC"; 533 | FRAMEWORK_SEARCH_PATHS = ( 534 | "$(SDKROOT)/Developer/Library/Frameworks", 535 | "$(inherited)", 536 | "$(DEVELOPER_FRAMEWORKS_DIR)", 537 | ); 538 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 539 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 540 | GCC_PREPROCESSOR_DEFINITIONS = ( 541 | "DEBUG=1", 542 | "$(inherited)", 543 | ); 544 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 545 | PRODUCT_NAME = "$(TARGET_NAME)"; 546 | TEST_HOST = "$(BUNDLE_LOADER)"; 547 | WRAPPER_EXTENSION = xctest; 548 | }; 549 | name = Debug; 550 | }; 551 | 6003F5C4195388D20070C39A /* Release */ = { 552 | isa = XCBuildConfiguration; 553 | baseConfigurationReference = E7DA2923DA00C04B2D3FC17C /* Pods-Tests.release.xcconfig */; 554 | buildSettings = { 555 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/DXCustomCallout-ObjC.app/DXCustomCallout-ObjC"; 556 | FRAMEWORK_SEARCH_PATHS = ( 557 | "$(SDKROOT)/Developer/Library/Frameworks", 558 | "$(inherited)", 559 | "$(DEVELOPER_FRAMEWORKS_DIR)", 560 | ); 561 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 562 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 563 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 564 | PRODUCT_NAME = "$(TARGET_NAME)"; 565 | TEST_HOST = "$(BUNDLE_LOADER)"; 566 | WRAPPER_EXTENSION = xctest; 567 | }; 568 | name = Release; 569 | }; 570 | /* End XCBuildConfiguration section */ 571 | 572 | /* Begin XCConfigurationList section */ 573 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "DXCustomCallout-ObjC" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 6003F5BD195388D20070C39A /* Debug */, 577 | 6003F5BE195388D20070C39A /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "DXCustomCallout-ObjC" */ = { 583 | isa = XCConfigurationList; 584 | buildConfigurations = ( 585 | 6003F5C0195388D20070C39A /* Debug */, 586 | 6003F5C1195388D20070C39A /* Release */, 587 | ); 588 | defaultConfigurationIsVisible = 0; 589 | defaultConfigurationName = Release; 590 | }; 591 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */ = { 592 | isa = XCConfigurationList; 593 | buildConfigurations = ( 594 | 6003F5C3195388D20070C39A /* Debug */, 595 | 6003F5C4195388D20070C39A /* Release */, 596 | ); 597 | defaultConfigurationIsVisible = 0; 598 | defaultConfigurationName = Release; 599 | }; 600 | /* End XCConfigurationList section */ 601 | }; 602 | rootObject = 6003F582195388D10070C39A /* Project object */; 603 | } 604 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC.xcodeproj/xcshareddata/xcschemes/DXCustomCallout-ObjC-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // DXAppDelegate.h 3 | // DXCustomCallout-ObjC 4 | // 5 | // Created by CocoaPods on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DXAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // DXAppDelegate.m 3 | // DXCustomCallout-ObjC 4 | // 5 | // Created by CocoaPods on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import "DXAppDelegate.h" 10 | 11 | @implementation DXAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 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 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXCustomCallout-ObjC-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main_iPhone 29 | UIMainStoryboardFile~ipad 30 | Main_iPad 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXCustomCallout-ObjC-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #import 17 | #import 18 | #import 19 | #endif 20 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DXViewController.h 3 | // DXCustomCallout-ObjC 4 | // 5 | // Created by s3lvin on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DXViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/DXViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // DXViewController.m 3 | // DXCustomCallout-ObjC 4 | // 5 | // Created by s3lvin on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import "DXViewController.h" 10 | 11 | @interface DXAnnotation : NSObject 12 | 13 | @property(nonatomic, assign) CLLocationCoordinate2D coordinate; 14 | 15 | @end 16 | 17 | @interface DXViewController () 18 | 19 | @property(weak, nonatomic) IBOutlet MKMapView *mapView; 20 | 21 | @end 22 | 23 | @implementation DXViewController 24 | 25 | - (void)viewDidLoad { 26 | [super viewDidLoad]; 27 | 28 | DXAnnotation *annotation1 = [DXAnnotation new]; 29 | annotation1.coordinate = CLLocationCoordinate2DMake(12.9667, 77.5667); 30 | [self.mapView addAnnotation:annotation1]; 31 | 32 | DXAnnotation *ann2 = [DXAnnotation new]; 33 | ann2.coordinate = CLLocationCoordinate2DMake(44.518640, 11.362665); 34 | 35 | DXAnnotation *ann3 = [DXAnnotation new]; 36 | ann3.coordinate = CLLocationCoordinate2DMake(44.521318, 11.374080); 37 | 38 | DXAnnotation *ann4 = [DXAnnotation new]; 39 | ann4.coordinate = CLLocationCoordinate2DMake(44.500746, 11.345394); 40 | 41 | DXAnnotation *ann5 = [DXAnnotation new]; 42 | ann5.coordinate = CLLocationCoordinate2DMake(44.490537, 11.358033); 43 | 44 | DXAnnotation *ann6 = [DXAnnotation new]; 45 | ann6.coordinate = CLLocationCoordinate2DMake(44.504082, 11.354256); 46 | 47 | [self.mapView addAnnotation:ann2]; 48 | [self.mapView addAnnotation:ann3]; 49 | [self.mapView addAnnotation:ann4]; 50 | [self.mapView addAnnotation:ann5]; 51 | [self.mapView addAnnotation:ann6]; 52 | 53 | [self.mapView setRegion:MKCoordinateRegionMakeWithDistance(ann2.coordinate, 10000, 10000)]; 54 | } 55 | 56 | - (MKAnnotationView *)mapView:(MKMapView *)mapView 57 | viewForAnnotation:(id)annotation { 58 | 59 | if ([annotation isKindOfClass:[DXAnnotation class]]) { 60 | 61 | UIImageView *pinView = nil; 62 | 63 | UIView *calloutView = nil; 64 | 65 | DXAnnotationView *annotationView = (DXAnnotationView *)[mapView dequeueReusableAnnotationViewWithIdentifier:NSStringFromClass([DXAnnotationView class])]; 66 | if (!annotationView) { 67 | pinView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pin"]]; 68 | calloutView = [[[NSBundle mainBundle] loadNibNamed:@"myView" owner:self options:nil] firstObject]; 69 | 70 | annotationView = [[DXAnnotationView alloc] initWithAnnotation:annotation 71 | reuseIdentifier:NSStringFromClass([DXAnnotationView class]) 72 | pinView:pinView 73 | calloutView:calloutView 74 | settings:[DXAnnotationSettings defaultSettings]]; 75 | }else { 76 | 77 | //Changing PinView's image to test the recycle 78 | pinView = (UIImageView *)annotationView.pinView; 79 | pinView.image = [UIImage imageNamed:@"car-blue-icon"]; 80 | } 81 | 82 | 83 | return annotationView; 84 | } 85 | return nil; 86 | } 87 | 88 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view { 89 | if ([view isKindOfClass:[DXAnnotationView class]]) { 90 | [((DXAnnotationView *)view)hideCalloutView]; 91 | view.layer.zPosition = -1; 92 | } 93 | } 94 | 95 | - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view { 96 | if ([view isKindOfClass:[DXAnnotationView class]]) { 97 | [((DXAnnotationView *)view)showCalloutView]; 98 | view.layer.zPosition = 0; 99 | } 100 | } 101 | 102 | - (void)didReceiveMemoryWarning { 103 | [super didReceiveMemoryWarning]; 104 | // Dispose of any resources that can be recreated. 105 | } 106 | 107 | @end 108 | 109 | @implementation DXAnnotation 110 | 111 | @end -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Images.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" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "60x60", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "29x29", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "40x40", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "76x76", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Images.xcassets/car-blue-icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "car-blue-icon.png" 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/DXCustomCallout-ObjC/Images.xcassets/car-blue-icon.imageset/car-blue-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s3lvin/DXCustomCallout-ObjC/13a045dfbc206f8401b0aecafb39c290bc612846/Example/DXCustomCallout-ObjC/Images.xcassets/car-blue-icon.imageset/car-blue-icon.png -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/Images.xcassets/pin.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "pin.png" 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/DXCustomCallout-ObjC/Images.xcassets/pin.imageset/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s3lvin/DXCustomCallout-ObjC/13a045dfbc206f8401b0aecafb39c290bc612846/Example/DXCustomCallout-ObjC/Images.xcassets/pin.imageset/pin.png -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // DXCustomCallout-ObjC 4 | // 5 | // Created by s3lvin on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "DXAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([DXAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/DXCustomCallout-ObjC/myView.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | target 'DXCustomCallout-ObjC', :exclusive => true do 4 | pod "DXCustomCallout-ObjC", :path => "../" 5 | end 6 | 7 | target 'Tests', :exclusive => true do 8 | pod "DXCustomCallout-ObjC", :path => "../" 9 | 10 | 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DXCustomCallout-ObjC (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DXCustomCallout-ObjC (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DXCustomCallout-ObjC: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | DXCustomCallout-ObjC: 325e49ec051af01a70f1d0992790f05b51fff6ce 13 | 14 | COCOAPODS: 0.36.3 15 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/DXCustomCallout-ObjC/DXAnnotationSettings.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/DXAnnotationSettings.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/DXCustomCallout-ObjC/DXAnnotationView.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/DXAnnotationView.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/DXCustomCallout-ObjC/DXAnnotationSettings.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/DXAnnotationSettings.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/DXCustomCallout-ObjC/DXAnnotationView.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/DXAnnotationView.h -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/DXCustomCallout-ObjC.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DXCustomCallout-ObjC", 3 | "version": "0.1.0", 4 | "summary": "A simpler approach to CustomCallouts on MKMapview", 5 | "description": "DXAnnotationView takes a PinView and a CalloutView as UIViews and beautifully displays it in MKMapView. It is;\n * Easy to use\n * Highly configurable\n", 6 | "homepage": "https://github.com/s3lvin/DXCustomCallout-ObjC", 7 | "screenshots": "http://s26.postimg.org/68lrdhei1/i_OS_Simulator_Screen_Shot_13_Apr_2015_1_02_35_am.png", 8 | "license": "MIT", 9 | "authors": { 10 | "s3lvin": "mariaselvin@gmail.com" 11 | }, 12 | "source": { 13 | "git": "https://github.com/s3lvin/DXCustomCallout-ObjC.git", 14 | "tag": "0.1.0" 15 | }, 16 | "platforms": { 17 | "ios": "7.0" 18 | }, 19 | "requires_arc": true, 20 | "source_files": "Pod/Classes/**/*", 21 | "frameworks": [ 22 | "UIKit", 23 | "MapKit" 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DXCustomCallout-ObjC (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DXCustomCallout-ObjC (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DXCustomCallout-ObjC: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | DXCustomCallout-ObjC: 325e49ec051af01a70f1d0992790f05b51fff6ce 13 | 14 | COCOAPODS: 0.36.3 15 | -------------------------------------------------------------------------------- /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 | 13FDEEAC501E937B14EF5467 /* Pods-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 33BBF57BD2C9545C8855D7E6 /* Pods-Tests-dummy.m */; }; 11 | 194B2C52A0373E657368566B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 395E7AA208620E168846F2A6 /* Foundation.framework */; }; 12 | 1A5B3F3670EF44BFB4D28994 /* DXAnnotationSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = 004A2FB18727F047DD3AF3CD /* DXAnnotationSettings.h */; }; 13 | 23903084152BE1ED6A54EFCB /* DXAnnotationSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = 004A2FB18727F047DD3AF3CD /* DXAnnotationSettings.h */; }; 14 | 4F50C7465DD0638A3CD4E0C6 /* DXAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C9FB75341B2FC06C43C41F8 /* DXAnnotationView.h */; }; 15 | 4FE5BB317D796D0B658433CB /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0806C2AA905E679F08F51F08 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m */; }; 16 | 59EFFB5B6B77E45965288B43 /* DXAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C9FB75341B2FC06C43C41F8 /* DXAnnotationView.h */; }; 17 | 629CFAF19F4D46C14538FA35 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E5B78CE101466C7907507B7 /* UIKit.framework */; }; 18 | 7352B106350C06043CD48EA1 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F2DFFE7B25F33A5E84757F3 /* MapKit.framework */; }; 19 | 9CE8E5F5C682D75F26ED492D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 395E7AA208620E168846F2A6 /* Foundation.framework */; }; 20 | 9D9B86646EECB30B4F78A184 /* Pods-DXCustomCallout-ObjC-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F844355A79980A323632F3F /* Pods-DXCustomCallout-ObjC-dummy.m */; }; 21 | AF74D60CE6882FA5E28173EA /* DXAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F9D3CB94321C7C6F43E1944 /* DXAnnotationView.m */; }; 22 | B50B716C82D3DE9729432649 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F2DFFE7B25F33A5E84757F3 /* MapKit.framework */; }; 23 | BA462E9E19C91D44B09B2F12 /* Pods-Tests-DXCustomCallout-ObjC-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C861F75C5FAD56C21B3A49F /* Pods-Tests-DXCustomCallout-ObjC-dummy.m */; }; 24 | C37599620CFA742604C4B99C /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E5B78CE101466C7907507B7 /* UIKit.framework */; }; 25 | E76B5A455542254DEF6476CF /* DXAnnotationSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = B755852E2704BF69F110D65F /* DXAnnotationSettings.m */; }; 26 | ECA7E3D64834B8F824848677 /* DXAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F9D3CB94321C7C6F43E1944 /* DXAnnotationView.m */; }; 27 | F2861901E2E4CFA6A60FA604 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 395E7AA208620E168846F2A6 /* Foundation.framework */; }; 28 | FC00AB4B96EB7401B3AD72DF /* DXAnnotationSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = B755852E2704BF69F110D65F /* DXAnnotationSettings.m */; }; 29 | FC3CF1948CF782C54E7B087F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 395E7AA208620E168846F2A6 /* Foundation.framework */; }; 30 | /* End PBXBuildFile section */ 31 | 32 | /* Begin PBXContainerItemProxy section */ 33 | 3607AEA744F4CD29655F2517 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = E102808068AE98DCBDB66504 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 1B739FBCC6BBE765E83178B5; 38 | remoteInfo = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC"; 39 | }; 40 | E5C258B55BF0FA45E90F963D /* PBXContainerItemProxy */ = { 41 | isa = PBXContainerItemProxy; 42 | containerPortal = E102808068AE98DCBDB66504 /* Project object */; 43 | proxyType = 1; 44 | remoteGlobalIDString = A16A2BF9CDB37C00D12FF246; 45 | remoteInfo = "Pods-Tests-DXCustomCallout-ObjC"; 46 | }; 47 | /* End PBXContainerItemProxy section */ 48 | 49 | /* Begin PBXFileReference section */ 50 | 004A2FB18727F047DD3AF3CD /* DXAnnotationSettings.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = DXAnnotationSettings.h; sourceTree = ""; }; 51 | 0806C2AA905E679F08F51F08 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m"; sourceTree = ""; }; 52 | 15845988114481833F9FC854 /* Pods-Tests-DXCustomCallout-ObjC.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests-DXCustomCallout-ObjC.xcconfig"; path = "../Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC.xcconfig"; sourceTree = ""; }; 53 | 1AA26271218B3A925F3DA144 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 54 | 1C861F75C5FAD56C21B3A49F /* Pods-Tests-DXCustomCallout-ObjC-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Pods-Tests-DXCustomCallout-ObjC-dummy.m"; path = "../Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-dummy.m"; sourceTree = ""; }; 55 | 1E5B78CE101466C7907507B7 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 56 | 1F9D3CB94321C7C6F43E1944 /* DXAnnotationView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = DXAnnotationView.m; sourceTree = ""; }; 57 | 2AC3F0017D8B1BE3F7A20827 /* Pods-DXCustomCallout-ObjC-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DXCustomCallout-ObjC-acknowledgements.markdown"; sourceTree = ""; }; 58 | 33BBF57BD2C9545C8855D7E6 /* Pods-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Tests-dummy.m"; sourceTree = ""; }; 59 | 395E7AA208620E168846F2A6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 60 | 3F2DFFE7B25F33A5E84757F3 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/MapKit.framework; sourceTree = DEVELOPER_DIR; }; 61 | 4CB7A1A0923FA9C3BAC2516E /* Pods-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tests-acknowledgements.plist"; sourceTree = ""; }; 62 | 62001ED8D9EAB71A18E7E192 /* Pods-DXCustomCallout-ObjC.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DXCustomCallout-ObjC.release.xcconfig"; sourceTree = ""; }; 63 | 6F844355A79980A323632F3F /* Pods-DXCustomCallout-ObjC-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DXCustomCallout-ObjC-dummy.m"; sourceTree = ""; }; 64 | 7C9FB75341B2FC06C43C41F8 /* DXAnnotationView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = DXAnnotationView.h; sourceTree = ""; }; 65 | 83C3852CA6DE4CF79773D654 /* Pods-DXCustomCallout-ObjC-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DXCustomCallout-ObjC-environment.h"; sourceTree = ""; }; 66 | 84263011708CD1FF214FF470 /* libPods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | 854B94EE66D91B2D43BB64F0 /* Pods-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Tests-acknowledgements.markdown"; sourceTree = ""; }; 68 | 8AD10D2F70E5D2F2B68868C3 /* Pods-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Tests-resources.sh"; sourceTree = ""; }; 69 | 9811E200F7DD48F86B0C81FF /* libPods-DXCustomCallout-ObjC.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DXCustomCallout-ObjC.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | 98C0879114DD60599CC3152E /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig"; sourceTree = ""; }; 71 | A68D3057958D7760200E7702 /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 72 | B28B8B79EF96C67D127BDAE5 /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | B52C5427929FBF6AF5558B26 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig"; sourceTree = ""; }; 74 | B755852E2704BF69F110D65F /* DXAnnotationSettings.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = DXAnnotationSettings.m; sourceTree = ""; }; 75 | B851B2F7022F9A01791F75F3 /* Pods-DXCustomCallout-ObjC-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DXCustomCallout-ObjC-acknowledgements.plist"; sourceTree = ""; }; 76 | BC974F510F9FB3C6D1600B3D /* Pods-DXCustomCallout-ObjC.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DXCustomCallout-ObjC.debug.xcconfig"; sourceTree = ""; }; 77 | CD1F2AAAD35877D016530C61 /* Pods-Tests-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Tests-environment.h"; sourceTree = ""; }; 78 | D9BF72BD17A3FC179AE6A656 /* Pods-Tests-DXCustomCallout-ObjC-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Pods-Tests-DXCustomCallout-ObjC-prefix.pch"; path = "../Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-prefix.pch"; sourceTree = ""; }; 79 | DAFB8846F18BDBF8537DA924 /* Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig"; path = "../Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig"; sourceTree = ""; }; 80 | EE6DD276DE1B88F9DA699ADA /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch"; sourceTree = ""; }; 81 | EFD6121F5AA3EE6869608131 /* libPods-Tests-DXCustomCallout-ObjC.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests-DXCustomCallout-ObjC.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 82 | FC36B60D1CE49CF424624E98 /* Pods-DXCustomCallout-ObjC-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DXCustomCallout-ObjC-resources.sh"; sourceTree = ""; }; 83 | FF53A72E8E0FF68C7CC1F221 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.release.xcconfig"; sourceTree = ""; }; 84 | /* End PBXFileReference section */ 85 | 86 | /* Begin PBXFrameworksBuildPhase section */ 87 | 0C9B1961BD0692C003677100 /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | F2861901E2E4CFA6A60FA604 /* Foundation.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | 155FE3ED6B401F50E197D9C3 /* Frameworks */ = { 96 | isa = PBXFrameworksBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | 9CE8E5F5C682D75F26ED492D /* Foundation.framework in Frameworks */, 100 | B50B716C82D3DE9729432649 /* MapKit.framework in Frameworks */, 101 | 629CFAF19F4D46C14538FA35 /* UIKit.framework in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | 7DE9E1FAE67711E03735FF7F /* Frameworks */ = { 106 | isa = PBXFrameworksBuildPhase; 107 | buildActionMask = 2147483647; 108 | files = ( 109 | 194B2C52A0373E657368566B /* Foundation.framework in Frameworks */, 110 | ); 111 | runOnlyForDeploymentPostprocessing = 0; 112 | }; 113 | 827B2B866E3F1029AAF28084 /* Frameworks */ = { 114 | isa = PBXFrameworksBuildPhase; 115 | buildActionMask = 2147483647; 116 | files = ( 117 | FC3CF1948CF782C54E7B087F /* Foundation.framework in Frameworks */, 118 | 7352B106350C06043CD48EA1 /* MapKit.framework in Frameworks */, 119 | C37599620CFA742604C4B99C /* UIKit.framework in Frameworks */, 120 | ); 121 | runOnlyForDeploymentPostprocessing = 0; 122 | }; 123 | /* End PBXFrameworksBuildPhase section */ 124 | 125 | /* Begin PBXGroup section */ 126 | 0657996FE2F560C1B9C10A39 /* iOS */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 395E7AA208620E168846F2A6 /* Foundation.framework */, 130 | 3F2DFFE7B25F33A5E84757F3 /* MapKit.framework */, 131 | 1E5B78CE101466C7907507B7 /* UIKit.framework */, 132 | ); 133 | name = iOS; 134 | sourceTree = ""; 135 | }; 136 | 229C531A5A1BAE104816D071 /* Development Pods */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 5AFEB1BB0AC3B2E951002957 /* DXCustomCallout-ObjC */, 140 | ); 141 | name = "Development Pods"; 142 | sourceTree = ""; 143 | }; 144 | 3B8DCF41058A7789E884E9FE /* Pod */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | F39EE7F39B10CEBB4FB5DDEE /* Classes */, 148 | ); 149 | path = Pod; 150 | sourceTree = ""; 151 | }; 152 | 5978D2B9DECEA64678955B5B /* Products */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 9811E200F7DD48F86B0C81FF /* libPods-DXCustomCallout-ObjC.a */, 156 | 84263011708CD1FF214FF470 /* libPods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.a */, 157 | B28B8B79EF96C67D127BDAE5 /* libPods-Tests.a */, 158 | EFD6121F5AA3EE6869608131 /* libPods-Tests-DXCustomCallout-ObjC.a */, 159 | ); 160 | name = Products; 161 | sourceTree = ""; 162 | }; 163 | 5AFEB1BB0AC3B2E951002957 /* DXCustomCallout-ObjC */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 3B8DCF41058A7789E884E9FE /* Pod */, 167 | ED48384E324A904DE0A3633B /* Support Files */, 168 | ); 169 | name = "DXCustomCallout-ObjC"; 170 | path = ../..; 171 | sourceTree = ""; 172 | }; 173 | 8D7B8A4D1A3EE1288C58A8AC /* Pods-Tests */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 854B94EE66D91B2D43BB64F0 /* Pods-Tests-acknowledgements.markdown */, 177 | 4CB7A1A0923FA9C3BAC2516E /* Pods-Tests-acknowledgements.plist */, 178 | 33BBF57BD2C9545C8855D7E6 /* Pods-Tests-dummy.m */, 179 | CD1F2AAAD35877D016530C61 /* Pods-Tests-environment.h */, 180 | 8AD10D2F70E5D2F2B68868C3 /* Pods-Tests-resources.sh */, 181 | 1AA26271218B3A925F3DA144 /* Pods-Tests.debug.xcconfig */, 182 | FF53A72E8E0FF68C7CC1F221 /* Pods-Tests.release.xcconfig */, 183 | ); 184 | name = "Pods-Tests"; 185 | path = "Target Support Files/Pods-Tests"; 186 | sourceTree = ""; 187 | }; 188 | 942DFF22ACAAB0EAABDD17AB /* Pods-DXCustomCallout-ObjC */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | 2AC3F0017D8B1BE3F7A20827 /* Pods-DXCustomCallout-ObjC-acknowledgements.markdown */, 192 | B851B2F7022F9A01791F75F3 /* Pods-DXCustomCallout-ObjC-acknowledgements.plist */, 193 | 6F844355A79980A323632F3F /* Pods-DXCustomCallout-ObjC-dummy.m */, 194 | 83C3852CA6DE4CF79773D654 /* Pods-DXCustomCallout-ObjC-environment.h */, 195 | FC36B60D1CE49CF424624E98 /* Pods-DXCustomCallout-ObjC-resources.sh */, 196 | BC974F510F9FB3C6D1600B3D /* Pods-DXCustomCallout-ObjC.debug.xcconfig */, 197 | 62001ED8D9EAB71A18E7E192 /* Pods-DXCustomCallout-ObjC.release.xcconfig */, 198 | ); 199 | name = "Pods-DXCustomCallout-ObjC"; 200 | path = "Target Support Files/Pods-DXCustomCallout-ObjC"; 201 | sourceTree = ""; 202 | }; 203 | A4EFBE202949C827710C77F1 = { 204 | isa = PBXGroup; 205 | children = ( 206 | A68D3057958D7760200E7702 /* Podfile */, 207 | 229C531A5A1BAE104816D071 /* Development Pods */, 208 | D9B573BD09886308DDE976BB /* Frameworks */, 209 | 5978D2B9DECEA64678955B5B /* Products */, 210 | E491F62B0FF086FD7E623DF9 /* Targets Support Files */, 211 | ); 212 | sourceTree = ""; 213 | }; 214 | D9B573BD09886308DDE976BB /* Frameworks */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | 0657996FE2F560C1B9C10A39 /* iOS */, 218 | ); 219 | name = Frameworks; 220 | sourceTree = ""; 221 | }; 222 | E491F62B0FF086FD7E623DF9 /* Targets Support Files */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 942DFF22ACAAB0EAABDD17AB /* Pods-DXCustomCallout-ObjC */, 226 | 8D7B8A4D1A3EE1288C58A8AC /* Pods-Tests */, 227 | ); 228 | name = "Targets Support Files"; 229 | sourceTree = ""; 230 | }; 231 | ED48384E324A904DE0A3633B /* Support Files */ = { 232 | isa = PBXGroup; 233 | children = ( 234 | B52C5427929FBF6AF5558B26 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig */, 235 | 98C0879114DD60599CC3152E /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig */, 236 | 0806C2AA905E679F08F51F08 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m */, 237 | EE6DD276DE1B88F9DA699ADA /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch */, 238 | 15845988114481833F9FC854 /* Pods-Tests-DXCustomCallout-ObjC.xcconfig */, 239 | DAFB8846F18BDBF8537DA924 /* Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig */, 240 | 1C861F75C5FAD56C21B3A49F /* Pods-Tests-DXCustomCallout-ObjC-dummy.m */, 241 | D9BF72BD17A3FC179AE6A656 /* Pods-Tests-DXCustomCallout-ObjC-prefix.pch */, 242 | ); 243 | name = "Support Files"; 244 | path = "Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC"; 245 | sourceTree = ""; 246 | }; 247 | F39EE7F39B10CEBB4FB5DDEE /* Classes */ = { 248 | isa = PBXGroup; 249 | children = ( 250 | 004A2FB18727F047DD3AF3CD /* DXAnnotationSettings.h */, 251 | B755852E2704BF69F110D65F /* DXAnnotationSettings.m */, 252 | 7C9FB75341B2FC06C43C41F8 /* DXAnnotationView.h */, 253 | 1F9D3CB94321C7C6F43E1944 /* DXAnnotationView.m */, 254 | ); 255 | path = Classes; 256 | sourceTree = ""; 257 | }; 258 | /* End PBXGroup section */ 259 | 260 | /* Begin PBXHeadersBuildPhase section */ 261 | D0BD800EFD2BF34927E923A6 /* Headers */ = { 262 | isa = PBXHeadersBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | 23903084152BE1ED6A54EFCB /* DXAnnotationSettings.h in Headers */, 266 | 4F50C7465DD0638A3CD4E0C6 /* DXAnnotationView.h in Headers */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | EA730A619E74017A830F3BE0 /* Headers */ = { 271 | isa = PBXHeadersBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | 1A5B3F3670EF44BFB4D28994 /* DXAnnotationSettings.h in Headers */, 275 | 59EFFB5B6B77E45965288B43 /* DXAnnotationView.h in Headers */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | /* End PBXHeadersBuildPhase section */ 280 | 281 | /* Begin PBXNativeTarget section */ 282 | 1B739FBCC6BBE765E83178B5 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC */ = { 283 | isa = PBXNativeTarget; 284 | buildConfigurationList = E9C7D8EDB8C43FD853FAAADB /* Build configuration list for PBXNativeTarget "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC" */; 285 | buildPhases = ( 286 | 986EF594B474D98F54873DF2 /* Sources */, 287 | 827B2B866E3F1029AAF28084 /* Frameworks */, 288 | EA730A619E74017A830F3BE0 /* Headers */, 289 | ); 290 | buildRules = ( 291 | ); 292 | dependencies = ( 293 | ); 294 | name = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC"; 295 | productName = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC"; 296 | productReference = 84263011708CD1FF214FF470 /* libPods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.a */; 297 | productType = "com.apple.product-type.library.static"; 298 | }; 299 | A16A2BF9CDB37C00D12FF246 /* Pods-Tests-DXCustomCallout-ObjC */ = { 300 | isa = PBXNativeTarget; 301 | buildConfigurationList = 923ED8FB6CFB8DF05BA1BA13 /* Build configuration list for PBXNativeTarget "Pods-Tests-DXCustomCallout-ObjC" */; 302 | buildPhases = ( 303 | EA207480DC81C03AC80AC00A /* Sources */, 304 | 155FE3ED6B401F50E197D9C3 /* Frameworks */, 305 | D0BD800EFD2BF34927E923A6 /* Headers */, 306 | ); 307 | buildRules = ( 308 | ); 309 | dependencies = ( 310 | ); 311 | name = "Pods-Tests-DXCustomCallout-ObjC"; 312 | productName = "Pods-Tests-DXCustomCallout-ObjC"; 313 | productReference = EFD6121F5AA3EE6869608131 /* libPods-Tests-DXCustomCallout-ObjC.a */; 314 | productType = "com.apple.product-type.library.static"; 315 | }; 316 | B325C908822D71D9999C188D /* Pods-DXCustomCallout-ObjC */ = { 317 | isa = PBXNativeTarget; 318 | buildConfigurationList = 827E4416B6CFDE00176EAA39 /* Build configuration list for PBXNativeTarget "Pods-DXCustomCallout-ObjC" */; 319 | buildPhases = ( 320 | DE84EA5D06573519DBAA78DB /* Sources */, 321 | 7DE9E1FAE67711E03735FF7F /* Frameworks */, 322 | ); 323 | buildRules = ( 324 | ); 325 | dependencies = ( 326 | 59A14DB1989A4B0A1BACA64C /* PBXTargetDependency */, 327 | ); 328 | name = "Pods-DXCustomCallout-ObjC"; 329 | productName = "Pods-DXCustomCallout-ObjC"; 330 | productReference = 9811E200F7DD48F86B0C81FF /* libPods-DXCustomCallout-ObjC.a */; 331 | productType = "com.apple.product-type.library.static"; 332 | }; 333 | D766E4EBC5C8FF2E5661181F /* Pods-Tests */ = { 334 | isa = PBXNativeTarget; 335 | buildConfigurationList = 75CFCDBFE676BE3DF4301967 /* Build configuration list for PBXNativeTarget "Pods-Tests" */; 336 | buildPhases = ( 337 | ADD0F8A676851234BEF99207 /* Sources */, 338 | 0C9B1961BD0692C003677100 /* Frameworks */, 339 | ); 340 | buildRules = ( 341 | ); 342 | dependencies = ( 343 | 65743EDE38F124DEC4D16A01 /* PBXTargetDependency */, 344 | ); 345 | name = "Pods-Tests"; 346 | productName = "Pods-Tests"; 347 | productReference = B28B8B79EF96C67D127BDAE5 /* libPods-Tests.a */; 348 | productType = "com.apple.product-type.library.static"; 349 | }; 350 | /* End PBXNativeTarget section */ 351 | 352 | /* Begin PBXProject section */ 353 | E102808068AE98DCBDB66504 /* Project object */ = { 354 | isa = PBXProject; 355 | attributes = { 356 | LastUpgradeCheck = 0510; 357 | }; 358 | buildConfigurationList = A826741E5EDF19D6778EC7A7 /* Build configuration list for PBXProject "Pods" */; 359 | compatibilityVersion = "Xcode 3.2"; 360 | developmentRegion = English; 361 | hasScannedForEncodings = 0; 362 | knownRegions = ( 363 | en, 364 | ); 365 | mainGroup = A4EFBE202949C827710C77F1; 366 | productRefGroup = 5978D2B9DECEA64678955B5B /* Products */; 367 | projectDirPath = ""; 368 | projectRoot = ""; 369 | targets = ( 370 | B325C908822D71D9999C188D /* Pods-DXCustomCallout-ObjC */, 371 | 1B739FBCC6BBE765E83178B5 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC */, 372 | D766E4EBC5C8FF2E5661181F /* Pods-Tests */, 373 | A16A2BF9CDB37C00D12FF246 /* Pods-Tests-DXCustomCallout-ObjC */, 374 | ); 375 | }; 376 | /* End PBXProject section */ 377 | 378 | /* Begin PBXSourcesBuildPhase section */ 379 | 986EF594B474D98F54873DF2 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | FC00AB4B96EB7401B3AD72DF /* DXAnnotationSettings.m in Sources */, 384 | AF74D60CE6882FA5E28173EA /* DXAnnotationView.m in Sources */, 385 | 4FE5BB317D796D0B658433CB /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m in Sources */, 386 | ); 387 | runOnlyForDeploymentPostprocessing = 0; 388 | }; 389 | ADD0F8A676851234BEF99207 /* Sources */ = { 390 | isa = PBXSourcesBuildPhase; 391 | buildActionMask = 2147483647; 392 | files = ( 393 | 13FDEEAC501E937B14EF5467 /* Pods-Tests-dummy.m in Sources */, 394 | ); 395 | runOnlyForDeploymentPostprocessing = 0; 396 | }; 397 | DE84EA5D06573519DBAA78DB /* Sources */ = { 398 | isa = PBXSourcesBuildPhase; 399 | buildActionMask = 2147483647; 400 | files = ( 401 | 9D9B86646EECB30B4F78A184 /* Pods-DXCustomCallout-ObjC-dummy.m in Sources */, 402 | ); 403 | runOnlyForDeploymentPostprocessing = 0; 404 | }; 405 | EA207480DC81C03AC80AC00A /* Sources */ = { 406 | isa = PBXSourcesBuildPhase; 407 | buildActionMask = 2147483647; 408 | files = ( 409 | E76B5A455542254DEF6476CF /* DXAnnotationSettings.m in Sources */, 410 | ECA7E3D64834B8F824848677 /* DXAnnotationView.m in Sources */, 411 | BA462E9E19C91D44B09B2F12 /* Pods-Tests-DXCustomCallout-ObjC-dummy.m in Sources */, 412 | ); 413 | runOnlyForDeploymentPostprocessing = 0; 414 | }; 415 | /* End PBXSourcesBuildPhase section */ 416 | 417 | /* Begin PBXTargetDependency section */ 418 | 59A14DB1989A4B0A1BACA64C /* PBXTargetDependency */ = { 419 | isa = PBXTargetDependency; 420 | name = "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC"; 421 | target = 1B739FBCC6BBE765E83178B5 /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC */; 422 | targetProxy = 3607AEA744F4CD29655F2517 /* PBXContainerItemProxy */; 423 | }; 424 | 65743EDE38F124DEC4D16A01 /* PBXTargetDependency */ = { 425 | isa = PBXTargetDependency; 426 | name = "Pods-Tests-DXCustomCallout-ObjC"; 427 | target = A16A2BF9CDB37C00D12FF246 /* Pods-Tests-DXCustomCallout-ObjC */; 428 | targetProxy = E5C258B55BF0FA45E90F963D /* PBXContainerItemProxy */; 429 | }; 430 | /* End PBXTargetDependency section */ 431 | 432 | /* Begin XCBuildConfiguration section */ 433 | 276F5F343D819A3CEE41CF6B /* Debug */ = { 434 | isa = XCBuildConfiguration; 435 | baseConfigurationReference = DAFB8846F18BDBF8537DA924 /* Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig */; 436 | buildSettings = { 437 | ENABLE_STRICT_OBJC_MSGSEND = YES; 438 | GCC_PREFIX_HEADER = "Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-prefix.pch"; 439 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 440 | MTL_ENABLE_DEBUG_INFO = YES; 441 | OTHER_LDFLAGS = ""; 442 | OTHER_LIBTOOLFLAGS = ""; 443 | PRODUCT_NAME = "$(TARGET_NAME)"; 444 | SDKROOT = iphoneos; 445 | SKIP_INSTALL = YES; 446 | }; 447 | name = Debug; 448 | }; 449 | 3523A969F256CEC90C6B98E9 /* Release */ = { 450 | isa = XCBuildConfiguration; 451 | baseConfigurationReference = FF53A72E8E0FF68C7CC1F221 /* Pods-Tests.release.xcconfig */; 452 | buildSettings = { 453 | ENABLE_STRICT_OBJC_MSGSEND = YES; 454 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 455 | MTL_ENABLE_DEBUG_INFO = NO; 456 | OTHER_LDFLAGS = ""; 457 | OTHER_LIBTOOLFLAGS = ""; 458 | PODS_ROOT = "$(SRCROOT)"; 459 | PRODUCT_NAME = "$(TARGET_NAME)"; 460 | SDKROOT = iphoneos; 461 | SKIP_INSTALL = YES; 462 | }; 463 | name = Release; 464 | }; 465 | 35C7553D37455F0BDB87EE6E /* Release */ = { 466 | isa = XCBuildConfiguration; 467 | buildSettings = { 468 | ALWAYS_SEARCH_USER_PATHS = NO; 469 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 470 | CLANG_CXX_LIBRARY = "libc++"; 471 | CLANG_ENABLE_MODULES = YES; 472 | CLANG_ENABLE_OBJC_ARC = YES; 473 | CLANG_WARN_BOOL_CONVERSION = YES; 474 | CLANG_WARN_CONSTANT_CONVERSION = YES; 475 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 476 | CLANG_WARN_EMPTY_BODY = YES; 477 | CLANG_WARN_ENUM_CONVERSION = YES; 478 | CLANG_WARN_INT_CONVERSION = YES; 479 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 480 | CLANG_WARN_UNREACHABLE_CODE = YES; 481 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 482 | COPY_PHASE_STRIP = YES; 483 | ENABLE_NS_ASSERTIONS = NO; 484 | GCC_C_LANGUAGE_STANDARD = gnu99; 485 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 486 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 487 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 488 | GCC_WARN_UNDECLARED_SELECTOR = YES; 489 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 490 | GCC_WARN_UNUSED_FUNCTION = YES; 491 | GCC_WARN_UNUSED_VARIABLE = YES; 492 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 493 | STRIP_INSTALLED_PRODUCT = NO; 494 | SYMROOT = "${SRCROOT}/../build"; 495 | VALIDATE_PRODUCT = YES; 496 | }; 497 | name = Release; 498 | }; 499 | 59331E1F47736C256D5F0C82 /* Debug */ = { 500 | isa = XCBuildConfiguration; 501 | baseConfigurationReference = BC974F510F9FB3C6D1600B3D /* Pods-DXCustomCallout-ObjC.debug.xcconfig */; 502 | buildSettings = { 503 | ENABLE_STRICT_OBJC_MSGSEND = YES; 504 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 505 | MTL_ENABLE_DEBUG_INFO = YES; 506 | OTHER_LDFLAGS = ""; 507 | OTHER_LIBTOOLFLAGS = ""; 508 | PODS_ROOT = "$(SRCROOT)"; 509 | PRODUCT_NAME = "$(TARGET_NAME)"; 510 | SDKROOT = iphoneos; 511 | SKIP_INSTALL = YES; 512 | }; 513 | name = Debug; 514 | }; 515 | 6E919B6FEDA72F61EBDF00E9 /* Release */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = 98C0879114DD60599CC3152E /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig */; 518 | buildSettings = { 519 | ENABLE_STRICT_OBJC_MSGSEND = YES; 520 | GCC_PREFIX_HEADER = "Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch"; 521 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 522 | MTL_ENABLE_DEBUG_INFO = NO; 523 | OTHER_LDFLAGS = ""; 524 | OTHER_LIBTOOLFLAGS = ""; 525 | PRODUCT_NAME = "$(TARGET_NAME)"; 526 | SDKROOT = iphoneos; 527 | SKIP_INSTALL = YES; 528 | }; 529 | name = Release; 530 | }; 531 | 70EB238D72DA631E59DB9A93 /* Debug */ = { 532 | isa = XCBuildConfiguration; 533 | baseConfigurationReference = 1AA26271218B3A925F3DA144 /* Pods-Tests.debug.xcconfig */; 534 | buildSettings = { 535 | ENABLE_STRICT_OBJC_MSGSEND = YES; 536 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 537 | MTL_ENABLE_DEBUG_INFO = YES; 538 | OTHER_LDFLAGS = ""; 539 | OTHER_LIBTOOLFLAGS = ""; 540 | PODS_ROOT = "$(SRCROOT)"; 541 | PRODUCT_NAME = "$(TARGET_NAME)"; 542 | SDKROOT = iphoneos; 543 | SKIP_INSTALL = YES; 544 | }; 545 | name = Debug; 546 | }; 547 | 78D6803F7F49B380135DFA31 /* Debug */ = { 548 | isa = XCBuildConfiguration; 549 | buildSettings = { 550 | ALWAYS_SEARCH_USER_PATHS = NO; 551 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 552 | CLANG_CXX_LIBRARY = "libc++"; 553 | CLANG_ENABLE_MODULES = YES; 554 | CLANG_ENABLE_OBJC_ARC = YES; 555 | CLANG_WARN_BOOL_CONVERSION = YES; 556 | CLANG_WARN_CONSTANT_CONVERSION = YES; 557 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 558 | CLANG_WARN_EMPTY_BODY = YES; 559 | CLANG_WARN_ENUM_CONVERSION = YES; 560 | CLANG_WARN_INT_CONVERSION = YES; 561 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 562 | CLANG_WARN_UNREACHABLE_CODE = YES; 563 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 564 | COPY_PHASE_STRIP = NO; 565 | GCC_C_LANGUAGE_STANDARD = gnu99; 566 | GCC_DYNAMIC_NO_PIC = NO; 567 | GCC_OPTIMIZATION_LEVEL = 0; 568 | GCC_PREPROCESSOR_DEFINITIONS = ( 569 | "DEBUG=1", 570 | "$(inherited)", 571 | ); 572 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 573 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 574 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 575 | GCC_WARN_UNDECLARED_SELECTOR = YES; 576 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 577 | GCC_WARN_UNUSED_FUNCTION = YES; 578 | GCC_WARN_UNUSED_VARIABLE = YES; 579 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 580 | ONLY_ACTIVE_ARCH = YES; 581 | STRIP_INSTALLED_PRODUCT = NO; 582 | SYMROOT = "${SRCROOT}/../build"; 583 | }; 584 | name = Debug; 585 | }; 586 | 90DC9B6EB137A9709798B2D6 /* Release */ = { 587 | isa = XCBuildConfiguration; 588 | baseConfigurationReference = 62001ED8D9EAB71A18E7E192 /* Pods-DXCustomCallout-ObjC.release.xcconfig */; 589 | buildSettings = { 590 | ENABLE_STRICT_OBJC_MSGSEND = YES; 591 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 592 | MTL_ENABLE_DEBUG_INFO = NO; 593 | OTHER_LDFLAGS = ""; 594 | OTHER_LIBTOOLFLAGS = ""; 595 | PODS_ROOT = "$(SRCROOT)"; 596 | PRODUCT_NAME = "$(TARGET_NAME)"; 597 | SDKROOT = iphoneos; 598 | SKIP_INSTALL = YES; 599 | }; 600 | name = Release; 601 | }; 602 | 919EA23D9873D5007293742C /* Release */ = { 603 | isa = XCBuildConfiguration; 604 | baseConfigurationReference = DAFB8846F18BDBF8537DA924 /* Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig */; 605 | buildSettings = { 606 | ENABLE_STRICT_OBJC_MSGSEND = YES; 607 | GCC_PREFIX_HEADER = "Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-prefix.pch"; 608 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 609 | MTL_ENABLE_DEBUG_INFO = NO; 610 | OTHER_LDFLAGS = ""; 611 | OTHER_LIBTOOLFLAGS = ""; 612 | PRODUCT_NAME = "$(TARGET_NAME)"; 613 | SDKROOT = iphoneos; 614 | SKIP_INSTALL = YES; 615 | }; 616 | name = Release; 617 | }; 618 | 940DE6649476624004E5E0CC /* Debug */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = 98C0879114DD60599CC3152E /* Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig */; 621 | buildSettings = { 622 | ENABLE_STRICT_OBJC_MSGSEND = YES; 623 | GCC_PREFIX_HEADER = "Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch"; 624 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 625 | MTL_ENABLE_DEBUG_INFO = YES; 626 | OTHER_LDFLAGS = ""; 627 | OTHER_LIBTOOLFLAGS = ""; 628 | PRODUCT_NAME = "$(TARGET_NAME)"; 629 | SDKROOT = iphoneos; 630 | SKIP_INSTALL = YES; 631 | }; 632 | name = Debug; 633 | }; 634 | /* End XCBuildConfiguration section */ 635 | 636 | /* Begin XCConfigurationList section */ 637 | 75CFCDBFE676BE3DF4301967 /* Build configuration list for PBXNativeTarget "Pods-Tests" */ = { 638 | isa = XCConfigurationList; 639 | buildConfigurations = ( 640 | 70EB238D72DA631E59DB9A93 /* Debug */, 641 | 3523A969F256CEC90C6B98E9 /* Release */, 642 | ); 643 | defaultConfigurationIsVisible = 0; 644 | defaultConfigurationName = Release; 645 | }; 646 | 827E4416B6CFDE00176EAA39 /* Build configuration list for PBXNativeTarget "Pods-DXCustomCallout-ObjC" */ = { 647 | isa = XCConfigurationList; 648 | buildConfigurations = ( 649 | 59331E1F47736C256D5F0C82 /* Debug */, 650 | 90DC9B6EB137A9709798B2D6 /* Release */, 651 | ); 652 | defaultConfigurationIsVisible = 0; 653 | defaultConfigurationName = Release; 654 | }; 655 | 923ED8FB6CFB8DF05BA1BA13 /* Build configuration list for PBXNativeTarget "Pods-Tests-DXCustomCallout-ObjC" */ = { 656 | isa = XCConfigurationList; 657 | buildConfigurations = ( 658 | 276F5F343D819A3CEE41CF6B /* Debug */, 659 | 919EA23D9873D5007293742C /* Release */, 660 | ); 661 | defaultConfigurationIsVisible = 0; 662 | defaultConfigurationName = Release; 663 | }; 664 | A826741E5EDF19D6778EC7A7 /* Build configuration list for PBXProject "Pods" */ = { 665 | isa = XCConfigurationList; 666 | buildConfigurations = ( 667 | 78D6803F7F49B380135DFA31 /* Debug */, 668 | 35C7553D37455F0BDB87EE6E /* Release */, 669 | ); 670 | defaultConfigurationIsVisible = 0; 671 | defaultConfigurationName = Release; 672 | }; 673 | E9C7D8EDB8C43FD853FAAADB /* Build configuration list for PBXNativeTarget "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC" */ = { 674 | isa = XCConfigurationList; 675 | buildConfigurations = ( 676 | 940DE6649476624004E5E0CC /* Debug */, 677 | 6E919B6FEDA72F61EBDF00E9 /* Release */, 678 | ); 679 | defaultConfigurationIsVisible = 0; 680 | defaultConfigurationName = Release; 681 | }; 682 | /* End XCConfigurationList section */ 683 | }; 684 | rootObject = E102808068AE98DCBDB66504 /* Project object */; 685 | } 686 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/DXCustomCallout-ObjC" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = ${PODS_DXCUSTOMCALLOUT_OBJC_DXCUSTOMCALLOUT_OBJC_OTHER_LDFLAGS} -ObjC 5 | PODS_ROOT = ${SRCROOT} 6 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DXCustomCallout_ObjC_DXCustomCallout_ObjC : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DXCustomCallout_ObjC_DXCustomCallout_ObjC 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-DXCustomCallout-ObjC-environment.h" 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC.xcconfig: -------------------------------------------------------------------------------- 1 | PODS_DXCUSTOMCALLOUT_OBJC_DXCUSTOMCALLOUT_OBJC_OTHER_LDFLAGS = -framework "MapKit" -framework "UIKit" -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## DXCustomCallout-ObjC 5 | 6 | Copyright (c) 2015 s3lvin 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 - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-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) 2015 s3lvin <mariaselvin@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 | Title 38 | DXCustomCallout-ObjC 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DXCustomCallout_ObjC : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DXCustomCallout_ObjC 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // DXCustomCallout-ObjC 10 | #define COCOAPODS_POD_AVAILABLE_DXCustomCallout_ObjC 11 | #define COCOAPODS_VERSION_MAJOR_DXCustomCallout_ObjC 0 12 | #define COCOAPODS_VERSION_MINOR_DXCustomCallout_ObjC 1 13 | #define COCOAPODS_VERSION_PATCH_DXCustomCallout_ObjC 0 14 | 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_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 | install_resource() 12 | { 13 | case $1 in 14 | *.storyboard) 15 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 16 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 17 | ;; 18 | *.xib) 19 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 20 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 21 | ;; 22 | *.framework) 23 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 25 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 26 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 27 | ;; 28 | *.xcdatamodel) 29 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 30 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 31 | ;; 32 | *.xcdatamodeld) 33 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 34 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 35 | ;; 36 | *.xcmappingmodel) 37 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 38 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 39 | ;; 40 | *.xcassets) 41 | XCASSET_FILES="$XCASSET_FILES '${PODS_ROOT}/$1'" 42 | ;; 43 | /*) 44 | echo "$1" 45 | echo "$1" >> "$RESOURCES_TO_COPY" 46 | ;; 47 | *) 48 | echo "${PODS_ROOT}/$1" 49 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 50 | ;; 51 | esac 52 | } 53 | 54 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 55 | if [[ "${ACTION}" == "install" ]]; then 56 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 57 | fi 58 | rm -f "$RESOURCES_TO_COPY" 59 | 60 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 61 | then 62 | case "${TARGETED_DEVICE_FAMILY}" in 63 | 1,2) 64 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 65 | ;; 66 | 1) 67 | TARGET_DEVICE_ARGS="--target-device iphone" 68 | ;; 69 | 2) 70 | TARGET_DEVICE_ARGS="--target-device ipad" 71 | ;; 72 | *) 73 | TARGET_DEVICE_ARGS="--target-device mac" 74 | ;; 75 | esac 76 | while read line; do XCASSET_FILES="$XCASSET_FILES '$line'"; done <<<$(find "$PWD" -name "*.xcassets" | egrep -v "^$PODS_ROOT") 77 | echo $XCASSET_FILES | xargs actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | fi 79 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC" -framework "MapKit" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DXCustomCallout-ObjC/Pods-DXCustomCallout-ObjC.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-DXCustomCallout-ObjC-DXCustomCallout-ObjC" -framework "MapKit" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-Tests-DXCustomCallout-ObjC.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/DXCustomCallout-ObjC" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = ${PODS_TESTS_DXCUSTOMCALLOUT_OBJC_OTHER_LDFLAGS} -ObjC 5 | PODS_ROOT = ${SRCROOT} 6 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Tests_DXCustomCallout_ObjC : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Tests_DXCustomCallout_ObjC 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-Tests-environment.h" 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests-DXCustomCallout-ObjC/Pods-Tests-DXCustomCallout-ObjC.xcconfig: -------------------------------------------------------------------------------- 1 | PODS_TESTS_DXCUSTOMCALLOUT_OBJC_OTHER_LDFLAGS = -framework "MapKit" -framework "UIKit" -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## DXCustomCallout-ObjC 5 | 6 | Copyright (c) 2015 s3lvin 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 - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2015 s3lvin <mariaselvin@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 | Title 38 | DXCustomCallout-ObjC 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // DXCustomCallout-ObjC 10 | #define COCOAPODS_POD_AVAILABLE_DXCustomCallout_ObjC 11 | #define COCOAPODS_VERSION_MAJOR_DXCustomCallout_ObjC 0 12 | #define COCOAPODS_VERSION_MINOR_DXCustomCallout_ObjC 1 13 | #define COCOAPODS_VERSION_PATCH_DXCustomCallout_ObjC 0 14 | 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_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 | install_resource() 12 | { 13 | case $1 in 14 | *.storyboard) 15 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 16 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 17 | ;; 18 | *.xib) 19 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 20 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 21 | ;; 22 | *.framework) 23 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 25 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 26 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 27 | ;; 28 | *.xcdatamodel) 29 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 30 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 31 | ;; 32 | *.xcdatamodeld) 33 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 34 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 35 | ;; 36 | *.xcmappingmodel) 37 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 38 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 39 | ;; 40 | *.xcassets) 41 | XCASSET_FILES="$XCASSET_FILES '${PODS_ROOT}/$1'" 42 | ;; 43 | /*) 44 | echo "$1" 45 | echo "$1" >> "$RESOURCES_TO_COPY" 46 | ;; 47 | *) 48 | echo "${PODS_ROOT}/$1" 49 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 50 | ;; 51 | esac 52 | } 53 | 54 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 55 | if [[ "${ACTION}" == "install" ]]; then 56 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 57 | fi 58 | rm -f "$RESOURCES_TO_COPY" 59 | 60 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 61 | then 62 | case "${TARGETED_DEVICE_FAMILY}" in 63 | 1,2) 64 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 65 | ;; 66 | 1) 67 | TARGET_DEVICE_ARGS="--target-device iphone" 68 | ;; 69 | 2) 70 | TARGET_DEVICE_ARGS="--target-device ipad" 71 | ;; 72 | *) 73 | TARGET_DEVICE_ARGS="--target-device mac" 74 | ;; 75 | esac 76 | while read line; do XCASSET_FILES="$XCASSET_FILES '$line'"; done <<<$(find "$PWD" -name "*.xcassets" | egrep -v "^$PODS_ROOT") 77 | echo $XCASSET_FILES | xargs actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | fi 79 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-Tests-DXCustomCallout-ObjC" -framework "MapKit" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DXCustomCallout-ObjC" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-Tests-DXCustomCallout-ObjC" -framework "MapKit" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every test case source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // DXCustomCallout-ObjCTests.m 3 | // DXCustomCallout-ObjCTests 4 | // 5 | // Created by s3lvin on 04/13/2015. 6 | // Copyright (c) 2014 s3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import 14 | 15 | @interface DXAnnotation : NSObject 16 | 17 | @property(nonatomic, assign) CLLocationCoordinate2D coordinate; 18 | 19 | @end 20 | 21 | @interface DXAnnotationViewTests : XCTestCase 22 | 23 | @property(nonatomic, strong) DXAnnotation *annotation; 24 | 25 | @end 26 | 27 | @implementation DXAnnotationViewTests 28 | 29 | - (void)setUp { 30 | [super setUp]; 31 | self.annotation = [DXAnnotation new]; 32 | self.annotation.coordinate = CLLocationCoordinate2DMake(12.9667, 77.5667); 33 | } 34 | 35 | - (void)tearDown { 36 | self.annotation = nil; 37 | [super tearDown]; 38 | } 39 | 40 | - (void)testAlloc { 41 | // This is an example of a functional test case. 42 | DXAnnotationView *annotationView = [[DXAnnotationView alloc] initWithAnnotation:self.annotation reuseIdentifier:NSStringFromClass([DXAnnotationView class]) pinView:[UIView new] calloutView:[UIView new] settings:[DXAnnotationSettings defaultSettings]]; 43 | XCTAssert(annotationView != nil, @"Allocation Pass"); 44 | } 45 | 46 | @end -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 s3lvin 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 | -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s3lvin/DXCustomCallout-ObjC/13a045dfbc206f8401b0aecafb39c290bc612846/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s3lvin/DXCustomCallout-ObjC/13a045dfbc206f8401b0aecafb39c290bc612846/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/DXAnnotationSettings.h: -------------------------------------------------------------------------------- 1 | // 2 | // DXAnnotationSettings.h 3 | // CustomCallout 4 | // 5 | // Created by Selvin on 12/04/15. 6 | // Copyright (c) 2015 S3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | typedef NS_ENUM(NSUInteger, DXCalloutAnimation) { 13 | DXCalloutAnimationNone, 14 | DXCalloutAnimationFadeIn, 15 | DXCalloutAnimationZoomIn 16 | }; 17 | 18 | @interface DXAnnotationSettings : NSObject 19 | 20 | @property(nonatomic, assign) CGFloat calloutOffset; 21 | 22 | @property(nonatomic, assign) BOOL shouldRoundifyCallout; 23 | @property(nonatomic, assign) CGFloat calloutCornerRadius; 24 | 25 | @property(nonatomic, assign) BOOL shouldAddCalloutBorder; 26 | @property(nonatomic, strong) UIColor *calloutBorderColor; 27 | @property(nonatomic, assign) CGFloat calloutBorderWidth; 28 | 29 | @property(nonatomic, assign) DXCalloutAnimation animationType; 30 | @property(nonatomic, assign) NSTimeInterval animationDuration; 31 | 32 | + (instancetype)defaultSettings; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Pod/Classes/DXAnnotationSettings.m: -------------------------------------------------------------------------------- 1 | // 2 | // DXAnnotationSettings.m 3 | // CustomCallout 4 | // 5 | // Created by Selvin on 12/04/15. 6 | // Copyright (c) 2015 S3lvin. All rights reserved. 7 | // 8 | 9 | #import "DXAnnotationSettings.h" 10 | 11 | @implementation DXAnnotationSettings 12 | 13 | + (instancetype)defaultSettings { 14 | DXAnnotationSettings *newSettings = [[super alloc] init]; 15 | if (newSettings) { 16 | newSettings.calloutOffset = 10.0f; 17 | 18 | newSettings.shouldRoundifyCallout = YES; 19 | newSettings.calloutCornerRadius = 5.0f; 20 | 21 | newSettings.shouldAddCalloutBorder = YES; 22 | newSettings.calloutBorderColor = [UIColor colorWithRed:0.329 green:0.565 blue:0.616 alpha:1.000]; 23 | newSettings.calloutBorderWidth = 2.0; 24 | 25 | newSettings.animationType = DXCalloutAnimationZoomIn; 26 | newSettings.animationDuration = 0.25; 27 | } 28 | return newSettings; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pod/Classes/DXAnnotationView.h: -------------------------------------------------------------------------------- 1 | // 2 | // DXAnnotationView.h 3 | // CustomCallout 4 | // 5 | // Created by Selvin on 05/04/15. 6 | // Copyright (c) 2015 S3lvin. All rights reserved. 7 | // 8 | 9 | #import 10 | @class DXAnnotationSettings; 11 | 12 | @interface DXAnnotationView : MKAnnotationView 13 | 14 | @property(nonatomic, strong) UIView *pinView; 15 | @property(nonatomic, strong) UIView *calloutView; 16 | 17 | - (instancetype)initWithAnnotation:(id)annotation 18 | reuseIdentifier:(NSString *)reuseIdentifier 19 | pinView:(UIView *)pinView 20 | calloutView:(UIView *)calloutView 21 | settings:(DXAnnotationSettings *)settings; 22 | 23 | - (void)hideCalloutView; 24 | - (void)showCalloutView; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pod/Classes/DXAnnotationView.m: -------------------------------------------------------------------------------- 1 | // 2 | // DXAnnotationView.m 3 | // CustomCallout 4 | // 5 | // Created by Selvin on 05/04/15. 6 | // Copyright (c) 2015 S3lvin. All rights reserved. 7 | // 8 | 9 | #import "DXAnnotationView.h" 10 | #import "DXAnnotationSettings.h" 11 | 12 | @interface DXAnnotationView () { 13 | BOOL _hasCalloutView; 14 | } 15 | 16 | @property(nonatomic, strong) DXAnnotationSettings *settings; 17 | 18 | @end 19 | 20 | @implementation DXAnnotationView 21 | 22 | - (instancetype)initWithAnnotation:(id)annotation 23 | reuseIdentifier:(NSString *)reuseIdentifier 24 | pinView:(UIView *)pinView 25 | calloutView:(UIView *)calloutView 26 | settings:(DXAnnotationSettings *)settings { 27 | 28 | NSAssert(pinView != nil, @"Pinview can not be nil"); 29 | self = [super initWithAnnotation:annotation 30 | reuseIdentifier:reuseIdentifier]; 31 | if (self) { 32 | self.clipsToBounds = NO; 33 | [self validateSettings:settings]; 34 | _hasCalloutView = (calloutView) ? YES : NO; 35 | self.canShowCallout = NO; 36 | 37 | self.pinView = pinView; 38 | self.pinView.userInteractionEnabled = YES; 39 | self.calloutView = calloutView; 40 | self.calloutView.hidden = YES; 41 | 42 | [self addSubview:self.pinView]; 43 | [self addSubview:self.calloutView]; 44 | self.frame = [self calculateFrame]; 45 | if (_hasCalloutView) { 46 | if (self.settings.shouldAddCalloutBorder) { 47 | [self addCalloutBorder]; 48 | } 49 | if (self.settings.shouldRoundifyCallout) { 50 | [self roundifyCallout]; 51 | } 52 | } 53 | [self positionSubviews]; 54 | } 55 | return self; 56 | } 57 | 58 | - (CGRect)calculateFrame { 59 | return self.pinView.bounds; 60 | } 61 | 62 | - (void)positionSubviews { 63 | self.pinView.center = self.center; 64 | if (_hasCalloutView) { 65 | CGRect frame = self.calloutView.frame; 66 | frame.origin.y = -frame.size.height - self.settings.calloutOffset; 67 | frame.origin.x = (self.frame.size.width - frame.size.width) / 2.0; 68 | self.calloutView.frame = frame; 69 | } 70 | } 71 | 72 | - (void)roundifyCallout { 73 | self.calloutView.layer.cornerRadius = self.settings.calloutCornerRadius; 74 | } 75 | 76 | - (void)addCalloutBorder { 77 | self.calloutView.layer.borderWidth = self.settings.calloutBorderWidth; 78 | self.calloutView.layer.borderColor = self.settings.calloutBorderColor.CGColor; 79 | } 80 | 81 | - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { 82 | if (_hasCalloutView) { 83 | UITouch *touch = [touches anyObject]; 84 | // toggle visibility 85 | if (touch.view == self.pinView) { 86 | if (self.calloutView.isHidden) { 87 | [self showCalloutView]; 88 | } else { 89 | [self hideCalloutView]; 90 | } 91 | } else if (touch.view == self.calloutView) { 92 | [self showCalloutView]; 93 | } else { 94 | [self hideCalloutView]; 95 | } 96 | } 97 | } 98 | 99 | - (void)hideCalloutView { 100 | if (_hasCalloutView) { 101 | if (!self.calloutView.isHidden) { 102 | switch (self.settings.animationType) { 103 | case DXCalloutAnimationNone: { 104 | self.calloutView.hidden = YES; 105 | } break; 106 | case DXCalloutAnimationZoomIn: { 107 | self.calloutView.transform = CGAffineTransformMakeScale(1.0, 1.0); 108 | [UIView animateWithDuration:self.settings.animationDuration animations:^{ 109 | self.calloutView.transform = CGAffineTransformMakeScale(0.25, 0.25); 110 | } completion:^(BOOL finished) { 111 | self.calloutView.hidden = YES; 112 | }]; 113 | } break; 114 | case DXCalloutAnimationFadeIn: { 115 | self.calloutView.alpha = 1.0; 116 | [UIView animateWithDuration:self.settings.animationDuration animations:^{ 117 | self.calloutView.alpha = 0.0; 118 | } completion:^(BOOL finished) { 119 | self.calloutView.hidden = YES; 120 | }]; 121 | } break; 122 | default: { 123 | self.calloutView.hidden = YES; 124 | } break; 125 | } 126 | } 127 | } 128 | } 129 | 130 | - (void)showCalloutView { 131 | if (_hasCalloutView) { 132 | if (self.calloutView.isHidden) { 133 | switch (self.settings.animationType) { 134 | case DXCalloutAnimationNone: { 135 | self.calloutView.hidden = NO; 136 | } break; 137 | case DXCalloutAnimationZoomIn: { 138 | self.calloutView.transform = CGAffineTransformMakeScale(0.025, 0.25); 139 | self.calloutView.hidden = NO; 140 | [UIView animateWithDuration:self.settings.animationDuration animations:^{ 141 | self.calloutView.transform = CGAffineTransformMakeScale(1.0, 1.0); 142 | } completion:nil]; 143 | } break; 144 | case DXCalloutAnimationFadeIn: { 145 | self.calloutView.alpha = 0.0; 146 | self.calloutView.hidden = NO; 147 | [UIView animateWithDuration:self.settings.animationDuration animations:^{ 148 | self.calloutView.alpha = 1.0; 149 | } completion:nil]; 150 | } break; 151 | default: { 152 | self.calloutView.hidden = NO; 153 | } break; 154 | } 155 | } 156 | } 157 | } 158 | 159 | #pragma mark - validate settings - 160 | 161 | - (void)validateSettings:(DXAnnotationSettings *)settings { 162 | NSAssert(settings.calloutOffset >= 5.0, @"settings.calloutOffset should be atleast 5.0"); 163 | if (settings.shouldRoundifyCallout) { 164 | NSAssert(settings.calloutCornerRadius >= 3.0, @"settings.calloutCornerRadius should be atleast 3.0"); 165 | } 166 | 167 | if (settings.shouldAddCalloutBorder) { 168 | NSAssert(settings.calloutBorderColor != nil, @"settings.calloutBorderColor can not be nil"); 169 | NSAssert(settings.calloutBorderWidth >= 1.0, @"settings.calloutBorderWidth should be atleast 1.0"); 170 | } 171 | 172 | if (settings.animationType != DXCalloutAnimationNone) { 173 | NSAssert(settings.animationDuration > 0.0, @"settings.animationDuration should be greater than zero"); 174 | } 175 | 176 | self.settings = settings; 177 | } 178 | 179 | - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { 180 | UIView *hitView = [super hitTest:point withEvent:event]; 181 | if (hitView == self) 182 | return nil; 183 | return hitView; 184 | } 185 | 186 | - (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event { 187 | BOOL isCallout = (CGRectContainsPoint(self.calloutView.frame, point)); 188 | BOOL isPin = (CGRectContainsPoint(self.pinView.frame, point)); 189 | return isCallout || isPin; 190 | } 191 | 192 | #pragma mark - PinView 193 | 194 | - (void)setPinView:(UIView *)pinView { 195 | //Removing old pinView 196 | [_pinView removeFromSuperview]; 197 | 198 | //Adding new pinView to the view's hierachy 199 | _pinView = pinView; 200 | [self addSubview:_pinView]; 201 | 202 | //Position the new pinView 203 | self.frame = [self calculateFrame]; 204 | self.pinView.center = self.center; 205 | } 206 | 207 | - (void)setCalloutView:(UIView *)calloutView { 208 | //Removing old calloutView 209 | [_calloutView removeFromSuperview]; 210 | 211 | //Adding new calloutView to the view's hierachy 212 | _calloutView = calloutView; 213 | [self addSubview:_calloutView]; 214 | 215 | self.calloutView.hidden = YES; 216 | 217 | //Adding Border 218 | if (_hasCalloutView) { 219 | if (self.settings.shouldAddCalloutBorder) { 220 | [self addCalloutBorder]; 221 | } 222 | if (self.settings.shouldRoundifyCallout) { 223 | [self roundifyCallout]; 224 | } 225 | } 226 | [self positionSubviews]; 227 | 228 | } 229 | 230 | @end 231 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DXCustomCallout-ObjC 2 | 3 | [![CI Status](http://img.shields.io/travis/s3lvin/DXCustomCallout-ObjC.svg?style=flat)](https://travis-ci.org/s3lvin/DXCustomCallout-ObjC) 4 | [![Version](https://img.shields.io/cocoapods/v/DXCustomCallout-ObjC.svg?style=flat)](http://cocoapods.org/pods/DXCustomCallout-ObjC) 5 | [![License](https://img.shields.io/cocoapods/l/DXCustomCallout-ObjC.svg?style=flat)](http://cocoapods.org/pods/DXCustomCallout-ObjC) 6 | [![Platform](https://img.shields.io/cocoapods/p/DXCustomCallout-ObjC.svg?style=flat)](http://cocoapods.org/pods/DXCustomCallout-ObjC) 7 | 8 | ## Usage 9 | 10 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 11 | 12 | #### Integrating `DXAnnotationView` in your project 13 | 14 | You can return a `DXAnnotationView` from 15 | 16 | - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id)annotation 17 | 18 | method. 19 | 20 | First create your pinview and calloutview 21 | 22 | UIView *pinView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pin"]]; 23 | UIView *calloutView = [[[NSBundle mainBundle] loadNibNamed:@"myView" owner:self options:nil] firstObject]; 24 | 25 | Then you create your custom annotation view as shown below. 26 | 27 | DXAnnotationView *annotationView = (DXAnnotationView *)[mapView dequeueReusableAnnotationViewWithIdentifier:NSStringFromClass([DXAnnotationView class])]; 28 | if (!annotationView) { 29 | annotationView = [[DXAnnotationView alloc] initWithAnnotation:annotation 30 | reuseIdentifier:NSStringFromClass([DXAnnotationView class]) 31 | pinView:pinView 32 | calloutView:calloutView 33 | settings:[DXAnnotationSettings defaultSettings]]; 34 | } 35 | return annotationView; 36 | 37 | #### Configuring additional settings for your custom callout 38 | 39 | `DXAnnotationView` has customizable look and feel. You can configure the settings by passing your own `DXAnnotationSettings` in to `DXAnnotationView` while initializing it. 40 | 41 | DXAnnotationSettings *newSettings = [[DXAnnotationSettings alloc] init]; 42 | newSettings.calloutOffset = <#your calloutoffset#>; 43 | 44 | newSettings.shouldRoundifyCallout = <#YES to make the calloutview with corner radius#>; 45 | newSettings.calloutCornerRadius = <#your callout view's corner radius. applied only if shouldRoundifyCallout is YES#>; 46 | 47 | newSettings.shouldAddCalloutBorder = <#YES to add border for your custom callout#>; 48 | newSettings.calloutBorderColor = <#your callout view's border color#>; 49 | newSettings.calloutBorderWidth = <#your callout view's border width#>; 50 | 51 | newSettings.animationType = <#DXCalloutAnimation type#>; 52 | newSettings.animationDuration = <#DXCalloutAnimation duration#>; 53 | 54 | #### Making sure the size of your custom view doesn't grow bigger 55 | 56 | 1. Disable Autolayout for your custom callout view for a moment 57 | 2. Remove the FexibleWidth and Flexible height AutoResizingMasks from your custom callout view 58 | 3. Re enable Autolayout if needed 59 | 60 | ![step1](https://cloud.githubusercontent.com/assets/6522274/9212655/824323b0-40a8-11e5-9004-a95cb0f8b6f8.jpg) 61 | ![step2](https://cloud.githubusercontent.com/assets/6522274/9212656/82434c64-40a8-11e5-9276-b63e8515bc80.jpg) 62 | 63 | 64 | ## Screenshot 65 | 66 | ![DXCustomCallout](http://s26.postimg.org/5utm5d961/Callout.gif) 67 | 68 | ## Requirements 69 | iOS 7 or above & ARC 70 | 71 | ## Installation 72 | 73 | DXCustomCallout-ObjC is available through [CocoaPods](http://cocoapods.org). To install 74 | it, simply add the following line to your Podfile: 75 | 76 | ```ruby 77 | pod "DXCustomCallout-ObjC" 78 | ``` 79 | 80 | ## Author 81 | 82 | s3lvin, mariaselvin@gmail.com 83 | 84 | Pull requests are welcome! 85 | 86 | ## License 87 | 88 | DXCustomCallout-ObjC is available under the MIT license. See the LICENSE file for more info. 89 | --------------------------------------------------------------------------------