summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/CHANGELOG.md132
-rw-r--r--platform/ios/DEVELOPING.md20
-rw-r--r--platform/ios/INSTALL.md86
-rw-r--r--platform/ios/Mapbox-iOS-SDK-static-part.podspec1
-rw-r--r--platform/ios/Mapbox-iOS-SDK-symbols.podspec2
-rw-r--r--platform/ios/Mapbox-iOS-SDK.podspec2
-rw-r--r--platform/ios/Mapbox.playground/Contents.swift115
-rw-r--r--platform/ios/WorkspaceSettings.xcsettings10
-rw-r--r--platform/ios/app/Info.plist13
-rw-r--r--platform/ios/app/MBXAppDelegate.h2
-rw-r--r--platform/ios/app/MBXOfflinePacksTableViewController.m4
-rw-r--r--platform/ios/app/MBXUserLocationAnnotationView.h5
-rw-r--r--platform/ios/app/MBXUserLocationAnnotationView.m165
-rw-r--r--platform/ios/app/MBXViewController.m1367
-rw-r--r--platform/ios/app/Main.storyboard62
-rw-r--r--platform/ios/app/fill_filter_style.json10976
-rw-r--r--platform/ios/app/line_filter_style.json8746
-rw-r--r--platform/ios/app/numeric_filter_style.json8734
-rw-r--r--platform/ios/benchmark/MBXBenchAppDelegate.h2
-rw-r--r--platform/ios/bitrise.yml27
-rw-r--r--platform/ios/config.cmake69
-rw-r--r--platform/ios/docs/Info.plist Keys.md21
-rw-r--r--platform/ios/docs/doc-README.md2
-rw-r--r--platform/ios/docs/pod-README.md6
-rw-r--r--platform/ios/ios.xcodeproj/project.pbxproj771
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme2
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/bench.xcscheme2
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic+static.xcscheme2
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic.xcscheme2
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme9
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/static.xcscheme2
-rw-r--r--platform/ios/ios.xcworkspace/contents.xcworkspacedata2
-rw-r--r--platform/ios/ios.xcworkspace/xcshareddata/ios.xcscmblueprint37
-rw-r--r--platform/ios/jazzy.yml22
-rw-r--r--platform/ios/platform.gyp149
-rw-r--r--platform/ios/scripts/configure.sh14
-rwxr-xr-xplatform/ios/scripts/deploy-packages.sh96
-rwxr-xr-xplatform/ios/scripts/document.sh1
-rwxr-xr-xplatform/ios/scripts/package.sh12
-rwxr-xr-xplatform/ios/scripts/publish.sh9
-rwxr-xr-xplatform/ios/scripts/release-fabric.sh37
-rwxr-xr-xplatform/ios/scripts/validate-fabric-zip.sh131
-rw-r--r--platform/ios/src/MGLAPIClient.h8
-rw-r--r--platform/ios/src/MGLAnnotationContainerView_Private.h14
-rw-r--r--platform/ios/src/MGLAnnotationImage.h26
-rw-r--r--platform/ios/src/MGLAnnotationView.h2
-rw-r--r--platform/ios/src/MGLAnnotationView.mm46
-rw-r--r--platform/ios/src/MGLCalloutView.h38
-rw-r--r--platform/ios/src/MGLCompactCalloutView.h5
-rw-r--r--platform/ios/src/MGLFaux3DUserLocationAnnotationView.h7
-rw-r--r--platform/ios/src/MGLFaux3DUserLocationAnnotationView.m531
-rw-r--r--platform/ios/src/MGLMapView+IBAdditions.h2
-rw-r--r--platform/ios/src/MGLMapView.h151
-rw-r--r--platform/ios/src/MGLMapView.mm881
-rw-r--r--platform/ios/src/MGLMapViewDelegate.h54
-rw-r--r--platform/ios/src/MGLMapView_Private.h (renamed from platform/ios/src/MGLMapView_Internal.h)4
-rw-r--r--platform/ios/src/MGLUserLocation.h20
-rw-r--r--platform/ios/src/MGLUserLocationAnnotationView.h55
-rw-r--r--platform/ios/src/MGLUserLocationAnnotationView.m553
-rw-r--r--platform/ios/src/MGLUserLocationAnnotationView_Private.h15
-rw-r--r--platform/ios/src/Mapbox.h17
-rw-r--r--platform/ios/src/UIColor+MGLAdditions.h14
-rw-r--r--platform/ios/src/UIColor+MGLAdditions.mm23
-rw-r--r--platform/ios/src/UIImage+MGLAdditions.h9
-rw-r--r--platform/ios/src/UIImage+MGLAdditions.mm27
-rw-r--r--platform/ios/test/MGLAnnotationViewTests.m6
-rw-r--r--platform/ios/test/MGLNSDataAdditionsTests.m4
-rw-r--r--platform/ios/test/test-Bridging-Header.h3
-rw-r--r--platform/ios/toolchain.cmake136
m---------platform/ios/uitest/OHHTTPStubs0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/.gitignore15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/.travis.yml14
-rw-r--r--platform/ios/uitest/OHHTTPStubs/CHANGELOG.md255
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h13
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m169
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib158
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj385
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme92
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock26
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json112
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj587
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h14
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpgbin46859 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt3
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.pngbin18594 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist40
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch14
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m17
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift21
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard196
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift131
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj382
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme91
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile8
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock29
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json112
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock29
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj699
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h12
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig9
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h11
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h14
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh59
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpgbin46859 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt3
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.pngbin18594 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json68
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib41
-rw-r--r--platform/ios/uitest/OHHTTPStubs/LICENSE9
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec86
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj1320
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings8
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h67
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m206
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h308
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m253
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h240
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m321
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h193
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m259
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h44
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h143
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m335
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h328
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m789
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h463
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m1339
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h310
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m793
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h531
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m1079
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md383
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h76
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m171
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h64
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m97
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h96
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m111
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h181
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m293
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h143
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m216
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h38
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h88
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m183
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h64
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m93
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h83
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m151
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj1190
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h44
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m5
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m5
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h50
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh93
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h47
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h79
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m76
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h57
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m48
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h100
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m238
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m88
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h199
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m530
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h62
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m54
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h47
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m31
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h269
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m194
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h77
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m35
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h86
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m52
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift179
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail11
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m18
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m225
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m147
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m394
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m187
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m227
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m216
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift200
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m162
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m116
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist22
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/README.md120
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Rakefile55
-rw-r--r--platform/ios/uitest/ios-tests.xcodeproj/xcshareddata/xcschemes/Mapbox GL Tests.xcscheme2
m---------platform/ios/vendor/SMCalloutView0
352 files changed, 32727 insertions, 25883 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md
index 47a68454d0..cc1f050af0 100644
--- a/platform/ios/CHANGELOG.md
+++ b/platform/ios/CHANGELOG.md
@@ -2,32 +2,110 @@
Mapbox welcomes participation and contributions from everyone. Please read [CONTRIBUTING.md](../../CONTRIBUTING.md) to get started.
-## 3.3.6
+## master
+
+### Packaging
+
+* Xcode 7.3 or above is required for using this SDK. ([#6059](https://github.com/mapbox/mapbox-gl-native/issues/6059))
+* Fixed an issue with symbols not being properly stripped from the dynamic framework. The dSYM file included with the standard dynamic framework in previous releases (e.g., `mapbox-ios-sdk-3.3.5-dynamic.zip` or the `Mapbox-iOS-SDK` pod) could not be used to symbolicate crashes. ([#6531](https://github.com/mapbox/mapbox-gl-native/pull/6531))
+* Simulator architecture slices are included in the included dSYM file, allowing you to symbolicate crashes that occur in the Simulator. ([#5740](https://github.com/mapbox/mapbox-gl-native/pull/5740))
+* Clarified that the `-ObjC` linker flag is required for linking against the static framework distribution of this SDK. ([#6213](https://github.com/mapbox/mapbox-gl-native/pull/6213))
+* Added documentation for the Info.plist keys used by this SDK. ([#6833](https://github.com/mapbox/mapbox-gl-native/pull/6833))
+
+### Styles and data
+
+* A new runtime styling API allows you to adjust the style and content of the base map dynamically. All the options available in [Mapbox Studio](https://www.mapbox.com/studio/) are now exposed via MGLStyle and subclasses of MGLStyleLayer and MGLSource. ([#5727](https://github.com/mapbox/mapbox-gl-native/pull/5727))
+* MGLMapView’s `styleURL` property can now be set to an absolute file URL. ([#6026](https://github.com/mapbox/mapbox-gl-native/pull/6026))
+* GeoJSON sources specified by the stylesheet at design time now support `cluster`, `clusterMaxZoom`, and `clusterRadius` attributes for clustering point features on the base map. ([#5724](https://github.com/mapbox/mapbox-gl-native/pull/5724))
+* Added [quadkey](https://msdn.microsoft.com/en-us/library/bb259689.aspx) support and limited WMS support in raster tile URL templates. ([#5628](https://github.com/mapbox/mapbox-gl-native/pull/5628))
+* TileJSON manifests can now specify `"scheme": "tms"` to indicate the use of [TMS](https://en.wikipedia.org/wiki/Tile_Map_Service) coordinates. ([#2270](https://github.com/mapbox/mapbox-gl-native/pull/2270))
+* Fixed an issue causing abstract MGLMultiPointFeature objects to be returned in feature query results. Now concrete MGLPointCollectionFeature objects are returned. ([#6742](https://github.com/mapbox/mapbox-gl-native/pull/6742))
+* Fixed rendering artifacts and missing glyphs that occurred after viewing a large number of CJK characters on the map. ([#5908](https://github.com/mapbox/mapbox-gl-native/pull/5908))
+* `-[MGLMapView resetPosition]` now resets to the current style’s default center coordinates, zoom level, direction, and pitch, if specified. ([#6127](https://github.com/mapbox/mapbox-gl-native/pull/6127))
+* Fixed an issue where feature querying sometimes failed to return the expected features when the map was tilted. ([#6773](https://github.com/mapbox/mapbox-gl-native/pull/6773))
+* MGLFeature’s `attributes` and `identifier` properties are now writable. ([#6728](https://github.com/mapbox/mapbox-gl-native/pull/6728))
+* The `text-pitch-alignment` property is now supported in stylesheets for improved street label legibility on a tilted map. ([#5288](https://github.com/mapbox/mapbox-gl-native/pull/5288))
+* The `icon-text-fit` and `icon-text-fit-padding` properties are now supported in stylesheets, allowing the background of a shield to automatically resize to fit the shield’s text. ([#5334](https://github.com/mapbox/mapbox-gl-native/pull/5334))
+* The `circle-pitch-scale` property is now supported in stylesheets, allowing circle features in a tilted base map to scale or remain the same size as the viewing distance changes. ([#5576](https://github.com/mapbox/mapbox-gl-native/pull/5576))
+* The `identifier` property of an MGLFeature may now be either a number or string. ([#5514](https://github.com/mapbox/mapbox-gl-native/pull/5514))
+* If MGLMapView is unable to obtain or parse a style, it now calls its delegate’s `-mapViewDidFailLoadingMap:withError:` method. ([#6145](https://github.com/mapbox/mapbox-gl-native/pull/6145))
+* Added the `-[MGLMapViewDelegate mapView:didFinishLoadingStyle:]` delegate method, which offers the earliest opportunity to modify the layout or appearance of the current style before the map view is displayed to the user. ([#6636](https://github.com/mapbox/mapbox-gl-native/pull/6636))
+* Fixed crashes that could occur when loading a malformed stylesheet. ([#5736](https://github.com/mapbox/mapbox-gl-native/pull/5736))
+* Fixed an issue causing stepwise zoom functions to be misinterpreted. ([#6328](https://github.com/mapbox/mapbox-gl-native/pull/6328))
+* A source’s tiles are no longer rendered when the map is outside the source’s supported zoom levels. ([#6345](https://github.com/mapbox/mapbox-gl-native/pull/6345))
+* Improved style parsing performance. ([#6170](https://github.com/mapbox/mapbox-gl-native/pull/6170))
+* Improved feature querying performance. ([#6514](https://github.com/mapbox/mapbox-gl-native/pull/6514))
+* Fixed an issue where shapes that cannot currently be visually represented as annotations were still shown on the map as point annotations. ([#6764](https://github.com/mapbox/mapbox-gl-native/issues/6764))
+
+### User location
+
+* The user dot now animates between user locations when user tracking is disabled. ([#6215](https://github.com/mapbox/mapbox-gl-native/pull/6215))
+* To customize the appearance of the user location annotation, subclass the newly added MGLUserLocationAnnotationView class and implement `-[MGLMapViewDelegate mapView:viewForAnnotation:]`. ([#5882](https://github.com/mapbox/mapbox-gl-native/pull/5882))
+* Fixed an issue causing the user dot’s accuracy ring to wobble while zooming in and out. ([#6019](https://github.com/mapbox/mapbox-gl-native/pull/6019))
+* Heading accuracy indicator sizing has been changed to appear more precise. ([#6120](https://github.com/mapbox/mapbox-gl-native/pull/6120))
+* Fixed an issue that caused the map to not update to reflect the centerOffset when the user location was tracked. ([#6216](https://github.com/mapbox/mapbox-gl-native/pull/6216))
+
+### Annotations
+
+* MGLPolyline annotations and the exterior coordinates of MGLPolygon annotations are now able to be mutated, part or all, and changes are displayed immediately. ([#6565](https://github.com/mapbox/mapbox-gl-native/pull/6565))
+* Added new APIs to MGLMapView to query for visible annotations. Combined with `-[MGLMapView viewForAnnotation:]`, these APIs can be used to access all visible annotation views. ([6061](https://github.com/mapbox/mapbox-gl-native/pull/6061))
+* Fixed an issue causing offscreen annotation views to be updated even when they were in the reuse queue. ([#5987](https://github.com/mapbox/mapbox-gl-native/pull/5987))
+* Fixed an issue preventing MGLAnnotationView from animating when its coordinate changes. ([#6215](https://github.com/mapbox/mapbox-gl-native/pull/6215))
+* Fixed an issue causing the wrong annotation view to be selected when tapping an annotation view with a center offset applied. ([#5931](https://github.com/mapbox/mapbox-gl-native/pull/5931))
+* Fixed an issue that assigned annotation views to polyline and polygon annotations. ([#5770](https://github.com/mapbox/mapbox-gl-native/pull/5770))
+* Per documentation, the first and last coordinates in an MGLPolygon must be identical in order for the polygon to draw correctly. The same is true for an MGLPolygon’s interior polygon. ([#5514](https://github.com/mapbox/mapbox-gl-native/pull/5514))
+* To make an MGLPolyline or MGLPolygon span the antimeridian, specify coordinates with longitudes greater than 180° or less than −180°. ([#6088](https://github.com/mapbox/mapbox-gl-native/pull/6088))
+* Deprecated `-[MGLMapViewDelegate mapView:alphaForShapeAnnotation:]` in favor of specifying an alpha component via `-[MGLMapViewDelegate mapView:strokeColorForShapeAnnotation:]` or `-[MGLMapViewDelegate mapView:fillColorForPolygonAnnotation:]`. ([#6706](https://github.com/mapbox/mapbox-gl-native/pull/6706))
+* Fixed an issue that caused an annotation view to disappear if it isn’t created using the annotation view reuse queue. ([#6485](https://github.com/mapbox/mapbox-gl-native/pull/6485))
+* Fixed an issue that could reset user-added transformations on annotation views. ([#6166](https://github.com/mapbox/mapbox-gl-native/pull/6166))
+* Improved the performance of relocating a non-view-backed point annotation by changing its `coordinate` property. ([#5385](https://github.com/mapbox/mapbox-gl-native/pull/5385))
+* Improved the precision of annotations at zoom levels greater than 18. ([#5517](https://github.com/mapbox/mapbox-gl-native/pull/5517))
+
+### Networking and offline maps
+
+* Fixed an issue preventing an MGLMapView from loading tiles while an offline pack is downloading. ([#6446](https://github.com/mapbox/mapbox-gl-native/pull/6446))
+* Fixed a crash that sometimes occurred when initializing an MGLMapView. ([#5932](https://github.com/mapbox/mapbox-gl-native/pull/5932))
+* Fixed a crash that could occur when the device is disconnected while downloading an offline pack. ([#6293](https://github.com/mapbox/mapbox-gl-native/pull/6293))
+* Fixed a crash that occurred when encountering a rate-limit error in response to a network request. ([#6223](https://github.com/mapbox/mapbox-gl-native/pull/6223))
+* Fixed an issue causing an MGLOfflinePack’s progress to continue to update after calling `-suspend`. ([#6186](https://github.com/mapbox/mapbox-gl-native/pull/6186))
+* Fixed an issue preventing cached annotation images from displaying while the device is offline. ([#6358](https://github.com/mapbox/mapbox-gl-native/pull/6358))
+* Added support for an `MGLMapboxAPIBaseURL` key in an app's `Info.plist` in order to customize the base URL used for retrieving map data, styles, and other resources. ([#6709](https://github.com/mapbox/mapbox-gl-native/pull/6709))
+* Query parameters are no longer stripped from mapbox: URLs used as resource URLs. ([#6182](https://github.com/mapbox/mapbox-gl-native/pull/6182), [#6432](https://github.com/mapbox/mapbox-gl-native/pull/6432))
+* Database errors are now logged to the console. ([#6291](https://github.com/mapbox/mapbox-gl-native/pull/6291))
+
+### Other changes
+
+* As the user zooms in, tiles from lower zoom levels are scaled up until tiles for higher zoom levels are loaded. ([#5143](https://github.com/mapbox/mapbox-gl-native/pull/5143))
+* Notification names and user info keys are now string enumeration values for ease of use in Swift. ([#6794](https://github.com/mapbox/mapbox-gl-native/pull/6794))
+* MGLMapDebugOverdrawVisualizationMask no longer has any effect in Release builds of the SDK. This debug mask has been disabled for performance reasons. ([#5555](https://github.com/mapbox/mapbox-gl-native/pull/5555))
+* Fixed a typo in the documentation for the MGLCompassDirectionFormatter class. ([#5879](https://github.com/mapbox/mapbox-gl-native/pull/5879))
+
+## 3.3.6 - November 9, 2016
* Fixed a crash that occurred during low-memory situations when multiple instances of MGLMapView were in the view hierarchy. The speculative fix in v3.3.5 has been reverted. ([#6972](https://github.com/mapbox/mapbox-gl-native/pull/6972))
-## 3.3.5
+## 3.3.5 - November 2, 2016
* Speculatively fixed an OpenGL rendering crash. ([#6844](https://github.com/mapbox/mapbox-gl-native/pull/6844))
* Fixed an issue with symbols not being properly stripped from the dynamic framework. The dSYM file included with the standard dynamic framework in previous releases (e.g., `mapbox-ios-sdk-3.3.4-dynamic.zip` or the `Mapbox-iOS-SDK` pod) could not be used to symbolicate crashes. ([#6531](https://github.com/mapbox/mapbox-gl-native/pull/6531))
* Include simulator architecture slices in the dSYM file that is generated for release builds. ([#5740](https://github.com/mapbox/mapbox-gl-native/pull/5740))
* Fixed a rare networking-related crash. ([#5932](https://github.com/mapbox/mapbox-gl-native/pull/5932))
-## 3.3.4
+## 3.3.4 - August 8, 2016
* Fixed an issue that caused the user dot to be selected when tapping an annotation that lies within the user dot’s accuracy circle. First attempt was [#5816](https://github.com/mapbox/mapbox-gl-native/pull/5816) in v3.3.2, which excluded the pulsing halo but not the accuracy circle. ([#5894](https://github.com/mapbox/mapbox-gl-native/pull/5894))
-## 3.3.3
+## 3.3.3 - July 29, 2016
-* Fixes an issue where the style zoom levels were not respected when deciding when to render a layer. ([#5811](https://github.com/mapbox/mapbox-gl-native/issues/5811))
+* Fixed an issue where the style zoom levels were not respected when deciding when to render a layer. ([#5811](https://github.com/mapbox/mapbox-gl-native/issues/5811))
-## 3.3.2
+## 3.3.2 - July 28, 2016
* Speculatively fixed a crash that occurred when initializing an MGLMapView on iOS 7.x. ([#5791](https://github.com/mapbox/mapbox-gl-native/pull/5791))
* View-backed annotations no longer prevent the user from starting to pan the map. ([#5813](https://github.com/mapbox/mapbox-gl-native/pull/5813))
* Fixed an issue that caused the user dot to be selected when tapping an annotation that lies within the user dot’s accuracy circle. ([#5816](https://github.com/mapbox/mapbox-gl-native/pull/5816))
-## 3.3.1
+## 3.3.1 - July 19, 2016
* Fixed a crash that occurred when a sprite URL lacks a file extension. See [this comment](https://github.com/mapbox/mapbox-gl-native/issues/5722#issuecomment-233701251) to determine who may be affected by this bug. ([#5723](https://github.com/mapbox/mapbox-gl-native/pull/5723))
* Fixed an issue causing overlapping polylines and polygons to be drawn in undefined z-order. Shapes are always drawn in the order they are added to the map, from the oldest on the bottom to the newest on the top. ([#5710](https://github.com/mapbox/mapbox-gl-native/pull/5710))
@@ -38,7 +116,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* The compass, Mapbox logo, and attribution button now accommodate the containing map view’s content insets. If your interface elements partially overlap the map view but do not affect the top and bottom layout guides, set the `automaticallyAdjustsScrollViewInsets` property to `NO` and set the `contentInset` property to a suitable value. ([#5671](https://github.com/mapbox/mapbox-gl-native/pull/5671))
* Added a property to MGLOfflineStorage, `countOfBytesCompleted`, that indicates the disk space occupied by all cached and offline resources. ([#5585](https://github.com/mapbox/mapbox-gl-native/pull/5585))
-## 3.3.0
+## 3.3.0 - July 14, 2016
### Styles and data
@@ -93,25 +171,25 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- Added NSFormatter subclasses for converting geographic coordinates and directions into display strings. ([#4802](https://github.com/mapbox/mapbox-gl-native/pull/4802))
- Added `MGLCoordinateInCoordinateBounds()`, a function that tests whether or not a coordinate is in a given bounds. ([#5053](https://github.com/mapbox/mapbox-gl-native/pull/5053))
-## 3.2.3
+## 3.2.3 - June 7, 2016
- Fixed an issue preventing `-[MGLMapViewDelegate mapViewDidFinishLoadingMap:]` from being called when returning to the view controller containing the map view from another view controller. ([#5164](https://github.com/mapbox/mapbox-gl-native/pull/5164))
- Declarations in the API documentation are shown in both Objective-C and Swift. ([realm/jazzy#530](https://github.com/realm/jazzy/pull/530))
-## 3.2.2
+## 3.2.2 - May 10, 2016
- Existing MGLStyle class methods that return default style URLs have been deprecated in favor of new methods that require an explicit style version parameter. The deprecated, unversioned methods continue to return version 8 of the respective styles and will not be updated as new versions of the styles are released. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759))
- Deprecated `+[MGLStyle emeraldStyleURL]` with no replacement method. To use the Emerald style going forward, we recommend that you use the underlying URL. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759))
- Added `+[MGLStyle outdoorsStyleURLWithVersion:]` for the new Outdoors style. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759))
- The Hybrid style is now called Satellite Streets. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759))
-## 3.2.1
+## 3.2.1 - April 20, 2016
- Fixed a hang that could occur if the host application attempts to set user defaults on a background queue. ([#4745](https://github.com/mapbox/mapbox-gl-native/pull/4745))
- User location heading updates now resume properly when an app becomes active again. ([#4674](https://github.com/mapbox/mapbox-gl-native/pull/4674))
- Fixed an issue causing hyperlinks in the documentation to be displayed as raw Markdown syntax when viewed in Xcode’s Quick Help popover or sidebar. ([#4760](https://github.com/mapbox/mapbox-gl-native/pull/4760))
-## 3.2.0
+## 3.2.0 - April 5, 2016
- If you’ve previously installed the SDK as a static framework, the installation workflow has changed to address issues when submitting your application to the App Store or installing it on a device. Upon upgrading to this version of the SDK, you’ll need to add Mapbox.bundle to the Copy Bundle Resources build phase and remove Mapbox.framework from the Embed Frameworks build phase. ([#4455](https://github.com/mapbox/mapbox-gl-native/pull/4455))
- Offline packs can now be downloaded to allow users to view specific regions of the map offline. A new MGLOfflineStorage class provides APIs for managing MGLOfflinePacks. ([#4221](https://github.com/mapbox/mapbox-gl-native/pull/4221))
@@ -132,12 +210,12 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- The Improve This Map tool now uses the same zoom level that is currently being shown in the map view. ([#4068](https://github.com/mapbox/mapbox-gl-native/pull/4068))
- Fixed a formatting issue in the documentation for `MGLCoordinateBoundsIsEmpty()`. ([#3958](https://github.com/mapbox/mapbox-gl-native/pull/3958))
-## 3.1.2
+## 3.1.2 - February 22, 2016
- You can once again install the static framework without manually linking several framework and library dependencies. ([#4029](https://github.com/mapbox/mapbox-gl-native/pull/4029))
- The location manager used by MGLMapView to show the user’s location is now paused when the application is sent to the background. ([#4034](https://github.com/mapbox/mapbox-gl-native/pull/4034))
-## 3.1.1
+## 3.1.1 - February 15, 2016
- Corrected the dynamic framework’s minimum deployment target to iOS 8.0. ([#3872](https://github.com/mapbox/mapbox-gl-native/pull/3872))
- Fixed Fabric compatibility. ([#3847](https://github.com/mapbox/mapbox-gl-native/pull/3847))
@@ -146,7 +224,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- Fixed an issue that incorrectly expanded the tappable area of an annotation and prevented the annotation’s alignment rect insets from having any effect on the tappable area. ([#3898](https://github.com/mapbox/mapbox-gl-native/pull/3898))
- Fixed an issue preventing `-[MGLMapViewDelegate mapView:tapOnCalloutForAnnotation:]` from being called when a non-custom callout view is tapped. ([#3875](https://github.com/mapbox/mapbox-gl-native/pull/3875))
-## 3.1.0
+## 3.1.0 - February 5, 2016
- The SDK is now distributed as a dynamic framework instead of a static library, resulting in a simpler installation workflow and significantly reduced download size. The framework contains both simulator and device content. If you install the dynamic framework manually, you’ll need to strip out the simulator content before submitting your application to the App Store due to [an Xcode bug](http://www.openradar.me/radar?id=6409498411401216); see the installation instructions included with the framework for details. ([#3183](https://github.com/mapbox/mapbox-gl-native/pull/3183))
- Fixed an issue causing the entire MGLMapView to leak. ([#3448](https://github.com/mapbox/mapbox-gl-native/pull/3448))
@@ -175,13 +253,13 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- Avoids triggering the blue background location status bar when user has granted "when in use" permission. ([#3671](https://github.com/mapbox/mapbox-gl-native/issues/3671))
- Deprecated the `debugActive` property and `-toggleDebug` method on MGLMapView in favor of a new `debugMask` property that exposes individual style debugging options. ([#3742](https://github.com/mapbox/mapbox-gl-native/pull/3742))
-## 3.0.1
+## 3.0.1 - December 7, 2015
- Fixed CoreTelephony.framework crash. ([#3170](https://github.com/mapbox/mapbox-gl-native/pull/3170))
- Fixed an issue preventing the compass from responding to taps after the compass is moved programmatically. ([#3117](https://github.com/mapbox/mapbox-gl-native/pull/3117))
- CocoaPods is now distributed via a (static) framework. ([#3181](https://github.com/mapbox/mapbox-gl-native/issues/3181))
-## 3.0.0
+## 3.0.0 - November 23, 2015
- If you install this SDK via CocoaPods, CocoaPods version 0.38.0 or above is required. ([#2132](https://github.com/mapbox/mapbox-gl-native/pull/2132))
- The `styleID` property has been removed from MGLMapView. Instead, set the `styleURL` property to an NSURL in the form `mapbox://styles/STYLE_ID`. If you previously set the style ID in Interface Builder’s Attributes inspector, delete the `styleID` entry from the User Defined Runtime Attributes section of the Identity inspector, then set the new “Style URL” inspectable to a value in the form `mapbox://styles/STYLE_ID`. ([#2632](https://github.com/mapbox/mapbox-gl-native/pull/2632))
@@ -206,15 +284,15 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- Removed CoreTelephony.framework dependency. ([#2581](https://github.com/mapbox/mapbox-gl-native/pull/2581))
- Improved user location annotation responsiveness. ([#2643](https://github.com/mapbox/mapbox-gl-native/pull/2643))
-## 2.1.2
+## 2.1.2 - September 15, 2015
- Built with Xcode 6.4 to not yet trigger Bitcode compatibility until Xcode 7 stabilizes. ([#2332](https://github.com/mapbox/mapbox-gl-native/issues/2332))
-## 2.1.1
+## 2.1.1 - September 15, 2015
- Fixes for Xcode 7 and Bitcode. ([#2238](https://github.com/mapbox/mapbox-gl-native/pull/2238))
-## 2.1.0
+## 2.1.0 - September 14, 2015
- A two-finger vertical swipe now tilts the map into perspective mode. ([#2116](https://github.com/mapbox/mapbox-gl-native/pull/2116))
- A new `MGLMapCamera` API allows you to transition multiple viewpoint properties, including rotation and pitch, simultaneously with an optional custom duration and timing function. ([#2193](https://github.com/mapbox/mapbox-gl-native/pull/2193))
@@ -233,21 +311,21 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
- Minor style updates. ([#1910](https://github.com/mapbox/mapbox-gl-native/pull/1910))
- The CocoaPods pod now contains a `README.md` file. ([#1886](https://github.com/mapbox/mapbox-gl-native/pull/1886))
-## 2.0.0
+## 2.0.0 - August 21, 2015
Repackaging 2.0.0-pre.1 as it contained no issues.
-## 2.0.0-pre.1
+## 2.0.0-pre.1 - August 21, 2015
Repackaging 0.5.1 as the Mapbox iOS SDK 2.0.0 series.
-## 0.5.1
+## 0.5.1 - July 13, 2015
### iOS
- Added support for CocoaPods 0.38.0. ([#1876](https://github.com/mapbox/mapbox-gl-native/pull/1876))
-## 0.5.0
+## 0.5.0 - July 9, 2015
### Core
@@ -276,7 +354,7 @@ Repackaging 0.5.1 as the Mapbox iOS SDK 2.0.0 series.
- Fixed an issue in which `-[MGLMapView direction]` would sometimes return 360 instead of 0. ([#1829](https://github.com/mapbox/mapbox-gl-native/pull/1829))
- Build against iOS 8.4. ([#1868](https://github.com/mapbox/mapbox-gl-native/pull/1868))
-## 0.4.0
+## 0.4.0 - June 19, 2015
### Core
@@ -300,11 +378,11 @@ Repackaging 0.5.1 as the Mapbox iOS SDK 2.0.0 series.
- Internal use of the Reachability library has been cleaned up so that your app can include its own copy of Reachability. ([#1718](https://github.com/mapbox/mapbox-gl-native/issues/1718))
- Now distribute a binary stripped of debugging symbols by default with an optional, secondary symbols build. ([#1650](https://github.com/mapbox/mapbox-gl-native/issues/1650))
-## 0.3.1
+## 0.3.1 - May 15, 2015
- Temporarily removed `IBDesignable` support on iOS.
-## 0.3.0
+## 0.3.0 - May 14, 2015
- Initial iOS beta release.
diff --git a/platform/ios/DEVELOPING.md b/platform/ios/DEVELOPING.md
index a31eac284d..a948456203 100644
--- a/platform/ios/DEVELOPING.md
+++ b/platform/ios/DEVELOPING.md
@@ -6,6 +6,8 @@ This document explains how to build the Mapbox iOS SDK from source. It is intend
The Mapbox iOS SDK and iosapp demo application build against the iOS 7.0 SDK. The SDK is intended to run on iOS 7.0 and above, while iosapp is intended to run on iOS 8.0 and above due to the use of a dynamic framework. Both require Xcode on a computer running macOS.
+The Mapbox iOS SDK requires Xcode 7.3 or higher.
+
## Building the SDK
Make sure that you have the [core dependencies](../../INSTALL.md) installed.
@@ -63,11 +65,27 @@ The products of these build commands can be found in the `build/ios/pkg` folder
## Contributing
+### Making any symbol public
+
+To add any Objective-C type, constant, or member to the iOS SDK’s public interface:
+
+1. Ensure that the symbol is pure Objective-C and does not rely on any language features specific to Objective-C++ or the C11 dialect of C – so no namespaced types or classes named with emoji! 🙃 Most projects that depend on this SDK are either written in pure Objective-C (GNU99 dialect) or Swift, which cannot yet bridge C++ types.
+1. Name the symbol according to [Cocoa naming conventions](https://developer.apple.com/library/prerelease/content/documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html#//apple_ref/doc/uid/10000146i). Use the `MGL` class prefix to avoid conflicts with client code. If the symbol has an analogue in MapKit, name the symbol according to MapKit.
+1. Provide full documentation comments. We use [jazzy](https://github.com/realm/jazzy/) to produce the documentation found in the SDK distribution and [on the Mapbox iOS SDK website](https://www.mapbox.com/ios-sdk/api/). We also recognize that many developers rely on Xcode’s Quick Help feature. jazzy supports Markdown formatting; however, Quick Help supports only [HeaderDoc](https://developer.apple.com/legacy/library/documentation/DeveloperTools/Conceptual/HeaderDoc/intro/intro.html) syntax and a subset of Doxygen syntax. For hyperlinks, use HTML syntax, which is recognized by both tools.
+
+### Making a type or constant public
+
+To add an Objective-C class, protocol, category, typedef, enumeration, or global constant to the iOS SDK’s public interface:
+
+1. _(Optional.)_ Add the type or constant’s name to the relevant category in the `custom_categories` section of [the jazzy configuration file](./jazzy.yml). This is required for classes and protocols and also recommended for any other type that is strongly associated with a particular class or protocol. If you leave out this step, the symbol will appear in an “Other” section in the generated HTML documentation’s table of contents.
+1. _(Optional.)_ If the symbol would also be publicly exposed in the macOS SDK, consult [the companion macOS document](../macos/DEVELOPING.md#making-a-type-or-constant-public) for further instructions.
+
### Adding a source code file
To add an Objective-C header or implementation file to the iOS SDK:
1. Add the file to the Headers or Compile Sources build phase, as appropriate, of both the “dynamic” and “static” targets. You can either use the Build Phases tab of the project editor or the Target Membership section of the File inspector.
+1. Audit new headers for nullability. Typically, you will wrap a header with `NS_ASSUME_NONNULL_BEGIN` and `NS_ASSUME_NONNULL_END`.
1. _(Optional.)_ If it’s a public header, change its visibility from Project to Public and import it in [the iOS SDK’s umbrella header](./src/Mapbox.h).
1. _(Optional.)_ If the file would also be used by the macOS SDK, make sure it’s in [platform/darwin/src/](../darwin/src/), then consult [the companion macOS document](../macos/DEVELOPING.md#adding-a-source-code-file) for further instructions.
@@ -93,7 +111,7 @@ To add or update text that the user may see in the iOS SDK:
## Testing
-`make test-ios` builds and runs unit tests of cross-platform code as well as the SDK.
+`make ios-test` builds and runs unit tests of cross-platform code as well as the SDK.
Before you can run unit tests of the cross-platform code on the command line, install ios-sim version 3.2.0 (not any other version):
diff --git a/platform/ios/INSTALL.md b/platform/ios/INSTALL.md
index bdda38946d..9453bbd4b7 100644
--- a/platform/ios/INSTALL.md
+++ b/platform/ios/INSTALL.md
@@ -1,15 +1,17 @@
-# Integrating the Mapbox iOS SDK into your application
+# Integrating custom builds of the Mapbox iOS SDK into your application
-This document explains how to build a development version of Mapbox iOS SDK for use in your own Cocoa Touch application. To use a production-ready version of the SDK, see the [Mapbox iOS SDK homepage](https://github.com/mapbox/ios-sdk).
+This document explains how to build a development version of Mapbox iOS SDK for use in your own Cocoa Touch application. To use a production-ready version of the SDK, see the [Mapbox iOS SDK homepage](https://mapbox.com/ios-sdk).
### Requirements
-The Mapbox iOS SDK application builds against the iOS 7.0 SDK. It is intended to run on iOS 7.0 and above on the following devices and their simulators:
+The Mapbox iOS SDK builds against the iOS 7.0 SDK. It is intended to run on iOS 7.0 and above on the following devices and their simulators:
* iPhone 4S and above (5, 5c, 5s, 6, 6 Plus)
* iPad 2 and above (3, 4, Mini, Air, Mini 2, Air 2)
* iPod touch 5th generation and above
+The Mapbox iOS SDK requires Xcode 7.3 or higher.
+
### Building the SDK
1. [Install core dependencies](../../INSTALL.md).
@@ -26,57 +28,17 @@ The Mapbox iOS SDK application builds against the iOS 7.0 SDK. It is intended to
- a `documentation` folder with HTML API documentation
- an example `Settings.bundle` containing an optional Mapbox Telemetry opt-out setting
-### Installation
-
-There are a few ways to install the Mapbox iOS SDK:
-
-#### CocoaPods
-
-Currently, until [#1437](https://github.com/mapbox/mapbox-gl-native/issues/1437) is completed, to install a _development version_ of Mapbox GL using CocoaPods you will need to build it from source manually per above.
-
-1. Zip up the build product.
-
- ```bash
- cd build/ios/pkg/
- ZIP=mapbox-ios-sdk.zip
- rm -f ../${ZIP}
- zip -r ../${ZIP} *
- ```
-
-1. Customize [`Mapbox-iOS-SDK.podspec`](../ios/Mapbox-iOS-SDK.podspec) to download this zip file.
-
- ```rb
- {...}
-
- m.source = {
- :http => "http://{...}/mapbox-ios-sdk.zip",
- :flatten => true
- }
-
- {...}
- ```
-
-1. Update your app's `Podfile` to point to the `Mapbox-iOS-SDK.podspec`.
-
- ```rb
- pod 'Mapbox-iOS-SDK', :podspec => 'http://{...}/Mapbox-iOS-SDK.podspec'
- ```
-
-1. Run `pod update` to grab the newly-built library.
-
-##### Testing pre-releases with CocoaPods
+See the [packaging documentation](DEVELOPING.md#packaging-builds) for other build options.
-To test pre-releases and/or betas, you can reference the pre-release like so in your Podfile:
+### Installation
-```rb
-pod 'Mapbox-iOS-SDK', podspec: 'https://raw.githubusercontent.com/mapbox/mapbox-gl-native/<insert branch or tag>/ios/Mapbox-iOS-SDK.podspec'
-```
+There are several ways to install custom builds of the Mapbox iOS SDK:
#### Dynamic framework
-This is the recommended workflow for manually integrating the SDK into an application targeting iOS 8 and above:
+This is the recommended workflow for manually integrating custom builds of the SDK into an application targeting iOS 8 and above:
-1. Build from source manually per above.
+1. Build from source manually, per above.
1. Open the project editor, select your application target, then go to the General tab. Drag Mapbox.framework from the `build/ios/pkg/dynamic/` directory into the “Embedded Binaries” section. (Don’t drag it into the “Linked Frameworks and Libraries” section; Xcode will add it there automatically.) In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish.
@@ -92,7 +54,7 @@ bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mapbox.framework/strip-fra
If your application targets iOS 7.x, you’ll need to install the static framework instead:
-1. Build from source manually per above.
+1. Build from source manually, per above.
1. Drag the Mapbox.bundle and Mapbox.framework from the `build/ios/pkg/static/` directory into the Project navigator. In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish. Open the project editor and select your application target to verify that the following changes occurred automatically:
@@ -111,6 +73,32 @@ If your application targets iOS 7.x, you’ll need to install the static framewo
- libsqlite3.tbd
- libz.tbd
+1. In the Build Settings tab, find the Other Linker Flags setting and add `-ObjC`.
+
+#### CocoaPods
+
+##### Testing pre-releases with CocoaPods
+
+To test pre-releases and/or betas, you can reference the pre-release like so in your Podfile:
+
+```rb
+pod 'Mapbox-iOS-SDK', podspec: 'https://raw.githubusercontent.com/mapbox/mapbox-gl-native/<insert branch or tag>/ios/Mapbox-iOS-SDK.podspec'
+```
+
+##### Using your own build with CocoaPods
+
+1. Build from source manually, per above.
+
+1. Update your app’s `Podfile` to point to `Mapbox-iOS-SDK.podspec`.
+
+ ```rb
+ pod 'Mapbox-iOS-SDK', :path => '{...}/build/ios/pkg/{dynamic|static}/Mapbox-iOS-SDK.podspec'
+ ```
+
+1. Run `pod update` to grab the newly-built library.
+
+If using the static framework, add `$(inherited)` to your target’s Other Linker Flags in the Build Settings tab.
+
### Configuration
1. Mapbox vector tiles require a Mapbox account and API access token. In the project editor, select the application target, then go to the Info tab. Under the “Custom iOS Target Properties” section, set `MGLMapboxAccessToken` to your access token. You can obtain an access token from the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/).
diff --git a/platform/ios/Mapbox-iOS-SDK-static-part.podspec b/platform/ios/Mapbox-iOS-SDK-static-part.podspec
index 86d2a7b936..9362a5cac9 100644
--- a/platform/ios/Mapbox-iOS-SDK-static-part.podspec
+++ b/platform/ios/Mapbox-iOS-SDK-static-part.podspec
@@ -7,5 +7,6 @@
m.resource_bundle = { 'Mapbox' => 'Mapbox.bundle/*' }
m.vendored_frameworks = 'Mapbox.framework'
m.module_name = 'Mapbox'
+ m.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
end
diff --git a/platform/ios/Mapbox-iOS-SDK-symbols.podspec b/platform/ios/Mapbox-iOS-SDK-symbols.podspec
index 5659852587..e26de7915f 100644
--- a/platform/ios/Mapbox-iOS-SDK-symbols.podspec
+++ b/platform/ios/Mapbox-iOS-SDK-symbols.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |m|
m.name = 'Mapbox-iOS-SDK'
- m.version = '3.3.6-symbols'
+ m.version = '3.4.0-beta.2-symbols'
m.summary = 'Open source vector map solution for iOS with full styling capabilities.'
m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.'
diff --git a/platform/ios/Mapbox-iOS-SDK.podspec b/platform/ios/Mapbox-iOS-SDK.podspec
index b1dcb711bf..6fd6d4b46f 100644
--- a/platform/ios/Mapbox-iOS-SDK.podspec
+++ b/platform/ios/Mapbox-iOS-SDK.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |m|
m.name = 'Mapbox-iOS-SDK'
- m.version = '3.3.6'
+ m.version = '3.4.0-beta.2'
m.summary = 'Open source vector map solution for iOS with full styling capabilities.'
m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.'
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift
index b1b11e5e34..1f368be73b 100644
--- a/platform/ios/Mapbox.playground/Contents.swift
+++ b/platform/ios/Mapbox.playground/Contents.swift
@@ -1,5 +1,9 @@
import UIKit
-import XCPlayground
+#if swift(>=3)
+ import PlaygroundSupport
+#else
+ import XCPlayground
+#endif
import Mapbox
let width: CGFloat = 700
@@ -9,7 +13,11 @@ class Responder: NSObject {
var mapView: MGLMapView?
func togglePitch(sender: UISwitch) {
let camera = mapView!.camera
- camera.pitch = sender.on ? 60 : 0
+ #if swift(>=3)
+ camera.pitch = sender.isOn ? 60 : 0
+ #else
+ camera.pitch = sender.on ? 60 : 0
+ #endif
mapView!.setCamera(camera, animated: false)
}
}
@@ -18,7 +26,11 @@ class Responder: NSObject {
let panelWidth: CGFloat = 200
let panel = UIView(frame: CGRect(x: width - panelWidth, y: 0, width: 200, height: 100))
panel.alpha = 0.8
-panel.backgroundColor = UIColor.whiteColor()
+#if swift(>=3)
+ panel.backgroundColor = .white
+#else
+ panel.backgroundColor = UIColor.whiteColor()
+#endif
// Delete markers
let deleteSwitchLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 100, height: 30))
@@ -41,7 +53,11 @@ let pitchLabel = UILabel(frame: CGRect(x: 0, y: 60, width: 100, height: 30))
pitchLabel.text = "Pitch"
let pitchSwitch = UISwitch(frame: CGRect(x: panelWidth-panelWidth / 2.0, y: 60, width: 100, height: 50))
let responder = Responder()
-pitchSwitch.addTarget(responder, action: #selector(responder.togglePitch(_:)), forControlEvents: .ValueChanged)
+#if swift(>=3)
+ pitchSwitch.addTarget(responder, action: #selector(responder.togglePitch(sender:)), for: .valueChanged)
+#else
+ pitchSwitch.addTarget(responder, action: #selector(responder.togglePitch(_:)), forControlEvents: .ValueChanged)
+#endif
panel.addSubview(pitchLabel)
panel.addSubview(pitchSwitch)
@@ -56,7 +72,11 @@ MGLAccountManager.setAccessToken(accessToken)
class PlaygroundAnnotationView: MGLAnnotationView {
override func prepareForReuse() {
- hidden = hideMarkerSwitchView.on
+ #if swift(>=3)
+ isHidden = hideMarkerSwitchView.isOn
+ #else
+ hidden = hideMarkerSwitchView.on
+ #endif
}
}
@@ -67,6 +87,29 @@ class MapDelegate: NSObject, MGLMapViewDelegate {
var annotationViewByAnnotation = [MGLPointAnnotation: PlaygroundAnnotationView]()
+ #if swift(>=3)
+ func mapView(_ mapView: MGLMapView, viewFor annotation: MGLAnnotation) -> MGLAnnotationView? {
+
+ var annotationView = mapView.dequeueReusableAnnotationView(withIdentifier: "annotation") as? PlaygroundAnnotationView
+
+ if (annotationView == nil) {
+ let av = PlaygroundAnnotationView(reuseIdentifier: "annotation")
+ av.frame = CGRect(x: 0, y: 0, width: 30, height: 30)
+ av.centerOffset = CGVector(dx: -15, dy: -15)
+ let centerView = UIView(frame: av.bounds.insetBy(dx: 3, dy: 3))
+ centerView.backgroundColor = .white
+ av.addSubview(centerView)
+ av.backgroundColor = .purple
+ annotationView = av
+ } else {
+ annotationView!.subviews.first?.backgroundColor = .green
+ }
+
+ annotationViewByAnnotation[annotation as! MGLPointAnnotation] = annotationView
+
+ return annotationView
+ }
+ #else
func mapView(mapView: MGLMapView, viewForAnnotation annotation: MGLAnnotation) -> MGLAnnotationView? {
var annotationView = mapView.dequeueReusableAnnotationViewWithIdentifier("annotation") as? PlaygroundAnnotationView
@@ -83,12 +126,40 @@ class MapDelegate: NSObject, MGLMapViewDelegate {
} else {
annotationView!.subviews.first?.backgroundColor = UIColor.greenColor()
}
-
+
annotationViewByAnnotation[annotation as! MGLPointAnnotation] = annotationView
return annotationView
}
+ #endif
+ #if swift(>=3)
+ func mapView(_ mapView: MGLMapView, didSelect annotation: MGLAnnotation) {
+ let pointAnnotation = annotation as! MGLPointAnnotation
+ let annotationView: PlaygroundAnnotationView = annotationViewByAnnotation[pointAnnotation]!
+
+ for view in annotationViewByAnnotation.values {
+ view.layer.zPosition = -1
+ }
+
+ annotationView.layer.zPosition = 1
+
+ UIView.animate(withDuration: 1.25, delay: 0, usingSpringWithDamping: 0.4, initialSpringVelocity: 0.6, options: .curveEaseOut, animations: {
+ annotationView.transform = CGAffineTransform(scaleX: 1.8, y: 1.8)
+ }) { _ in
+ annotationView.transform = CGAffineTransform(scaleX: 1, y: 1)
+
+ if deleteMarkerSwitchView.isOn {
+ mapView.removeAnnotation(pointAnnotation)
+ return
+ }
+
+ if hideMarkerSwitchView.isOn {
+ annotationView.isHidden = true
+ }
+ }
+ }
+ #else
func mapView(mapView: MGLMapView, didSelectAnnotation annotation: MGLAnnotation) {
let pointAnnotation = annotation as! MGLPointAnnotation
let annotationView: PlaygroundAnnotationView = annotationViewByAnnotation[pointAnnotation]!
@@ -114,15 +185,25 @@ class MapDelegate: NSObject, MGLMapViewDelegate {
}
}
}
+ #endif
func handleTap(press: UILongPressGestureRecognizer) {
let mapView: MGLMapView = press.view as! MGLMapView
- if (press.state == .Recognized) {
- let coordiante: CLLocationCoordinate2D = mapView.convertPoint(press.locationInView(mapView), toCoordinateFromView: mapView)
+ #if swift(>=3)
+ let isRecognized = press.state == .recognized
+ #else
+ let isRecognized = press.state == .Recognized
+ #endif
+ if (isRecognized) {
+ #if swift(>=3)
+ let coordinate: CLLocationCoordinate2D = mapView.convert(press.location(in: mapView), toCoordinateFrom: mapView)
+ #else
+ let coordinate: CLLocationCoordinate2D = mapView.convertPoint(press.locationInView(mapView), toCoordinateFromView: mapView)
+ #endif
let annotation = MGLPointAnnotation()
annotation.title = "Dropped Marker"
- annotation.coordinate = coordiante
+ annotation.coordinate = coordinate
mapView.addAnnotation(annotation)
mapView.showAnnotations([annotation], animated: true)
}
@@ -132,14 +213,16 @@ class MapDelegate: NSObject, MGLMapViewDelegate {
//: Create a map and its delegate
-let lat: CLLocationDegrees = 37.174057
-let lng: CLLocationDegrees = -104.490984
-let centerCoordinate = CLLocationCoordinate2D(latitude: lat, longitude: lng)
+let centerCoordinate = CLLocationCoordinate2D(latitude: 37.174057, longitude: -104.490984)
let mapView = MGLMapView(frame: CGRect(x: 0, y: 0, width: width, height: height))
mapView.frame = CGRect(x: 0, y: 0, width: width, height: height)
-XCPlaygroundPage.currentPage.liveView = mapView
+#if swift(>=3)
+ PlaygroundPage.current.liveView = mapView
+#else
+ XCPlaygroundPage.currentPage.liveView = mapView
+#endif
let mapDelegate = MapDelegate()
mapView.delegate = mapDelegate
@@ -150,7 +233,11 @@ mapView.addGestureRecognizer(tapGesture)
//: Zoom in to a location
-mapView.setCenterCoordinate(centerCoordinate, zoomLevel: 12, animated: false)
+#if swift(>=3)
+ mapView.setCenter(centerCoordinate, zoomLevel: 12, animated: false)
+#else
+ mapView.setCenterCoordinate(centerCoordinate, zoomLevel: 12, animated: false)
+#endif
//: Add control panel
diff --git a/platform/ios/WorkspaceSettings.xcsettings b/platform/ios/WorkspaceSettings.xcsettings
index a2d959210c..20a7accf01 100644
--- a/platform/ios/WorkspaceSettings.xcsettings
+++ b/platform/ios/WorkspaceSettings.xcsettings
@@ -3,11 +3,15 @@
<plist version="1.0">
<dict>
<key>BuildLocationStyle</key>
- <string>UseAppPreferences</string>
+ <string>CustomLocation</string>
+ <key>CustomBuildIntermediatesPath</key>
+ <string>../../build/ios</string>
<key>CustomBuildLocationType</key>
- <string>RelativeToDerivedData</string>
+ <string>RelativeToWorkspace</string>
+ <key>CustomBuildProductsPath</key>
+ <string>../../build/ios</string>
<key>DerivedDataCustomLocation</key>
- <string>../../build</string>
+ <string>../../build/ios</string>
<key>DerivedDataLocationStyle</key>
<string>WorkspaceRelativePath</string>
<key>IssueFilterStyle</key>
diff --git a/platform/ios/app/Info.plist b/platform/ios/app/Info.plist
index 3602ab7964..043bebc926 100644
--- a/platform/ios/app/Info.plist
+++ b/platform/ios/app/Info.plist
@@ -51,5 +51,18 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
+ <key>NSAppTransportSecurity</key>
+ <dict>
+ <key>NSExceptionDomains</key>
+ <dict>
+ <key>stamen.com</key>
+ <dict>
+ <key>NSIncludesSubdomains</key>
+ <true/>
+ <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
+ <true/>
+ </dict>
+ </dict>
+ </dict>
</dict>
</plist>
diff --git a/platform/ios/app/MBXAppDelegate.h b/platform/ios/app/MBXAppDelegate.h
index 8145d3b8ca..7ff321b6c7 100644
--- a/platform/ios/app/MBXAppDelegate.h
+++ b/platform/ios/app/MBXAppDelegate.h
@@ -6,4 +6,4 @@ extern NSString * const MBXMapboxAccessTokenDefaultsKey;
@property (strong, nonatomic) UIWindow *window;
-@end \ No newline at end of file
+@end
diff --git a/platform/ios/app/MBXOfflinePacksTableViewController.m b/platform/ios/app/MBXOfflinePacksTableViewController.m
index 008d843b1e..7bceec7ef7 100644
--- a/platform/ios/app/MBXOfflinePacksTableViewController.m
+++ b/platform/ios/app/MBXOfflinePacksTableViewController.m
@@ -244,7 +244,7 @@ static NSString * const MBXOfflinePacksTableViewActiveCellReuseIdentifier = @"Ac
MGLOfflinePack *pack = notification.object;
NSAssert([pack isKindOfClass:[MGLOfflinePack class]], @"MGLOfflineStorage notification has a non-pack object.");
- NSError *error = notification.userInfo[MGLOfflinePackErrorUserInfoKey];
+ NSError *error = notification.userInfo[MGLOfflinePackUserInfoKeyError];
NSAssert([error isKindOfClass:[NSError class]], @"MGLOfflineStorage notification has a non-error error.");
NSString *message = [NSString stringWithFormat:@"Mapbox GL encountered an error while downloading the offline pack “%@”: %@", pack.name, error.localizedFailureReason];
@@ -261,7 +261,7 @@ static NSString * const MBXOfflinePacksTableViewActiveCellReuseIdentifier = @"Ac
MGLOfflinePack *pack = notification.object;
NSAssert([pack isKindOfClass:[MGLOfflinePack class]], @"MGLOfflineStorage notification has a non-pack object.");
- uint64_t maximumCount = [notification.userInfo[MGLOfflinePackMaximumCountUserInfoKey] unsignedLongLongValue];
+ uint64_t maximumCount = [notification.userInfo[MGLOfflinePackUserInfoKeyMaximumCount] unsignedLongLongValue];
NSLog(@"Offline pack “%@” reached limit of %llu tiles.", pack.name, maximumCount);
}
diff --git a/platform/ios/app/MBXUserLocationAnnotationView.h b/platform/ios/app/MBXUserLocationAnnotationView.h
new file mode 100644
index 0000000000..39ed729d2b
--- /dev/null
+++ b/platform/ios/app/MBXUserLocationAnnotationView.h
@@ -0,0 +1,5 @@
+#import <Mapbox/Mapbox.h>
+
+@interface MBXUserLocationAnnotationView : MGLUserLocationAnnotationView
+
+@end
diff --git a/platform/ios/app/MBXUserLocationAnnotationView.m b/platform/ios/app/MBXUserLocationAnnotationView.m
new file mode 100644
index 0000000000..a0347a174f
--- /dev/null
+++ b/platform/ios/app/MBXUserLocationAnnotationView.m
@@ -0,0 +1,165 @@
+#import "MBXUserLocationAnnotationView.h"
+
+const CGFloat MBXUserLocationDotSize = 10;
+
+@implementation MBXUserLocationAnnotationView
+
+- (instancetype)initWithFrame:(CGRect)frame
+{
+ self = [super initWithFrame:frame];
+ if (self == nil) return nil;
+ self.backgroundColor = [UIColor clearColor];
+ return self;
+}
+
+- (void)update
+{
+ [self updateFrameWithSize:self.intrinsicContentSize];
+ [self setNeedsDisplay];
+}
+
+
+- (CGSize)intrinsicContentSize
+{
+ CGSize carSize = CGSizeMake(30, 60);
+ return (self.mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? carSize : [self dotSize];
+}
+
+- (CGSize)dotSize
+{
+ CGFloat minDotSize = 30;
+ CGFloat dotSize = MAX(minDotSize, self.accuracyInPoints);
+ return CGSizeMake(dotSize, dotSize);
+}
+
+- (void)updateFrameWithSize:(CGSize)size
+{
+ if (CGSizeEqualToSize(self.frame.size, size)) return;
+
+ // Update frame size, keeping the existing center point.
+ CGRect newFrame = self.frame;
+ CGPoint oldCenter = self.center;
+ newFrame.size = size;
+ self.frame = newFrame;
+ self.center = oldCenter;
+}
+
+- (CGFloat)accuracyInPoints
+{
+ CGFloat metersPerPoint = [self.mapView metersPerPointAtLatitude:self.userLocation.location.coordinate.latitude];
+ return self.userLocation.location.horizontalAccuracy / metersPerPoint;
+}
+
+- (void)drawRect:(CGRect)rect
+{
+ (self.mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? [self drawCar] : [self drawDot];
+}
+
+- (void)drawDot
+{
+ // Accuracy
+ CGFloat accuracy = self.accuracyInPoints;
+
+ CGFloat center = self.bounds.size.width / 2.0 - accuracy / 2.0;
+ UIBezierPath *accuracyPath = [UIBezierPath bezierPathWithOvalInRect:CGRectMake(center, center, accuracy, accuracy)];
+ UIColor *accuracyColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:.4];
+ [accuracyColor setFill];
+ [accuracyPath fill];
+
+ // Dot
+ center = self.bounds.size.width / 2.0 - MBXUserLocationDotSize / 2.0;
+ UIBezierPath *ovalPath = [UIBezierPath bezierPathWithOvalInRect: CGRectMake(center, center, MBXUserLocationDotSize, MBXUserLocationDotSize)];
+ [UIColor.greenColor setFill];
+ [ovalPath fill];
+
+ [UIColor.blackColor setStroke];
+ ovalPath.lineWidth = 1;
+ [ovalPath stroke];
+
+ // Accuracy text
+ UIFont *font = [UIFont systemFontOfSize:11];
+ [[NSString stringWithFormat:@"%.0f", accuracy]
+ drawAtPoint:CGPointZero withAttributes:@{NSFontAttributeName: font,
+ NSBackgroundColorAttributeName: [UIColor colorWithWhite:0 alpha:.5],
+ NSForegroundColorAttributeName: [UIColor whiteColor]}];
+}
+
+- (void)drawCar
+{
+ UIColor* fillColor = [UIColor colorWithRed: 0 green: 0 blue: 0 alpha: 1];
+ UIColor* strokeColor = [UIColor colorWithRed: 0.592 green: 0.592 blue: 0.592 alpha: 1];
+ UIColor* fillColor2 = [UIColor colorWithRed: 1 green: 1 blue: 1 alpha: 1];
+
+ UIBezierPath* bezier2Path = [UIBezierPath bezierPath];
+ [bezier2Path moveToPoint: CGPointMake(30, 7.86)];
+ [bezier2Path addLineToPoint: CGPointMake(30, 52.66)];
+ [bezier2Path addCurveToPoint: CGPointMake(0, 52.66) controlPoint1: CGPointMake(30, 62.05) controlPoint2: CGPointMake(0, 62.84)];
+ [bezier2Path addCurveToPoint: CGPointMake(0, 7.86) controlPoint1: CGPointMake(0, 42.48) controlPoint2: CGPointMake(0, 17.89)];
+ [bezier2Path addCurveToPoint: CGPointMake(30, 7.86) controlPoint1: CGPointMake(-0, -2.17) controlPoint2: CGPointMake(30, -3.05)];
+ [bezier2Path closePath];
+ bezier2Path.usesEvenOddFillRule = YES;
+
+ [fillColor setFill];
+ [bezier2Path fill];
+
+ UIBezierPath* bezier3Path = [UIBezierPath bezierPath];
+ [bezier3Path moveToPoint: CGPointMake(30, 7.86)];
+ [bezier3Path addLineToPoint: CGPointMake(30, 52.66)];
+ [bezier3Path addCurveToPoint: CGPointMake(0, 52.66) controlPoint1: CGPointMake(30, 62.05) controlPoint2: CGPointMake(0, 62.84)];
+ [bezier3Path addCurveToPoint: CGPointMake(0, 7.86) controlPoint1: CGPointMake(0, 42.48) controlPoint2: CGPointMake(0, 17.89)];
+ [bezier3Path addCurveToPoint: CGPointMake(30, 7.86) controlPoint1: CGPointMake(0, -2.17) controlPoint2: CGPointMake(30, -3.05)];
+ [bezier3Path closePath];
+ [strokeColor setStroke];
+ bezier3Path.lineWidth = 1;
+ [bezier3Path stroke];
+
+ UIBezierPath* bezier4Path = [UIBezierPath bezierPath];
+ [bezier4Path moveToPoint: CGPointMake(15.56, 4.26)];
+ [bezier4Path addCurveToPoint: CGPointMake(26, 6) controlPoint1: CGPointMake(21, 4.26) controlPoint2: CGPointMake(26, 6)];
+ [bezier4Path addCurveToPoint: CGPointMake(23, 21) controlPoint1: CGPointMake(26, 6) controlPoint2: CGPointMake(29, 17)];
+ [bezier4Path addCurveToPoint: CGPointMake(16, 21) controlPoint1: CGPointMake(20.03, 22.98) controlPoint2: CGPointMake(16, 21)];
+ [bezier4Path addCurveToPoint: CGPointMake(7, 21) controlPoint1: CGPointMake(16, 21) controlPoint2: CGPointMake(9.02, 23.53)];
+ [bezier4Path addCurveToPoint: CGPointMake(4, 6) controlPoint1: CGPointMake(3, 16) controlPoint2: CGPointMake(4, 6)];
+ [bezier4Path addCurveToPoint: CGPointMake(15.56, 4.26) controlPoint1: CGPointMake(4, 6) controlPoint2: CGPointMake(10.12, 4.26)];
+ [bezier4Path closePath];
+ bezier4Path.usesEvenOddFillRule = YES;
+
+ [fillColor2 setFill];
+ [bezier4Path fill];
+
+ UIBezierPath* rectanglePath = [UIBezierPath bezierPath];
+ [rectanglePath moveToPoint: CGPointMake(25, 46)];
+ [rectanglePath addCurveToPoint: CGPointMake(21, 55) controlPoint1: CGPointMake(31, 46) controlPoint2: CGPointMake(28.5, 55)];
+ [rectanglePath addCurveToPoint: CGPointMake(9, 55) controlPoint1: CGPointMake(13.5, 55) controlPoint2: CGPointMake(14, 55)];
+ [rectanglePath addCurveToPoint: CGPointMake(5, 46) controlPoint1: CGPointMake(4, 55) controlPoint2: CGPointMake(0, 46)];
+ [rectanglePath addCurveToPoint: CGPointMake(25, 46) controlPoint1: CGPointMake(10, 46) controlPoint2: CGPointMake(19, 46)];
+ [rectanglePath closePath];
+ [UIColor.whiteColor setFill];
+ [rectanglePath fill];
+
+ UIBezierPath* bezierPath = [UIBezierPath bezierPath];
+ [UIColor.whiteColor setFill];
+ [bezierPath fill];
+
+ UIBezierPath* rectangle2Path = [UIBezierPath bezierPath];
+ [rectangle2Path moveToPoint: CGPointMake(2, 35)];
+ [rectangle2Path addCurveToPoint: CGPointMake(4.36, 35) controlPoint1: CGPointMake(2, 39) controlPoint2: CGPointMake(4.36, 35)];
+ [rectangle2Path addCurveToPoint: CGPointMake(4.36, 22) controlPoint1: CGPointMake(4.36, 35) controlPoint2: CGPointMake(5.55, 26)];
+ [rectangle2Path addCurveToPoint: CGPointMake(2, 22) controlPoint1: CGPointMake(3.18, 18) controlPoint2: CGPointMake(2, 22)];
+ [rectangle2Path addCurveToPoint: CGPointMake(2, 35) controlPoint1: CGPointMake(2, 22) controlPoint2: CGPointMake(2, 31)];
+ [rectangle2Path closePath];
+ [UIColor.whiteColor setFill];
+ [rectangle2Path fill];
+
+ UIBezierPath* rectangle3Path = [UIBezierPath bezierPath];
+ [rectangle3Path moveToPoint: CGPointMake(28, 35)];
+ [rectangle3Path addCurveToPoint: CGPointMake(25.64, 35) controlPoint1: CGPointMake(28, 39) controlPoint2: CGPointMake(25.64, 35)];
+ [rectangle3Path addCurveToPoint: CGPointMake(25.64, 22) controlPoint1: CGPointMake(25.64, 35) controlPoint2: CGPointMake(24.45, 26)];
+ [rectangle3Path addCurveToPoint: CGPointMake(28, 22) controlPoint1: CGPointMake(26.82, 18) controlPoint2: CGPointMake(28, 22)];
+ [rectangle3Path addCurveToPoint: CGPointMake(28, 35) controlPoint1: CGPointMake(28, 22) controlPoint2: CGPointMake(28, 31)];
+ [rectangle3Path closePath];
+ [UIColor.whiteColor setFill];
+ [rectangle3Path fill];
+}
+
+@end
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 789ee00372..a7ea429300 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -4,6 +4,9 @@
#import "MBXCustomCalloutView.h"
#import "MBXOfflinePacksTableViewController.h"
#import "MBXAnnotationView.h"
+#import "MBXUserLocationAnnotationView.h"
+
+#import "MGLFillStyleLayer.h"
#import <Mapbox/Mapbox.h>
@@ -18,6 +21,66 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = {
static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXViewControllerAnnotationViewReuseIdentifer";
+typedef NS_ENUM(NSInteger, MBXSettingsSections) {
+ MBXSettingsCoreRendering = 0,
+ MBXSettingsAnnotations,
+ MBXSettingsRuntimeStyling,
+ MBXSettingsMiscellaneous,
+};
+
+typedef NS_ENUM(NSInteger, MBXSettingsCoreRenderingRows) {
+ MBXSettingsCoreRenderingResetPosition = 0,
+ MBXSettingsCoreRenderingTileBoundaries,
+ MBXSettingsCoreRenderingTileInfo,
+ MBXSettingsCoreRenderingTimestamps,
+ MBXSettingsCoreRenderingCollisionBoxes,
+ MBXSettingsCoreRenderingOverdrawVisualization,
+};
+
+typedef NS_ENUM(NSInteger, MBXSettingsAnnotationsRows) {
+ MBXSettingsAnnotations100Views = 0,
+ MBXSettingsAnnotations1000Views,
+ MBXSettingsAnnotations10000Views,
+ MBXSettingsAnnotations100Sprites,
+ MBXSettingsAnnotations1000Sprites,
+ MBXSettingsAnnotations10000Sprites,
+ MBXSettingsAnnotationsTestShapes,
+ MBXSettingsAnnotationsCustomCallout,
+ MBXSettingsAnnotationsQueryAnnotations,
+ MBXSettingsAnnotationsRemoveAnnotations,
+};
+
+typedef NS_ENUM(NSInteger, MBXSettingsRuntimeStylingRows) {
+ MBXSettingsRuntimeStylingWater = 0,
+ MBXSettingsRuntimeStylingRoads,
+ MBXSettingsRuntimeStylingRaster,
+ MBXSettingsRuntimeStylingGeoJSON,
+ MBXSettingsRuntimeStylingSymbols,
+ MBXSettingsRuntimeStylingBuildings,
+ MBXSettingsRuntimeStylingFerry,
+ MBXSettingsRuntimeStylingParks,
+ MBXSettingsRuntimeStylingFilteredFill,
+ MBXSettingsRuntimeStylingFilteredLines,
+ MBXSettingsRuntimeStylingNumericFilteredFill,
+ MBXSettingsRuntimeStylingStyleQuery,
+ MBXSettingsRuntimeStylingFeatureSource,
+ MBXSettingsRuntimeStylingPointCollection,
+ MBXSettingsRuntimeStylingUpdateGeoJSONSourceData,
+ MBXSettingsRuntimeStylingUpdateGeoJSONSourceURL,
+ MBXSettingsRuntimeStylingUpdateGeoJSONSourceFeatures,
+ MBXSettingsRuntimeStylingVectorSource,
+ MBXSettingsRuntimeStylingRasterSource,
+ MBXSettingsRuntimeStylingCountryLabels,
+};
+
+typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
+ MBXSettingsMiscellaneousShowReuseQueueStats = 0,
+ MBXSettingsMiscellaneousWorldTour,
+ MBXSettingsMiscellaneousCustomUserDot,
+ MBXSettingsMiscellaneousPrintLogFile,
+ MBXSettingsMiscellaneousDeleteLogFile,
+};
+
@interface MBXDroppedPinAnnotation : MGLPointAnnotation
@end
@@ -30,11 +93,31 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
@implementation MBXCustomCalloutAnnotation
@end
-@interface MBXViewController () <UIActionSheetDelegate, MGLMapViewDelegate>
+@interface MBXSpriteBackedAnnotation : MGLPointAnnotation
+@end
+
+@implementation MBXSpriteBackedAnnotation
+@end
+
+@interface MBXViewController () <UITableViewDelegate,
+ UITableViewDataSource,
+ MGLMapViewDelegate>
+
@property (nonatomic) IBOutlet MGLMapView *mapView;
+@property (weak, nonatomic) IBOutlet UILabel *hudLabel;
@property (nonatomic) NSInteger styleIndex;
@property (nonatomic) BOOL debugLoggingEnabled;
+@property (nonatomic) BOOL customUserLocationAnnnotationEnabled;
+@property (nonatomic) BOOL usingLocaleBasedCountryLabels;
+@property (nonatomic) BOOL reuseQueueStatsEnabled;
+
+@end
+
+@interface MGLMapView (MBXViewController)
+
+@property (nonatomic) BOOL usingLocaleBasedCountryLabels;
+@property (nonatomic) NSDictionary *annotationViewReuseQueueByIdentifier;
@end
@@ -43,7 +126,7 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
BOOL _isTouringWorld;
}
-#pragma mark - Setup
+#pragma mark - Setup & Teardown
+ (void)initialize
{
@@ -68,12 +151,8 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
[self restoreState:nil];
self.debugLoggingEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"MGLMapboxMetricsDebugLoggingEnabled"];
-}
+ self.hudLabel.hidden = YES;
-- (void)viewDidAppear:(BOOL)animated
-{
- [super viewDidAppear:animated];
-
if ([MGLAccountManager accessToken].length)
{
self.styleIndex = -1;
@@ -158,204 +237,333 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
}
}
-#pragma mark - Actions
+- (void)dealloc
+{
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
+
+ [self saveState:nil];
+}
+
+#pragma mark - Debugging Interface
- (IBAction)showSettings:(__unused id)sender
{
- MGLMapDebugMaskOptions debugMask = self.mapView.debugMask;
- UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:@"Map Settings"
- delegate:self
- cancelButtonTitle:@"Cancel"
- destructiveButtonTitle:nil
- otherButtonTitles:
- @"Reset Position",
- ((debugMask & MGLMapDebugTileBoundariesMask)
- ? @"Hide Tile Boundaries"
- : @"Show Tile Boundaries"),
- ((debugMask & MGLMapDebugTileInfoMask)
- ? @"Hide Tile Info"
- : @"Show Tile Info"),
- ((debugMask & MGLMapDebugTimestampsMask)
- ? @"Hide Tile Timestamps"
- : @"Show Tile Timestamps"),
- ((debugMask & MGLMapDebugCollisionBoxesMask)
- ? @"Hide Collision Boxes"
- : @"Show Collision Boxes"),
- ((debugMask & MGLMapDebugOverdrawVisualizationMask)
- ? @"Hide Overdraw Visualization"
- : @"Show Overdraw Visualization"),
- @"Add 100 Points",
- @"Add 1,000 Points",
- @"Add 10,000 Points",
- @"Add Test Shapes",
- @"Start World Tour",
- @"Add Custom Callout Point",
- @"Remove Annotations",
- nil];
-
- if (self.debugLoggingEnabled)
- {
- [sheet addButtonWithTitle:@"Print Telemetry Logfile"];
- [sheet addButtonWithTitle:@"Delete Telemetry Logfile"];
- }
-
- [sheet showFromBarButtonItem:self.navigationItem.leftBarButtonItem animated:YES];
+ UITableViewController *settingsViewController = [[UITableViewController alloc] initWithStyle:UITableViewStyleGrouped];
+ settingsViewController.tableView.delegate = self;
+ settingsViewController.tableView.dataSource = self;
+ settingsViewController.title = @"Debugging";
+ settingsViewController.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(dismissSettings:)];
+ UINavigationController *wrapper = [[UINavigationController alloc] initWithRootViewController:settingsViewController];
+ wrapper.navigationBar.tintColor = self.navigationController.navigationBar.tintColor;
+ [self.navigationController presentViewController:wrapper animated:YES completion:nil];
}
-- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex
+- (void)dismissSettings:(__unused id)sender
{
- if (buttonIndex == actionSheet.firstOtherButtonIndex)
- {
- [self.mapView resetPosition];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 1)
- {
- self.mapView.debugMask ^= MGLMapDebugTileBoundariesMask;
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 2)
- {
- self.mapView.debugMask ^= MGLMapDebugTileInfoMask;
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 3)
- {
- self.mapView.debugMask ^= MGLMapDebugTimestampsMask;
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 4)
- {
- self.mapView.debugMask ^= MGLMapDebugCollisionBoxesMask;
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 5)
- {
- self.mapView.debugMask ^= MGLMapDebugOverdrawVisualizationMask;
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 6)
- {
- [self parseFeaturesAddingCount:100];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 7)
- {
- [self parseFeaturesAddingCount:1000];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 8)
- {
- [self parseFeaturesAddingCount:10000];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 9)
- {
- // PNW triangle
- //
- CLLocationCoordinate2D triangleCoordinates[3] =
- {
- CLLocationCoordinate2DMake(44, -122),
- CLLocationCoordinate2DMake(46, -122),
- CLLocationCoordinate2DMake(46, -121)
- };
+ [self dismissViewControllerAnimated:YES completion:nil];
+}
- MGLPolygon *triangle = [MGLPolygon polygonWithCoordinates:triangleCoordinates count:3];
+- (NSArray <NSString *> *)settingsSectionTitles
+{
+ return @[
+ @"Core Rendering",
+ @"Annotations",
+ @"Runtime Styling",
+ @"Miscellaneous"
+ ];
+}
- [self.mapView addAnnotation:triangle];
+- (NSArray <NSString *> *)settingsTitlesForSection:(NSInteger)section
+{
+ NSMutableArray *settingsTitles = [NSMutableArray array];
- // Orcas Island hike
- //
- NSDictionary *hike = [NSJSONSerialization JSONObjectWithData:
- [NSData dataWithContentsOfFile:
- [[NSBundle mainBundle] pathForResource:@"polyline" ofType:@"geojson"]]
- options:0
- error:nil];
+ MGLMapDebugMaskOptions debugMask = self.mapView.debugMask;
- NSArray *hikeCoordinatePairs = hike[@"features"][0][@"geometry"][@"coordinates"];
+ switch (section)
+ {
+ case MBXSettingsCoreRendering:
+ [settingsTitles addObjectsFromArray:@[
+ @"Reset Position",
+ [NSString stringWithFormat:@"%@ Tile Boundaries",
+ (debugMask & MGLMapDebugTileBoundariesMask ? @"Hide" :@"Show")],
+ [NSString stringWithFormat:@"%@ Tile Info",
+ (debugMask & MGLMapDebugTileInfoMask ? @"Hide" :@"Show")],
+ [NSString stringWithFormat:@"%@ Tile Timestamps",
+ (debugMask & MGLMapDebugTimestampsMask ? @"Hide" :@"Show")],
+ [NSString stringWithFormat:@"%@ Collision Boxes",
+ (debugMask & MGLMapDebugCollisionBoxesMask ? @"Hide" :@"Show")],
+ [NSString stringWithFormat:@"%@ Overdraw Visualization",
+ (debugMask & MGLMapDebugOverdrawVisualizationMask ? @"Hide" :@"Show")],
+ ]];
+ break;
+ case MBXSettingsAnnotations:
+ [settingsTitles addObjectsFromArray:@[
+ @"Add 100 Views",
+ @"Add 1,000 Views",
+ @"Add 10,000 Views",
+ @"Add 100 Sprites",
+ @"Add 1,000 Sprites",
+ @"Add 10,000 Sprites",
+ @"Add Test Shapes",
+ @"Add Point With Custom Callout",
+ @"Query Annotations",
+ @"Remove Annotations",
+ ]];
+ break;
+ case MBXSettingsRuntimeStyling:
+ [settingsTitles addObjectsFromArray:@[
+ @"Style Water With Function",
+ @"Style Roads With Function",
+ @"Add Raster & Apply Function",
+ @"Add GeoJSON & Apply Fill",
+ @"Style Symbol Color",
+ @"Style Building Fill Color",
+ @"Style Ferry Line Color",
+ @"Remove Parks",
+ @"Style Fill With Filter",
+ @"Style Lines With Filter",
+ @"Style Fill With Numeric Filter",
+ @"Style Query For GeoJSON",
+ @"Style Feature",
+ @"Style Dynamic Point Collection",
+ @"Update GeoJSON Source: Data",
+ @"Update GeoJSON Source: URL",
+ @"Update GeoJSON Source: Features",
+ @"Style Vector Source",
+ @"Style Raster Source",
+ [NSString stringWithFormat:@"Label Countries in %@", (_usingLocaleBasedCountryLabels ? @"Local Language" : [[NSLocale currentLocale] displayNameForKey:NSLocaleIdentifier value:[self bestLanguageForUser]])],
+ ]];
+ break;
+ case MBXSettingsMiscellaneous:
+ [settingsTitles addObject:@"Show Reuse Queue Stats"];
- CLLocationCoordinate2D *polylineCoordinates = (CLLocationCoordinate2D *)malloc([hikeCoordinatePairs count] * sizeof(CLLocationCoordinate2D));
+ [settingsTitles addObjectsFromArray:@[
+ @"Start World Tour",
+ [NSString stringWithFormat:@"%@ Custom User Dot", (_customUserLocationAnnnotationEnabled ? @"Disable" : @"Enable")],
+ ]];
- for (NSUInteger i = 0; i < [hikeCoordinatePairs count]; i++)
- {
- polylineCoordinates[i] = CLLocationCoordinate2DMake([hikeCoordinatePairs[i][1] doubleValue], [hikeCoordinatePairs[i][0] doubleValue]);
- }
+ if (self.debugLoggingEnabled)
+ {
+ [settingsTitles addObjectsFromArray:@[
+ @"Print Telemetry Logfile",
+ @"Delete Telemetry Logfile",
+ ]];
+ };
- MGLPolyline *polyline = [MGLPolyline polylineWithCoordinates:polylineCoordinates
- count:[hikeCoordinatePairs count]];
+ break;
+ default:
+ NSAssert(NO, @"All settings sections should be implemented");
+ break;
+ }
- [self.mapView addAnnotation:polyline];
+ return settingsTitles;
+}
- free(polylineCoordinates);
+- (void)performActionForSettingAtIndexPath:(NSIndexPath *)indexPath
+{
+ switch (indexPath.section)
+ {
+ case MBXSettingsCoreRendering:
+ switch (indexPath.row)
+ {
+ case MBXSettingsCoreRenderingResetPosition:
+ [self.mapView resetPosition];
+ break;
+ case MBXSettingsCoreRenderingTileBoundaries:
+ self.mapView.debugMask ^= MGLMapDebugTileBoundariesMask;
+ break;
+ case MBXSettingsCoreRenderingTileInfo:
+ self.mapView.debugMask ^= MGLMapDebugTileInfoMask;
+ break;
+ case MBXSettingsCoreRenderingTimestamps:
+ self.mapView.debugMask ^= MGLMapDebugTimestampsMask;
+ break;
+ case MBXSettingsCoreRenderingCollisionBoxes:
+ self.mapView.debugMask ^= MGLMapDebugCollisionBoxesMask;
+ break;
+ case MBXSettingsCoreRenderingOverdrawVisualization:
+ self.mapView.debugMask ^= MGLMapDebugOverdrawVisualizationMask;
+ break;
+ default:
+ NSAssert(NO, @"All core rendering setting rows should be implemented");
+ break;
+ }
+ break;
+ case MBXSettingsAnnotations:
+ switch (indexPath.row)
+ {
+ case MBXSettingsAnnotations100Views:
+ [self parseFeaturesAddingCount:100 usingViews:YES];
+ break;
+ case MBXSettingsAnnotations1000Views:
+ [self parseFeaturesAddingCount:1000 usingViews:YES];
+ break;
+ case MBXSettingsAnnotations10000Views:
+ [self parseFeaturesAddingCount:10000 usingViews:YES];
+ break;
+ case MBXSettingsAnnotations100Sprites:
+ [self parseFeaturesAddingCount:100 usingViews:NO];
+ break;
+ case MBXSettingsAnnotations1000Sprites:
+ [self parseFeaturesAddingCount:1000 usingViews:NO];
+ break;
+ case MBXSettingsAnnotations10000Sprites:
+ [self parseFeaturesAddingCount:10000 usingViews:NO];
+ break;
+ case MBXSettingsAnnotationsTestShapes:
+ [self addTestShapes];
+ break;
+ case MBXSettingsAnnotationsCustomCallout:
+ [self addAnnotationWithCustomCallout];
+ break;
+ case MBXSettingsAnnotationsQueryAnnotations:
+ [self testQueryPointAnnotations];
+ break;
+ case MBXSettingsAnnotationsRemoveAnnotations:
+ [self.mapView removeAnnotations:self.mapView.annotations];
+ break;
+ default:
+ NSAssert(NO, @"All annotations setting rows should be implemented");
+ break;
+ }
+ break;
+ case MBXSettingsRuntimeStyling:
+ switch (indexPath.row)
+ {
+ case MBXSettingsRuntimeStylingWater:
+ [self styleWaterLayer];
+ break;
+ case MBXSettingsRuntimeStylingRoads:
+ [self styleRoadLayer];
+ break;
+ case MBXSettingsRuntimeStylingRaster:
+ [self styleRasterLayer];
+ break;
+ case MBXSettingsRuntimeStylingGeoJSON:
+ [self styleGeoJSONSource];
+ break;
+ case MBXSettingsRuntimeStylingSymbols:
+ [self styleSymbolLayer];
+ break;
+ case MBXSettingsRuntimeStylingBuildings:
+ [self styleBuildingLayer];
+ break;
+ case MBXSettingsRuntimeStylingFerry:
+ [self styleFerryLayer];
+ break;
+ case MBXSettingsRuntimeStylingParks:
+ [self removeParkLayer];
+ break;
+ case MBXSettingsRuntimeStylingFilteredFill:
+ [self styleFilteredFill];
+ break;
+ case MBXSettingsRuntimeStylingFilteredLines:
+ [self styleFilteredLines];
+ break;
+ case MBXSettingsRuntimeStylingNumericFilteredFill:
+ [self styleNumericFilteredFills];
+ break;
+ case MBXSettingsRuntimeStylingStyleQuery:
+ [self styleQuery];
+ break;
+ case MBXSettingsRuntimeStylingFeatureSource:
+ [self styleFeature];
+ break;
+ case MBXSettingsRuntimeStylingPointCollection:
+ [self styleDynamicPointCollection];
+ break;
+ case MBXSettingsRuntimeStylingUpdateGeoJSONSourceURL:
+ [self updateGeoJSONSourceURL];
+ break;
+ case MBXSettingsRuntimeStylingUpdateGeoJSONSourceData:
+ [self updateGeoJSONSourceData];
+ break;
+ case MBXSettingsRuntimeStylingUpdateGeoJSONSourceFeatures:
+ [self updateGeoJSONSourceFeatures];
+ break;
+ case MBXSettingsRuntimeStylingVectorSource:
+ [self styleVectorSource];
+ break;
+ case MBXSettingsRuntimeStylingRasterSource:
+ [self styleRasterSource];
+ break;
+ case MBXSettingsRuntimeStylingCountryLabels:
+ [self styleCountryLabelsLanguage];
+ break;
+ default:
+ NSAssert(NO, @"All runtime styling setting rows should be implemented");
+ break;
+ }
+ break;
+ case MBXSettingsMiscellaneous:
+ switch (indexPath.row)
+ {
+ case MBXSettingsMiscellaneousWorldTour:
+ [self startWorldTour];
+ break;
+ case MBXSettingsMiscellaneousCustomUserDot:
+ [self toggleCustomUserDot];
+ break;
+ case MBXSettingsMiscellaneousPrintLogFile:
+ [self printTelemetryLogFile];
+ break;
+ case MBXSettingsMiscellaneousDeleteLogFile:
+ [self deleteTelemetryLogFile];
+ break;
+ case MBXSettingsMiscellaneousShowReuseQueueStats:
+ {
+ self.reuseQueueStatsEnabled = YES;
+ self.hudLabel.hidden = NO;
+ break;
+ }
+ default:
+ NSAssert(NO, @"All miscellaneous setting rows should be implemented");
+ break;
+ }
+ break;
+ default:
+ NSAssert(NO, @"All settings sections should be implemented");
+ break;
+ }
+}
- // PA/NJ/DE polys
- //
- NSDictionary *threestates = [NSJSONSerialization JSONObjectWithData:
- [NSData dataWithContentsOfFile:
- [[NSBundle mainBundle] pathForResource:@"threestates" ofType:@"geojson"]]
- options:0
- error:nil];
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
+{
+ return [[self settingsSectionTitles] count];
+}
- for (NSDictionary *feature in threestates[@"features"])
- {
- NSArray *stateCoordinatePairs = feature[@"geometry"][@"coordinates"];
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
+{
+ return [[self settingsTitlesForSection:section] count];
+}
- while ([stateCoordinatePairs count] == 1) stateCoordinatePairs = stateCoordinatePairs[0];
+- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section;
+{
+ return [[self settingsSectionTitles] objectAtIndex:section];
+}
- CLLocationCoordinate2D *polygonCoordinates = (CLLocationCoordinate2D *)malloc([stateCoordinatePairs count] * sizeof(CLLocationCoordinate2D));
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
- for (NSUInteger i = 0; i < [stateCoordinatePairs count]; i++)
- {
- polygonCoordinates[i] = CLLocationCoordinate2DMake([stateCoordinatePairs[i][1] doubleValue], [stateCoordinatePairs[i][0] doubleValue]);
- }
+ cell.textLabel.text = [[self settingsTitlesForSection:indexPath.section] objectAtIndex:indexPath.row];
- MGLPolygon *polygon = [MGLPolygon polygonWithCoordinates:polygonCoordinates count:[stateCoordinatePairs count]];
+ return cell;
+}
- [self.mapView addAnnotation:polygon];
+- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
+{
+ [tableView deselectRowAtIndexPath:indexPath animated:NO];
- free(polygonCoordinates);
- }
-
- CLLocationCoordinate2D innerCoordinates[] = {
- CLLocationCoordinate2DMake(-5, -5),
- CLLocationCoordinate2DMake(-5, 5),
- CLLocationCoordinate2DMake(5, 5),
- CLLocationCoordinate2DMake(5, -5),
- };
- MGLPolygon *innerPolygon = [MGLPolygon polygonWithCoordinates:innerCoordinates count:sizeof(innerCoordinates) / sizeof(innerCoordinates[0])];
- CLLocationCoordinate2D outerCoordinates[] = {
- CLLocationCoordinate2DMake(-10, -20),
- CLLocationCoordinate2DMake(-10, 10),
- CLLocationCoordinate2DMake(10, 10),
- CLLocationCoordinate2DMake(10, -10),
- };
- MGLPolygon *outerPolygon = [MGLPolygon polygonWithCoordinates:outerCoordinates count:sizeof(outerCoordinates) / sizeof(outerCoordinates[0]) interiorPolygons:@[innerPolygon]];
- [self.mapView addAnnotation:outerPolygon];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 10)
- {
- [self startWorldTour:actionSheet];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 11)
+ [self dismissViewControllerAnimated:YES completion:^
{
- [self presentAnnotationWithCustomCallout];
- }
- else if (buttonIndex == actionSheet.firstOtherButtonIndex + 12)
- {
- [self.mapView removeAnnotations:self.mapView.annotations];
- }
- else if (buttonIndex == actionSheet.numberOfButtons - 2 && self.debugLoggingEnabled)
- {
- NSString *fileContents = [NSString stringWithContentsOfFile:[self telemetryDebugLogfilePath] encoding:NSUTF8StringEncoding error:nil];
- NSLog(@"%@", fileContents);
- }
- else if (buttonIndex == actionSheet.numberOfButtons - 1 && self.debugLoggingEnabled)
- {
- NSString *filePath = [self telemetryDebugLogfilePath];
- if ([[NSFileManager defaultManager] isDeletableFileAtPath:filePath]) {
- NSError *error;
- BOOL success = [[NSFileManager defaultManager] removeItemAtPath:filePath error:&error];
- if (success) {
- NSLog(@"Deleted telemetry log.");
- } else {
- NSLog(@"Error deleting telemetry log: %@", error.localizedDescription);
- }
- }
- }
+ [self performActionForSettingAtIndexPath:indexPath];
+ }];
}
-- (void)parseFeaturesAddingCount:(NSUInteger)featuresCount
+#pragma mark - Debugging Actions
+
+- (void)parseFeaturesAddingCount:(NSUInteger)featuresCount usingViews:(BOOL)useViews
{
[self.mapView removeAnnotations:self.mapView.annotations];
@@ -377,7 +585,8 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
[feature[@"geometry"][@"coordinates"][0] doubleValue]);
NSString *title = feature[@"properties"][@"NAME"];
- MGLPointAnnotation *annotation = [MGLPointAnnotation new];
+ MGLPointAnnotation *annotation = (useViews ? [MGLPointAnnotation new] : [MBXSpriteBackedAnnotation new]);
+
annotation.coordinate = coordinate;
annotation.title = title;
@@ -395,18 +604,626 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
});
}
-- (void)presentAnnotationWithCustomCallout
+- (void)addTestShapes
+{
+ // Pacific Northwest triangle
+ //
+ CLLocationCoordinate2D triangleCoordinates[3] =
+ {
+ CLLocationCoordinate2DMake(44, -122),
+ CLLocationCoordinate2DMake(46, -122),
+ CLLocationCoordinate2DMake(46, -121)
+ };
+
+ MGLPolygon *triangle = [MGLPolygon polygonWithCoordinates:triangleCoordinates count:3];
+
+ [self.mapView addAnnotation:triangle];
+
+ // Orcas Island, WA hike polyline
+ //
+ NSDictionary *hike = [NSJSONSerialization JSONObjectWithData:
+ [NSData dataWithContentsOfFile:
+ [[NSBundle mainBundle] pathForResource:@"polyline" ofType:@"geojson"]]
+ options:0
+ error:nil];
+
+ NSArray *hikeCoordinatePairs = hike[@"features"][0][@"geometry"][@"coordinates"];
+
+ CLLocationCoordinate2D *polylineCoordinates = (CLLocationCoordinate2D *)malloc([hikeCoordinatePairs count] * sizeof(CLLocationCoordinate2D));
+
+ for (NSUInteger i = 0; i < [hikeCoordinatePairs count]; i++)
+ {
+ polylineCoordinates[i] = CLLocationCoordinate2DMake([hikeCoordinatePairs[i][1] doubleValue], [hikeCoordinatePairs[i][0] doubleValue]);
+ }
+
+ MGLPolyline *polyline = [MGLPolyline polylineWithCoordinates:polylineCoordinates
+ count:[hikeCoordinatePairs count]];
+
+ [self.mapView addAnnotation:polyline];
+
+ free(polylineCoordinates);
+
+ // PA/NJ/DE polygons
+ //
+ NSDictionary *threestates = [NSJSONSerialization JSONObjectWithData:
+ [NSData dataWithContentsOfFile:
+ [[NSBundle mainBundle] pathForResource:@"threestates" ofType:@"geojson"]]
+ options:0
+ error:nil];
+
+ for (NSDictionary *feature in threestates[@"features"])
+ {
+ NSArray *stateCoordinatePairs = feature[@"geometry"][@"coordinates"];
+
+ while ([stateCoordinatePairs count] == 1) stateCoordinatePairs = stateCoordinatePairs[0];
+
+ CLLocationCoordinate2D *polygonCoordinates = (CLLocationCoordinate2D *)malloc([stateCoordinatePairs count] * sizeof(CLLocationCoordinate2D));
+
+ for (NSUInteger i = 0; i < [stateCoordinatePairs count]; i++)
+ {
+ polygonCoordinates[i] = CLLocationCoordinate2DMake([stateCoordinatePairs[i][1] doubleValue], [stateCoordinatePairs[i][0] doubleValue]);
+ }
+
+ MGLPolygon *polygon = [MGLPolygon polygonWithCoordinates:polygonCoordinates count:[stateCoordinatePairs count]];
+
+ [self.mapView addAnnotation:polygon];
+
+ free(polygonCoordinates);
+ }
+
+ // Null Island polygon with an interior hole
+ //
+ CLLocationCoordinate2D innerCoordinates[] = {
+ CLLocationCoordinate2DMake(-5, -5),
+ CLLocationCoordinate2DMake(-5, 5),
+ CLLocationCoordinate2DMake(5, 5),
+ CLLocationCoordinate2DMake(5, -5),
+ };
+ MGLPolygon *innerPolygon = [MGLPolygon polygonWithCoordinates:innerCoordinates count:sizeof(innerCoordinates) / sizeof(innerCoordinates[0])];
+ CLLocationCoordinate2D outerCoordinates[] = {
+ CLLocationCoordinate2DMake(-10, -10),
+ CLLocationCoordinate2DMake(-10, 10),
+ CLLocationCoordinate2DMake(10, 10),
+ CLLocationCoordinate2DMake(10, -10),
+ };
+ MGLPolygon *outerPolygon = [MGLPolygon polygonWithCoordinates:outerCoordinates count:sizeof(outerCoordinates) / sizeof(outerCoordinates[0]) interiorPolygons:@[innerPolygon]];
+ [self.mapView addAnnotation:outerPolygon];
+}
+
+- (void)addAnnotationWithCustomCallout
{
[self.mapView removeAnnotations:self.mapView.annotations];
-
+
MBXCustomCalloutAnnotation *annotation = [[MBXCustomCalloutAnnotation alloc] init];
annotation.coordinate = CLLocationCoordinate2DMake(48.8533940, 2.3775439);
annotation.title = @"Custom Callout";
-
+
[self.mapView addAnnotation:annotation];
[self.mapView showAnnotations:@[annotation] animated:YES];
}
+- (void)styleWaterLayer
+{
+ MGLFillStyleLayer *waterLayer = (MGLFillStyleLayer *)[self.mapView.style layerWithIdentifier:@"water"];
+ MGLStyleValue *waterColorFunction = [MGLStyleValue<UIColor *> valueWithStops:@{
+ @6.0f: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor yellowColor]],
+ @8.0f: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blueColor]],
+ @10.0f: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]],
+ @12.0f: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor greenColor]],
+ @14.0f: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blueColor]],
+ }];
+ waterLayer.fillColor = waterColorFunction;
+
+ MGLStyleValue *fillAntialias = [MGLStyleValue<NSNumber *> valueWithStops:@{
+ @11: [MGLStyleValue<NSNumber *> valueWithRawValue:@YES],
+ @12: [MGLStyleValue<NSNumber *> valueWithRawValue:@NO],
+ @13: [MGLStyleValue<NSNumber *> valueWithRawValue:@YES],
+ @14: [MGLStyleValue<NSNumber *> valueWithRawValue:@NO],
+ @15: [MGLStyleValue<NSNumber *> valueWithRawValue:@YES],
+ }];
+ waterLayer.fillAntialias = fillAntialias;
+}
+
+- (void)styleRoadLayer
+{
+ MGLLineStyleLayer *roadLayer = (MGLLineStyleLayer *)[self.mapView.style layerWithIdentifier:@"road-primary"];
+ roadLayer.lineColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blackColor]];
+ MGLStyleValue *lineWidthFunction = [MGLStyleValue<NSNumber *> valueWithStops:@{}];
+
+ MGLStyleValue *roadLineColor = [MGLStyleValue<UIColor *> valueWithStops:@{
+ @10: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor purpleColor]],
+ @13: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor yellowColor]],
+ @16: [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor cyanColor]],
+ }];
+ roadLayer.lineColor = roadLineColor;
+ roadLayer.lineWidth = lineWidthFunction;
+ roadLayer.lineGapWidth = lineWidthFunction;
+
+ roadLayer.visible = YES;
+ roadLayer.maximumZoomLevel = 15;
+ roadLayer.minimumZoomLevel = 13;
+}
+
+- (void)styleRasterLayer
+{
+ NSURL *rasterURL = [NSURL URLWithString:@"mapbox://mapbox.satellite"];
+ MGLRasterSource *rasterSource = [[MGLRasterSource alloc] initWithIdentifier:@"my-raster-source" URL:rasterURL tileSize:512];
+ [self.mapView.style addSource:rasterSource];
+
+ MGLRasterStyleLayer *rasterLayer = [[MGLRasterStyleLayer alloc] initWithIdentifier:@"my-raster-layer" source:rasterSource];
+ MGLStyleValue *opacityFunction = [MGLStyleValue<NSNumber *> valueWithStops:@{
+ @20.0f: [MGLStyleValue<NSNumber *> valueWithRawValue:@1.0f],
+ @5.0f: [MGLStyleValue<NSNumber *> valueWithRawValue:@0.0f],
+ }];
+ rasterLayer.rasterOpacity = opacityFunction;
+ [self.mapView.style addLayer:rasterLayer];
+}
+
+- (void)styleGeoJSONSource
+{
+ NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:@"amsterdam" ofType:@"geojson"];
+ NSURL *geoJSONURL = [NSURL fileURLWithPath:filePath];
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"ams" URL:geoJSONURL options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLFillStyleLayer *fillLayer = [[MGLFillStyleLayer alloc] initWithIdentifier:@"test" source:source];
+ fillLayer.fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor purpleColor]];
+ [self.mapView.style addLayer:fillLayer];
+}
+
+- (void)styleSymbolLayer
+{
+ MGLSymbolStyleLayer *stateLayer = (MGLSymbolStyleLayer *)[self.mapView.style layerWithIdentifier:@"state-label-lg"];
+ stateLayer.textColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+}
+
+- (void)styleBuildingLayer
+{
+ MGLFillStyleLayer *buildingLayer = (MGLFillStyleLayer *)[self.mapView.style layerWithIdentifier:@"building"];
+ buildingLayer.fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blackColor]];
+}
+
+- (void)styleFerryLayer
+{
+ MGLLineStyleLayer *ferryLineLayer = (MGLLineStyleLayer *)[self.mapView.style layerWithIdentifier:@"ferry"];
+ ferryLineLayer.lineColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+}
+
+- (void)removeParkLayer
+{
+ MGLFillStyleLayer *parkLayer = (MGLFillStyleLayer *)[self.mapView.style layerWithIdentifier:@"park"];
+ [self.mapView.style removeLayer:parkLayer];
+}
+
+- (void)styleFilteredFill
+{
+ // set style and focus on Texas
+ [self.mapView setStyleURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"fill_filter_style" ofType:@"json"]]];
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(31, -100) zoomLevel:3 animated:NO];
+
+ // after slight delay, fill in Texas (atypical use; we want to clearly see the change for test purposes)
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^
+ {
+ MGLFillStyleLayer *statesLayer = (MGLFillStyleLayer *)[self.mapView.style layerWithIdentifier:@"states"];
+
+ // filter
+ statesLayer.predicate = [NSPredicate predicateWithFormat:@"name == 'Texas'"];
+
+ // paint properties
+ statesLayer.fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+ statesLayer.fillOpacity = [MGLStyleValue<NSNumber *> valueWithRawValue:@0.25];
+ });
+}
+
+- (void)styleFilteredLines
+{
+ // set style and focus on lower 48
+ [self.mapView setStyleURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"line_filter_style" ofType:@"json"]]];
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(40, -97) zoomLevel:5 animated:NO];
+
+ // after slight delay, change styling for all Washington-named counties (atypical use; we want to clearly see the change for test purposes)
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^
+ {
+ MGLLineStyleLayer *countiesLayer = (MGLLineStyleLayer *)[self.mapView.style layerWithIdentifier:@"counties"];
+
+ // filter
+ countiesLayer.predicate = [NSPredicate predicateWithFormat:@"NAME10 == 'Washington'"];
+
+ // paint properties
+ countiesLayer.lineColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+ countiesLayer.lineOpacity = [MGLStyleValue<NSNumber *> valueWithRawValue:@0.75];
+ countiesLayer.lineWidth = [MGLStyleValue<NSNumber *> valueWithRawValue:@5];
+ });
+}
+
+- (void)styleNumericFilteredFills
+{
+ // set style and focus on lower 48
+ [self.mapView setStyleURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"numeric_filter_style" ofType:@"json"]]];
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(40, -97) zoomLevel:5 animated:NO];
+
+ // after slight delay, change styling for regions 200-299 (atypical use; we want to clearly see the change for test purposes)
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^
+ {
+ MGLFillStyleLayer *regionsLayer = (MGLFillStyleLayer *)[self.mapView.style layerWithIdentifier:@"regions"];
+
+ // filter (testing both inline and format strings)
+ regionsLayer.predicate = [NSPredicate predicateWithFormat:@"HRRNUM >= %@ AND HRRNUM < 300", @(200)];
+
+ // paint properties
+ regionsLayer.fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blueColor]];
+ regionsLayer.fillOpacity = [MGLStyleValue<NSNumber *> valueWithRawValue:@0.5];
+ });
+}
+
+- (void)styleQuery
+{
+ CGRect queryRect = CGRectInset(self.mapView.bounds, 100, 200);
+ NSArray *features = [self.mapView visibleFeaturesInRect:queryRect];
+
+ NSString *querySourceID = @"query-source-id";
+ NSString *queryLayerID = @"query-layer-id";
+
+ // RTE if you don't remove the layer first
+ // RTE if you pass a nill layer to remove layer
+ MGLStyleLayer *layer = [self.mapView.style layerWithIdentifier:queryLayerID];
+ if (layer) {
+ [self.mapView.style removeLayer:layer];
+ }
+
+ // RTE if you pass a nill source to remove source
+ MGLSource *source = [self.mapView.style sourceWithIdentifier:querySourceID];
+ if (source) {
+ [self.mapView.style removeSource:source];
+ }
+
+
+ dispatch_async(dispatch_get_main_queue(), ^{
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:querySourceID features:features options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLFillStyleLayer *fillLayer = [[MGLFillStyleLayer alloc] initWithIdentifier:queryLayerID source:source];
+ fillLayer.fillColor = [MGLStyleConstantValue<UIColor *> valueWithRawValue:[UIColor blueColor]];
+ fillLayer.fillOpacity = [MGLStyleConstantValue<NSNumber *> valueWithRawValue:@0.5];
+ [self.mapView.style addLayer:fillLayer];
+ });
+}
+
+- (void)styleFeature
+{
+ self.mapView.zoomLevel = 10;
+ self.mapView.centerCoordinate = CLLocationCoordinate2DMake(51.068585180672635, -114.06074523925781);
+
+ CLLocationCoordinate2D leafCoords[] = {
+ CLLocationCoordinate2DMake(50.9683733218221,-114.07035827636719),
+ CLLocationCoordinate2DMake(51.02325750523972,-114.06967163085938),
+ CLLocationCoordinate2DMake(51.009434536947786,-114.14245605468749),
+ CLLocationCoordinate2DMake(51.030599281184124,-114.12597656249999),
+ CLLocationCoordinate2DMake(51.060386316691016,-114.21043395996094),
+ CLLocationCoordinate2DMake(51.063838646941576,-114.17816162109375),
+ CLLocationCoordinate2DMake(51.08152779888779,-114.19876098632812),
+ CLLocationCoordinate2DMake(51.08066507029602,-114.16854858398438),
+ CLLocationCoordinate2DMake(51.09662294502995,-114.17472839355469),
+ CLLocationCoordinate2DMake(51.07764539352731,-114.114990234375),
+ CLLocationCoordinate2DMake(51.13670896949613,-114.12391662597656),
+ CLLocationCoordinate2DMake(51.13369295212583,-114.09576416015624),
+ CLLocationCoordinate2DMake(51.17546878815025,-114.07585144042969),
+ CLLocationCoordinate2DMake(51.140155605265896,-114.04632568359375),
+ CLLocationCoordinate2DMake(51.15049396880196,-114.01542663574219),
+ CLLocationCoordinate2DMake(51.088860342359965,-114.00924682617186),
+ CLLocationCoordinate2DMake(51.12205789681453,-113.94813537597656),
+ CLLocationCoordinate2DMake(51.106539930027225,-113.94882202148438),
+ CLLocationCoordinate2DMake(51.117747873223344,-113.92616271972656),
+ CLLocationCoordinate2DMake(51.10093493903458,-113.92616271972656),
+ CLLocationCoordinate2DMake(51.10697105503078,-113.90625),
+ CLLocationCoordinate2DMake(51.09144802136697,-113.9117431640625),
+ CLLocationCoordinate2DMake(51.04916446529361,-113.97010803222655),
+ CLLocationCoordinate2DMake(51.045279344649146,-113.9398956298828),
+ CLLocationCoordinate2DMake(51.022825599852496,-114.06211853027344),
+ CLLocationCoordinate2DMake(51.045279344649146,-113.9398956298828),
+ CLLocationCoordinate2DMake(51.022825599852496,-114.06211853027344),
+ CLLocationCoordinate2DMake(51.022825599852496,-114.06280517578125),
+ CLLocationCoordinate2DMake(50.968805734317804,-114.06280517578125),
+ CLLocationCoordinate2DMake(50.9683733218221,-114.07035827636719),
+ };
+ NSUInteger coordsCount = sizeof(leafCoords) / sizeof(leafCoords[0]);
+
+ MGLPolygonFeature *feature = [MGLPolygonFeature polygonWithCoordinates:leafCoords count:coordsCount];
+ feature.identifier = @"leaf-feature";
+ feature.attributes = @{@"color": @"red"};
+
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"leaf-source" features:@[feature] options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLFillStyleLayer *layer = [[MGLFillStyleLayer alloc] initWithIdentifier:@"leaf-fill-layer" source:source];
+ layer.predicate = [NSPredicate predicateWithFormat:@"color = %@", @"red"];
+ MGLStyleValue *fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+ layer.fillColor = fillColor;
+ [self.mapView.style addLayer:layer];
+}
+
+- (void)updateGeoJSONSourceData
+{
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(40.329795743702064, -107.75390625) zoomLevel:11 animated:NO];
+
+ NSString *geoJSON = @"{\"type\": \"FeatureCollection\",\"features\": [{\"type\": \"Feature\",\"properties\": {},\"geometry\": {\"type\": \"LineString\",\"coordinates\": [[-107.75390625,40.329795743702064],[-104.34814453125,37.64903402157866]]}}]}";
+
+ NSData *data = [geoJSON dataUsingEncoding:NSUTF8StringEncoding];
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"mutable-data-source-id" geoJSONData:data options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLLineStyleLayer *layer = [[MGLLineStyleLayer alloc] initWithIdentifier:@"mutable-data-layer-id" source:source];
+ [self.mapView.style addLayer:layer];
+
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+ NSString *geoJSON = @"{\"type\": \"FeatureCollection\",\"features\": [{\"type\": \"Feature\",\"properties\": {},\"geometry\": {\"type\": \"LineString\",\"coordinates\": [[-107.75390625,40.329795743702064],[-109.34814453125,37.64903402157866]]}}]}";
+ NSData *data = [geoJSON dataUsingEncoding:NSUTF8StringEncoding];
+
+ source.geoJSONData = data;
+ });
+}
+
+- (void)updateGeoJSONSourceURL
+{
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(48.668731, -122.857151) zoomLevel:11 animated:NO];
+
+ NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:@"polyline" ofType:@"geojson"];
+ NSURL *geoJSONURL = [NSURL fileURLWithPath:filePath];
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"mutable-data-source-url-id" URL:geoJSONURL options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLLineStyleLayer *layer = [[MGLLineStyleLayer alloc] initWithIdentifier:@"mutable-data-layer-url-id" source:source];
+ [self.mapView.style addLayer:layer];
+
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(41.563986787078704, -75.04843935793578) zoomLevel:8 animated:NO];
+
+ NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:@"threestates" ofType:@"geojson"];
+ NSURL *geoJSONURL = [NSURL fileURLWithPath:filePath];
+
+ source.URL = geoJSONURL;
+ });
+}
+
+- (void)updateGeoJSONSourceFeatures
+{
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(-41.1520, 288.6592) zoomLevel:10 animated:NO];
+
+ CLLocationCoordinate2D smallBox[] = {
+ {-41.14763798539186, 288.68019104003906},
+ {-41.140915920129665, 288.68019104003906},
+ {-41.140915920129665, 288.6887741088867},
+ {-41.14763798539186, 288.6887741088867},
+ {-41.14763798539186, 288.68019104003906}
+ };
+
+ CLLocationCoordinate2D largeBox[] = {
+ {-41.17710352162799, 288.67298126220703},
+ {-41.13962313627545, 288.67298126220703},
+ {-41.13962313627545, 288.7261962890625},
+ {-41.17710352162799, 288.7261962890625},
+ {-41.17710352162799, 288.67298126220703}
+ };
+
+ MGLPolygonFeature *smallBoxFeature = [MGLPolygonFeature polygonWithCoordinates:smallBox count:sizeof(smallBox)/sizeof(smallBox[0])];
+ MGLPolygonFeature *largeBoxFeature = [MGLPolygonFeature polygonWithCoordinates:largeBox count:sizeof(largeBox)/sizeof(largeBox[0])];
+
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"mutable-data-source-features-id" features:@[smallBoxFeature] options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLFillStyleLayer *layer = [[MGLFillStyleLayer alloc] initWithIdentifier:@"mutable-data-layer-features-id" source:source];
+ MGLStyleValue *fillColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor redColor]];
+ layer.fillColor = fillColor;
+ [self.mapView.style addLayer:layer];
+
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+ source.features = @[largeBoxFeature];
+ });
+}
+
+- (void)styleDynamicPointCollection
+{
+ [self.mapView setCenterCoordinate:CLLocationCoordinate2DMake(36.9979, -109.0441) zoomLevel:14 animated:NO];
+ CLLocationCoordinate2D coordinates[] = {
+ {37.00145594210082, -109.04960632324219},
+ {37.00173012609867, -109.0404224395752},
+ {36.99453246847359, -109.04960632324219},
+ {36.99508088541243, -109.04007911682129},
+ };
+ MGLPointCollectionFeature *feature = [MGLPointCollectionFeature pointCollectionWithCoordinates:coordinates count:4];
+ MGLGeoJSONSource *source = [[MGLGeoJSONSource alloc] initWithIdentifier:@"wiggle-source" features:@[feature] options:nil];
+ [self.mapView.style addSource:source];
+
+ MGLCircleStyleLayer *layer = [[MGLCircleStyleLayer alloc] initWithIdentifier:@"wiggle-layer" source:source];
+ [self.mapView.style addLayer:layer];
+}
+
+- (void)styleVectorSource
+{
+ NSURL *url = [[NSURL alloc] initWithString:@"mapbox://mapbox.mapbox-terrain-v2"];
+ MGLVectorSource *vectorSource = [[MGLVectorSource alloc] initWithIdentifier:@"style-vector-source-id" URL:url];
+ [self.mapView.style addSource:vectorSource];
+
+ MGLBackgroundStyleLayer *backgroundLayer = [[MGLBackgroundStyleLayer alloc] initWithIdentifier:@"style-vector-background-layer-id"];
+ backgroundLayer.backgroundColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor blackColor]];
+ [self.mapView.style addLayer:backgroundLayer];
+
+ MGLLineStyleLayer *lineLayer = [[MGLLineStyleLayer alloc] initWithIdentifier:@"style-vector-line-layer-id" source:vectorSource];
+ lineLayer.sourceLayerIdentifier = @"contour";
+ NSUInteger lineJoinValue = MGLLineJoinRound;
+ lineLayer.lineJoin = [MGLStyleValue<NSValue *> valueWithRawValue:[NSValue value:&lineJoinValue withObjCType:@encode(MGLLineJoin)]];
+ NSUInteger lineCapValue = MGLLineCapRound;
+ lineLayer.lineCap = [MGLStyleValue<NSValue *> valueWithRawValue:[NSValue value:&lineCapValue withObjCType:@encode(MGLLineCap)]];
+ lineLayer.lineColor = [MGLStyleValue<UIColor *> valueWithRawValue:[UIColor greenColor]];
+
+ [self.mapView.style addLayer:lineLayer];
+}
+
+- (void)styleRasterSource
+{
+ // 3rd party raster source requires NSAppTransportSecurity exception for stamen.com
+ MGLTileSet *rasterTileSet = [[MGLTileSet alloc] initWithTileURLTemplates:@[@"http://a.tile.stamen.com/terrain-background/{z}/{x}/{y}.jpg"]];
+ MGLRasterSource *rasterSource = [[MGLRasterSource alloc] initWithIdentifier:@"style-raster-source-id" tileSet:rasterTileSet tileSize:256];
+ [self.mapView.style addSource:rasterSource];
+
+ MGLRasterStyleLayer *rasterLayer = [[MGLRasterStyleLayer alloc] initWithIdentifier:@"style-raster-layer-id" source:rasterSource];
+ [self.mapView.style addLayer:rasterLayer];
+}
+
+-(void)styleCountryLabelsLanguage
+{
+ NSArray<NSString *> *labelLayers = @[
+ @"country-label-lg",
+ @"country-label-md",
+ @"country-label-sm",
+ ];
+ [self styleLabelLanguageForLayersNamed:labelLayers];
+}
+
+- (void)styleLabelLanguageForLayersNamed:(NSArray<NSString *> *)layers
+{
+ _usingLocaleBasedCountryLabels = !_usingLocaleBasedCountryLabels;
+ NSString *bestLanguageForUser = [NSString stringWithFormat:@"{name_%@}", [self bestLanguageForUser]];
+ NSString *language = _usingLocaleBasedCountryLabels ? bestLanguageForUser : @"{name}";
+
+ for (NSString *layerName in layers) {
+ MGLSymbolStyleLayer *layer = (MGLSymbolStyleLayer *)[self.mapView.style layerWithIdentifier:layerName];
+
+ if ([layer isKindOfClass:[MGLSymbolStyleLayer class]]) {
+ if ([layer.textField isKindOfClass:[MGLStyleConstantValue class]]) {
+ MGLStyleConstantValue *label = (MGLStyleConstantValue<NSString *> *)layer.textField;
+ if ([label.rawValue hasPrefix:@"{name"]) {
+ layer.textField = [MGLStyleValue valueWithRawValue:language];
+ }
+ } else if ([layer.textField isKindOfClass:[MGLStyleFunction class]]) {
+ MGLStyleFunction *function = (MGLStyleFunction<NSString *> *)layer.textField;
+ [function.stops enumerateKeysAndObjectsUsingBlock:^(id zoomLevel, id stop, BOOL *done) {
+ if ([stop isKindOfClass:[MGLStyleConstantValue class]]) {
+ MGLStyleConstantValue *label = (MGLStyleConstantValue<NSString *> *)stop;
+ if ([label.rawValue hasPrefix:@"{name"]) {
+ [function.stops setValue:[MGLStyleValue valueWithRawValue:language] forKey:zoomLevel];
+ }
+ }
+ }];
+ layer.textField = function;
+ }
+ } else {
+ NSLog(@"%@ is not a symbol style layer", layerName);
+ }
+ }
+}
+
+- (NSString *)bestLanguageForUser
+{
+ NSArray *supportedLanguages = @[ @"en", @"es", @"fr", @"de", @"ru", @"zh" ];
+ NSArray<NSString *> *preferredLanguages = [NSLocale preferredLanguages];
+ NSString *bestLanguage;
+
+ for (NSString *language in preferredLanguages) {
+ NSString *thisLanguage = [NSLocale localeWithLocaleIdentifier:language].languageCode;
+ if ([supportedLanguages containsObject:thisLanguage]) {
+ bestLanguage = thisLanguage;
+ break;
+ }
+ }
+
+ return bestLanguage ?: @"en";
+}
+
+- (IBAction)startWorldTour
+{
+ _isTouringWorld = YES;
+
+ [self.mapView removeAnnotations:self.mapView.annotations];
+ NSUInteger numberOfAnnotations = sizeof(WorldTourDestinations) / sizeof(WorldTourDestinations[0]);
+ NSMutableArray *annotations = [NSMutableArray arrayWithCapacity:numberOfAnnotations];
+ for (NSUInteger i = 0; i < numberOfAnnotations; i++)
+ {
+ MBXDroppedPinAnnotation *annotation = [[MBXDroppedPinAnnotation alloc] init];
+ annotation.coordinate = WorldTourDestinations[i];
+ [annotations addObject:annotation];
+ }
+ [self.mapView addAnnotations:annotations];
+ [self continueWorldTourWithRemainingAnnotations:annotations];
+}
+
+- (void)continueWorldTourWithRemainingAnnotations:(NS_MUTABLE_ARRAY_OF(MGLPointAnnotation *) *)annotations
+{
+ MGLPointAnnotation *nextAnnotation = annotations.firstObject;
+ if (!nextAnnotation || !_isTouringWorld)
+ {
+ _isTouringWorld = NO;
+ return;
+ }
+
+ [annotations removeObjectAtIndex:0];
+ MGLMapCamera *camera = [MGLMapCamera cameraLookingAtCenterCoordinate:nextAnnotation.coordinate
+ fromDistance:10
+ pitch:arc4random_uniform(60)
+ heading:arc4random_uniform(360)];
+ __weak MBXViewController *weakSelf = self;
+ [self.mapView flyToCamera:camera completionHandler:^{
+ MBXViewController *strongSelf = weakSelf;
+ [strongSelf performSelector:@selector(continueWorldTourWithRemainingAnnotations:)
+ withObject:annotations
+ afterDelay:2];
+ }];
+}
+
+- (void)toggleCustomUserDot
+{
+ _customUserLocationAnnnotationEnabled = !_customUserLocationAnnnotationEnabled;
+ self.mapView.showsUserLocation = NO;
+ self.mapView.userTrackingMode = MGLUserTrackingModeFollow;
+}
+
+- (void)testQueryPointAnnotations {
+ NSNumber *visibleAnnotationCount = @(self.mapView.visibleAnnotations.count);
+ NSString *message;
+ if ([visibleAnnotationCount integerValue] == 1) {
+ message = [NSString stringWithFormat:@"There is %@ visible annotation.", visibleAnnotationCount];
+ } else {
+ message = [NSString stringWithFormat:@"There are %@ visible annotations.", visibleAnnotationCount];
+ }
+
+ UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Visible Annotations" message:message preferredStyle:UIAlertControllerStyleAlert];
+ [alertController addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleCancel handler:nil]];
+ [self presentViewController:alertController animated:YES completion:nil];
+}
+
+- (void)printTelemetryLogFile
+{
+ NSString *fileContents = [NSString stringWithContentsOfFile:[self telemetryDebugLogFilePath] encoding:NSUTF8StringEncoding error:nil];
+ NSLog(@"%@", fileContents);
+}
+
+- (void)deleteTelemetryLogFile
+{
+ NSString *filePath = [self telemetryDebugLogFilePath];
+ if ([[NSFileManager defaultManager] isDeletableFileAtPath:filePath])
+ {
+ NSError *error;
+ BOOL success = [[NSFileManager defaultManager] removeItemAtPath:filePath error:&error];
+ if (success) {
+ NSLog(@"Deleted telemetry log.");
+ } else {
+ NSLog(@"Error deleting telemetry log: %@", error.localizedDescription);
+ }
+ }
+}
+
+- (NSString *)telemetryDebugLogFilePath
+{
+ NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
+ [dateFormatter setDateFormat:@"yyyy'-'MM'-'dd"];
+ [dateFormatter setTimeZone:[NSTimeZone systemTimeZone]];
+ NSString *filePath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:[NSString stringWithFormat:@"telemetry_log-%@.json", [dateFormatter stringFromDate:[NSDate date]]]];
+
+ return filePath;
+}
+
+#pragma mark - User Actions
+
- (IBAction)handleLongPress:(UILongPressGestureRecognizer *)longPress
{
if (longPress.state == UIGestureRecognizerStateBegan)
@@ -508,74 +1325,23 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
[sender setAccessibilityValue:nextAccessibilityValue];
}
-- (IBAction)startWorldTour:(__unused id)sender
-{
- _isTouringWorld = YES;
-
- [self.mapView removeAnnotations:self.mapView.annotations];
- NSUInteger numberOfAnnotations = sizeof(WorldTourDestinations) / sizeof(WorldTourDestinations[0]);
- NSMutableArray *annotations = [NSMutableArray arrayWithCapacity:numberOfAnnotations];
- for (NSUInteger i = 0; i < numberOfAnnotations; i++)
- {
- MBXDroppedPinAnnotation *annotation = [[MBXDroppedPinAnnotation alloc] init];
- annotation.coordinate = WorldTourDestinations[i];
- [annotations addObject:annotation];
- }
- [self.mapView addAnnotations:annotations];
- [self continueWorldTourWithRemainingAnnotations:annotations];
-}
+#pragma mark - Map Delegate
-- (void)continueWorldTourWithRemainingAnnotations:(NS_MUTABLE_ARRAY_OF(MGLPointAnnotation *) *)annotations
+- (MGLAnnotationView *)mapView:(MGLMapView *)mapView viewForAnnotation:(id<MGLAnnotation>)annotation
{
- MGLPointAnnotation *nextAnnotation = annotations.firstObject;
- if (!nextAnnotation || !_isTouringWorld)
+ if (annotation == mapView.userLocation)
{
- _isTouringWorld = NO;
- return;
- }
-
- [annotations removeObjectAtIndex:0];
- MGLMapCamera *camera = [MGLMapCamera cameraLookingAtCenterCoordinate:nextAnnotation.coordinate
- fromDistance:10
- pitch:arc4random_uniform(60)
- heading:arc4random_uniform(360)];
- __weak MBXViewController *weakSelf = self;
- [self.mapView flyToCamera:camera completionHandler:^{
- MBXViewController *strongSelf = weakSelf;
- [strongSelf performSelector:@selector(continueWorldTourWithRemainingAnnotations:)
- withObject:annotations
- afterDelay:2];
- }];
-}
-
-- (NSString *)telemetryDebugLogfilePath
-{
- NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
- [dateFormatter setDateFormat:@"yyyy'-'MM'-'dd"];
- [dateFormatter setTimeZone:[NSTimeZone systemTimeZone]];
- NSString *filePath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:[NSString stringWithFormat:@"telemetry_log-%@.json", [dateFormatter stringFromDate:[NSDate date]]]];
-
- return filePath;
-}
-
-- (IBAction)unwindToMapViewController:(__unused UIStoryboardSegue *)sender {
-}
-
-#pragma mark - Destruction
-
-- (void)dealloc
-{
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-
- [self saveState:nil];
-}
-
-#pragma mark - MGLMapViewDelegate
+ if (_customUserLocationAnnnotationEnabled)
+ {
+ MBXUserLocationAnnotationView *annotationView = [[MBXUserLocationAnnotationView alloc] initWithFrame:CGRectZero];
+ annotationView.frame = CGRectMake(0, 0, annotationView.intrinsicContentSize.width, annotationView.intrinsicContentSize.height);
+ return annotationView;
+ }
-- (MGLAnnotationView *)mapView:(MGLMapView *)mapView viewForAnnotation:(id<MGLAnnotation>)annotation
-{
+ return nil;
+ }
// Use GL backed pins for dropped pin annotations
- if ([annotation isKindOfClass:[MBXDroppedPinAnnotation class]])
+ if ([annotation isKindOfClass:[MBXDroppedPinAnnotation class]] || [annotation isKindOfClass:[MBXSpriteBackedAnnotation class]])
{
return nil;
}
@@ -586,15 +1352,17 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
annotationView = [[MBXAnnotationView alloc] initWithReuseIdentifier:MBXViewControllerAnnotationViewReuseIdentifer];
annotationView.frame = CGRectMake(0, 0, 10, 10);
annotationView.backgroundColor = [UIColor whiteColor];
-
- // uncomment to make the annotation view draggable
- // also note that having two long press gesture recognizers on overlapping views (`self.view` & `annotationView`) will cause weird behaviour
- // comment out the pin dropping functionality in the handleLongPress: method in this class to make draggable annotation views play nice
+
+ // Note that having two long press gesture recognizers on overlapping
+ // views (`self.view` & `annotationView`) will cause weird behaviour.
+ // Comment out the pin dropping functionality in the handleLongPress:
+ // method in this class to make draggable annotation views play nice.
annotationView.draggable = YES;
- // uncomment to force annotation view to maintain a constant size when the map is tilted
- // by default, annotation views will shrink and grow as the move towards and away from the
- // horizon. Relatedly, annotations backed by GL sprites ONLY scale with viewing distance currently.
+ // Uncomment to force annotation view to maintain a constant size when
+ // the map is tilted. By default, annotation views will shrink and grow
+ // as they move towards and away from the horizon. Relatedly, annotations
+ // backed by GL sprites currently ONLY scale with viewing distance.
// annotationView.scalesWithViewingDistance = NO;
} else {
// orange indicates that the annotation view was reused
@@ -603,14 +1371,76 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
return annotationView;
}
-- (BOOL)mapView:(__unused MGLMapView *)mapView annotationCanShowCallout:(__unused id <MGLAnnotation>)annotation
+- (MGLAnnotationImage *)mapView:(MGLMapView * __nonnull)mapView imageForAnnotation:(id <MGLAnnotation> __nonnull)annotation
{
- return YES;
+ if ([annotation isKindOfClass:[MBXDroppedPinAnnotation class]] || [annotation isKindOfClass:[MBXCustomCalloutAnnotation class]])
+ {
+ return nil; // use default marker
+ }
+
+ NSAssert([annotation isKindOfClass:[MBXSpriteBackedAnnotation class]], @"Annotations should be sprite-backed.");
+
+ NSString *title = [(MGLPointAnnotation *)annotation title];
+ if (!title.length) return nil;
+ NSString *lastTwoCharacters = [title substringFromIndex:title.length - 2];
+
+ MGLAnnotationImage *annotationImage = [mapView dequeueReusableAnnotationImageWithIdentifier:lastTwoCharacters];
+
+ if ( ! annotationImage)
+ {
+ UIColor *color;
+
+ // make every tenth annotation blue
+ if ([lastTwoCharacters hasSuffix:@"0"]) {
+ color = [UIColor blueColor];
+ } else {
+ color = [UIColor redColor];
+ }
+
+ UIImage *image = [self imageWithText:lastTwoCharacters backgroundColor:color];
+ annotationImage = [MGLAnnotationImage annotationImageWithImage:image reuseIdentifier:lastTwoCharacters];
+
+ // don't allow touches on blue annotations
+ if ([color isEqual:[UIColor blueColor]]) annotationImage.enabled = NO;
+ }
+
+ return annotationImage;
}
-- (CGFloat)mapView:(__unused MGLMapView *)mapView alphaForShapeAnnotation:(MGLShape *)annotation
+
+- (UIImage *)imageWithText:(NSString *)text backgroundColor:(UIColor *)color
{
- return ([annotation isKindOfClass:[MGLPolygon class]] ? 0.5 : 1.0);
+ CGRect rect = CGRectMake(0, 0, 20, 15);
+
+ UIGraphicsBeginImageContextWithOptions(rect.size, NO, [[UIScreen mainScreen] scale]);
+
+ CGContextRef ctx = UIGraphicsGetCurrentContext();
+
+ CGContextSetFillColorWithColor(ctx, [[color colorWithAlphaComponent:0.75] CGColor]);
+ CGContextFillRect(ctx, rect);
+
+ CGContextSetStrokeColorWithColor(ctx, [[UIColor blackColor] CGColor]);
+ CGContextStrokeRectWithWidth(ctx, rect, 2);
+
+ NSAttributedString *drawString = [[NSAttributedString alloc] initWithString:text attributes:@{
+ NSFontAttributeName: [UIFont fontWithName:@"Arial-BoldMT" size:12],
+ NSForegroundColorAttributeName: [UIColor whiteColor],
+ }];
+ CGSize stringSize = drawString.size;
+ CGRect stringRect = CGRectMake((rect.size.width - stringSize.width) / 2,
+ (rect.size.height - stringSize.height) / 2,
+ stringSize.width,
+ stringSize.height);
+ [drawString drawInRect:stringRect];
+
+ UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
+ UIGraphicsEndImageContext();
+ return image;
+}
+
+- (BOOL)mapView:(__unused MGLMapView *)mapView annotationCanShowCallout:(__unused id <MGLAnnotation>)annotation
+{
+ return YES;
}
- (UIColor *)mapView:(__unused MGLMapView *)mapView strokeColorForShapeAnnotation:(MGLShape *)annotation
@@ -620,7 +1450,8 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
- (UIColor *)mapView:(__unused MGLMapView *)mapView fillColorForPolygonAnnotation:(__unused MGLPolygon *)annotation
{
- return (annotation.pointCount > 3 ? [UIColor greenColor] : [UIColor redColor]);
+ UIColor *color = annotation.pointCount > 3 ? [UIColor greenColor] : [UIColor redColor];
+ return [color colorWithAlphaComponent:0.5];
}
- (void)mapView:(__unused MGLMapView *)mapView didChangeUserTrackingMode:(MGLUserTrackingMode)mode animated:(__unused BOOL)animated
@@ -693,4 +1524,24 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
point.coordinate = [self.mapView convertPoint:self.mapView.center toCoordinateFromView:self.mapView];
}
+- (void)mapView:(MGLMapView *)mapView didFinishLoadingStyle:(MGLStyle *)style
+{
+ // Default Mapbox styles use {name_en} as their label language, which means
+ // that a device with an English-language locale is already effectively
+ // using locale-based country labels.
+ _usingLocaleBasedCountryLabels = [[self bestLanguageForUser] isEqualToString:@"en"];
+}
+
+- (void)mapViewRegionIsChanging:(MGLMapView *)mapView
+{
+ if (self.reuseQueueStatsEnabled) {
+ NSUInteger queuedAnnotations = 0;
+ for (NSArray *queue in self.mapView.annotationViewReuseQueueByIdentifier.allValues)
+ {
+ queuedAnnotations += queue.count;
+ }
+ self.hudLabel.text = [NSString stringWithFormat:@"Visible: %ld Queued: %ld", (long)mapView.visibleAnnotations.count, (long)queuedAnnotations];
+ }
+}
+
@end
diff --git a/platform/ios/app/Main.storyboard b/platform/ios/app/Main.storyboard
index 7d8b2c304f..5819f17edc 100644
--- a/platform/ios/app/Main.storyboard
+++ b/platform/ios/app/Main.storyboard
@@ -1,9 +1,11 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="PSe-Ot-7Ff">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="PSe-Ot-7Ff">
<dependencies>
<deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+ <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="Navigation items with more than one left or right bar item" minToolsVersion="7.0"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Map View Controller-->
@@ -15,24 +17,35 @@
<viewControllerLayoutGuide type="bottom" id="m8o-i7-QIy"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Z9X-fc-PUC">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kNe-zV-9ha" customClass="MGLMapView">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/>
<connections>
<outlet property="delegate" destination="WaX-pd-UZQ" id="za0-3B-qR6"/>
<outletCollection property="gestureRecognizers" destination="lfd-mn-7en" appends="YES" id="0PH-gH-GRm"/>
</connections>
</view>
+ <label opaque="NO" userInteractionEnabled="NO" alpha="0.69999999999999996" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="58y-pX-YyB">
+ <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+ <constraints>
+ <constraint firstAttribute="width" constant="180" id="OL2-l5-I2f"/>
+ <constraint firstAttribute="height" constant="21" id="xHg-ye-wzT"/>
+ </constraints>
+ <fontDescription key="fontDescription" type="system" pointSize="8"/>
+ <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <nil key="highlightedColor"/>
+ </label>
</subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="kNe-zV-9ha" firstAttribute="leading" secondItem="Z9X-fc-PUC" secondAttribute="leading" id="53e-Tz-QxF"/>
<constraint firstItem="kNe-zV-9ha" firstAttribute="bottom" secondItem="m8o-i7-QIy" secondAttribute="top" id="Etp-BC-E1N"/>
<constraint firstAttribute="trailing" secondItem="kNe-zV-9ha" secondAttribute="trailing" id="MGr-8G-VEb"/>
+ <constraint firstItem="58y-pX-YyB" firstAttribute="trailing" secondItem="Z9X-fc-PUC" secondAttribute="trailingMargin" id="O3a-bR-boI"/>
+ <constraint firstItem="m8o-i7-QIy" firstAttribute="top" secondItem="58y-pX-YyB" secondAttribute="bottom" constant="20" id="cjh-ZS-Mv4"/>
<constraint firstItem="kNe-zV-9ha" firstAttribute="top" secondItem="Z9X-fc-PUC" secondAttribute="top" id="qMm-e9-jxH"/>
</constraints>
</view>
@@ -47,7 +60,7 @@
</connections>
</barButtonItem>
<button key="titleView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="KsN-ny-Hou">
- <rect key="frame" x="180" y="7" width="240" height="30"/>
+ <rect key="frame" x="61" y="7" width="207" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
<state key="normal" title="Streets"/>
@@ -75,6 +88,7 @@
</rightBarButtonItems>
</navigationItem>
<connections>
+ <outlet property="hudLabel" destination="58y-pX-YyB" id="MEh-ir-3IH"/>
<outlet property="mapView" destination="kNe-zV-9ha" id="VNR-WO-1q4"/>
</connections>
</viewController>
@@ -85,60 +99,60 @@
</connections>
</pongPressGestureRecognizer>
</objects>
- <point key="canvasLocation" x="1366" y="350"/>
+ <point key="canvasLocation" x="1365.5999999999999" y="349.47526236881561"/>
</scene>
<!--Offline Packs-->
<scene sceneID="xIg-PA-7r3">
<objects>
<tableViewController id="7q0-lI-zqb" customClass="MBXOfflinePacksTableViewController" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="eeN-6b-zqe">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Inactive" editingAccessoryType="detailDisclosureButton" textLabel="JtH-Ce-MI5" detailTextLabel="tTJ-jv-U9v" style="IBUITableViewCellStyleSubtitle" id="fGu-Ys-Eh1">
- <rect key="frame" x="0.0" y="92" width="600" height="44"/>
+ <rect key="frame" x="0.0" y="92" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fGu-Ys-Eh1" id="sUf-bc-8xG">
- <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
+ <frame key="frameInset" width="375" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="My Inactive Offline Pack" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="JtH-Ce-MI5">
- <rect key="frame" x="15" y="6" width="174.5" height="19.5"/>
+ <frame key="frameInset" minX="15" minY="6" width="174.5" height="19.5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="456 resources (789 MB)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tTJ-jv-U9v">
- <rect key="frame" x="15" y="25.5" width="128" height="13.5"/>
+ <frame key="frameInset" minX="15" minY="25.5" width="128" height="13.5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Active" editingAccessoryType="detailDisclosureButton" textLabel="9ZK-gS-wJ4" detailTextLabel="0xK-p8-Mmh" style="IBUITableViewCellStyleSubtitle" id="mKB-tz-Zfl">
- <rect key="frame" x="0.0" y="136" width="600" height="44"/>
+ <rect key="frame" x="0.0" y="136" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mKB-tz-Zfl" id="nS3-aU-nBr">
- <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
+ <frame key="frameInset" width="375" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="My Active Offline Pack" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="9ZK-gS-wJ4">
- <rect key="frame" x="15" y="6" width="163" height="19.5"/>
+ <frame key="frameInset" minX="15" minY="6" width="163" height="19.5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Downloading 123 of 456 resources… (789 MB downloaded)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="0xK-p8-Mmh">
- <rect key="frame" x="15" y="25.5" width="310.5" height="13.5"/>
+ <frame key="frameInset" minX="15" minY="25.5" width="310.5" height="13.5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
@@ -189,5 +203,5 @@
<image name="TrackingLocationOffMask.png" width="23" height="23"/>
<image name="settings.png" width="28" height="28"/>
</resources>
- <color key="tintColor" red="0.12156862745098039" green="0.5490196078431373" blue="0.6705882352941176" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="tintColor" red="0.12156862745098039" green="0.5490196078431373" blue="0.6705882352941176" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</document>
diff --git a/platform/ios/app/fill_filter_style.json b/platform/ios/app/fill_filter_style.json
new file mode 100644
index 0000000000..dd7e05b051
--- /dev/null
+++ b/platform/ios/app/fill_filter_style.json
@@ -0,0 +1,10976 @@
+{
+ "version": 8,
+ "name": "States Highlight 2-copy-copy",
+ "metadata": {
+ "mapbox:autocomposite": true,
+ "mapbox:type": "default",
+ "mapbox:groups": {
+ "1444934828655.3389": {
+ "name": "Aeroways",
+ "collapsed": true
+ },
+ "1444933322393.2852": {
+ "name": "POI labels (scalerank 1)",
+ "collapsed": true
+ },
+ "1444855786460.0557": {
+ "name": "Roads",
+ "collapsed": true
+ },
+ "1444933575858.6992": {
+ "name": "Highway shields",
+ "collapsed": true
+ },
+ "1444934295202.7542": {
+ "name": "Admin boundaries",
+ "collapsed": true
+ },
+ "1444856151690.9143": {
+ "name": "State labels",
+ "collapsed": true
+ },
+ "1444933721429.3076": {
+ "name": "Road labels",
+ "collapsed": true
+ },
+ "1444933358918.2366": {
+ "name": "POI labels (scalerank 2)",
+ "collapsed": true
+ },
+ "1444933808272.805": {
+ "name": "Water labels",
+ "collapsed": true
+ },
+ "1444933372896.5967": {
+ "name": "POI labels (scalerank 3)",
+ "collapsed": true
+ },
+ "1444855799204.86": {
+ "name": "Bridges",
+ "collapsed": true
+ },
+ "1444856087950.3635": {
+ "name": "Marine labels",
+ "collapsed": true
+ },
+ "1456969573402.7817": {
+ "name": "Hillshading",
+ "collapsed": true
+ },
+ "1444862510685.128": {
+ "name": "City labels",
+ "collapsed": true
+ },
+ "1444855769305.6016": {
+ "name": "Tunnels",
+ "collapsed": true
+ },
+ "1456970288113.8113": {
+ "name": "Landcover",
+ "collapsed": true
+ },
+ "1444856144497.7825": {
+ "name": "Country labels",
+ "collapsed": true
+ },
+ "1444933456003.5437": {
+ "name": "POI labels (scalerank 4)",
+ "collapsed": true
+ }
+ }
+ },
+ "center": [
+ -123.10121879440052,
+ 44.996395931523324
+ ],
+ "zoom": 5.047455905107722,
+ "bearing": 0,
+ "pitch": 0,
+ "sources": {
+ "composite": {
+ "url": "mapbox://mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7,justin.ceee0bde",
+ "type": "vector"
+ }
+ },
+ "sprite": "mapbox://sprites/justin/citc7ya7w00002jpa0z16cjah",
+ "glyphs": "mapbox://fonts/justin/{fontstack}/{range}.pbf",
+ "layers": [
+ {
+ "id": "background",
+ "type": "background",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "background-color": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ "hsl(35, 32%, 91%)"
+ ],
+ [
+ 13,
+ "hsl(35, 12%, 89%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "states",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "states",
+ "interactive": true,
+ "filter": [
+ "in",
+ "$type",
+ "LineString",
+ "Point",
+ "Polygon"
+ ],
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-color": "#f00",
+ "fill-opacity": 0
+ }
+ },
+ {
+ "id": "landcover_snow",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "snow"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 100%)",
+ "fill-opacity": 0.2,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_wood",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "wood"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(75, 62%, 81%)",
+ "fill-opacity": {
+ "base": 1.5,
+ "stops": [
+ [
+ 2,
+ 0.3
+ ],
+ [
+ 7,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_scrub",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "scrub"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(75, 62%, 81%)",
+ "fill-opacity": {
+ "base": 1.5,
+ "stops": [
+ [
+ 2,
+ 0.3
+ ],
+ [
+ 7,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_grass",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "grass"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(75, 62%, 81%)",
+ "fill-opacity": {
+ "base": 1.5,
+ "stops": [
+ [
+ 2,
+ 0.3
+ ],
+ [
+ 7,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_crop",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "crop"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(75, 62%, 81%)",
+ "fill-opacity": {
+ "base": 1.5,
+ "stops": [
+ [
+ 2,
+ 0.3
+ ],
+ [
+ 7,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "national_park",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse_overlay",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "national_park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(100, 58%, 76%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "hospital",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "hospital"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ "hsl(340, 37%, 87%)"
+ ],
+ [
+ 16,
+ "hsl(340, 63%, 89%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "school",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "school"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ "hsl(50, 47%, 81%)"
+ ],
+ [
+ 16,
+ "hsl(50, 63%, 84%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "park",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(100, 58%, 76%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "pitch",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "pitch"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(100, 57%, 72%)"
+ }
+ },
+ {
+ "id": "pitch-line",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "landuse",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "pitch"
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-color": "hsl(75, 57%, 84%)"
+ }
+ },
+ {
+ "id": "cemetery",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "cemetery"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(75, 37%, 81%)"
+ }
+ },
+ {
+ "id": "industrial",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "industrial"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ "hsl(230, 15%, 86%)"
+ ],
+ [
+ 16,
+ "hsl(230, 29%, 89%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "sand",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "sand"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(60, 46%, 87%)"
+ }
+ },
+ {
+ "id": "hillshade_highlight_bright",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 94
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 100%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.12
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_highlight_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 90
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 100%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.12
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_faint",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 89
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(56, 59%, 22%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.05
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 78
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(56, 59%, 22%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.05
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_dark",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 67
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(56, 59%, 22%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_extreme",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 56
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(56, 59%, 22%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "waterway-river-canal",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "waterway",
+ "minzoom": 8,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "canal",
+ "river"
+ ],
+ "layout": {
+ "line-cap": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "butt"
+ ],
+ [
+ 11,
+ "round"
+ ]
+ ]
+ },
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(205, 87%, 76%)",
+ "line-width": {
+ "base": 1.3,
+ "stops": [
+ [
+ 8.5,
+ 0.1
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 8,
+ 0
+ ],
+ [
+ 8.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "waterway-small",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "waterway",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "!in",
+ "class",
+ "canal",
+ "river"
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-color": "hsl(205, 87%, 76%)",
+ "line-width": {
+ "base": 1.35,
+ "stops": [
+ [
+ 13.5,
+ 0.1
+ ],
+ [
+ 20,
+ 3
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 13.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "water-shadow",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "water",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(215, 84%, 69%)",
+ "fill-translate": {
+ "base": 1.2,
+ "stops": [
+ [
+ 7,
+ [
+ 0,
+ 0
+ ]
+ ],
+ [
+ 16,
+ [
+ -1,
+ -1
+ ]
+ ]
+ ]
+ },
+ "fill-translate-anchor": "viewport",
+ "fill-opacity": 1
+ }
+ },
+ {
+ "id": "water",
+ "ref": "water-shadow",
+ "interactive": true,
+ "paint": {
+ "fill-color": "hsl(196, 80%, 70%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-polygon",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(35, 12%, 89%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-line",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.99,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 40
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 12%, 89%)"
+ }
+ },
+ {
+ "id": "aeroway-polygon",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "apron"
+ ],
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(230, 23%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 37%, 84%)"
+ ]
+ ]
+ },
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-runway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "runway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(230, 23%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 37%, 84%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 9,
+ 1
+ ],
+ [
+ 18,
+ 80
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-taxiway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "taxiway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(230, 23%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 37%, 84%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 0.5
+ ],
+ [
+ 18,
+ 20
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "building-line",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "building",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "underground",
+ "false"
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 0.75
+ ],
+ [
+ 20,
+ 3
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ 0
+ ],
+ [
+ 16,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "building",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "building",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "underground",
+ "false"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(35, 11%, 88%)"
+ ],
+ [
+ 16,
+ "hsl(35, 8%, 85%)"
+ ]
+ ]
+ },
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ 0
+ ],
+ [
+ 16,
+ 1
+ ]
+ ]
+ },
+ "fill-outline-color": "hsl(35, 6%, 79%)"
+ }
+ },
+ {
+ "id": "tunnel-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 19%, 75%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 19%, 75%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 19%, 75%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 19%, 75%)"
+ }
+ },
+ {
+ "id": "tunnel-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 19%, 75%)"
+ }
+ },
+ {
+ "id": "tunnel-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 26%, 95%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 16,
+ 1.6
+ ],
+ [
+ 18,
+ 6
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 26%, 95%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 77%, 78%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 78%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-pedestrian",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-service-link-track-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 14%, 93%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-secondary-tertiary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-primary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-oneway-arrows-blue-minor",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "path",
+ "pedestrian",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 17,
+ "oneway-small"
+ ],
+ [
+ 18,
+ "oneway-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "tunnel-oneway-arrows-blue-major",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-small"
+ ],
+ [
+ 17,
+ "oneway-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "tunnel-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 77%, 78%)"
+ }
+ },
+ {
+ "id": "tunnel-motorway",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-opacity": 1,
+ "line-color": "hsl(26, 100%, 78%)",
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-oneway-arrows-white",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "type",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "motorway",
+ "motorway_link",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-white-small"
+ ],
+ [
+ 17,
+ "oneway-white-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "ferry",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "ferry"
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(205, 73%, 63%)"
+ ],
+ [
+ 17,
+ "hsl(230, 73%, 63%)"
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 13,
+ [
+ 12,
+ 4
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "ferry_auto",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "ferry_auto"
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ "hsl(205, 73%, 63%)"
+ ],
+ [
+ 17,
+ "hsl(230, 73%, 63%)"
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-path-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "!in",
+ "type",
+ "crossing",
+ "sidewalk",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 2
+ ],
+ [
+ 18,
+ 7
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-color": "hsl(230, 17%, 82%)",
+ "line-blur": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-steps-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 2
+ ],
+ [
+ 17,
+ 4.6
+ ],
+ [
+ 18,
+ 7
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 17%, 82%)",
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-sidewalk-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "type",
+ "crossing",
+ "sidewalk"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 2
+ ],
+ [
+ 18,
+ 7
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-color": "hsl(230, 17%, 82%)",
+ "line-blur": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 0
+ ],
+ [
+ 16.25,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "turning-features-outline",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "turning_circle",
+ "turning_loop"
+ ],
+ "layout": {
+ "icon-image": "turning-circle-outline",
+ "icon-size": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.122
+ ],
+ [
+ 18,
+ 0.969
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ },
+ "icon-allow-overlap": true,
+ "icon-ignore-placement": true,
+ "icon-padding": 0,
+ "icon-rotation-alignment": "map"
+ },
+ "paint": {}
+ },
+ {
+ "id": "road-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 9.99,
+ 0
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 9.99,
+ 0
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 6.1,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-sidewalks",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-sidewalk-bg",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 0
+ ],
+ [
+ 16.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-path",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-path-bg",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-steps",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-steps-bg",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 16,
+ 1.6
+ ],
+ [
+ 18,
+ 6
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 85%, 67%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 68%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-pedestrian-polygon-fill",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "none"
+ ],
+ [
+ "in",
+ "class",
+ "path",
+ "pedestrian"
+ ]
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "hsl(230, 16%, 94%)"
+ ],
+ [
+ 16.25,
+ "hsl(230, 50%, 98%)"
+ ]
+ ]
+ },
+ "fill-outline-color": "hsl(230, 26%, 88%)",
+ "fill-opacity": 1
+ }
+ },
+ {
+ "id": "road-pedestrian-polygon-pattern",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-pedestrian-polygon-fill",
+ "interactive": true,
+ "paint": {
+ "fill-color": "hsl(0, 0%, 100%)",
+ "fill-outline-color": "hsl(35, 10%, 83%)",
+ "fill-pattern": "pedestrian-polygon",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 0
+ ],
+ [
+ 16.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-service-link-track-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)"
+ }
+ },
+ {
+ "id": "road-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 14%, 93%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-secondary-tertiary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ "hsl(35, 32%, 91%)"
+ ],
+ [
+ 8,
+ "hsl(0, 0%, 100%)"
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ "hsl(35, 32%, 91%)"
+ ],
+ [
+ 7,
+ "hsl(0, 0%, 100%)"
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-oneway-arrows-blue-minor",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "path",
+ "pedestrian",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 17,
+ "oneway-small"
+ ],
+ [
+ 18,
+ "oneway-large"
+ ]
+ ]
+ },
+ "icon-rotation-alignment": "map",
+ "icon-padding": 2,
+ "symbol-spacing": 200
+ },
+ "paint": {}
+ },
+ {
+ "id": "road-oneway-arrows-blue-major",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-small"
+ ],
+ [
+ 17,
+ "oneway-large"
+ ]
+ ]
+ },
+ "icon-rotation-alignment": "map",
+ "icon-padding": 2,
+ "symbol-spacing": 200
+ },
+ "paint": {}
+ },
+ {
+ "id": "road-trunk",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ "hsl(0, 0%, 100%)"
+ ],
+ [
+ 6.1,
+ "hsl(46, 80%, 60%)"
+ ],
+ [
+ 9,
+ "hsl(46, 85%, 67%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 8,
+ "hsl(26, 87%, 62%)"
+ ],
+ [
+ 9,
+ "hsl(26, 100%, 68%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": {
+ "stops": [
+ [
+ 13,
+ "hsl(50, 17%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 10%, 74%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-rail-tracks",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-rail",
+ "interactive": true,
+ "paint": {
+ "line-color": {
+ "stops": [
+ [
+ 13,
+ "hsl(50, 17%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 10%, 74%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 4
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 0.1,
+ 15
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.75,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-oneway-arrows-white",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "!in",
+ "type",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "motorway",
+ "motorway_link",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-white-small"
+ ],
+ [
+ 17,
+ "oneway-white-large"
+ ]
+ ]
+ },
+ "icon-padding": 2,
+ "symbol-spacing": 200
+ },
+ "paint": {}
+ },
+ {
+ "id": "turning-features",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "turning_circle",
+ "turning_loop"
+ ],
+ "layout": {
+ "icon-image": "turning-circle",
+ "icon-size": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.095
+ ],
+ [
+ 18,
+ 1
+ ]
+ ]
+ },
+ "icon-allow-overlap": true,
+ "icon-ignore-placement": true,
+ "icon-padding": 0,
+ "icon-rotation-alignment": "map"
+ },
+ "paint": {}
+ },
+ {
+ "id": "bridge-path-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 2
+ ],
+ [
+ 18,
+ 7
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-color": "hsl(230, 17%, 82%)",
+ "line-blur": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ 0
+ ],
+ [
+ 15.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-steps-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 2
+ ],
+ [
+ 17,
+ 4.6
+ ],
+ [
+ 18,
+ 7
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 17%, 82%)",
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(230, 24%, 87%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-steps",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-steps-bg",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 16,
+ 1.6
+ ],
+ [
+ 18,
+ 6
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 85%, 67%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 68%)"
+ }
+ },
+ {
+ "id": "bridge-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)"
+ }
+ },
+ {
+ "id": "bridge-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(35, 14%, 93%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "type",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-oneway-arrows-blue-minor",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "path",
+ "pedestrian",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 17,
+ "oneway-small"
+ ],
+ [
+ 18,
+ "oneway-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-rotation-alignment": "map",
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "bridge-oneway-arrows-blue-major",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-small"
+ ],
+ [
+ 17,
+ "oneway-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-rotation-alignment": "map",
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "bridge-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 85%, 67%)"
+ }
+ },
+ {
+ "id": "bridge-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 68%)"
+ }
+ },
+ {
+ "id": "bridge-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": {
+ "stops": [
+ [
+ 13,
+ "hsl(50, 17%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 10%, 74%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-rail-tracks",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-rail",
+ "interactive": true,
+ "paint": {
+ "line-color": {
+ "stops": [
+ [
+ 13,
+ "hsl(50, 17%, 82%)"
+ ],
+ [
+ 16,
+ "hsl(230, 10%, 74%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 4
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 0.1,
+ 15
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.75,
+ 0
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 100%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 85%, 67%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 68%)"
+ }
+ },
+ {
+ "id": "bridge-trunk-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(46, 85%, 67%)"
+ }
+ },
+ {
+ "id": "bridge-motorway-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(26, 100%, 68%)"
+ }
+ },
+ {
+ "id": "bridge-oneway-arrows-white",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "type",
+ "primary_link",
+ "secondary_link",
+ "tertiary_link"
+ ],
+ [
+ "==",
+ "oneway",
+ "true"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "motorway",
+ "motorway_link",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "symbol-placement": "line",
+ "icon-image": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ "oneway-white-small"
+ ],
+ [
+ 17,
+ "oneway-white-large"
+ ]
+ ]
+ },
+ "symbol-spacing": 200,
+ "icon-padding": 2
+ },
+ "paint": {}
+ },
+ {
+ "id": "aerialway",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "aerialway"
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(230, 10%, 74%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "bevel"
+ },
+ "paint": {
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 8,
+ "hsl(35, 12%, 89%)"
+ ],
+ [
+ 16,
+ "hsl(230, 49%, 90%)"
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 3.75
+ ],
+ [
+ 12,
+ 5.5
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 0
+ ],
+ [
+ 8,
+ 0.75
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 8,
+ 3
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 3.5
+ ],
+ [
+ 10,
+ 8
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ "hsl(35, 12%, 89%)"
+ ],
+ [
+ 8,
+ "hsl(230, 49%, 90%)"
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 4,
+ 0.5
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ [
+ 2,
+ 0
+ ]
+ ],
+ [
+ 7,
+ [
+ 2,
+ 2,
+ 6,
+ 2
+ ]
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 0.75
+ ],
+ [
+ 12,
+ 1.5
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ 0
+ ],
+ [
+ 3,
+ 1
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ "hsl(230, 14%, 77%)"
+ ],
+ [
+ 7,
+ "hsl(230, 8%, 62%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 0
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-color": "hsl(230, 8%, 51%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-dispute",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 1
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-dasharray": [
+ 1.5,
+ 1.5
+ ],
+ "line-color": "hsl(230, 8%, 51%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "housenum-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "housenum_label",
+ "minzoom": 17,
+ "interactive": true,
+ "layout": {
+ "text-field": "{house_num}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 4,
+ "text-max-width": 7,
+ "text-size": 9.5
+ },
+ "paint": {
+ "text-color": "hsl(35, 2%, 69%)",
+ "text-halo-color": "hsl(35, 8%, 85%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "waterway-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "waterway_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "canal",
+ "river"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-max-angle": 30,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 0.5,
+ "text-halo-color": "hsl(196, 80%, 70%)",
+ "text-color": "hsl(230, 48%, 44%)",
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-scalerank4-l15",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933456003.5437"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "minzoom": 17,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 4
+ ],
+ [
+ ">=",
+ "localrank",
+ 15
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{maki}-11",
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-scalerank4-l1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933456003.5437"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "<=",
+ "localrank",
+ 14
+ ],
+ [
+ "==",
+ "scalerank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{maki}-11",
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 1,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-parks_scalerank4",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933456003.5437"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 4
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{maki}-11",
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 1,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(100, 100%, 20%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{maki}-11",
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 1,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-parks-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 3
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{maki}-11",
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(100, 100%, 20%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "road-label-small",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "class",
+ "link",
+ "motorway",
+ "pedestrian",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary",
+ "trunk"
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ 10
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1.25,
+ "text-halo-blur": 1
+ }
+ },
+ {
+ "id": "road-label-medium",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "pedestrian",
+ "street",
+ "street_limited"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 10
+ ],
+ [
+ 20,
+ 14
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "road-label-large",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "motorway",
+ "primary",
+ "secondary",
+ "tertiary",
+ "trunk"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 9,
+ 10
+ ],
+ [
+ 20,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsla(0, 0%, 100%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 1
+ }
+ },
+ {
+ "id": "road-shields-black",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933575858.6992"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "shield",
+ "at-expressway",
+ "at-motorway",
+ "at-state-b",
+ "bg-motorway",
+ "bg-national",
+ "ch-main",
+ "ch-motorway",
+ "cz-motorway",
+ "cz-road",
+ "de-motorway",
+ "e-road",
+ "fi-main",
+ "gr-motorway",
+ "gr-national",
+ "hr-motorway",
+ "hr-state",
+ "hu-main",
+ "hu-motorway",
+ "nz-state",
+ "pl-expressway",
+ "pl-motorway",
+ "pl-national",
+ "ro-county",
+ "ro-motorway",
+ "ro-national",
+ "rs-motorway",
+ "rs-state-1b",
+ "se-main",
+ "si-expressway",
+ "si-motorway",
+ "sk-highway",
+ "sk-road",
+ "us-interstate",
+ "us-interstate-business",
+ "us-interstate-duplex",
+ "us-interstate-truck",
+ "za-metropolitan",
+ "za-national",
+ "za-provincial",
+ "za-regional"
+ ],
+ [
+ "<=",
+ "reflen",
+ 6
+ ]
+ ],
+ "layout": {
+ "text-size": 9,
+ "icon-image": "{shield}-{reflen}",
+ "icon-rotation-alignment": "viewport",
+ "text-max-angle": 38,
+ "symbol-spacing": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 150
+ ],
+ [
+ 14,
+ 200
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "symbol-placement": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "point"
+ ],
+ [
+ 11,
+ "line"
+ ]
+ ]
+ },
+ "text-padding": 2,
+ "text-rotation-alignment": "viewport",
+ "text-field": "{ref}",
+ "text-letter-spacing": 0.05,
+ "icon-padding": 2
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 7%)",
+ "icon-halo-color": "rgba(0, 0, 0, 1)",
+ "icon-halo-width": 1,
+ "text-opacity": 1,
+ "icon-color": "white",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0
+ }
+ },
+ {
+ "id": "road-shields-white",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933575858.6992"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "reflen",
+ 6
+ ],
+ [
+ "in",
+ "shield",
+ "at-expressway",
+ "at-motorway",
+ "at-state-b",
+ "bg-motorway",
+ "bg-national",
+ "ch-main",
+ "ch-motorway",
+ "cz-motorway",
+ "cz-road",
+ "de-motorway",
+ "e-road",
+ "fi-main",
+ "gr-motorway",
+ "gr-national",
+ "hr-motorway",
+ "hr-state",
+ "hu-main",
+ "hu-motorway",
+ "nz-state",
+ "pl-expressway",
+ "pl-motorway",
+ "pl-national",
+ "ro-county",
+ "ro-motorway",
+ "ro-national",
+ "rs-motorway",
+ "rs-state-1b",
+ "se-main",
+ "si-expressway",
+ "si-motorway",
+ "sk-highway",
+ "sk-road",
+ "us-interstate",
+ "us-interstate-business",
+ "us-interstate-duplex",
+ "us-interstate-truck",
+ "za-metropolitan",
+ "za-national",
+ "za-provincial",
+ "za-regional"
+ ]
+ ],
+ "layout": {
+ "text-size": 9,
+ "icon-image": "{shield}-{reflen}",
+ "icon-rotation-alignment": "viewport",
+ "text-max-angle": 38,
+ "symbol-spacing": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 150
+ ],
+ [
+ 14,
+ 200
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "symbol-placement": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "point"
+ ],
+ [
+ 11,
+ "line"
+ ]
+ ]
+ },
+ "text-padding": 2,
+ "text-rotation-alignment": "viewport",
+ "text-field": "{ref}",
+ "text-letter-spacing": 0.05,
+ "icon-padding": 2
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 100%)",
+ "icon-halo-color": "rgba(0, 0, 0, 1)",
+ "icon-halo-width": 1,
+ "text-opacity": 1,
+ "icon-color": "white",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0
+ }
+ },
+ {
+ "id": "motorway-junction",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933575858.6992"
+ },
+ "source": "composite",
+ "source-layer": "motorway_junction",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ ">",
+ "reflen",
+ 0
+ ],
+ "layout": {
+ "text-field": "{ref}",
+ "text-size": 9,
+ "icon-image": "motorway-exit-{reflen}",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ]
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 100%)",
+ "text-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "poi-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 2
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 14
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 14,
+ "{maki}-11"
+ ],
+ [
+ 15,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-parks-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 2
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 14
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 14,
+ "{maki}-11"
+ ],
+ [
+ 15,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(100, 100%, 20%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "rail-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "rail_station_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "!=",
+ "maki",
+ "entrance"
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "icon-image": "{network}",
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-offset": [
+ 0,
+ 0.85
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ ""
+ ],
+ [
+ 13,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.01,
+ "icon-padding": 0,
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(230, 48%, 44%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "icon-halo-width": 4,
+ "icon-halo-color": "#fff",
+ "text-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "water-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933808272.805"
+ },
+ "source": "composite",
+ "source-layer": "water_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "<=",
+ "area",
+ 10000
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 13
+ ],
+ [
+ 20,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(230, 48%, 44%)"
+ }
+ },
+ {
+ "id": "water-label",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933808272.805"
+ },
+ "source": "composite",
+ "source-layer": "water_label",
+ "minzoom": 5,
+ "interactive": true,
+ "filter": [
+ ">",
+ "area",
+ 10000
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 13
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(230, 48%, 44%)"
+ }
+ },
+ {
+ "id": "place-residential",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 16,
+ "maxzoom": 18,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "localrank",
+ 10
+ ],
+ [
+ "==",
+ "type",
+ "residential"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 14
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "visibility": "none",
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-parks-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 1
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 14
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 13,
+ "{maki}-11"
+ ],
+ [
+ 14,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(100, 100%, 20%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "poi-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "<=",
+ "scalerank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 14
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 13,
+ "{maki}-11"
+ ],
+ [
+ 14,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(26, 25%, 32%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "airport-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "airport_label",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 12
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 12,
+ "{maki}-11"
+ ],
+ [
+ 13,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.75
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-anchor": "top",
+ "text-field": {
+ "stops": [
+ [
+ 11,
+ "{ref}"
+ ],
+ [
+ 12,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.01,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "hsl(230, 48%, 44%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "place-islet-archipelago-aboriginal",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "in",
+ "type",
+ "aboriginal_lands",
+ "archipelago",
+ "islet"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(230, 29%, 35%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "place-neighbourhood",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 10,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "neighbourhood"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 7,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11
+ ],
+ [
+ 16,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "text-color": "hsl(230, 29%, 35%)",
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "place-suburb",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 10,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "suburb"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-letter-spacing": 0.15,
+ "text-max-width": 7,
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 11
+ ],
+ [
+ 15,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "text-color": "hsl(230, 29%, 35%)",
+ "text-halo-blur": 0.5
+ }
+ },
+ {
+ "id": "place-hamlet",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 10,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "hamlet"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11.5
+ ],
+ [
+ 15,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1.25,
+ "text-color": "hsl(0, 0%, 0%)"
+ }
+ },
+ {
+ "id": "place-village",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 8,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "village"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11.5
+ ],
+ [
+ 16,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1.25,
+ "text-color": "hsl(0, 0%, 0%)"
+ }
+ },
+ {
+ "id": "place-town",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 6,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "town"
+ ],
+ "layout": {
+ "icon-image": "dot-9",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 12,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ 0,
+ -0.15
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 11.5
+ ],
+ [
+ 15,
+ 20
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "place-island",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "island"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-rotation-alignment": "viewport",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(230, 29%, 35%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "place-city-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "scalerank",
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 12
+ ],
+ [
+ 14,
+ 22
+ ]
+ ]
+ },
+ "icon-image": "dot-9",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.2
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "place-city-md-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "icon-image": "dot-10",
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "top"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.1
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1,
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-blur": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "place-city-md-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-10",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 1
+ }
+ },
+ {
+ "id": "place-city-lg-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.15
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "top"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 1
+ }
+ },
+ {
+ "id": "place-city-lg-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-opacity": 1,
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 1
+ }
+ },
+ {
+ "id": "marine-label-sm-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ },
+ "symbol-spacing": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 100
+ ],
+ [
+ 6,
+ 400
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "marine-label-sm-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.1,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "marine-label-md-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 12
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "marine-label-md-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.15,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 14
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "marine-label-lg-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.1,
+ "symbol-placement": "line",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "marine-label-lg-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(205, 83%, 88%)"
+ }
+ },
+ {
+ "id": "state-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 9,
+ "interactive": true,
+ "filter": [
+ "<",
+ "area",
+ 20000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 10
+ ],
+ [
+ 9,
+ 14
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 6,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "state-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<",
+ "area",
+ 80000
+ ],
+ [
+ ">=",
+ "area",
+ 20000
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 10
+ ],
+ [
+ 8,
+ 16
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 5,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "state-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "area",
+ 80000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 10
+ ],
+ [
+ 7,
+ 18
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-padding": 1,
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 4,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": "hsl(0, 0%, 100%)",
+ "text-halo-width": 1
+ }
+ },
+ {
+ "id": "country-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "scalerank",
+ 5
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 14
+ ],
+ [
+ 9,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ "rgba(255,255,255,0.75)"
+ ],
+ [
+ 3,
+ "hsl(0, 0%, 100%)"
+ ]
+ ]
+ },
+ "text-halo-width": 1.25
+ }
+ },
+ {
+ "id": "country-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 3,
+ 4
+ ],
+ "layout": {
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{code}"
+ ],
+ [
+ 2,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 10
+ ],
+ [
+ 8,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ "rgba(255,255,255,0.75)"
+ ],
+ [
+ 3,
+ "hsl(0, 0%, 100%)"
+ ]
+ ]
+ },
+ "text-halo-width": 1.25
+ }
+ },
+ {
+ "id": "country-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 1,
+ 2
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ 5
+ ],
+ [
+ 3,
+ 6
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 10
+ ],
+ [
+ 6,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 0%)",
+ "text-halo-color": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ "rgba(255,255,255,0.75)"
+ ],
+ [
+ 3,
+ "hsl(0, 0%, 100%)"
+ ]
+ ]
+ },
+ "text-halo-width": 1.25
+ }
+ }
+ ],
+ "created": "2016-09-21T01:16:33.105Z",
+ "id": "citc7ya7w00002jpa0z16cjah",
+ "modified": "2016-09-21T01:17:05.579Z",
+ "owner": "justin",
+ "draft": false
+} \ No newline at end of file
diff --git a/platform/ios/app/line_filter_style.json b/platform/ios/app/line_filter_style.json
new file mode 100644
index 0000000000..0685919c15
--- /dev/null
+++ b/platform/ios/app/line_filter_style.json
@@ -0,0 +1,8746 @@
+{
+ "version": 8,
+ "name": "Counties",
+ "metadata": {
+ "mapbox:autocomposite": true,
+ "mapbox:type": "default",
+ "mapbox:groups": {
+ "1444934828655.3389": {
+ "name": "Aeroways",
+ "collapsed": true
+ },
+ "1444933322393.2852": {
+ "name": "POI labels (scalerank 1)",
+ "collapsed": true
+ },
+ "1444855786460.0557": {
+ "name": "Roads",
+ "collapsed": false
+ },
+ "1444934295202.7542": {
+ "name": "Admin boundaries",
+ "collapsed": true
+ },
+ "1444856151690.9143": {
+ "name": "State labels",
+ "collapsed": true
+ },
+ "1444933721429.3076": {
+ "name": "Road labels",
+ "collapsed": true
+ },
+ "1444933358918.2366": {
+ "name": "POI labels (scalerank 2)",
+ "collapsed": true
+ },
+ "1444933808272.805": {
+ "name": "Water labels",
+ "collapsed": true
+ },
+ "1444933372896.5967": {
+ "name": "POI labels (scalerank 3)",
+ "collapsed": true
+ },
+ "1444855799204.86": {
+ "name": "Bridges",
+ "collapsed": true
+ },
+ "1444856087950.3635": {
+ "name": "Marine labels",
+ "collapsed": true
+ },
+ "1456969573402.7817": {
+ "name": "Hillshading",
+ "collapsed": true
+ },
+ "1444862510685.128": {
+ "name": "City labels",
+ "collapsed": true
+ },
+ "1444855769305.6016": {
+ "name": "Tunnels",
+ "collapsed": true
+ },
+ "1456970288113.8113": {
+ "name": "Landcover",
+ "collapsed": true
+ },
+ "1444856144497.7825": {
+ "name": "Country labels",
+ "collapsed": true
+ }
+ }
+ },
+ "center": [
+ -87.85943678051258,
+ 38.70590811306201
+ ],
+ "zoom": 5.691589021766011,
+ "bearing": 0,
+ "pitch": 0,
+ "sources": {
+ "composite": {
+ "url": "mapbox://mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7,justin.7xm3smvr",
+ "type": "vector"
+ }
+ },
+ "sprite": "mapbox://sprites/justin/citen6af800652ip1omttobg8",
+ "glyphs": "mapbox://fonts/justin/{fontstack}/{range}.pbf",
+ "layers": [
+ {
+ "id": "background",
+ "type": "background",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "background-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "counties",
+ "type": "line",
+ "metadata": {},
+ "source": "composite",
+ "source-layer": "county-bppyng",
+ "interactive": true,
+ "filter": [
+ "in",
+ "$type",
+ "LineString",
+ "Point",
+ "Polygon"
+ ],
+ "layout": {
+ "visibility": "visible",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(284, 77%, 49%)",
+ "line-blur": 0,
+ "line-opacity": 0.5,
+ "line-width": 1
+ }
+ },
+ {
+ "id": "landcover_wood",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "wood"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_scrub",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "scrub"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_grass",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "grass"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_crop",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "crop"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "national_park",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse_overlay",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "national_park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "parks",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "pitch",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "pitch"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)"
+ }
+ },
+ {
+ "id": "industrial",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "industrial"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 20%)"
+ }
+ },
+ {
+ "id": "sand",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "sand"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)"
+ }
+ },
+ {
+ "id": "hillshade_highlight_bright",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 94
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.04
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_highlight_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 90
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.04
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_faint",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 89
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.033
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 78
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.033
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_dark",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 67
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_extreme",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 56
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "waterway-river-canal",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "waterway",
+ "minzoom": 8,
+ "interactive": true,
+ "filter": [
+ "any",
+ [
+ "==",
+ "class",
+ "canal"
+ ],
+ [
+ "==",
+ "class",
+ "river"
+ ]
+ ],
+ "layout": {
+ "line-cap": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "butt"
+ ],
+ [
+ 11,
+ "round"
+ ]
+ ]
+ },
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(185, 2%, 10%)",
+ "line-width": {
+ "base": 1.3,
+ "stops": [
+ [
+ 8.5,
+ 0.1
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 8,
+ 0
+ ],
+ [
+ 8.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "water shadow",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "water",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(185, 3%, 5%)",
+ "fill-translate": {
+ "base": 1.2,
+ "stops": [
+ [
+ 7,
+ [
+ 0,
+ 0
+ ]
+ ],
+ [
+ 16,
+ [
+ -1,
+ -1
+ ]
+ ]
+ ]
+ },
+ "fill-translate-anchor": "viewport",
+ "fill-opacity": 1
+ }
+ },
+ {
+ "id": "water",
+ "ref": "water shadow",
+ "interactive": true,
+ "paint": {
+ "fill-color": "hsl(185, 2%, 10%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-polygon",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-outline-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-line",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.99,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 40
+ ]
+ ]
+ },
+ "line-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "aeroway-polygon",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "apron"
+ ],
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 27%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-runway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "runway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 9,
+ 1
+ ],
+ [
+ 18,
+ 80
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-taxiway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "taxiway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 0.5
+ ],
+ [
+ 18,
+ 20
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "building",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "building",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "underground",
+ "false"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 17%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ 0
+ ],
+ [
+ 16,
+ 1
+ ]
+ ]
+ },
+ "fill-outline-color": "hsl(55, 1%, 15%)",
+ "fill-antialias": true
+ }
+ },
+ {
+ "id": "tunnel-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)"
+ }
+ },
+ {
+ "id": "tunnel-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)"
+ }
+ },
+ {
+ "id": "tunnel-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-pedestrian",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-service-link-track-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-secondary-tertiary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-primary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)"
+ }
+ },
+ {
+ "id": "tunnel-motorway",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-opacity": 1,
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "road-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-main-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 5,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.5
+ ],
+ [
+ 9,
+ 1.4
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 6.1,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-sidewalks",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "type",
+ "crossing",
+ "sidewalk"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 0
+ ],
+ [
+ 16.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "!in",
+ "type",
+ "crossing",
+ "sidewalk",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "road-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-main-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.5
+ ],
+ [
+ 9,
+ 1.4
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-motorway",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "layer",
+ 1
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "type",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-trunk-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "bevel"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 10%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 3.5
+ ],
+ [
+ 10,
+ 8
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 0
+ ],
+ [
+ 6,
+ 0.75
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 8,
+ 3
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 3.5
+ ],
+ [
+ 10,
+ 10
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 10%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 4,
+ 0.5
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ [
+ 2,
+ 0
+ ]
+ ],
+ [
+ 7,
+ [
+ 2,
+ 2,
+ 6,
+ 2
+ ]
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 0.75
+ ],
+ [
+ 12,
+ 1.5
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ 0
+ ],
+ [
+ 3,
+ 1
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ "hsl(0, 0%, 27%)"
+ ],
+ [
+ 5,
+ "hsl(0, 0%, 35%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 0
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 43%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-dispute",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 1
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-dasharray": [
+ 1.5,
+ 1.5
+ ],
+ "line-color": "hsl(0, 0%, 14%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "waterway-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "waterway_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "canal",
+ "river"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-max-angle": 30,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 0,
+ "text-halo-blur": 0,
+ "text-color": "hsl(0, 0%, 32%)"
+ }
+ },
+ {
+ "id": "poi-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 1,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 3
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-halo-blur": 0,
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-label-small",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "class",
+ "",
+ "ferry",
+ "link",
+ "motorway",
+ "path",
+ "pedestrian",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary",
+ "track",
+ "trunk"
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ 10
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 500,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1.25,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "road-label-medium",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "class",
+ "",
+ "link",
+ "pedestrian",
+ "street",
+ "street_limited"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 10
+ ],
+ [
+ 20,
+ 14
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 500,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "road-label-large",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "motorway",
+ "primary",
+ "secondary",
+ "tertiary",
+ "trunk"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 9,
+ 10
+ ],
+ [
+ 20,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 400,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 2
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 2
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ },
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "water-label",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933808272.805"
+ },
+ "source": "composite",
+ "source-layer": "water_label",
+ "minzoom": 5,
+ "interactive": true,
+ "filter": [
+ ">",
+ "area",
+ 10000
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 13
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 1
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ },
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "<=",
+ "scalerank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "airport-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "airport_label",
+ "minzoom": 10,
+ "interactive": true,
+ "filter": [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 12
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 12,
+ "{maki}-11"
+ ],
+ [
+ 13,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.75
+ ],
+ "text-anchor": "top",
+ "text-field": {
+ "stops": [
+ [
+ 11,
+ "{ref}"
+ ],
+ [
+ 14,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.01,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-islets-archipelago-aboriginal",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "in",
+ "type",
+ "aboriginal_lands",
+ "archipelago",
+ "islet"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-neighbourhood",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 12,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "neighbourhood"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 7,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11
+ ],
+ [
+ 16,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-color": "hsl(0, 0%, 70%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-suburb",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 11,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "suburb"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-letter-spacing": 0.15,
+ "text-max-width": 7,
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 11
+ ],
+ [
+ 15,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-color": "hsl(0, 0%, 70%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-hamlet",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 10,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "hamlet"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11.5
+ ],
+ [
+ 15,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-village",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 11,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "village"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11.5
+ ],
+ [
+ 16,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "hsl(0, 0%, 75%)"
+ ],
+ [
+ 11,
+ "hsl(0, 0%, 85%)"
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-town",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 7,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "town"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 11.5
+ ],
+ [
+ 15,
+ 20
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 12,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "hsl(0, 0%, 75%)"
+ ],
+ [
+ 11,
+ "hsl(0, 0%, 85%)"
+ ]
+ ]
+ },
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-islands",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "island"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "scalerank",
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 12
+ ],
+ [
+ 14,
+ 22
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-md-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ },
+ "text-anchor": "top",
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.1
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "icon-image": "dot-10"
+ },
+ "paint": {
+ "text-halo-width": 1,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-blur": 0,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "place-city-md-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": "bottom",
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "icon-image": "dot-10"
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-lg-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.15
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "top"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 95%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 90%)"
+ ]
+ ]
+ },
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-lg-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 95%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 90%)"
+ ]
+ ]
+ },
+ "text-opacity": 1,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "marine-label-sm-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ },
+ "symbol-spacing": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 100
+ ],
+ [
+ 6,
+ 400
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-sm-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.1,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-md-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 12
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-md-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.15,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 14
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-lg-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.1,
+ "symbol-placement": "line",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-lg-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "state-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 9,
+ "interactive": true,
+ "filter": [
+ "<",
+ "area",
+ 20000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 10
+ ],
+ [
+ 9,
+ 14
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 6,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "state-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<",
+ "area",
+ 80000
+ ],
+ [
+ ">=",
+ "area",
+ 20000
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 10
+ ],
+ [
+ 8,
+ 16
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 5,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "state-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "area",
+ 80000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 10
+ ],
+ [
+ 7,
+ 18
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-padding": 1,
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 4,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "scalerank",
+ 5
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 14
+ ],
+ [
+ 9,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 3,
+ 4
+ ],
+ "layout": {
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{code}"
+ ],
+ [
+ 2,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 10
+ ],
+ [
+ 8,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 1,
+ 2
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ 5
+ ],
+ [
+ 3,
+ 6
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 10
+ ],
+ [
+ 6,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ }
+ ],
+ "created": "2016-09-22T17:58:12.692Z",
+ "id": "citen6af800652ip1omttobg8",
+ "modified": "2016-09-22T19:19:49.611Z",
+ "owner": "justin",
+ "draft": false
+} \ No newline at end of file
diff --git a/platform/ios/app/numeric_filter_style.json b/platform/ios/app/numeric_filter_style.json
new file mode 100644
index 0000000000..71a57e9115
--- /dev/null
+++ b/platform/ios/app/numeric_filter_style.json
@@ -0,0 +1,8734 @@
+{
+ "version": 8,
+ "name": "Hospital Referral Regions",
+ "metadata": {
+ "mapbox:autocomposite": true,
+ "mapbox:type": "default",
+ "mapbox:groups": {
+ "1444934828655.3389": {
+ "name": "Aeroways",
+ "collapsed": true
+ },
+ "1444933322393.2852": {
+ "name": "POI labels (scalerank 1)",
+ "collapsed": true
+ },
+ "1444855786460.0557": {
+ "name": "Roads",
+ "collapsed": true
+ },
+ "1444934295202.7542": {
+ "name": "Admin boundaries",
+ "collapsed": true
+ },
+ "1444856151690.9143": {
+ "name": "State labels",
+ "collapsed": true
+ },
+ "1444933721429.3076": {
+ "name": "Road labels",
+ "collapsed": true
+ },
+ "1444933358918.2366": {
+ "name": "POI labels (scalerank 2)",
+ "collapsed": true
+ },
+ "1444933808272.805": {
+ "name": "Water labels",
+ "collapsed": true
+ },
+ "1444933372896.5967": {
+ "name": "POI labels (scalerank 3)",
+ "collapsed": true
+ },
+ "1444855799204.86": {
+ "name": "Bridges",
+ "collapsed": true
+ },
+ "1444856087950.3635": {
+ "name": "Marine labels",
+ "collapsed": true
+ },
+ "1456969573402.7817": {
+ "name": "Hillshading",
+ "collapsed": true
+ },
+ "1444862510685.128": {
+ "name": "City labels",
+ "collapsed": true
+ },
+ "1444855769305.6016": {
+ "name": "Tunnels",
+ "collapsed": true
+ },
+ "1456970288113.8113": {
+ "name": "Landcover",
+ "collapsed": true
+ },
+ "1444856144497.7825": {
+ "name": "Country labels",
+ "collapsed": true
+ }
+ }
+ },
+ "center": [
+ -95.84116499999999,
+ 36.96350799999996
+ ],
+ "zoom": 4,
+ "bearing": 0,
+ "pitch": 0,
+ "sources": {
+ "composite": {
+ "url": "mapbox://mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7,justin.do53bu8c",
+ "type": "vector"
+ }
+ },
+ "sprite": "mapbox://sprites/justin/citerrmcg00662hogpcv4o3w8",
+ "glyphs": "mapbox://fonts/justin/{fontstack}/{range}.pbf",
+ "layers": [
+ {
+ "id": "background",
+ "type": "background",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "background-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "regions",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "hrr-9jhrxz",
+ "interactive": true,
+ "layout": {
+ "visibility": "visible"
+ },
+ "paint": {
+ "fill-opacity": 0
+ }
+ },
+ {
+ "id": "landcover_wood",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "wood"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_scrub",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "scrub"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_grass",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "grass"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "landcover_crop",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456970288113.8113"
+ },
+ "source": "composite",
+ "source-layer": "landcover",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "crop"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-opacity": 0.1,
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "national_park",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse_overlay",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "national_park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.5
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "parks",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "park"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 6,
+ 0.75
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "pitch",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "pitch"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)"
+ }
+ },
+ {
+ "id": "industrial",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "industrial"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 20%)"
+ }
+ },
+ {
+ "id": "sand",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "landuse",
+ "interactive": true,
+ "filter": [
+ "==",
+ "class",
+ "sand"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(132, 2%, 20%)"
+ }
+ },
+ {
+ "id": "hillshade_highlight_bright",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 94
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.04
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_highlight_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 90
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "#fff",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.04
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_faint",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 89
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.033
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_med",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 78
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.033
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_dark",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 67
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "hillshade_shadow_extreme",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1456969573402.7817"
+ },
+ "source": "composite",
+ "source-layer": "hillshade",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "level",
+ 56
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 35%)",
+ "fill-opacity": {
+ "stops": [
+ [
+ 14,
+ 0.06
+ ],
+ [
+ 16,
+ 0
+ ]
+ ]
+ },
+ "fill-antialias": false
+ }
+ },
+ {
+ "id": "waterway-river-canal",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "waterway",
+ "minzoom": 8,
+ "interactive": true,
+ "filter": [
+ "any",
+ [
+ "==",
+ "class",
+ "canal"
+ ],
+ [
+ "==",
+ "class",
+ "river"
+ ]
+ ],
+ "layout": {
+ "line-cap": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "butt"
+ ],
+ [
+ 11,
+ "round"
+ ]
+ ]
+ },
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(185, 2%, 10%)",
+ "line-width": {
+ "base": 1.3,
+ "stops": [
+ [
+ 8.5,
+ 0.1
+ ],
+ [
+ 20,
+ 8
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 8,
+ 0
+ ],
+ [
+ 8.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "water shadow",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "water",
+ "interactive": true,
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(185, 3%, 5%)",
+ "fill-translate": {
+ "base": 1.2,
+ "stops": [
+ [
+ 7,
+ [
+ 0,
+ 0
+ ]
+ ],
+ [
+ 16,
+ [
+ -1,
+ -1
+ ]
+ ]
+ ]
+ },
+ "fill-translate-anchor": "viewport",
+ "fill-opacity": 1
+ }
+ },
+ {
+ "id": "water",
+ "ref": "water shadow",
+ "interactive": true,
+ "paint": {
+ "fill-color": "hsl(185, 2%, 10%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-polygon",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 20%)",
+ "fill-outline-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "barrier_line-land-line",
+ "type": "line",
+ "source": "composite",
+ "source-layer": "barrier_line",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "class",
+ "land"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.99,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 40
+ ]
+ ]
+ },
+ "line-color": "hsl(55, 1%, 20%)"
+ }
+ },
+ {
+ "id": "aeroway-polygon",
+ "type": "fill",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "apron"
+ ],
+ [
+ "==",
+ "$type",
+ "Polygon"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(0, 0%, 27%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-runway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "runway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 9,
+ 1
+ ],
+ [
+ 18,
+ 80
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "aeroway-taxiway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934828655.3389"
+ },
+ "source": "composite",
+ "source-layer": "aeroway",
+ "minzoom": 9,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "type",
+ "taxiway"
+ ]
+ ],
+ "layout": {},
+ "paint": {
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 0.5
+ ],
+ [
+ 18,
+ 20
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "building",
+ "type": "fill",
+ "source": "composite",
+ "source-layer": "building",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "underground",
+ "false"
+ ],
+ "layout": {},
+ "paint": {
+ "fill-color": "hsl(55, 1%, 17%)",
+ "fill-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 15.5,
+ 0
+ ],
+ [
+ 16,
+ 1
+ ]
+ ]
+ },
+ "fill-outline-color": "hsl(55, 1%, 15%)",
+ "fill-antialias": true
+ }
+ },
+ {
+ "id": "tunnel-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street-case",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)"
+ }
+ },
+ {
+ "id": "tunnel-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ],
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)"
+ }
+ },
+ {
+ "id": "tunnel-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 29%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1,
+ "line-dasharray": [
+ 3,
+ 3
+ ]
+ }
+ },
+ {
+ "id": "tunnel-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-pedestrian",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-service-link-track",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-service-link-track-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-dasharray": [
+ 1,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "tunnel-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-street",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "tunnel-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-secondary-tertiary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-primary",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-opacity": 1,
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "tunnel-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "tunnel"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(185, 2%, 15%)"
+ }
+ },
+ {
+ "id": "tunnel-motorway",
+ "metadata": {
+ "mapbox:group": "1444855769305.6016"
+ },
+ "ref": "tunnel-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-opacity": 1,
+ "line-color": "hsl(185, 2%, 15%)",
+ "line-blur": 0
+ }
+ },
+ {
+ "id": "road-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11,
+ 0
+ ],
+ [
+ 11.25,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street_limited-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street-case",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.9,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-main-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 7,
+ 0.4
+ ],
+ [
+ 9,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 5,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.5
+ ],
+ [
+ 9,
+ 1.4
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 0
+ ],
+ [
+ 6.1,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "none"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-sidewalks",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 16,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "type",
+ "crossing",
+ "sidewalk"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 0
+ ],
+ [
+ 16.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "!in",
+ "type",
+ "crossing",
+ "sidewalk",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-motorway_link",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway_link-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-service-link-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "road-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-street",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-secondary-tertiary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-main-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-primary",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-primary-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-trunk",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-trunk-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.5
+ ],
+ [
+ 9,
+ 1.4
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-motorway",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "ref": "road-motorway-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "road-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855786460.0557"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "structure",
+ "bridge",
+ "tunnel"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-pedestrian-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "class",
+ "pedestrian"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 14.5
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": 0,
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-low",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "stops": [
+ [
+ 11.5,
+ 0
+ ],
+ [
+ 12,
+ 1
+ ],
+ [
+ 14,
+ 1
+ ],
+ [
+ 14.01,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street_limited-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street_limited"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 11,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "street"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 13,
+ 0
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.2,
+ "stops": [
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-primary-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "primary"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ]
+ }
+ },
+ {
+ "id": "bridge-trunk_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "layer",
+ 1
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-construction",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "construction"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ },
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 0.4,
+ 0.8
+ ]
+ ],
+ [
+ 15,
+ [
+ 0.3,
+ 0.6
+ ]
+ ],
+ [
+ 16,
+ [
+ 0.2,
+ 0.3
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.2,
+ 0.25
+ ]
+ ],
+ [
+ 18,
+ [
+ 0.15,
+ 0.15
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-path",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "steps"
+ ],
+ [
+ "==",
+ "class",
+ "path"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 1,
+ 0.5
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-steps",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "steps"
+ ]
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 15,
+ 1
+ ],
+ [
+ 18,
+ 4
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.75,
+ 1
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.75
+ ]
+ ],
+ [
+ 17,
+ [
+ 0.3,
+ 0.3
+ ]
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0
+ ],
+ [
+ 14.25,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-pedestrian",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-pedestrian-case",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": 1,
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ [
+ 1,
+ 0
+ ]
+ ],
+ [
+ 15,
+ [
+ 1.5,
+ 0.4
+ ]
+ ],
+ [
+ 16,
+ [
+ 1,
+ 0.2
+ ]
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-service-link-track",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!=",
+ "type",
+ "trunk_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "link",
+ "service",
+ "track"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 14,
+ 0.5
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-street_limited",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street_limited-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-street",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "ref": "bridge-street-low",
+ "interactive": true,
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12.5,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 13.99,
+ 0
+ ],
+ [
+ 14,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-secondary-tertiary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "type",
+ "secondary",
+ "tertiary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 8.5,
+ 0.5
+ ],
+ [
+ 10,
+ 0.75
+ ],
+ [
+ 18,
+ 26
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-primary",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "primary"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-opacity": {
+ "base": 1.2,
+ "stops": [
+ [
+ 5,
+ 0
+ ],
+ [
+ 5.5,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "layer",
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-rail",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "in",
+ "class",
+ "major_rail",
+ "minor_rail"
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 0.75
+ ],
+ [
+ 20,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 10.99,
+ 0
+ ],
+ [
+ 11,
+ 1
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.75
+ ],
+ [
+ 20,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-opacity": 1
+ }
+ },
+ {
+ "id": "bridge-trunk-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-motorway-2-case",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 7,
+ 0.5
+ ],
+ [
+ 10,
+ 1
+ ],
+ [
+ 16,
+ 2
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 17%)",
+ "line-gap-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "bridge-trunk_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ "==",
+ "type",
+ "trunk_link"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway_link-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway_link"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 12,
+ 0.5
+ ],
+ [
+ 14,
+ 2
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-trunk-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "trunk"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "bridge-motorway-2",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444855799204.86"
+ },
+ "source": "composite",
+ "source-layer": "road",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "class",
+ "motorway"
+ ],
+ [
+ "==",
+ "structure",
+ "bridge"
+ ],
+ [
+ ">=",
+ "layer",
+ 2
+ ]
+ ],
+ "layout": {
+ "line-cap": "round",
+ "line-join": "round"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1.5,
+ "stops": [
+ [
+ 5,
+ 0.75
+ ],
+ [
+ 18,
+ 32
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 27%)"
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "bevel"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 10%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 3.5
+ ],
+ [
+ 10,
+ 8
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 0
+ ],
+ [
+ 6,
+ 0.75
+ ]
+ ]
+ },
+ "line-dasharray": [
+ 1,
+ 0
+ ],
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 8,
+ 3
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-bg",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "miter"
+ },
+ "paint": {
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 3.5
+ ],
+ [
+ 10,
+ 10
+ ]
+ ]
+ },
+ "line-color": "hsl(0, 0%, 10%)",
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 4,
+ 0.5
+ ]
+ ]
+ },
+ "line-translate": [
+ 0,
+ 0
+ ],
+ "line-blur": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-3-4-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "maritime",
+ 0
+ ],
+ [
+ ">=",
+ "admin_level",
+ 3
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-dasharray": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ [
+ 2,
+ 0
+ ]
+ ],
+ [
+ 7,
+ [
+ 2,
+ 2,
+ 6,
+ 2
+ ]
+ ]
+ ]
+ },
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 0.75
+ ],
+ [
+ 12,
+ 1.5
+ ]
+ ]
+ },
+ "line-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 2,
+ 0
+ ],
+ [
+ 3,
+ 1
+ ]
+ ]
+ },
+ "line-color": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ "hsl(0, 0%, 27%)"
+ ],
+ [
+ 5,
+ "hsl(0, 0%, 35%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 0
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round",
+ "line-cap": "round"
+ },
+ "paint": {
+ "line-color": "hsl(0, 0%, 43%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "admin-2-boundaries-dispute",
+ "type": "line",
+ "metadata": {
+ "mapbox:group": "1444934295202.7542"
+ },
+ "source": "composite",
+ "source-layer": "admin",
+ "minzoom": 1,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "admin_level",
+ 2
+ ],
+ [
+ "==",
+ "disputed",
+ 1
+ ],
+ [
+ "==",
+ "maritime",
+ 0
+ ]
+ ],
+ "layout": {
+ "line-join": "round"
+ },
+ "paint": {
+ "line-dasharray": [
+ 1.5,
+ 1.5
+ ],
+ "line-color": "hsl(0, 0%, 14%)",
+ "line-width": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 0.5
+ ],
+ [
+ 10,
+ 2
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "waterway-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "waterway_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "canal",
+ "river"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-max-angle": 30,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 12
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 0,
+ "text-halo-blur": 0,
+ "text-color": "hsl(0, 0%, 32%)"
+ }
+ },
+ {
+ "id": "poi-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 1,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank3",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933372896.5967"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 3
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 16,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-halo-blur": 0,
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "road-label-small",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 15,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "class",
+ "",
+ "ferry",
+ "link",
+ "motorway",
+ "path",
+ "pedestrian",
+ "primary",
+ "secondary",
+ "street",
+ "street_limited",
+ "tertiary",
+ "track",
+ "trunk"
+ ],
+ [
+ "==",
+ "$type",
+ "LineString"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 15,
+ 10
+ ],
+ [
+ 20,
+ 13
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 500,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1.25,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "road-label-medium",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 13,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "class",
+ "",
+ "link",
+ "pedestrian",
+ "street",
+ "street_limited"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 10
+ ],
+ [
+ 20,
+ 14
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 500,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "road-label-large",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933721429.3076"
+ },
+ "source": "composite",
+ "source-layer": "road_label",
+ "minzoom": 12,
+ "interactive": true,
+ "filter": [
+ "in",
+ "class",
+ "motorway",
+ "primary",
+ "secondary",
+ "tertiary",
+ "trunk"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 9,
+ 10
+ ],
+ [
+ 20,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 30,
+ "symbol-spacing": 400,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-padding": 1,
+ "text-rotation-alignment": "map",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 78%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "==",
+ "scalerank",
+ 2
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.65
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank2",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933358918.2366"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "scalerank",
+ 2
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 14,
+ 11
+ ],
+ [
+ 20,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ },
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "water-label",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933808272.805"
+ },
+ "source": "composite",
+ "source-layer": "water_label",
+ "minzoom": 5,
+ "interactive": true,
+ "filter": [
+ ">",
+ "area",
+ 10000
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 13,
+ 13
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-parks-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 1
+ ],
+ [
+ "in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 47%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 73%)"
+ ]
+ ]
+ },
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "poi-scalerank1",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444933322393.2852"
+ },
+ "source": "composite",
+ "source-layer": "poi_label",
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "maki",
+ "campsite",
+ "cemetery",
+ "dog-park",
+ "garden",
+ "golf",
+ "park",
+ "picnic-site",
+ "playground",
+ "zoo"
+ ],
+ [
+ "<=",
+ "scalerank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 12
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 60%)",
+ "text-halo-color": "#212121",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "airport-label",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "airport_label",
+ "minzoom": 10,
+ "interactive": true,
+ "filter": [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 12
+ ],
+ [
+ 18,
+ 18
+ ]
+ ]
+ },
+ "icon-image": {
+ "stops": [
+ [
+ 12,
+ "{maki}-11"
+ ],
+ [
+ 13,
+ "{maki}-15"
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0.75
+ ],
+ "text-anchor": "top",
+ "text-field": {
+ "stops": [
+ [
+ 11,
+ "{ref}"
+ ],
+ [
+ 14,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.01,
+ "text-max-width": 9
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 0.5,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-islets-archipelago-aboriginal",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "in",
+ "type",
+ "aboriginal_lands",
+ "archipelago",
+ "islet"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 8
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-neighbourhood",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 12,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "neighbourhood"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 7,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11
+ ],
+ [
+ 16,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-color": "hsl(0, 0%, 70%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-suburb",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 11,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "suburb"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-letter-spacing": 0.15,
+ "text-max-width": 7,
+ "text-padding": 3,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ 11
+ ],
+ [
+ 15,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-color": "hsl(0, 0%, 70%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-hamlet",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 10,
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "hamlet"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 12,
+ 11.5
+ ],
+ [
+ 15,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-village",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 11,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "village"
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-max-width": 7,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11.5
+ ],
+ [
+ 16,
+ 18
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "hsl(0, 0%, 75%)"
+ ],
+ [
+ 11,
+ "hsl(0, 0%, 85%)"
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-town",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 7,
+ "maxzoom": 15,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "town"
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ 11.5
+ ],
+ [
+ 15,
+ 20
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 11,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 12,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ "hsl(0, 0%, 75%)"
+ ],
+ [
+ 11,
+ "hsl(0, 0%, 85%)"
+ ]
+ ]
+ },
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-islands",
+ "type": "symbol",
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 16,
+ "interactive": true,
+ "filter": [
+ "==",
+ "type",
+ "island"
+ ],
+ "layout": {
+ "text-line-height": 1.2,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 10,
+ 11
+ ],
+ [
+ 18,
+ 16
+ ]
+ ]
+ },
+ "text-max-angle": 38,
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ],
+ "text-padding": 2,
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.01,
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 85%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "!in",
+ "scalerank",
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 12
+ ],
+ [
+ 14,
+ 22
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": [
+ 0,
+ 0
+ ],
+ "text-field": "{name_en}",
+ "text-max-width": 7
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1.25,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-md-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ },
+ "text-anchor": "top",
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.1
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "icon-image": "dot-10"
+ },
+ "paint": {
+ "text-halo-width": 1,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-blur": 0,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ }
+ }
+ },
+ {
+ "id": "place-city-md-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ],
+ [
+ "in",
+ "scalerank",
+ 3,
+ 4,
+ 5
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 12
+ ],
+ [
+ 12,
+ 22
+ ]
+ ]
+ },
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": "bottom",
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "icon-image": "dot-10"
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 90%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-lg-s",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "E",
+ "S",
+ "SE",
+ "SW"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ 0.15
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "top"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 95%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 90%)"
+ ]
+ ]
+ },
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "place-city-lg-n",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444862510685.128"
+ },
+ "source": "composite",
+ "source-layer": "place_label",
+ "minzoom": 1,
+ "maxzoom": 14,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<=",
+ "scalerank",
+ 2
+ ],
+ [
+ "==",
+ "type",
+ "city"
+ ],
+ [
+ "in",
+ "ldir",
+ "N",
+ "NE",
+ "NW",
+ "W"
+ ]
+ ],
+ "layout": {
+ "icon-image": "dot-11",
+ "text-font": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ [
+ "DIN Offc Pro Regular",
+ "Arial Unicode MS Regular"
+ ]
+ ],
+ [
+ 8,
+ [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ]
+ ]
+ ]
+ },
+ "text-offset": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ [
+ 0,
+ -0.25
+ ]
+ ],
+ [
+ 8,
+ [
+ 0,
+ 0
+ ]
+ ]
+ ]
+ },
+ "text-anchor": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "bottom"
+ ],
+ [
+ 8,
+ "center"
+ ]
+ ]
+ },
+ "text-field": "{name_en}",
+ "text-max-width": 7,
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 4,
+ 12
+ ],
+ [
+ 10,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": {
+ "base": 1,
+ "stops": [
+ [
+ 7,
+ "hsl(0, 0%, 95%)"
+ ],
+ [
+ 9,
+ "hsl(0, 0%, 90%)"
+ ]
+ ]
+ },
+ "text-opacity": 1,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "icon-opacity": {
+ "base": 1,
+ "stops": [
+ [
+ 7.99,
+ 1
+ ],
+ [
+ 8,
+ 0
+ ]
+ ]
+ },
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "marine-label-sm-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ },
+ "symbol-spacing": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 100
+ ],
+ [
+ 6,
+ 400
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.1,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-sm-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 3,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ ">=",
+ "labelrank",
+ 4
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.1,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 12
+ ],
+ [
+ 6,
+ 16
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-md-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-line-height": 1.1,
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 12
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ },
+ "symbol-spacing": 250,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "symbol-placement": "line",
+ "text-field": "{name_en}",
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-md-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 2,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "in",
+ "labelrank",
+ 2,
+ 3
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 5,
+ "text-letter-spacing": 0.15,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1.1,
+ "stops": [
+ [
+ 2,
+ 14
+ ],
+ [
+ 5,
+ 20
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-lg-ln",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "LineString"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.1,
+ "symbol-placement": "line",
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "marine-label-lg-pt",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856087950.3635"
+ },
+ "source": "composite",
+ "source-layer": "marine_label",
+ "minzoom": 1,
+ "maxzoom": 4,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "==",
+ "$type",
+ "Point"
+ ],
+ [
+ "==",
+ "labelrank",
+ 1
+ ]
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 4,
+ "text-letter-spacing": 0.25,
+ "text-line-height": 1.5,
+ "text-font": [
+ "DIN Offc Pro Italic",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 14
+ ],
+ [
+ 4,
+ 30
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-color": "hsl(0, 0%, 32%)",
+ "text-halo-blur": 0,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)"
+ }
+ },
+ {
+ "id": "state-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 9,
+ "interactive": true,
+ "filter": [
+ "<",
+ "area",
+ 20000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 6,
+ 10
+ ],
+ [
+ 9,
+ 14
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 6,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 5
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "state-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "all",
+ [
+ "<",
+ "area",
+ 80000
+ ],
+ [
+ ">=",
+ "area",
+ 20000
+ ]
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 5,
+ 10
+ ],
+ [
+ 8,
+ 16
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 5,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "state-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856151690.9143"
+ },
+ "source": "composite",
+ "source-layer": "state_label",
+ "minzoom": 3,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "area",
+ 80000
+ ],
+ "layout": {
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 4,
+ 10
+ ],
+ [
+ 7,
+ 18
+ ]
+ ]
+ },
+ "text-transform": "uppercase",
+ "text-font": [
+ "DIN Offc Pro Bold",
+ "Arial Unicode MS Bold"
+ ],
+ "text-padding": 1,
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{abbr}"
+ ],
+ [
+ 4,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-letter-spacing": 0.15,
+ "text-max-width": 6
+ },
+ "paint": {
+ "text-opacity": 1,
+ "text-color": "hsl(0, 0%, 50%)",
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-halo-width": 1,
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-sm",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 10,
+ "interactive": true,
+ "filter": [
+ ">=",
+ "scalerank",
+ 5
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 0.9,
+ "stops": [
+ [
+ 5,
+ 14
+ ],
+ [
+ 9,
+ 22
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-md",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 8,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 3,
+ 4
+ ],
+ "layout": {
+ "text-field": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ "{code}"
+ ],
+ [
+ 2,
+ "{name_en}"
+ ]
+ ]
+ },
+ "text-max-width": 6,
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 3,
+ 10
+ ],
+ [
+ 8,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ },
+ {
+ "id": "country-label-lg",
+ "type": "symbol",
+ "metadata": {
+ "mapbox:group": "1444856144497.7825"
+ },
+ "source": "composite",
+ "source-layer": "country_label",
+ "minzoom": 1,
+ "maxzoom": 7,
+ "interactive": true,
+ "filter": [
+ "in",
+ "scalerank",
+ 1,
+ 2
+ ],
+ "layout": {
+ "text-field": "{name_en}",
+ "text-max-width": {
+ "base": 1,
+ "stops": [
+ [
+ 0,
+ 5
+ ],
+ [
+ 3,
+ 6
+ ]
+ ]
+ },
+ "text-font": [
+ "DIN Offc Pro Medium",
+ "Arial Unicode MS Regular"
+ ],
+ "text-size": {
+ "base": 1,
+ "stops": [
+ [
+ 1,
+ 10
+ ],
+ [
+ 6,
+ 24
+ ]
+ ]
+ }
+ },
+ "paint": {
+ "text-halo-width": 1.25,
+ "text-halo-color": "hsla(0, 0%, 10%, 0.75)",
+ "text-color": "hsl(0, 0%, 45%)",
+ "text-halo-blur": 0
+ }
+ }
+ ],
+ "created": "2016-09-22T20:06:46.804Z",
+ "id": "citerrmcg00662hogpcv4o3w8",
+ "modified": "2016-09-22T20:28:22.514Z",
+ "owner": "justin",
+ "draft": false
+} \ No newline at end of file
diff --git a/platform/ios/benchmark/MBXBenchAppDelegate.h b/platform/ios/benchmark/MBXBenchAppDelegate.h
index e89add93fd..6ae9cdf27c 100644
--- a/platform/ios/benchmark/MBXBenchAppDelegate.h
+++ b/platform/ios/benchmark/MBXBenchAppDelegate.h
@@ -6,4 +6,4 @@ extern NSString * const MBXMapboxAccessTokenDefaultsKey;
@property (strong, nonatomic) UIWindow *window;
-@end \ No newline at end of file
+@end
diff --git a/platform/ios/bitrise.yml b/platform/ios/bitrise.yml
index 6e4771273f..d8a9a4fcd0 100644
--- a/platform/ios/bitrise.yml
+++ b/platform/ios/bitrise.yml
@@ -23,20 +23,37 @@ workflows:
envman add --key SKIPCI --value false
fi
- script:
- title: Run build
+ title: Install Dependencies
run_if: '{{enveq "SKIPCI" "false"}}'
inputs:
- content: |-
#!/bin/bash
set -eu -o pipefail
+ brew install cmake
brew tap mapbox/homebrew-ios-sim-3
brew install mapbox/homebrew-ios-sim-3/ios-sim
- gem install xcpretty --no-rdoc --no-ri
- gem install jazzy --no-rdoc --no-ri
+ - is_debug: 'yes'
+ - script:
+ title: Generate Workspace
+ run_if: '{{enveq "SKIPCI" "false"}}'
+ inputs:
+ - content: |-
+ #!/bin/bash
+ set -eu -o pipefail
export BUILDTYPE=Debug
- make ios
- make test-ios
+ make iproj
- is_debug: 'yes'
+ - xcode-test:
+ title: Run SDK Unit Tests
+ run_if: '{{enveq "SKIPCI" "false"}}'
+ inputs:
+ - project_path: platform/ios/ios.xcworkspace
+ - scheme: CI
+ - deploy-to-bitrise-io:
+ title: Deploy to Bitrise.io
+ run_if: '{{enveq "SKIPCI" "false"}}'
+ inputs:
+ - notify_user_groups: none
- slack:
title: Post to Slack
run_if: '{{enveq "SKIPCI" "false"}}'
diff --git a/platform/ios/config.cmake b/platform/ios/config.cmake
new file mode 100644
index 0000000000..0813d0338f
--- /dev/null
+++ b/platform/ios/config.cmake
@@ -0,0 +1,69 @@
+add_definitions(-DMBGL_USE_GLES2=1)
+
+macro(mbgl_platform_core)
+ set_xcode_property(mbgl-core IPHONEOS_DEPLOYMENT_TARGET "8.0")
+ set_xcode_property(mbgl-core ENABLE_BITCODE "YES")
+ set_xcode_property(mbgl-core BITCODE_GENERATION_MODE bitcode)
+
+ target_sources(mbgl-core
+ # Loop
+ PRIVATE platform/darwin/src/async_task.cpp
+ PRIVATE platform/darwin/src/run_loop.cpp
+ PRIVATE platform/darwin/src/timer.cpp
+
+ # File source
+ PRIVATE platform/darwin/src/http_file_source.mm
+ PRIVATE platform/default/asset_file_source.cpp
+ PRIVATE platform/default/default_file_source.cpp
+ PRIVATE platform/default/local_file_source.cpp
+ PRIVATE platform/default/online_file_source.cpp
+
+ # Offline
+ PRIVATE platform/default/mbgl/storage/offline.cpp
+ PRIVATE platform/default/mbgl/storage/offline_database.cpp
+ PRIVATE platform/default/mbgl/storage/offline_database.hpp
+ PRIVATE platform/default/mbgl/storage/offline_download.cpp
+ PRIVATE platform/default/mbgl/storage/offline_download.hpp
+ PRIVATE platform/default/sqlite3.cpp
+ PRIVATE platform/default/sqlite3.hpp
+
+ # Misc
+ PRIVATE platform/darwin/src/log_nslog.mm
+ PRIVATE platform/darwin/src/nsthread.mm
+ PRIVATE platform/darwin/src/reachability.m
+ PRIVATE platform/darwin/src/string_nsstring.mm
+
+ # Image handling
+ PRIVATE platform/darwin/src/image.mm
+
+ # Headless view
+ PRIVATE platform/darwin/src/headless_backend_eagl.mm
+ PRIVATE platform/default/headless_backend.cpp
+ PRIVATE platform/default/headless_display.cpp
+ PRIVATE platform/default/offscreen_view.cpp
+
+ # Thread pool
+ PRIVATE platform/default/thread_pool.cpp
+ )
+
+ target_add_mason_package(mbgl-core PUBLIC geojson)
+
+ target_compile_options(mbgl-core
+ PRIVATE -fobjc-arc
+ )
+
+ # TODO: Remove this by converting to ARC
+ set_source_files_properties(
+ platform/darwin/src/headless_backend_eagl.mm
+ PROPERTIES
+ COMPILE_FLAGS -fno-objc-arc
+ )
+
+ target_include_directories(mbgl-core
+ PRIVATE platform/default
+ )
+
+ target_link_libraries(mbgl-core
+ PUBLIC -lz
+ )
+endmacro()
diff --git a/platform/ios/docs/Info.plist Keys.md b/platform/ios/docs/Info.plist Keys.md
new file mode 100644
index 0000000000..34d3da9e29
--- /dev/null
+++ b/platform/ios/docs/Info.plist Keys.md
@@ -0,0 +1,21 @@
+# Info.plist Keys
+
+The Mapbox iOS SDK supports custom `Info.plist` keys in your application in order to configure various settings.
+
+## MGLMapboxAccessToken
+
+Set the [Mapbox access token](https://www.mapbox.com/help/define-access-token/) to be used by all instances of `MGLMapView` in the current application.
+
+Mapbox-hosted vector tiles and styles require an API access token, which you can obtain from the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/). Access tokens associate requests to Mapbox’s vector tile and style APIs with your Mapbox account. They also deter other developers from using your styles without your permission.
+
+As an alternative, you can use `+[MGLAccountManager setAccessToken:]` to set a token in code. See [our guide](https://www.mapbox.com/help/ios-private-access-token/) for some tips on keeping access tokens in open source code private.
+
+## MGLMapboxAPIBaseURL
+
+Use this key if you need to customize the API base URL used throughout the SDK. If unset, the default Mapbox API is used.
+
+The default value is `https://api.mapbox.com`.
+
+## MGLMapboxMetricsEnabledSettingShownInApp
+
+If you have implemented custom opt-out of Mapbox Telemetry within the user interface of your app, use this key to disable the built-in check for opt-out support. See [this guide](https://www.mapbox.com/ios-sdk/#telemetry_opt_out) for more details.
diff --git a/platform/ios/docs/doc-README.md b/platform/ios/docs/doc-README.md
index 057dbe719c..22493b1502 100644
--- a/platform/ios/docs/doc-README.md
+++ b/platform/ios/docs/doc-README.md
@@ -1,6 +1,6 @@
# [Mapbox iOS SDK](https://www.mapbox.com/ios-sdk/)
-The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
+The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
![Mapbox iOS SDK screenshots](screenshot.png)
diff --git a/platform/ios/docs/pod-README.md b/platform/ios/docs/pod-README.md
index 1633c7d126..78647b2603 100644
--- a/platform/ios/docs/pod-README.md
+++ b/platform/ios/docs/pod-README.md
@@ -1,6 +1,6 @@
# [Mapbox iOS SDK](https://www.mapbox.com/ios-sdk/)
-The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
+The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 7.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the [Mapbox Style Specification](https://www.mapbox.com/mapbox-gl-style-spec/), applies them to vector tiles that conform to the [Mapbox Vector Tile Specification](https://www.mapbox.com/developers/vector-tiles/), and renders them using OpenGL.
For more information, check out the [Mapbox iOS SDK homepage](https://www.mapbox.com/ios-sdk/) and the [full changelog](https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/CHANGELOG.md) online.
@@ -10,6 +10,8 @@ For more information, check out the [Mapbox iOS SDK homepage](https://www.mapbox
The Mapbox iOS SDK may be installed as either a dynamic framework or a static framework. (To reduce the download size, the static framework is omitted from some distributions; you may need to download the full package from the [release page](https://github.com/mapbox/mapbox-gl-native/releases/).)
+Integrating the Mapbox iOS SDK requires Xcode 7.3 or higher.
+
{{DYNAMIC}}
### Dynamic framework
@@ -50,6 +52,8 @@ If your application targets iOS 7.x, you’ll need to install the static framewo
- libsqlite3.tbd
- libz.tbd
+1. In the Build Settings tab, find the Other Linker Flags setting and add `-ObjC`.
+
{{/STATIC}}
## Configuration
diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj
index 83ae3e6406..9561c741a6 100644
--- a/platform/ios/ios.xcodeproj/project.pbxproj
+++ b/platform/ios/ios.xcodeproj/project.pbxproj
@@ -7,24 +7,163 @@
objects = {
/* Begin PBXBuildFile section */
+ 30E578171DAA85520050F07E /* UIImage+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 30E578111DAA7D690050F07E /* UIImage+MGLAdditions.h */; };
+ 30E578181DAA85520050F07E /* UIImage+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 30E578111DAA7D690050F07E /* UIImage+MGLAdditions.h */; };
+ 30E578191DAA855E0050F07E /* UIImage+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 30E578121DAA7D690050F07E /* UIImage+MGLAdditions.mm */; };
+ 30E5781A1DAA855E0050F07E /* UIImage+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 30E578121DAA7D690050F07E /* UIImage+MGLAdditions.mm */; };
+ 350098BB1D480108004B2AF0 /* MGLVectorSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 350098B91D480108004B2AF0 /* MGLVectorSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 350098BC1D480108004B2AF0 /* MGLVectorSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 350098B91D480108004B2AF0 /* MGLVectorSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 350098BD1D480108004B2AF0 /* MGLVectorSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 350098BA1D480108004B2AF0 /* MGLVectorSource.mm */; };
+ 350098BE1D480108004B2AF0 /* MGLVectorSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 350098BA1D480108004B2AF0 /* MGLVectorSource.mm */; };
+ 350098DC1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 350098DA1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h */; };
+ 350098DD1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 350098DA1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h */; };
+ 350098DE1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 350098DB1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm */; };
+ 350098DF1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 350098DB1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm */; };
+ 3510FFEA1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFE81D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h */; };
+ 3510FFEB1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFE81D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h */; };
+ 3510FFEC1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFE91D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm */; };
+ 3510FFED1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFE91D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm */; };
+ 3510FFF01D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFEE1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h */; };
+ 3510FFF11D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFEE1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h */; };
+ 3510FFF21D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFEF1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm */; };
+ 3510FFF31D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFEF1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm */; };
+ 3510FFF91D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFF71D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h */; };
+ 3510FFFA1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3510FFF71D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h */; };
+ 3510FFFB1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFF81D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm */; };
+ 3510FFFC1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3510FFF81D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm */; };
+ 35136D391D42271A00C20EFD /* MGLBackgroundStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D381D42271A00C20EFD /* MGLBackgroundStyleLayer.mm */; };
+ 35136D3A1D42271A00C20EFD /* MGLBackgroundStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D381D42271A00C20EFD /* MGLBackgroundStyleLayer.mm */; };
+ 35136D3C1D42272500C20EFD /* MGLCircleStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D3B1D42272500C20EFD /* MGLCircleStyleLayer.mm */; };
+ 35136D3D1D42272500C20EFD /* MGLCircleStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D3B1D42272500C20EFD /* MGLCircleStyleLayer.mm */; };
+ 35136D3F1D42273000C20EFD /* MGLLineStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D3E1D42273000C20EFD /* MGLLineStyleLayer.mm */; };
+ 35136D401D42273000C20EFD /* MGLLineStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D3E1D42273000C20EFD /* MGLLineStyleLayer.mm */; };
+ 35136D421D42274500C20EFD /* MGLRasterStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D411D42274500C20EFD /* MGLRasterStyleLayer.mm */; };
+ 35136D431D42274500C20EFD /* MGLRasterStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D411D42274500C20EFD /* MGLRasterStyleLayer.mm */; };
+ 35136D451D42275100C20EFD /* MGLSymbolStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D441D42275100C20EFD /* MGLSymbolStyleLayer.mm */; };
+ 35136D461D42275100C20EFD /* MGLSymbolStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D441D42275100C20EFD /* MGLSymbolStyleLayer.mm */; };
+ 35136D4C1D4277FC00C20EFD /* MGLSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 35136D4A1D4277FC00C20EFD /* MGLSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35136D4D1D4277FC00C20EFD /* MGLSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 35136D4A1D4277FC00C20EFD /* MGLSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35136D4E1D4277FC00C20EFD /* MGLSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D4B1D4277FC00C20EFD /* MGLSource.mm */; };
+ 35136D4F1D4277FC00C20EFD /* MGLSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35136D4B1D4277FC00C20EFD /* MGLSource.mm */; };
35305D481D22AA680007D005 /* NSData+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35305D471D22AA450007D005 /* NSData+MGLAdditions.mm */; };
35305D491D22AA680007D005 /* NSData+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35305D471D22AA450007D005 /* NSData+MGLAdditions.mm */; };
- 35305D4A1D22AA6A0007D005 /* NSData+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35305D461D22AA450007D005 /* NSData+MGLAdditions.h */; settings = {ATTRIBUTES = (Private, ); }; };
- 353794D01D22B3BD002C281C /* NSData+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35305D461D22AA450007D005 /* NSData+MGLAdditions.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 35305D4A1D22AA6A0007D005 /* NSData+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35305D461D22AA450007D005 /* NSData+MGLAdditions.h */; };
+ 3538AA1D1D542239008EC33D /* MGLForegroundStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 3538AA1B1D542239008EC33D /* MGLForegroundStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3538AA1E1D542239008EC33D /* MGLForegroundStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 3538AA1B1D542239008EC33D /* MGLForegroundStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3538AA1F1D542239008EC33D /* MGLForegroundStyleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3538AA1C1D542239008EC33D /* MGLForegroundStyleLayer.m */; };
+ 3538AA201D542239008EC33D /* MGLForegroundStyleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3538AA1C1D542239008EC33D /* MGLForegroundStyleLayer.m */; };
+ 353933F21D3FB753003F57D7 /* MGLCircleStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F11D3FB753003F57D7 /* MGLCircleStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933F31D3FB753003F57D7 /* MGLCircleStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F11D3FB753003F57D7 /* MGLCircleStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933F51D3FB785003F57D7 /* MGLBackgroundStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F41D3FB785003F57D7 /* MGLBackgroundStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933F61D3FB785003F57D7 /* MGLBackgroundStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F41D3FB785003F57D7 /* MGLBackgroundStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933F81D3FB79F003F57D7 /* MGLLineStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F71D3FB79F003F57D7 /* MGLLineStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933F91D3FB79F003F57D7 /* MGLLineStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933F71D3FB79F003F57D7 /* MGLLineStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933FB1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933FA1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933FC1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933FA1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933FE1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933FD1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353933FF1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 353933FD1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 353AFA141D65AB17005A69F4 /* NSDate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 353AFA121D65AB17005A69F4 /* NSDate+MGLAdditions.h */; };
+ 353AFA151D65AB17005A69F4 /* NSDate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 353AFA121D65AB17005A69F4 /* NSDate+MGLAdditions.h */; };
+ 353AFA161D65AB17005A69F4 /* NSDate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 353AFA131D65AB17005A69F4 /* NSDate+MGLAdditions.mm */; };
+ 353AFA171D65AB17005A69F4 /* NSDate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 353AFA131D65AB17005A69F4 /* NSDate+MGLAdditions.mm */; };
+ 353BAEF61D646370009A8DA9 /* amsterdam.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 353BAEF51D646370009A8DA9 /* amsterdam.geojson */; };
+ 353BAEF71D646370009A8DA9 /* amsterdam.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 353BAEF51D646370009A8DA9 /* amsterdam.geojson */; };
353D23961D0B0DFE002BE09D /* MGLAnnotationViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 353D23951D0B0DFE002BE09D /* MGLAnnotationViewTests.m */; };
+ 354B83961D2E873E005D9406 /* MGLUserLocationAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 354B83941D2E873E005D9406 /* MGLUserLocationAnnotationView.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 354B83971D2E873E005D9406 /* MGLUserLocationAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 354B83941D2E873E005D9406 /* MGLUserLocationAnnotationView.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 354B83981D2E873E005D9406 /* MGLUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 354B83951D2E873E005D9406 /* MGLUserLocationAnnotationView.m */; };
+ 354B83991D2E873E005D9406 /* MGLUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 354B83951D2E873E005D9406 /* MGLUserLocationAnnotationView.m */; };
+ 354B839C1D2E9B48005D9406 /* MBXUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 354B839B1D2E9B48005D9406 /* MBXUserLocationAnnotationView.m */; };
+ 35599DED1D46F14E0048254D /* MGLStyleValue.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35599DEA1D46F14E0048254D /* MGLStyleValue.mm */; };
+ 35599DEE1D46F14E0048254D /* MGLStyleValue.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35599DEA1D46F14E0048254D /* MGLStyleValue.mm */; };
+ 3566C7661D4A77BA008152BC /* MGLGeoJSONSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C7641D4A77BA008152BC /* MGLGeoJSONSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3566C7671D4A77BA008152BC /* MGLGeoJSONSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C7641D4A77BA008152BC /* MGLGeoJSONSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3566C7681D4A77BA008152BC /* MGLGeoJSONSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3566C7651D4A77BA008152BC /* MGLGeoJSONSource.mm */; };
+ 3566C7691D4A77BA008152BC /* MGLGeoJSONSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3566C7651D4A77BA008152BC /* MGLGeoJSONSource.mm */; };
+ 3566C76C1D4A8DFA008152BC /* MGLRasterSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C76A1D4A8DFA008152BC /* MGLRasterSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3566C76D1D4A8DFA008152BC /* MGLRasterSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C76A1D4A8DFA008152BC /* MGLRasterSource.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 3566C76E1D4A8DFA008152BC /* MGLRasterSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3566C76B1D4A8DFA008152BC /* MGLRasterSource.mm */; };
+ 3566C76F1D4A8DFA008152BC /* MGLRasterSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3566C76B1D4A8DFA008152BC /* MGLRasterSource.mm */; };
+ 3566C7711D4A9198008152BC /* MGLSource_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C7701D4A9198008152BC /* MGLSource_Private.h */; };
+ 3566C7721D4A9198008152BC /* MGLSource_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 3566C7701D4A9198008152BC /* MGLSource_Private.h */; };
+ 357579801D501E09000B822E /* MGLFillStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3575797F1D501E09000B822E /* MGLFillStyleLayerTests.m */; };
+ 357579831D502AE6000B822E /* MGLRasterStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 357579821D502AE6000B822E /* MGLRasterStyleLayerTests.m */; };
+ 357579851D502AF5000B822E /* MGLSymbolStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 357579841D502AF5000B822E /* MGLSymbolStyleLayerTests.m */; };
+ 357579871D502AFE000B822E /* MGLLineStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 357579861D502AFE000B822E /* MGLLineStyleLayerTests.m */; };
+ 357579891D502B06000B822E /* MGLCircleStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 357579881D502B06000B822E /* MGLCircleStyleLayerTests.m */; };
+ 3575798B1D502B0C000B822E /* MGLBackgroundStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3575798A1D502B0C000B822E /* MGLBackgroundStyleLayerTests.m */; };
+ 3575798E1D502EC7000B822E /* MGLRuntimeStylingHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 3575798D1D502EC7000B822E /* MGLRuntimeStylingHelper.m */; };
+ 359F57461D2FDDA6005217F1 /* MGLUserLocationAnnotationView_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 359F57451D2FDBD5005217F1 /* MGLUserLocationAnnotationView_Private.h */; };
+ 35B82BF81D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35B82BF61D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h */; };
+ 35B82BF91D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35B82BF61D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h */; };
+ 35B82BFA1D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35B82BF71D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm */; };
+ 35B82BFB1D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35B82BF71D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm */; };
+ 35B8E08C1D6C8B5100E768D2 /* MGLFilterTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35B8E08B1D6C8B5100E768D2 /* MGLFilterTests.mm */; };
+ 35CE61821D4165D9004F2359 /* UIColor+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35CE61801D4165D9004F2359 /* UIColor+MGLAdditions.h */; };
+ 35CE61831D4165D9004F2359 /* UIColor+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 35CE61801D4165D9004F2359 /* UIColor+MGLAdditions.h */; };
+ 35CE61841D4165D9004F2359 /* UIColor+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35CE61811D4165D9004F2359 /* UIColor+MGLAdditions.mm */; };
+ 35CE61851D4165D9004F2359 /* UIColor+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35CE61811D4165D9004F2359 /* UIColor+MGLAdditions.mm */; };
+ 35D13AB71D3D15E300AFB4E0 /* MGLStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 35D13AB51D3D15E300AFB4E0 /* MGLStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35D13AB81D3D15E300AFB4E0 /* MGLStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 35D13AB51D3D15E300AFB4E0 /* MGLStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35D13AB91D3D15E300AFB4E0 /* MGLStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35D13AB61D3D15E300AFB4E0 /* MGLStyleLayer.mm */; };
+ 35D13ABA1D3D15E300AFB4E0 /* MGLStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35D13AB61D3D15E300AFB4E0 /* MGLStyleLayer.mm */; };
+ 35D13AC31D3D19DD00AFB4E0 /* MGLFillStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 35D13AC11D3D19DD00AFB4E0 /* MGLFillStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35D13AC41D3D19DD00AFB4E0 /* MGLFillStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 35D13AC11D3D19DD00AFB4E0 /* MGLFillStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 35D13AC51D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35D13AC21D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm */; };
+ 35D13AC61D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 35D13AC21D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm */; };
+ 35E0CFE61D3E501500188327 /* MGLStyle_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E0CFE51D3E501500188327 /* MGLStyle_Private.h */; };
+ 35E0CFE71D3E501500188327 /* MGLStyle_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E0CFE51D3E501500188327 /* MGLStyle_Private.h */; };
+ 35E1A4D81D74336F007AA97F /* MGLValueEvaluator.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E1A4D71D74336F007AA97F /* MGLValueEvaluator.h */; };
+ 35E1A4D91D74336F007AA97F /* MGLValueEvaluator.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E1A4D71D74336F007AA97F /* MGLValueEvaluator.h */; };
35E208A71D24210F00EC9A46 /* MGLNSDataAdditionsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 35E208A61D24210F00EC9A46 /* MGLNSDataAdditionsTests.m */; };
+ 35E79F201D41266300957B9E /* MGLStyleLayer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E79F1F1D41266300957B9E /* MGLStyleLayer_Private.h */; };
+ 35E79F211D41266300957B9E /* MGLStyleLayer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 35E79F1F1D41266300957B9E /* MGLStyleLayer_Private.h */; };
+ 36F1153D1D46080700878E1A /* libmbgl-core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 36F1153B1D46080700878E1A /* libmbgl-core.a */; };
+ 400533011DB0862B0069F638 /* NSArray+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 400532FF1DB0862B0069F638 /* NSArray+MGLAdditions.h */; };
+ 400533021DB0862B0069F638 /* NSArray+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 400533001DB0862B0069F638 /* NSArray+MGLAdditions.mm */; };
+ 400533031DB086490069F638 /* NSArray+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 400533001DB0862B0069F638 /* NSArray+MGLAdditions.mm */; };
4018B1C71CDC287F00F666AF /* MGLAnnotationView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4018B1C41CDC277F00F666AF /* MGLAnnotationView.mm */; };
4018B1C81CDC287F00F666AF /* MGLAnnotationView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4018B1C41CDC277F00F666AF /* MGLAnnotationView.mm */; };
4018B1C91CDC288A00F666AF /* MGLAnnotationView_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 4018B1C31CDC277F00F666AF /* MGLAnnotationView_Private.h */; };
4018B1CA1CDC288E00F666AF /* MGLAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 4018B1C51CDC277F00F666AF /* MGLAnnotationView.h */; settings = {ATTRIBUTES = (Public, ); }; };
4018B1CB1CDC288E00F666AF /* MGLAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = 4018B1C51CDC277F00F666AF /* MGLAnnotationView.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 404326891D5B9B27007111BD /* MGLAnnotationContainerView_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 404326881D5B9B1A007111BD /* MGLAnnotationContainerView_Private.h */; };
+ 4049C29D1DB6CD6C00B3F799 /* MGLPointCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 4049C29B1DB6CD6C00B3F799 /* MGLPointCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 4049C29E1DB6CD6C00B3F799 /* MGLPointCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 4049C29B1DB6CD6C00B3F799 /* MGLPointCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 4049C29F1DB6CD6C00B3F799 /* MGLPointCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4049C29C1DB6CD6C00B3F799 /* MGLPointCollection.mm */; };
+ 4049C2A01DB6CD6C00B3F799 /* MGLPointCollection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4049C29C1DB6CD6C00B3F799 /* MGLPointCollection.mm */; };
+ 4049C2AC1DB6E05500B3F799 /* MGLPointCollection_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 4049C2AB1DB6E05500B3F799 /* MGLPointCollection_Private.h */; };
+ 404C26E21D89B877000AA13D /* MGLTileSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 404C26E01D89B877000AA13D /* MGLTileSet.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 404C26E31D89B877000AA13D /* MGLTileSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 404C26E01D89B877000AA13D /* MGLTileSet.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 404C26E41D89B877000AA13D /* MGLTileSet.mm in Sources */ = {isa = PBXBuildFile; fileRef = 404C26E11D89B877000AA13D /* MGLTileSet.mm */; };
+ 404C26E51D89B877000AA13D /* MGLTileSet.mm in Sources */ = {isa = PBXBuildFile; fileRef = 404C26E11D89B877000AA13D /* MGLTileSet.mm */; };
+ 404C26E71D89C55D000AA13D /* MGLTileSet_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 404C26E61D89C515000AA13D /* MGLTileSet_Private.h */; };
+ 404C26E81D89C55D000AA13D /* MGLTileSet_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 404C26E61D89C515000AA13D /* MGLTileSet_Private.h */; };
+ 4085AF091D933DEA00F11B22 /* MGLTileSetTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4085AF081D933DEA00F11B22 /* MGLTileSetTests.mm */; };
+ 408AA8571DAEDA1700022900 /* NSDictionary+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 408AA8551DAEDA0800022900 /* NSDictionary+MGLAdditions.h */; };
+ 408AA8581DAEDA1E00022900 /* NSDictionary+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 408AA8561DAEDA0800022900 /* NSDictionary+MGLAdditions.mm */; };
+ 408AA8591DAEDA1E00022900 /* NSDictionary+MGLAdditions.mm in Sources */ = {isa = PBXBuildFile; fileRef = 408AA8561DAEDA0800022900 /* NSDictionary+MGLAdditions.mm */; };
+ 40CF6DBB1DAC3C6600A4D18B /* MGLShape_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 40CF6DBA1DAC3C1800A4D18B /* MGLShape_Private.h */; };
+ 40CFA6511D7875BB008103BD /* MGLGeoJSONSourceTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 40CFA6501D787579008103BD /* MGLGeoJSONSourceTests.mm */; };
40EDA1C01CFE0E0200D9EA68 /* MGLAnnotationContainerView.h in Headers */ = {isa = PBXBuildFile; fileRef = 40EDA1BD1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.h */; };
40EDA1C11CFE0E0500D9EA68 /* MGLAnnotationContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 40EDA1BE1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.m */; };
40EDA1C21CFE0E0500D9EA68 /* MGLAnnotationContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 40EDA1BE1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.m */; };
+ 40F887701D7A1E58008ECB67 /* MGLGeoJSONSource_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 40F8876F1D7A1DB8008ECB67 /* MGLGeoJSONSource_Private.h */; };
+ 40F887711D7A1E59008ECB67 /* MGLGeoJSONSource_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 40F8876F1D7A1DB8008ECB67 /* MGLGeoJSONSource_Private.h */; };
40FDA76B1CCAAA6800442548 /* MBXAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 40FDA76A1CCAAA6800442548 /* MBXAnnotationView.m */; };
+ 554180421D2E97DE00012372 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 554180411D2E97DE00012372 /* OpenGLES.framework */; };
+ 55D8C9961D0F18CE00F42F10 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 55D8C9951D0F18CE00F42F10 /* libsqlite3.tbd */; };
+ 7E016D7E1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E016D7C1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h */; };
+ 7E016D7F1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E016D7C1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h */; };
+ 7E016D801D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E016D7D1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m */; };
+ 7E016D811D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E016D7D1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m */; };
+ 7E016D841D9E890300A29A21 /* MGLPolygon+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E016D821D9E890300A29A21 /* MGLPolygon+MGLAdditions.h */; };
+ 7E016D851D9E890300A29A21 /* MGLPolygon+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E016D821D9E890300A29A21 /* MGLPolygon+MGLAdditions.h */; };
+ 7E016D861D9E890300A29A21 /* MGLPolygon+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E016D831D9E890300A29A21 /* MGLPolygon+MGLAdditions.m */; };
+ 7E016D871D9E890300A29A21 /* MGLPolygon+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E016D831D9E890300A29A21 /* MGLPolygon+MGLAdditions.m */; };
DA0CD5901CF56F6A00A5F5A5 /* MGLFeatureTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA0CD58F1CF56F6A00A5F5A5 /* MGLFeatureTests.mm */; };
- DA17BE301CC4BAC300402C41 /* MGLMapView_Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = DA17BE2F1CC4BAC300402C41 /* MGLMapView_Internal.h */; };
- DA17BE311CC4BDAA00402C41 /* MGLMapView_Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = DA17BE2F1CC4BAC300402C41 /* MGLMapView_Internal.h */; };
+ DA17BE301CC4BAC300402C41 /* MGLMapView_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA17BE2F1CC4BAC300402C41 /* MGLMapView_Private.h */; };
+ DA17BE311CC4BDAA00402C41 /* MGLMapView_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA17BE2F1CC4BAC300402C41 /* MGLMapView_Private.h */; };
DA1DC96A1CB6C6B7006E619F /* MBXCustomCalloutView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA1DC9671CB6C6B7006E619F /* MBXCustomCalloutView.m */; };
DA1DC96B1CB6C6B7006E619F /* MBXOfflinePacksTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA1DC9691CB6C6B7006E619F /* MBXOfflinePacksTableViewController.m */; };
DA1DC9701CB6C6CE006E619F /* points.geojson in Resources */ = {isa = PBXBuildFile; fileRef = DA1DC96C1CB6C6CE006E619F /* points.geojson */; };
@@ -35,11 +174,13 @@
DA1DC99B1CB6E064006E619F /* MBXViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DA1DC99A1CB6E064006E619F /* MBXViewController.m */; };
DA1DC99D1CB6E076006E619F /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DA1DC99C1CB6E076006E619F /* Default-568h@2x.png */; };
DA1DC99F1CB6E088006E619F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DA1DC99E1CB6E088006E619F /* Assets.xcassets */; };
+ DA2207BF1DC0805F0002F84D /* MGLStyleValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA2207BE1DC0805F0002F84D /* MGLStyleValueTests.swift */; };
DA25D5C01CCD9F8400607828 /* Root.plist in Resources */ = {isa = PBXBuildFile; fileRef = DA25D5BF1CCD9F8400607828 /* Root.plist */; };
DA25D5C61CCDA06800607828 /* Root.strings in Resources */ = {isa = PBXBuildFile; fileRef = DA25D5C41CCDA06800607828 /* Root.strings */; };
DA25D5CD1CCDA11500607828 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = DA25D5B91CCD9EDE00607828 /* Settings.bundle */; };
DA27C24E1CBB3811000B0ECD /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA27C24D1CBB3811000B0ECD /* GLKit.framework */; };
DA27C24F1CBB4C11000B0ECD /* MGLAccountManager_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA8847FF1CBAFA6200AB86E3 /* MGLAccountManager_Private.h */; };
+ DA2DBBCE1D51E80400D38FF9 /* MGLStyleLayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DA2DBBCD1D51E80400D38FF9 /* MGLStyleLayerTests.m */; };
DA2E88561CC036F400F24E7B /* Mapbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA8847D21CBAF91600AB86E3 /* Mapbox.framework */; };
DA2E88611CC0382C00F24E7B /* MGLGeometryTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA2E885C1CC0382C00F24E7B /* MGLGeometryTests.mm */; };
DA2E88621CC0382C00F24E7B /* MGLOfflinePackTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DA2E885D1CC0382C00F24E7B /* MGLOfflinePackTests.m */; };
@@ -65,6 +206,10 @@
DA35A2CA1CCAAAD200E826B2 /* NSValue+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = DA35A2C71CCAAAD200E826B2 /* NSValue+MGLAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA35A2CB1CCAAAD200E826B2 /* NSValue+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DA35A2C81CCAAAD200E826B2 /* NSValue+MGLAdditions.m */; };
DA35A2CC1CCAAAD200E826B2 /* NSValue+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DA35A2C81CCAAAD200E826B2 /* NSValue+MGLAdditions.m */; };
+ DA6408DB1DA4E7D300908C90 /* MGLVectorStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = DA6408D91DA4E7D300908C90 /* MGLVectorStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ DA6408DC1DA4E7D300908C90 /* MGLVectorStyleLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = DA6408D91DA4E7D300908C90 /* MGLVectorStyleLayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ DA6408DD1DA4E7D300908C90 /* MGLVectorStyleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = DA6408DA1DA4E7D300908C90 /* MGLVectorStyleLayer.m */; };
+ DA6408DE1DA4E7D300908C90 /* MGLVectorStyleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = DA6408DA1DA4E7D300908C90 /* MGLVectorStyleLayer.m */; };
DA737EE11D056A4E005BDA16 /* MGLMapViewDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DA737EE01D056A4E005BDA16 /* MGLMapViewDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA737EE21D056A4E005BDA16 /* MGLMapViewDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DA737EE01D056A4E005BDA16 /* MGLMapViewDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA821D061CCC6D59007508D4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DA821D041CCC6D59007508D4 /* LaunchScreen.storyboard */; };
@@ -98,10 +243,10 @@
DA8848221CBAFA6200AB86E3 /* MGLOfflineRegion_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA8848081CBAFA6200AB86E3 /* MGLOfflineRegion_Private.h */; };
DA8848231CBAFA6200AB86E3 /* MGLOfflineStorage_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA8848091CBAFA6200AB86E3 /* MGLOfflineStorage_Private.h */; };
DA8848241CBAFA6200AB86E3 /* MGLOfflineStorage.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480A1CBAFA6200AB86E3 /* MGLOfflineStorage.mm */; };
- DA8848251CBAFA6200AB86E3 /* MGLPointAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.m */; };
+ DA8848251CBAFA6200AB86E3 /* MGLPointAnnotation.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.mm */; };
DA8848261CBAFA6200AB86E3 /* MGLPolygon.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480C1CBAFA6200AB86E3 /* MGLPolygon.mm */; };
DA8848271CBAFA6200AB86E3 /* MGLPolyline.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480D1CBAFA6200AB86E3 /* MGLPolyline.mm */; };
- DA8848281CBAFA6200AB86E3 /* MGLShape.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88480E1CBAFA6200AB86E3 /* MGLShape.m */; };
+ DA8848281CBAFA6200AB86E3 /* MGLShape.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480E1CBAFA6200AB86E3 /* MGLShape.mm */; };
DA8848291CBAFA6200AB86E3 /* MGLStyle.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480F1CBAFA6200AB86E3 /* MGLStyle.mm */; };
DA88482A1CBAFA6200AB86E3 /* MGLTilePyramidOfflineRegion.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA8848101CBAFA6200AB86E3 /* MGLTilePyramidOfflineRegion.mm */; };
DA88482B1CBAFA6200AB86E3 /* MGLTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848111CBAFA6200AB86E3 /* MGLTypes.m */; };
@@ -131,8 +276,8 @@
DA8848591CBAFB9800AB86E3 /* MGLMapView.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88484A1CBAFB9800AB86E3 /* MGLMapView.mm */; };
DA88485A1CBAFB9800AB86E3 /* MGLUserLocation_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DA88484B1CBAFB9800AB86E3 /* MGLUserLocation_Private.h */; };
DA88485B1CBAFB9800AB86E3 /* MGLUserLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484C1CBAFB9800AB86E3 /* MGLUserLocation.m */; };
- DA88485C1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = DA88484D1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.h */; };
- DA88485D1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484E1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m */; };
+ DA88485C1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.h in Headers */ = {isa = PBXBuildFile; fileRef = DA88484D1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.h */; };
+ DA88485D1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484E1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m */; };
DA8848601CBAFC2E00AB86E3 /* Mapbox.h in Headers */ = {isa = PBXBuildFile; fileRef = DA88485E1CBAFC2E00AB86E3 /* Mapbox.h */; settings = {ATTRIBUTES = (Public, ); }; };
DA88486D1CBAFCC100AB86E3 /* Compass.png in Resources */ = {isa = PBXBuildFile; fileRef = DA8848631CBAFCC100AB86E3 /* Compass.png */; };
DA88486E1CBAFCC100AB86E3 /* Compass@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DA8848641CBAFCC100AB86E3 /* Compass@2x.png */; };
@@ -153,7 +298,6 @@
DA88488B1CBB037E00AB86E3 /* SMCalloutView.h in Headers */ = {isa = PBXBuildFile; fileRef = DA8848891CBB037E00AB86E3 /* SMCalloutView.h */; };
DA88488C1CBB037E00AB86E3 /* SMCalloutView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88488A1CBB037E00AB86E3 /* SMCalloutView.m */; };
DA88488E1CBB047F00AB86E3 /* reachability.h in Headers */ = {isa = PBXBuildFile; fileRef = DA88488D1CBB047F00AB86E3 /* reachability.h */; };
- DA8848901CBB048E00AB86E3 /* reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88488F1CBB048E00AB86E3 /* reachability.m */; };
DA8933A31CCC95B000E68420 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = DA89339F1CCC951200E68420 /* Localizable.strings */; };
DA8933BC1CCD2CA100E68420 /* Foundation.strings in Resources */ = {isa = PBXBuildFile; fileRef = DA8933BA1CCD2CA100E68420 /* Foundation.strings */; };
DA8933BF1CCD2CAD00E68420 /* Foundation.stringsdict in Resources */ = {isa = PBXBuildFile; fileRef = DA8933BD1CCD2CAD00E68420 /* Foundation.stringsdict */; };
@@ -187,17 +331,16 @@
DAA4E41F1CBB730400178DFB /* MGLMultiPoint.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA8848051CBAFA6200AB86E3 /* MGLMultiPoint.mm */; };
DAA4E4201CBB730400178DFB /* MGLOfflinePack.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA8848071CBAFA6200AB86E3 /* MGLOfflinePack.mm */; };
DAA4E4211CBB730400178DFB /* MGLOfflineStorage.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480A1CBAFA6200AB86E3 /* MGLOfflineStorage.mm */; };
- DAA4E4221CBB730400178DFB /* MGLPointAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.m */; };
+ DAA4E4221CBB730400178DFB /* MGLPointAnnotation.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.mm */; };
DAA4E4231CBB730400178DFB /* MGLPolygon.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480C1CBAFA6200AB86E3 /* MGLPolygon.mm */; };
DAA4E4241CBB730400178DFB /* MGLPolyline.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480D1CBAFA6200AB86E3 /* MGLPolyline.mm */; };
- DAA4E4251CBB730400178DFB /* MGLShape.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88480E1CBAFA6200AB86E3 /* MGLShape.m */; };
+ DAA4E4251CBB730400178DFB /* MGLShape.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480E1CBAFA6200AB86E3 /* MGLShape.mm */; };
DAA4E4261CBB730400178DFB /* MGLStyle.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88480F1CBAFA6200AB86E3 /* MGLStyle.mm */; };
DAA4E4271CBB730400178DFB /* MGLTilePyramidOfflineRegion.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA8848101CBAFA6200AB86E3 /* MGLTilePyramidOfflineRegion.mm */; };
DAA4E4281CBB730400178DFB /* MGLTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848111CBAFA6200AB86E3 /* MGLTypes.m */; };
DAA4E4291CBB730400178DFB /* NSBundle+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848131CBAFA6200AB86E3 /* NSBundle+MGLAdditions.m */; };
DAA4E42A1CBB730400178DFB /* NSProcessInfo+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848161CBAFA6200AB86E3 /* NSProcessInfo+MGLAdditions.m */; };
DAA4E42B1CBB730400178DFB /* NSString+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848181CBAFA6200AB86E3 /* NSString+MGLAdditions.m */; };
- DAA4E42C1CBB730400178DFB /* reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88488F1CBB048E00AB86E3 /* reachability.m */; };
DAA4E42D1CBB730400178DFB /* MGLAnnotationImage.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848411CBAFB9800AB86E3 /* MGLAnnotationImage.m */; };
DAA4E42E1CBB730400178DFB /* MGLAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848431CBAFB9800AB86E3 /* MGLAPIClient.m */; };
DAA4E42F1CBB730400178DFB /* MGLCompactCalloutView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848451CBAFB9800AB86E3 /* MGLCompactCalloutView.m */; };
@@ -205,10 +348,13 @@
DAA4E4311CBB730400178DFB /* MGLMapboxEvents.m in Sources */ = {isa = PBXBuildFile; fileRef = DA8848491CBAFB9800AB86E3 /* MGLMapboxEvents.m */; };
DAA4E4321CBB730400178DFB /* MGLMapView.mm in Sources */ = {isa = PBXBuildFile; fileRef = DA88484A1CBAFB9800AB86E3 /* MGLMapView.mm */; };
DAA4E4331CBB730400178DFB /* MGLUserLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484C1CBAFB9800AB86E3 /* MGLUserLocation.m */; };
- DAA4E4341CBB730400178DFB /* MGLUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484E1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m */; };
+ DAA4E4341CBB730400178DFB /* MGLFaux3DUserLocationAnnotationView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88484E1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m */; };
DAA4E4351CBB730400178DFB /* SMCalloutView.m in Sources */ = {isa = PBXBuildFile; fileRef = DA88488A1CBB037E00AB86E3 /* SMCalloutView.m */; };
DAABF73D1CBC59BB005B1825 /* libmbgl-core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DAABF73B1CBC59BB005B1825 /* libmbgl-core.a */; };
- DAABF73E1CBC59BB005B1825 /* libmbgl-platform-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DAABF73C1CBC59BB005B1825 /* libmbgl-platform-ios.a */; };
+ DAAF722B1DA903C700312FA4 /* MGLStyleValue.h in Headers */ = {isa = PBXBuildFile; fileRef = DAAF72291DA903C700312FA4 /* MGLStyleValue.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ DAAF722C1DA903C700312FA4 /* MGLStyleValue.h in Headers */ = {isa = PBXBuildFile; fileRef = DAAF72291DA903C700312FA4 /* MGLStyleValue.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ DAAF722D1DA903C700312FA4 /* MGLStyleValue_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DAAF722A1DA903C700312FA4 /* MGLStyleValue_Private.h */; };
+ DAAF722E1DA903C700312FA4 /* MGLStyleValue_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = DAAF722A1DA903C700312FA4 /* MGLStyleValue_Private.h */; };
DABCABAC1CB80692000A7C39 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DABCABAB1CB80692000A7C39 /* main.m */; };
DABCABAF1CB80692000A7C39 /* MBXBenchAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DABCABAE1CB80692000A7C39 /* MBXBenchAppDelegate.m */; };
DABCABB21CB80692000A7C39 /* MBXBenchViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = DABCABB11CB80692000A7C39 /* MBXBenchViewController.mm */; };
@@ -249,6 +395,17 @@
DAD165791CF4CDFF001FF4B9 /* MGLShapeCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = DAD165761CF4CDFF001FF4B9 /* MGLShapeCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
DAD1657A1CF4CDFF001FF4B9 /* MGLShapeCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = DAD165771CF4CDFF001FF4B9 /* MGLShapeCollection.m */; };
DAD1657B1CF4CDFF001FF4B9 /* MGLShapeCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = DAD165771CF4CDFF001FF4B9 /* MGLShapeCollection.m */; };
+ DAED38631D62D0FC00D7640F /* NSURL+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = DAED38611D62D0FC00D7640F /* NSURL+MGLAdditions.h */; };
+ DAED38641D62D0FC00D7640F /* NSURL+MGLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = DAED38611D62D0FC00D7640F /* NSURL+MGLAdditions.h */; };
+ DAED38651D62D0FC00D7640F /* NSURL+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DAED38621D62D0FC00D7640F /* NSURL+MGLAdditions.m */; };
+ DAED38661D62D0FC00D7640F /* NSURL+MGLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = DAED38621D62D0FC00D7640F /* NSURL+MGLAdditions.m */; };
+ DD0902A91DB1929D00C5BDCE /* MGLNetworkConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = DD0902A21DB18DE700C5BDCE /* MGLNetworkConfiguration.m */; };
+ DD0902AA1DB1929D00C5BDCE /* MGLNetworkConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = DD0902A21DB18DE700C5BDCE /* MGLNetworkConfiguration.m */; };
+ DD0902AB1DB192A800C5BDCE /* MGLNetworkConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = DD0902A41DB18F1B00C5BDCE /* MGLNetworkConfiguration.h */; };
+ DD4823751D94AE6C00EB71B7 /* fill_filter_style.json in Resources */ = {isa = PBXBuildFile; fileRef = DD4823721D94AE6C00EB71B7 /* fill_filter_style.json */; };
+ DD4823761D94AE6C00EB71B7 /* line_filter_style.json in Resources */ = {isa = PBXBuildFile; fileRef = DD4823731D94AE6C00EB71B7 /* line_filter_style.json */; };
+ DD4823771D94AE6C00EB71B7 /* numeric_filter_style.json in Resources */ = {isa = PBXBuildFile; fileRef = DD4823741D94AE6C00EB71B7 /* numeric_filter_style.json */; };
+ DD58A4C61D822BD000E1F038 /* MGLExpressionTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = DD58A4C51D822BD000E1F038 /* MGLExpressionTests.mm */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -331,20 +488,104 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
+ 30E578111DAA7D690050F07E /* UIImage+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImage+MGLAdditions.h"; path = "src/UIImage+MGLAdditions.h"; sourceTree = SOURCE_ROOT; };
+ 30E578121DAA7D690050F07E /* UIImage+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = "UIImage+MGLAdditions.mm"; path = "src/UIImage+MGLAdditions.mm"; sourceTree = SOURCE_ROOT; };
+ 350098B91D480108004B2AF0 /* MGLVectorSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorSource.h; sourceTree = "<group>"; };
+ 350098BA1D480108004B2AF0 /* MGLVectorSource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLVectorSource.mm; sourceTree = "<group>"; };
+ 350098DA1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSValue+MGLStyleAttributeAdditions.h"; sourceTree = "<group>"; };
+ 350098DB1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSValue+MGLStyleAttributeAdditions.mm"; sourceTree = "<group>"; };
+ 3510FFE81D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSComparisonPredicate+MGLAdditions.h"; sourceTree = "<group>"; };
+ 3510FFE91D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSComparisonPredicate+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 3510FFEE1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSExpression+MGLAdditions.h"; sourceTree = "<group>"; };
+ 3510FFEF1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSExpression+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 3510FFF71D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSCompoundPredicate+MGLAdditions.h"; sourceTree = "<group>"; };
+ 3510FFF81D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSCompoundPredicate+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 35136D381D42271A00C20EFD /* MGLBackgroundStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLBackgroundStyleLayer.mm; sourceTree = "<group>"; };
+ 35136D3B1D42272500C20EFD /* MGLCircleStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLCircleStyleLayer.mm; sourceTree = "<group>"; };
+ 35136D3E1D42273000C20EFD /* MGLLineStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLLineStyleLayer.mm; sourceTree = "<group>"; };
+ 35136D411D42274500C20EFD /* MGLRasterStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLRasterStyleLayer.mm; sourceTree = "<group>"; };
+ 35136D441D42275100C20EFD /* MGLSymbolStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLSymbolStyleLayer.mm; sourceTree = "<group>"; };
+ 35136D4A1D4277FC00C20EFD /* MGLSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLSource.h; sourceTree = "<group>"; };
+ 35136D4B1D4277FC00C20EFD /* MGLSource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLSource.mm; sourceTree = "<group>"; };
35305D461D22AA450007D005 /* NSData+MGLAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSData+MGLAdditions.h"; sourceTree = "<group>"; };
35305D471D22AA450007D005 /* NSData+MGLAdditions.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSData+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 3538AA1B1D542239008EC33D /* MGLForegroundStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLForegroundStyleLayer.h; sourceTree = "<group>"; };
+ 3538AA1C1D542239008EC33D /* MGLForegroundStyleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLForegroundStyleLayer.m; sourceTree = "<group>"; };
+ 353933F11D3FB753003F57D7 /* MGLCircleStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLCircleStyleLayer.h; sourceTree = "<group>"; };
+ 353933F41D3FB785003F57D7 /* MGLBackgroundStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLBackgroundStyleLayer.h; sourceTree = "<group>"; };
+ 353933F71D3FB79F003F57D7 /* MGLLineStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLLineStyleLayer.h; sourceTree = "<group>"; };
+ 353933FA1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLRasterStyleLayer.h; sourceTree = "<group>"; };
+ 353933FD1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLSymbolStyleLayer.h; sourceTree = "<group>"; };
+ 353AFA121D65AB17005A69F4 /* NSDate+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDate+MGLAdditions.h"; sourceTree = "<group>"; };
+ 353AFA131D65AB17005A69F4 /* NSDate+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSDate+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 353BAEF51D646370009A8DA9 /* amsterdam.geojson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = amsterdam.geojson; path = ../../darwin/test/amsterdam.geojson; sourceTree = "<group>"; };
353D23951D0B0DFE002BE09D /* MGLAnnotationViewTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLAnnotationViewTests.m; sourceTree = "<group>"; };
+ 354B83941D2E873E005D9406 /* MGLUserLocationAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLUserLocationAnnotationView.h; sourceTree = "<group>"; };
+ 354B83951D2E873E005D9406 /* MGLUserLocationAnnotationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLUserLocationAnnotationView.m; sourceTree = "<group>"; };
+ 354B839A1D2E9B48005D9406 /* MBXUserLocationAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MBXUserLocationAnnotationView.h; sourceTree = "<group>"; };
+ 354B839B1D2E9B48005D9406 /* MBXUserLocationAnnotationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBXUserLocationAnnotationView.m; sourceTree = "<group>"; };
+ 35599DEA1D46F14E0048254D /* MGLStyleValue.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLStyleValue.mm; sourceTree = "<group>"; };
+ 3566C7641D4A77BA008152BC /* MGLGeoJSONSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLGeoJSONSource.h; sourceTree = "<group>"; };
+ 3566C7651D4A77BA008152BC /* MGLGeoJSONSource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLGeoJSONSource.mm; sourceTree = "<group>"; };
+ 3566C76A1D4A8DFA008152BC /* MGLRasterSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLRasterSource.h; sourceTree = "<group>"; };
+ 3566C76B1D4A8DFA008152BC /* MGLRasterSource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLRasterSource.mm; sourceTree = "<group>"; };
+ 3566C7701D4A9198008152BC /* MGLSource_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLSource_Private.h; sourceTree = "<group>"; };
+ 3575797F1D501E09000B822E /* MGLFillStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLFillStyleLayerTests.m; path = ../../darwin/test/MGLFillStyleLayerTests.m; sourceTree = "<group>"; };
+ 357579821D502AE6000B822E /* MGLRasterStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLRasterStyleLayerTests.m; path = ../../darwin/test/MGLRasterStyleLayerTests.m; sourceTree = "<group>"; };
+ 357579841D502AF5000B822E /* MGLSymbolStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLSymbolStyleLayerTests.m; path = ../../darwin/test/MGLSymbolStyleLayerTests.m; sourceTree = "<group>"; };
+ 357579861D502AFE000B822E /* MGLLineStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLLineStyleLayerTests.m; path = ../../darwin/test/MGLLineStyleLayerTests.m; sourceTree = "<group>"; };
+ 357579881D502B06000B822E /* MGLCircleStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLCircleStyleLayerTests.m; path = ../../darwin/test/MGLCircleStyleLayerTests.m; sourceTree = "<group>"; };
+ 3575798A1D502B0C000B822E /* MGLBackgroundStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLBackgroundStyleLayerTests.m; path = ../../darwin/test/MGLBackgroundStyleLayerTests.m; sourceTree = "<group>"; };
+ 3575798C1D502EC7000B822E /* MGLRuntimeStylingHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MGLRuntimeStylingHelper.h; path = ../../darwin/test/MGLRuntimeStylingHelper.h; sourceTree = "<group>"; };
+ 3575798D1D502EC7000B822E /* MGLRuntimeStylingHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLRuntimeStylingHelper.m; path = ../../darwin/test/MGLRuntimeStylingHelper.m; sourceTree = "<group>"; };
+ 359F57451D2FDBD5005217F1 /* MGLUserLocationAnnotationView_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLUserLocationAnnotationView_Private.h; sourceTree = "<group>"; };
+ 35B82BF61D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSPredicate+MGLAdditions.h"; sourceTree = "<group>"; };
+ 35B82BF71D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSPredicate+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 35B8E08B1D6C8B5100E768D2 /* MGLFilterTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLFilterTests.mm; path = ../../darwin/test/MGLFilterTests.mm; sourceTree = "<group>"; };
+ 35CE61801D4165D9004F2359 /* UIColor+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+MGLAdditions.h"; sourceTree = "<group>"; };
+ 35CE61811D4165D9004F2359 /* UIColor+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "UIColor+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 35D13AB51D3D15E300AFB4E0 /* MGLStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLStyleLayer.h; sourceTree = "<group>"; };
+ 35D13AB61D3D15E300AFB4E0 /* MGLStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLStyleLayer.mm; sourceTree = "<group>"; };
+ 35D13AC11D3D19DD00AFB4E0 /* MGLFillStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFillStyleLayer.h; sourceTree = "<group>"; };
+ 35D13AC21D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLFillStyleLayer.mm; sourceTree = "<group>"; };
+ 35E0CFE51D3E501500188327 /* MGLStyle_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLStyle_Private.h; sourceTree = "<group>"; };
+ 35E1A4D71D74336F007AA97F /* MGLValueEvaluator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLValueEvaluator.h; sourceTree = "<group>"; };
35E208A61D24210F00EC9A46 /* MGLNSDataAdditionsTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLNSDataAdditionsTests.m; sourceTree = "<group>"; };
+ 35E79F1F1D41266300957B9E /* MGLStyleLayer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLStyleLayer_Private.h; sourceTree = "<group>"; };
+ 36F1153B1D46080700878E1A /* libmbgl-core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmbgl-core.a"; path = "build/Debug-iphoneos/libmbgl-core.a"; sourceTree = "<group>"; };
+ 36F1153C1D46080700878E1A /* libmbgl-platform-ios.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmbgl-platform-ios.a"; path = "build/Debug-iphoneos/libmbgl-platform-ios.a"; sourceTree = "<group>"; };
+ 400532FF1DB0862B0069F638 /* NSArray+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+MGLAdditions.h"; sourceTree = "<group>"; };
+ 400533001DB0862B0069F638 /* NSArray+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSArray+MGLAdditions.mm"; sourceTree = "<group>"; };
4018B1C31CDC277F00F666AF /* MGLAnnotationView_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLAnnotationView_Private.h; sourceTree = "<group>"; };
4018B1C41CDC277F00F666AF /* MGLAnnotationView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLAnnotationView.mm; sourceTree = "<group>"; };
4018B1C51CDC277F00F666AF /* MGLAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLAnnotationView.h; sourceTree = "<group>"; };
402E9DE01CD2C76200FD4519 /* Mapbox.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Mapbox.playground; sourceTree = "<group>"; };
+ 404326881D5B9B1A007111BD /* MGLAnnotationContainerView_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLAnnotationContainerView_Private.h; sourceTree = "<group>"; };
+ 4049C29B1DB6CD6C00B3F799 /* MGLPointCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLPointCollection.h; sourceTree = "<group>"; };
+ 4049C29C1DB6CD6C00B3F799 /* MGLPointCollection.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLPointCollection.mm; sourceTree = "<group>"; };
+ 4049C2AB1DB6E05500B3F799 /* MGLPointCollection_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLPointCollection_Private.h; sourceTree = "<group>"; };
+ 404C26E01D89B877000AA13D /* MGLTileSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLTileSet.h; sourceTree = "<group>"; };
+ 404C26E11D89B877000AA13D /* MGLTileSet.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLTileSet.mm; sourceTree = "<group>"; };
+ 404C26E61D89C515000AA13D /* MGLTileSet_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLTileSet_Private.h; sourceTree = "<group>"; };
+ 4085AF081D933DEA00F11B22 /* MGLTileSetTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLTileSetTests.mm; path = ../../darwin/test/MGLTileSetTests.mm; sourceTree = "<group>"; };
+ 408AA8551DAEDA0800022900 /* NSDictionary+MGLAdditions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDictionary+MGLAdditions.h"; sourceTree = "<group>"; };
+ 408AA8561DAEDA0800022900 /* NSDictionary+MGLAdditions.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSDictionary+MGLAdditions.mm"; sourceTree = "<group>"; };
+ 40CF6DBA1DAC3C1800A4D18B /* MGLShape_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLShape_Private.h; sourceTree = "<group>"; };
+ 40CFA6501D787579008103BD /* MGLGeoJSONSourceTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLGeoJSONSourceTests.mm; path = ../../darwin/test/MGLGeoJSONSourceTests.mm; sourceTree = "<group>"; };
40EDA1BD1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLAnnotationContainerView.h; sourceTree = "<group>"; };
40EDA1BE1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLAnnotationContainerView.m; sourceTree = "<group>"; };
+ 40F8876F1D7A1DB8008ECB67 /* MGLGeoJSONSource_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLGeoJSONSource_Private.h; sourceTree = "<group>"; };
40FDA7691CCAAA6800442548 /* MBXAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MBXAnnotationView.h; sourceTree = "<group>"; };
40FDA76A1CCAAA6800442548 /* MBXAnnotationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBXAnnotationView.m; sourceTree = "<group>"; };
+ 554180411D2E97DE00012372 /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
+ 55D8C9941D0F133500F42F10 /* config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = config.xcconfig; path = ../../build/ios/config.xcconfig; sourceTree = "<group>"; };
+ 55D8C9951D0F18CE00F42F10 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
+ 7E016D7C1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MGLPolyline+MGLAdditions.h"; sourceTree = "<group>"; };
+ 7E016D7D1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MGLPolyline+MGLAdditions.m"; sourceTree = "<group>"; };
+ 7E016D821D9E890300A29A21 /* MGLPolygon+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MGLPolygon+MGLAdditions.h"; sourceTree = "<group>"; };
+ 7E016D831D9E890300A29A21 /* MGLPolygon+MGLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MGLPolygon+MGLAdditions.m"; sourceTree = "<group>"; };
DA0CD58F1CF56F6A00A5F5A5 /* MGLFeatureTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLFeatureTests.mm; path = ../../darwin/test/MGLFeatureTests.mm; sourceTree = "<group>"; };
- DA17BE2F1CC4BAC300402C41 /* MGLMapView_Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLMapView_Internal.h; sourceTree = "<group>"; };
+ DA17BE2F1CC4BAC300402C41 /* MGLMapView_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLMapView_Private.h; sourceTree = "<group>"; };
DA1DC94A1CB6C1C2006E619F /* Mapbox GL.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mapbox GL.app"; sourceTree = BUILT_PRODUCTS_DIR; };
DA1DC9501CB6C1C2006E619F /* MBXAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MBXAppDelegate.h; sourceTree = "<group>"; };
DA1DC9531CB6C1C2006E619F /* MBXViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MBXViewController.h; sourceTree = "<group>"; };
@@ -361,10 +602,14 @@
DA1DC99A1CB6E064006E619F /* MBXViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBXViewController.m; sourceTree = "<group>"; };
DA1DC99C1CB6E076006E619F /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
DA1DC99E1CB6E088006E619F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ DA2207BD1DC0805F0002F84D /* test-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "test-Bridging-Header.h"; sourceTree = "<group>"; };
+ DA2207BE1DC0805F0002F84D /* MGLStyleValueTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MGLStyleValueTests.swift; path = ../../darwin/test/MGLStyleValueTests.swift; sourceTree = "<group>"; };
DA25D5B91CCD9EDE00607828 /* Settings.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Settings.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
DA25D5BF1CCD9F8400607828 /* Root.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Root.plist; sourceTree = "<group>"; };
DA25D5C51CCDA06800607828 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Root.strings; sourceTree = "<group>"; };
DA27C24D1CBB3811000B0ECD /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; };
+ DA2DBBCC1D51E80400D38FF9 /* MGLStyleLayerTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MGLStyleLayerTests.h; path = ../../darwin/test/MGLStyleLayerTests.h; sourceTree = "<group>"; };
+ DA2DBBCD1D51E80400D38FF9 /* MGLStyleLayerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MGLStyleLayerTests.m; path = ../../darwin/test/MGLStyleLayerTests.m; sourceTree = "<group>"; };
DA2E88511CC036F400F24E7B /* test.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = test.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
DA2E88551CC036F400F24E7B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DA2E885C1CC0382C00F24E7B /* MGLGeometryTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLGeometryTests.mm; path = ../../darwin/test/MGLGeometryTests.mm; sourceTree = "<group>"; };
@@ -385,6 +630,8 @@
DA35A2C81CCAAAD200E826B2 /* NSValue+MGLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSValue+MGLAdditions.m"; sourceTree = "<group>"; };
DA35A2D11CCAB25200E826B2 /* jazzy.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = jazzy.yml; sourceTree = "<group>"; };
DA4A26961CB6E795000B7809 /* Mapbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Mapbox.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ DA6408D91DA4E7D300908C90 /* MGLVectorStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorStyleLayer.h; sourceTree = "<group>"; };
+ DA6408DA1DA4E7D300908C90 /* MGLVectorStyleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLVectorStyleLayer.m; sourceTree = "<group>"; };
DA737EE01D056A4E005BDA16 /* MGLMapViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLMapViewDelegate.h; sourceTree = "<group>"; };
DA821D041CCC6D59007508D4 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
DA821D051CCC6D59007508D4 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
@@ -418,10 +665,10 @@
DA8848081CBAFA6200AB86E3 /* MGLOfflineRegion_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLOfflineRegion_Private.h; sourceTree = "<group>"; };
DA8848091CBAFA6200AB86E3 /* MGLOfflineStorage_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLOfflineStorage_Private.h; sourceTree = "<group>"; };
DA88480A1CBAFA6200AB86E3 /* MGLOfflineStorage.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLOfflineStorage.mm; sourceTree = "<group>"; };
- DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLPointAnnotation.m; sourceTree = "<group>"; };
+ DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLPointAnnotation.mm; sourceTree = "<group>"; };
DA88480C1CBAFA6200AB86E3 /* MGLPolygon.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLPolygon.mm; sourceTree = "<group>"; };
DA88480D1CBAFA6200AB86E3 /* MGLPolyline.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLPolyline.mm; sourceTree = "<group>"; };
- DA88480E1CBAFA6200AB86E3 /* MGLShape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLShape.m; sourceTree = "<group>"; };
+ DA88480E1CBAFA6200AB86E3 /* MGLShape.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLShape.mm; sourceTree = "<group>"; };
DA88480F1CBAFA6200AB86E3 /* MGLStyle.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLStyle.mm; sourceTree = "<group>"; };
DA8848101CBAFA6200AB86E3 /* MGLTilePyramidOfflineRegion.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLTilePyramidOfflineRegion.mm; sourceTree = "<group>"; };
DA8848111CBAFA6200AB86E3 /* MGLTypes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLTypes.m; sourceTree = "<group>"; };
@@ -451,8 +698,8 @@
DA88484A1CBAFB9800AB86E3 /* MGLMapView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLMapView.mm; sourceTree = "<group>"; };
DA88484B1CBAFB9800AB86E3 /* MGLUserLocation_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLUserLocation_Private.h; sourceTree = "<group>"; };
DA88484C1CBAFB9800AB86E3 /* MGLUserLocation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLUserLocation.m; sourceTree = "<group>"; };
- DA88484D1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLUserLocationAnnotationView.h; sourceTree = "<group>"; };
- DA88484E1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLUserLocationAnnotationView.m; sourceTree = "<group>"; };
+ DA88484D1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFaux3DUserLocationAnnotationView.h; sourceTree = "<group>"; };
+ DA88484E1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLFaux3DUserLocationAnnotationView.m; sourceTree = "<group>"; };
DA88485E1CBAFC2E00AB86E3 /* Mapbox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Mapbox.h; path = src/Mapbox.h; sourceTree = SOURCE_ROOT; };
DA8848631CBAFCC100AB86E3 /* Compass.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Compass.png; sourceTree = "<group>"; };
DA8848641CBAFCC100AB86E3 /* Compass@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Compass@2x.png"; sourceTree = "<group>"; };
@@ -484,12 +731,16 @@
DA8963341CC549A100684375 /* sprites */ = {isa = PBXFileReference; lastKnownFileType = folder; path = sprites; sourceTree = "<group>"; };
DA8963351CC549A100684375 /* styles */ = {isa = PBXFileReference; lastKnownFileType = folder; path = styles; sourceTree = "<group>"; };
DA8963361CC549A100684375 /* tiles */ = {isa = PBXFileReference; lastKnownFileType = folder; path = tiles; sourceTree = "<group>"; };
+ DA8F25B91D51D2570010E6B5 /* MGLRuntimeStylingTests.m.ejs */ = {isa = PBXFileReference; lastKnownFileType = text; path = MGLRuntimeStylingTests.m.ejs; sourceTree = "<group>"; };
+ DA8F25BA1D51D2570010E6B5 /* MGLStyleLayer.h.ejs */ = {isa = PBXFileReference; lastKnownFileType = text; path = MGLStyleLayer.h.ejs; sourceTree = "<group>"; };
+ DA8F25BB1D51D2570010E6B5 /* MGLStyleLayer.mm.ejs */ = {isa = PBXFileReference; lastKnownFileType = text; path = MGLStyleLayer.mm.ejs; sourceTree = "<group>"; };
DAA4E4021CBB5C2F00178DFB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
DAA4E4041CBB5C9E00178DFB /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };
DAA4E4061CBB5CBF00178DFB /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
DAA4E4131CBB71D400178DFB /* libMapbox.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMapbox.a; sourceTree = BUILT_PRODUCTS_DIR; };
DAABF73B1CBC59BB005B1825 /* libmbgl-core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "libmbgl-core.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- DAABF73C1CBC59BB005B1825 /* libmbgl-platform-ios.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "libmbgl-platform-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ DAAF72291DA903C700312FA4 /* MGLStyleValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLStyleValue.h; sourceTree = "<group>"; };
+ DAAF722A1DA903C700312FA4 /* MGLStyleValue_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLStyleValue_Private.h; sourceTree = "<group>"; };
DABCABA81CB80692000A7C39 /* Bench GL.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Bench GL.app"; sourceTree = BUILT_PRODUCTS_DIR; };
DABCABAB1CB80692000A7C39 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
DABCABAD1CB80692000A7C39 /* MBXBenchAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MBXBenchAppDelegate.h; sourceTree = "<group>"; };
@@ -501,13 +752,20 @@
DABCABBB1CB80692000A7C39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
DABCABBF1CB80717000A7C39 /* locations.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = locations.cpp; sourceTree = "<group>"; };
DABCABC01CB80717000A7C39 /* locations.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = locations.hpp; sourceTree = "<group>"; };
- DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = mbgl.xcconfig; path = ../../build/ios/mbgl.xcconfig; sourceTree = "<group>"; };
DAC49C621CD07D74009E1AA3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = en; path = en.lproj/Localizable.stringsdict; sourceTree = "<group>"; };
DAD165691CF41981001FF4B9 /* MGLFeature.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFeature.h; sourceTree = "<group>"; };
DAD1656A1CF41981001FF4B9 /* MGLFeature_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFeature_Private.h; sourceTree = "<group>"; };
DAD1656B1CF41981001FF4B9 /* MGLFeature.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLFeature.mm; sourceTree = "<group>"; };
DAD165761CF4CDFF001FF4B9 /* MGLShapeCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLShapeCollection.h; sourceTree = "<group>"; };
DAD165771CF4CDFF001FF4B9 /* MGLShapeCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLShapeCollection.m; sourceTree = "<group>"; };
+ DAED38611D62D0FC00D7640F /* NSURL+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURL+MGLAdditions.h"; sourceTree = "<group>"; };
+ DAED38621D62D0FC00D7640F /* NSURL+MGLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSURL+MGLAdditions.m"; sourceTree = "<group>"; };
+ DD0902A21DB18DE700C5BDCE /* MGLNetworkConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLNetworkConfiguration.m; sourceTree = "<group>"; };
+ DD0902A41DB18F1B00C5BDCE /* MGLNetworkConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLNetworkConfiguration.h; sourceTree = "<group>"; };
+ DD4823721D94AE6C00EB71B7 /* fill_filter_style.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = fill_filter_style.json; sourceTree = "<group>"; };
+ DD4823731D94AE6C00EB71B7 /* line_filter_style.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = line_filter_style.json; sourceTree = "<group>"; };
+ DD4823741D94AE6C00EB71B7 /* numeric_filter_style.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = numeric_filter_style.json; sourceTree = "<group>"; };
+ DD58A4C51D822BD000E1F038 /* MGLExpressionTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MGLExpressionTests.mm; path = ../../darwin/test/MGLExpressionTests.mm; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -516,6 +774,7 @@
buildActionMask = 2147483647;
files = (
DA8847D91CBAF91600AB86E3 /* Mapbox.framework in Frameworks */,
+ 554180421D2E97DE00012372 /* OpenGLES.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -532,7 +791,7 @@
buildActionMask = 2147483647;
files = (
DAABF73D1CBC59BB005B1825 /* libmbgl-core.a in Frameworks */,
- DAABF73E1CBC59BB005B1825 /* libmbgl-platform-ios.a in Frameworks */,
+ 55D8C9961D0F18CE00F42F10 /* libsqlite3.tbd in Frameworks */,
DA27C24E1CBB3811000B0ECD /* GLKit.framework in Frameworks */,
DAA4E4051CBB5C9E00178DFB /* ImageIO.framework in Frameworks */,
DAA4E4071CBB5CBF00178DFB /* MobileCoreServices.framework in Frameworks */,
@@ -543,6 +802,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 36F1153D1D46080700878E1A /* libmbgl-core.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -557,6 +817,114 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 35136D491D4277EA00C20EFD /* Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 35136D4A1D4277FC00C20EFD /* MGLSource.h */,
+ 3566C7701D4A9198008152BC /* MGLSource_Private.h */,
+ 35136D4B1D4277FC00C20EFD /* MGLSource.mm */,
+ 350098B91D480108004B2AF0 /* MGLVectorSource.h */,
+ 350098BA1D480108004B2AF0 /* MGLVectorSource.mm */,
+ 3566C7641D4A77BA008152BC /* MGLGeoJSONSource.h */,
+ 40F8876F1D7A1DB8008ECB67 /* MGLGeoJSONSource_Private.h */,
+ 3566C7651D4A77BA008152BC /* MGLGeoJSONSource.mm */,
+ 3566C76A1D4A8DFA008152BC /* MGLRasterSource.h */,
+ 3566C76B1D4A8DFA008152BC /* MGLRasterSource.mm */,
+ 404C26E01D89B877000AA13D /* MGLTileSet.h */,
+ 404C26E61D89C515000AA13D /* MGLTileSet_Private.h */,
+ 404C26E11D89B877000AA13D /* MGLTileSet.mm */,
+ );
+ name = Sources;
+ sourceTree = "<group>";
+ };
+ 353933F01D3FB6BA003F57D7 /* Layers */ = {
+ isa = PBXGroup;
+ children = (
+ 353933F41D3FB785003F57D7 /* MGLBackgroundStyleLayer.h */,
+ 35136D381D42271A00C20EFD /* MGLBackgroundStyleLayer.mm */,
+ 353933F11D3FB753003F57D7 /* MGLCircleStyleLayer.h */,
+ 35136D3B1D42272500C20EFD /* MGLCircleStyleLayer.mm */,
+ 35D13AC11D3D19DD00AFB4E0 /* MGLFillStyleLayer.h */,
+ 35D13AC21D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm */,
+ 3538AA1B1D542239008EC33D /* MGLForegroundStyleLayer.h */,
+ 3538AA1C1D542239008EC33D /* MGLForegroundStyleLayer.m */,
+ 353933F71D3FB79F003F57D7 /* MGLLineStyleLayer.h */,
+ 35136D3E1D42273000C20EFD /* MGLLineStyleLayer.mm */,
+ 353933FA1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h */,
+ 35136D411D42274500C20EFD /* MGLRasterStyleLayer.mm */,
+ 35D13AB51D3D15E300AFB4E0 /* MGLStyleLayer.h */,
+ 35E79F1F1D41266300957B9E /* MGLStyleLayer_Private.h */,
+ 35D13AB61D3D15E300AFB4E0 /* MGLStyleLayer.mm */,
+ 353933FD1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h */,
+ 35136D441D42275100C20EFD /* MGLSymbolStyleLayer.mm */,
+ DA6408D91DA4E7D300908C90 /* MGLVectorStyleLayer.h */,
+ DA6408DA1DA4E7D300908C90 /* MGLVectorStyleLayer.m */,
+ );
+ name = Layers;
+ sourceTree = "<group>";
+ };
+ 35599DA21D4682B60048254D /* Styling */ = {
+ isa = PBXGroup;
+ children = (
+ 35599DB81D46AD7F0048254D /* Categories */,
+ 353933F01D3FB6BA003F57D7 /* Layers */,
+ 35136D491D4277EA00C20EFD /* Sources */,
+ DAAF72291DA903C700312FA4 /* MGLStyleValue.h */,
+ DAAF722A1DA903C700312FA4 /* MGLStyleValue_Private.h */,
+ 35599DEA1D46F14E0048254D /* MGLStyleValue.mm */,
+ );
+ name = Styling;
+ sourceTree = "<group>";
+ };
+ 35599DB81D46AD7F0048254D /* Categories */ = {
+ isa = PBXGroup;
+ children = (
+ 350098DA1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h */,
+ 350098DB1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm */,
+ );
+ name = Categories;
+ sourceTree = "<group>";
+ };
+ 357579811D502AD4000B822E /* Styling */ = {
+ isa = PBXGroup;
+ children = (
+ DA2207BD1DC0805F0002F84D /* test-Bridging-Header.h */,
+ 3575798F1D513EF1000B822E /* Layers */,
+ 35B8E08B1D6C8B5100E768D2 /* MGLFilterTests.mm */,
+ 40CFA64E1D78754A008103BD /* Sources */,
+ DA2207BE1DC0805F0002F84D /* MGLStyleValueTests.swift */,
+ );
+ name = Styling;
+ sourceTree = "<group>";
+ };
+ 3575798F1D513EF1000B822E /* Layers */ = {
+ isa = PBXGroup;
+ children = (
+ DA2DBBCC1D51E80400D38FF9 /* MGLStyleLayerTests.h */,
+ DA2DBBCD1D51E80400D38FF9 /* MGLStyleLayerTests.m */,
+ 3575797F1D501E09000B822E /* MGLFillStyleLayerTests.m */,
+ 357579821D502AE6000B822E /* MGLRasterStyleLayerTests.m */,
+ 357579841D502AF5000B822E /* MGLSymbolStyleLayerTests.m */,
+ 357579861D502AFE000B822E /* MGLLineStyleLayerTests.m */,
+ 357579881D502B06000B822E /* MGLCircleStyleLayerTests.m */,
+ 3575798A1D502B0C000B822E /* MGLBackgroundStyleLayerTests.m */,
+ 3575798C1D502EC7000B822E /* MGLRuntimeStylingHelper.h */,
+ 3575798D1D502EC7000B822E /* MGLRuntimeStylingHelper.m */,
+ );
+ name = Layers;
+ sourceTree = "<group>";
+ };
+ 35CE617F1D4165C2004F2359 /* Categories */ = {
+ isa = PBXGroup;
+ children = (
+ 35CE61801D4165D9004F2359 /* UIColor+MGLAdditions.h */,
+ 35CE61811D4165D9004F2359 /* UIColor+MGLAdditions.mm */,
+ 30E578111DAA7D690050F07E /* UIImage+MGLAdditions.h */,
+ 30E578121DAA7D690050F07E /* UIImage+MGLAdditions.mm */,
+ );
+ name = Categories;
+ sourceTree = "<group>";
+ };
402E9DE21CD3A56500FD4519 /* Playground */ = {
isa = PBXGroup;
children = (
@@ -565,6 +933,15 @@
name = Playground;
sourceTree = "<group>";
};
+ 40CFA64E1D78754A008103BD /* Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 40CFA6501D787579008103BD /* MGLGeoJSONSourceTests.mm */,
+ 4085AF081D933DEA00F11B22 /* MGLTileSetTests.mm */,
+ );
+ name = Sources;
+ sourceTree = "<group>";
+ };
DA1DC9411CB6C1C2006E619F = {
isa = PBXGroup;
children = (
@@ -602,6 +979,8 @@
40FDA76A1CCAAA6800442548 /* MBXAnnotationView.m */,
DA1DC9661CB6C6B7006E619F /* MBXCustomCalloutView.h */,
DA1DC9671CB6C6B7006E619F /* MBXCustomCalloutView.m */,
+ 354B839A1D2E9B48005D9406 /* MBXUserLocationAnnotationView.h */,
+ 354B839B1D2E9B48005D9406 /* MBXUserLocationAnnotationView.m */,
DA1DC9681CB6C6B7006E619F /* MBXOfflinePacksTableViewController.h */,
DA1DC9691CB6C6B7006E619F /* MBXOfflinePacksTableViewController.m */,
DA1DC9531CB6C1C2006E619F /* MBXViewController.h */,
@@ -612,6 +991,10 @@
DA1DC96C1CB6C6CE006E619F /* points.geojson */,
DA1DC96D1CB6C6CE006E619F /* polyline.geojson */,
DA1DC96F1CB6C6CE006E619F /* threestates.geojson */,
+ 353BAEF51D646370009A8DA9 /* amsterdam.geojson */,
+ DD4823721D94AE6C00EB71B7 /* fill_filter_style.json */,
+ DD4823731D94AE6C00EB71B7 /* line_filter_style.json */,
+ DD4823741D94AE6C00EB71B7 /* numeric_filter_style.json */,
DA1DC95E1CB6C1C2006E619F /* Info.plist */,
DA1DC99C1CB6E076006E619F /* Default-568h@2x.png */,
DA1DC94D1CB6C1C2006E619F /* Supporting Files */,
@@ -631,8 +1014,11 @@
DA1DC9921CB6DF24006E619F /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 36F1153B1D46080700878E1A /* libmbgl-core.a */,
+ 36F1153C1D46080700878E1A /* libmbgl-platform-ios.a */,
+ 554180411D2E97DE00012372 /* OpenGLES.framework */,
+ 55D8C9951D0F18CE00F42F10 /* libsqlite3.tbd */,
DAABF73B1CBC59BB005B1825 /* libmbgl-core.a */,
- DAABF73C1CBC59BB005B1825 /* libmbgl-platform-ios.a */,
DAA4E4021CBB5C2F00178DFB /* CoreGraphics.framework */,
DA27C24D1CBB3811000B0ECD /* GLKit.framework */,
DAA4E4041CBB5C9E00178DFB /* ImageIO.framework */,
@@ -655,7 +1041,7 @@
DA2E88521CC036F400F24E7B /* SDK Tests */ = {
isa = PBXGroup;
children = (
- DA2E88551CC036F400F24E7B /* Info.plist */,
+ 357579811D502AD4000B822E /* Styling */,
353D23951D0B0DFE002BE09D /* MGLAnnotationViewTests.m */,
DA35A2C31CCA9F8300E826B2 /* MGLClockDirectionFormatterTests.m */,
DA35A2C41CCA9F8300E826B2 /* MGLCompassDirectionFormatterTests.m */,
@@ -667,6 +1053,8 @@
DA2E885E1CC0382C00F24E7B /* MGLOfflineRegionTests.m */,
DA2E885F1CC0382C00F24E7B /* MGLOfflineStorageTests.m */,
DA2E88601CC0382C00F24E7B /* MGLStyleTests.mm */,
+ DD58A4C51D822BD000E1F038 /* MGLExpressionTests.mm */,
+ DA2E88551CC036F400F24E7B /* Info.plist */,
);
name = "SDK Tests";
path = test;
@@ -677,6 +1065,7 @@
children = (
DA88485E1CBAFC2E00AB86E3 /* Mapbox.h */,
DA8847DE1CBAFA3E00AB86E3 /* Foundation */,
+ DA8F25BC1D51D2570010E6B5 /* Foundation Templates */,
DA8933B91CCD2C6700E68420 /* Foundation Resources */,
DA8848331CBAFB2A00AB86E3 /* Kit */,
DA8848621CBAFCC100AB86E3 /* Kit Resources */,
@@ -691,6 +1080,7 @@
DA8847DE1CBAFA3E00AB86E3 /* Foundation */ = {
isa = PBXGroup;
children = (
+ 35599DA21D4682B60048254D /* Styling */,
DAD165831CF4CFED001FF4B9 /* Categories */,
DAD165801CF4CF9A001FF4B9 /* Formatters */,
DAD165811CF4CFC4001FF4B9 /* Geometry */,
@@ -698,13 +1088,17 @@
DA8847DF1CBAFA5100AB86E3 /* MGLAccountManager.h */,
DA8847FF1CBAFA6200AB86E3 /* MGLAccountManager_Private.h */,
DA8848001CBAFA6200AB86E3 /* MGLAccountManager.m */,
+ DD0902A41DB18F1B00C5BDCE /* MGLNetworkConfiguration.h */,
+ DD0902A21DB18DE700C5BDCE /* MGLNetworkConfiguration.m */,
DA8847E21CBAFA5100AB86E3 /* MGLMapCamera.h */,
DA8848031CBAFA6200AB86E3 /* MGLMapCamera.mm */,
DA8847EC1CBAFA5100AB86E3 /* MGLStyle.h */,
+ 35E0CFE51D3E501500188327 /* MGLStyle_Private.h */,
DA88480F1CBAFA6200AB86E3 /* MGLStyle.mm */,
DA8847EE1CBAFA5100AB86E3 /* MGLTypes.h */,
DA8848111CBAFA6200AB86E3 /* MGLTypes.m */,
DA8848911CBB049300AB86E3 /* reachability */,
+ 35E1A4D71D74336F007AA97F /* MGLValueEvaluator.h */,
);
name = Foundation;
path = ../darwin/src;
@@ -713,10 +1107,11 @@
DA8848331CBAFB2A00AB86E3 /* Kit */ = {
isa = PBXGroup;
children = (
+ 35CE617F1D4165C2004F2359 /* Categories */,
DAD165841CF4D06B001FF4B9 /* Annotations */,
DAD165851CF4D08B001FF4B9 /* Telemetry */,
DA8848361CBAFB8500AB86E3 /* MGLMapView.h */,
- DA17BE2F1CC4BAC300402C41 /* MGLMapView_Internal.h */,
+ DA17BE2F1CC4BAC300402C41 /* MGLMapView_Private.h */,
DA8848371CBAFB8500AB86E3 /* MGLMapView+IBAdditions.h */,
DA8848381CBAFB8500AB86E3 /* MGLMapView+MGLCustomStyleLayerAdditions.h */,
DA737EE01D056A4E005BDA16 /* MGLMapViewDelegate.h */,
@@ -805,6 +1200,17 @@
path = assets;
sourceTree = "<group>";
};
+ DA8F25BC1D51D2570010E6B5 /* Foundation Templates */ = {
+ isa = PBXGroup;
+ children = (
+ DA8F25B91D51D2570010E6B5 /* MGLRuntimeStylingTests.m.ejs */,
+ DA8F25BA1D51D2570010E6B5 /* MGLStyleLayer.h.ejs */,
+ DA8F25BB1D51D2570010E6B5 /* MGLStyleLayer.mm.ejs */,
+ );
+ name = "Foundation Templates";
+ path = ../../darwin/src;
+ sourceTree = "<group>";
+ };
DABCABA91CB80692000A7C39 /* Benchmarking App */ = {
isa = PBXGroup;
children = (
@@ -836,7 +1242,7 @@
isa = PBXGroup;
children = (
DA35A2D11CCAB25200E826B2 /* jazzy.yml */,
- DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */,
+ 55D8C9941D0F133500F42F10 /* config.xcconfig */,
);
name = Configuration;
sourceTree = "<group>";
@@ -864,18 +1270,22 @@
DA8847E11CBAFA5100AB86E3 /* MGLGeometry.h */,
DA8848011CBAFA6200AB86E3 /* MGLGeometry_Private.h */,
DA8848021CBAFA6200AB86E3 /* MGLGeometry.mm */,
- DA8847E31CBAFA5100AB86E3 /* MGLMultiPoint.h */,
DA8848041CBAFA6200AB86E3 /* MGLMultiPoint_Private.h */,
+ DA8847E31CBAFA5100AB86E3 /* MGLMultiPoint.h */,
DA8848051CBAFA6200AB86E3 /* MGLMultiPoint.mm */,
DA8847E71CBAFA5100AB86E3 /* MGLOverlay.h */,
DA8847E81CBAFA5100AB86E3 /* MGLPointAnnotation.h */,
- DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.m */,
+ DA88480B1CBAFA6200AB86E3 /* MGLPointAnnotation.mm */,
+ 4049C29B1DB6CD6C00B3F799 /* MGLPointCollection.h */,
+ 4049C2AB1DB6E05500B3F799 /* MGLPointCollection_Private.h */,
+ 4049C29C1DB6CD6C00B3F799 /* MGLPointCollection.mm */,
DA8847E91CBAFA5100AB86E3 /* MGLPolygon.h */,
DA88480C1CBAFA6200AB86E3 /* MGLPolygon.mm */,
DA8847EA1CBAFA5100AB86E3 /* MGLPolyline.h */,
DA88480D1CBAFA6200AB86E3 /* MGLPolyline.mm */,
DA8847EB1CBAFA5100AB86E3 /* MGLShape.h */,
- DA88480E1CBAFA6200AB86E3 /* MGLShape.m */,
+ 40CF6DBA1DAC3C1800A4D18B /* MGLShape_Private.h */,
+ DA88480E1CBAFA6200AB86E3 /* MGLShape.mm */,
DAD165761CF4CDFF001FF4B9 /* MGLShapeCollection.h */,
DAD165771CF4CDFF001FF4B9 /* MGLShapeCollection.m */,
);
@@ -902,15 +1312,35 @@
DAD165831CF4CFED001FF4B9 /* Categories */ = {
isa = PBXGroup;
children = (
+ 7E016D821D9E890300A29A21 /* MGLPolygon+MGLAdditions.h */,
+ 7E016D831D9E890300A29A21 /* MGLPolygon+MGLAdditions.m */,
+ 7E016D7C1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h */,
+ 7E016D7D1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m */,
+ 400532FF1DB0862B0069F638 /* NSArray+MGLAdditions.h */,
+ 400533001DB0862B0069F638 /* NSArray+MGLAdditions.mm */,
DA8848121CBAFA6200AB86E3 /* NSBundle+MGLAdditions.h */,
DA8848131CBAFA6200AB86E3 /* NSBundle+MGLAdditions.m */,
+ 3510FFE81D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h */,
+ 3510FFE91D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm */,
+ 3510FFF71D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h */,
+ 3510FFF81D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm */,
35305D461D22AA450007D005 /* NSData+MGLAdditions.h */,
35305D471D22AA450007D005 /* NSData+MGLAdditions.mm */,
+ 353AFA121D65AB17005A69F4 /* NSDate+MGLAdditions.h */,
+ 353AFA131D65AB17005A69F4 /* NSDate+MGLAdditions.mm */,
+ 408AA8551DAEDA0800022900 /* NSDictionary+MGLAdditions.h */,
+ 408AA8561DAEDA0800022900 /* NSDictionary+MGLAdditions.mm */,
DA8848141CBAFA6200AB86E3 /* NSException+MGLAdditions.h */,
+ 3510FFEE1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h */,
+ 3510FFEF1D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm */,
+ 35B82BF61D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h */,
+ 35B82BF71D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm */,
DA8848151CBAFA6200AB86E3 /* NSProcessInfo+MGLAdditions.h */,
DA8848161CBAFA6200AB86E3 /* NSProcessInfo+MGLAdditions.m */,
DA8848171CBAFA6200AB86E3 /* NSString+MGLAdditions.h */,
DA8848181CBAFA6200AB86E3 /* NSString+MGLAdditions.m */,
+ DAED38611D62D0FC00D7640F /* NSURL+MGLAdditions.h */,
+ DAED38621D62D0FC00D7640F /* NSURL+MGLAdditions.m */,
DA35A2C71CCAAAD200E826B2 /* NSValue+MGLAdditions.h */,
DA35A2C81CCAAAD200E826B2 /* NSValue+MGLAdditions.m */,
);
@@ -921,21 +1351,25 @@
isa = PBXGroup;
children = (
40EDA1BD1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.h */,
+ 404326881D5B9B1A007111BD /* MGLAnnotationContainerView_Private.h */,
40EDA1BE1CFE0D4A00D9EA68 /* MGLAnnotationContainerView.m */,
- 4018B1C51CDC277F00F666AF /* MGLAnnotationView.h */,
- 4018B1C31CDC277F00F666AF /* MGLAnnotationView_Private.h */,
- 4018B1C41CDC277F00F666AF /* MGLAnnotationView.mm */,
- DA8848341CBAFB8500AB86E3 /* MGLAnnotationImage.h */,
DA8848401CBAFB9800AB86E3 /* MGLAnnotationImage_Private.h */,
+ DA8848341CBAFB8500AB86E3 /* MGLAnnotationImage.h */,
DA8848411CBAFB9800AB86E3 /* MGLAnnotationImage.m */,
+ 4018B1C31CDC277F00F666AF /* MGLAnnotationView_Private.h */,
+ 4018B1C51CDC277F00F666AF /* MGLAnnotationView.h */,
+ 4018B1C41CDC277F00F666AF /* MGLAnnotationView.mm */,
DA8848351CBAFB8500AB86E3 /* MGLCalloutView.h */,
DA8848441CBAFB9800AB86E3 /* MGLCompactCalloutView.h */,
DA8848451CBAFB9800AB86E3 /* MGLCompactCalloutView.m */,
- DA8848391CBAFB8500AB86E3 /* MGLUserLocation.h */,
+ DA88484D1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.h */,
+ DA88484E1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m */,
DA88484B1CBAFB9800AB86E3 /* MGLUserLocation_Private.h */,
+ DA8848391CBAFB8500AB86E3 /* MGLUserLocation.h */,
DA88484C1CBAFB9800AB86E3 /* MGLUserLocation.m */,
- DA88484D1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.h */,
- DA88484E1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m */,
+ 359F57451D2FDBD5005217F1 /* MGLUserLocationAnnotationView_Private.h */,
+ 354B83941D2E873E005D9406 /* MGLUserLocationAnnotationView.h */,
+ 354B83951D2E873E005D9406 /* MGLUserLocationAnnotationView.m */,
);
name = Annotations;
sourceTree = "<group>";
@@ -960,62 +1394,104 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
+ 35D13AC31D3D19DD00AFB4E0 /* MGLFillStyleLayer.h in Headers */,
DA88483A1CBAFB8500AB86E3 /* MGLAnnotationImage.h in Headers */,
DA35A2BB1CCA9A6900E826B2 /* MGLClockDirectionFormatter.h in Headers */,
+ 353933FE1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h in Headers */,
DA8848861CBB033F00AB86E3 /* Fabric+FABKits.h in Headers */,
DA8848201CBAFA6200AB86E3 /* MGLOfflinePack_Private.h in Headers */,
DA8847FA1CBAFA5100AB86E3 /* MGLPolyline.h in Headers */,
+ 3566C7711D4A9198008152BC /* MGLSource_Private.h in Headers */,
4018B1C91CDC288A00F666AF /* MGLAnnotationView_Private.h in Headers */,
+ 35E1A4D81D74336F007AA97F /* MGLValueEvaluator.h in Headers */,
DA88482C1CBAFA6200AB86E3 /* NSBundle+MGLAdditions.h in Headers */,
+ 7E016D7E1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h in Headers */,
+ 35D13AB71D3D15E300AFB4E0 /* MGLStyleLayer.h in Headers */,
DA88488E1CBB047F00AB86E3 /* reachability.h in Headers */,
+ 40F887701D7A1E58008ECB67 /* MGLGeoJSONSource_Private.h in Headers */,
+ 350098DC1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h in Headers */,
DA8848231CBAFA6200AB86E3 /* MGLOfflineStorage_Private.h in Headers */,
+ 404326891D5B9B27007111BD /* MGLAnnotationContainerView_Private.h in Headers */,
DA88483B1CBAFB8500AB86E3 /* MGLCalloutView.h in Headers */,
+ 35E0CFE61D3E501500188327 /* MGLStyle_Private.h in Headers */,
+ 3510FFF01D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h in Headers */,
+ 353AFA141D65AB17005A69F4 /* NSDate+MGLAdditions.h in Headers */,
DA8848531CBAFB9800AB86E3 /* MGLCompactCalloutView.h in Headers */,
DA8847FB1CBAFA5100AB86E3 /* MGLShape.h in Headers */,
+ 353933F51D3FB785003F57D7 /* MGLBackgroundStyleLayer.h in Headers */,
DA88485A1CBAFB9800AB86E3 /* MGLUserLocation_Private.h in Headers */,
DA27C24F1CBB4C11000B0ECD /* MGLAccountManager_Private.h in Headers */,
DA8847FC1CBAFA5100AB86E3 /* MGLStyle.h in Headers */,
+ 354B83961D2E873E005D9406 /* MGLUserLocationAnnotationView.h in Headers */,
DA8847F01CBAFA5100AB86E3 /* MGLAnnotation.h in Headers */,
+ 7E016D841D9E890300A29A21 /* MGLPolygon+MGLAdditions.h in Headers */,
+ 400533011DB0862B0069F638 /* NSArray+MGLAdditions.h in Headers */,
+ 4049C29D1DB6CD6C00B3F799 /* MGLPointCollection.h in Headers */,
DA88483E1CBAFB8500AB86E3 /* MGLMapView+MGLCustomStyleLayerAdditions.h in Headers */,
+ 40CF6DBB1DAC3C6600A4D18B /* MGLShape_Private.h in Headers */,
4018B1CA1CDC288E00F666AF /* MGLAnnotationView.h in Headers */,
+ 35E79F201D41266300957B9E /* MGLStyleLayer_Private.h in Headers */,
+ 353933FB1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h in Headers */,
DA8847EF1CBAFA5100AB86E3 /* MGLAccountManager.h in Headers */,
DA8848511CBAFB9800AB86E3 /* MGLAPIClient.h in Headers */,
DA35A2C91CCAAAD200E826B2 /* NSValue+MGLAdditions.h in Headers */,
+ 3510FFEA1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h in Headers */,
+ DA6408DB1DA4E7D300908C90 /* MGLVectorStyleLayer.h in Headers */,
+ DD0902AB1DB192A800C5BDCE /* MGLNetworkConfiguration.h in Headers */,
DA8848571CBAFB9800AB86E3 /* MGLMapboxEvents.h in Headers */,
DA8848311CBAFA6200AB86E3 /* NSString+MGLAdditions.h in Headers */,
+ 353933F81D3FB79F003F57D7 /* MGLLineStyleLayer.h in Headers */,
+ DAAF722D1DA903C700312FA4 /* MGLStyleValue_Private.h in Headers */,
DA8847F41CBAFA5100AB86E3 /* MGLOfflinePack.h in Headers */,
DA88482E1CBAFA6200AB86E3 /* NSException+MGLAdditions.h in Headers */,
DA8848551CBAFB9800AB86E3 /* MGLLocationManager.h in Headers */,
+ 408AA8571DAEDA1700022900 /* NSDictionary+MGLAdditions.h in Headers */,
DA88483F1CBAFB8500AB86E3 /* MGLUserLocation.h in Headers */,
DA88483D1CBAFB8500AB86E3 /* MGLMapView+IBAdditions.h in Headers */,
- DA17BE301CC4BAC300402C41 /* MGLMapView_Internal.h in Headers */,
+ DA17BE301CC4BAC300402C41 /* MGLMapView_Private.h in Headers */,
DAD165781CF4CDFF001FF4B9 /* MGLShapeCollection.h in Headers */,
+ DAED38631D62D0FC00D7640F /* NSURL+MGLAdditions.h in Headers */,
DA88481E1CBAFA6200AB86E3 /* MGLMultiPoint_Private.h in Headers */,
+ 3566C7661D4A77BA008152BC /* MGLGeoJSONSource.h in Headers */,
+ 35CE61821D4165D9004F2359 /* UIColor+MGLAdditions.h in Headers */,
+ 35B82BF81D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h in Headers */,
DA35A29E1CC9E94C00E826B2 /* MGLCoordinateFormatter.h in Headers */,
+ DAAF722B1DA903C700312FA4 /* MGLStyleValue.h in Headers */,
DA8847F71CBAFA5100AB86E3 /* MGLOverlay.h in Headers */,
DA35A2B11CCA141D00E826B2 /* MGLCompassDirectionFormatter.h in Headers */,
DA88488B1CBB037E00AB86E3 /* SMCalloutView.h in Headers */,
DA8847FE1CBAFA5100AB86E3 /* MGLTypes.h in Headers */,
DA8847F11CBAFA5100AB86E3 /* MGLGeometry.h in Headers */,
DA8848221CBAFA6200AB86E3 /* MGLOfflineRegion_Private.h in Headers */,
+ 35136D4C1D4277FC00C20EFD /* MGLSource.h in Headers */,
+ 3566C76C1D4A8DFA008152BC /* MGLRasterSource.h in Headers */,
DA8847F91CBAFA5100AB86E3 /* MGLPolygon.h in Headers */,
+ 4049C2AC1DB6E05500B3F799 /* MGLPointCollection_Private.h in Headers */,
DA8847F81CBAFA5100AB86E3 /* MGLPointAnnotation.h in Headers */,
+ 353933F21D3FB753003F57D7 /* MGLCircleStyleLayer.h in Headers */,
DA8847F31CBAFA5100AB86E3 /* MGLMultiPoint.h in Headers */,
+ 30E578171DAA85520050F07E /* UIImage+MGLAdditions.h in Headers */,
DAD1656C1CF41981001FF4B9 /* MGLFeature.h in Headers */,
40EDA1C01CFE0E0200D9EA68 /* MGLAnnotationContainerView.h in Headers */,
DA88484F1CBAFB9800AB86E3 /* MGLAnnotationImage_Private.h in Headers */,
DA8847F21CBAFA5100AB86E3 /* MGLMapCamera.h in Headers */,
+ 3538AA1D1D542239008EC33D /* MGLForegroundStyleLayer.h in Headers */,
DA8847F51CBAFA5100AB86E3 /* MGLOfflineRegion.h in Headers */,
DA737EE11D056A4E005BDA16 /* MGLMapViewDelegate.h in Headers */,
DA8848851CBB033F00AB86E3 /* FABKitProtocol.h in Headers */,
DA88481B1CBAFA6200AB86E3 /* MGLGeometry_Private.h in Headers */,
- DA88485C1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.h in Headers */,
+ 3510FFF91D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h in Headers */,
+ 404C26E71D89C55D000AA13D /* MGLTileSet_Private.h in Headers */,
+ DA88485C1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.h in Headers */,
DA8848871CBB033F00AB86E3 /* Fabric.h in Headers */,
35305D4A1D22AA6A0007D005 /* NSData+MGLAdditions.h in Headers */,
+ 359F57461D2FDDA6005217F1 /* MGLUserLocationAnnotationView_Private.h in Headers */,
+ 404C26E21D89B877000AA13D /* MGLTileSet.h in Headers */,
DA8848841CBB033F00AB86E3 /* FABAttributes.h in Headers */,
DA8847FD1CBAFA5100AB86E3 /* MGLTilePyramidOfflineRegion.h in Headers */,
DA88482F1CBAFA6200AB86E3 /* NSProcessInfo+MGLAdditions.h in Headers */,
DA8848601CBAFC2E00AB86E3 /* Mapbox.h in Headers */,
+ 350098BB1D480108004B2AF0 /* MGLVectorSource.h in Headers */,
DA8847F61CBAFA5100AB86E3 /* MGLOfflineStorage.h in Headers */,
DAD1656E1CF41981001FF4B9 /* MGLFeature_Private.h in Headers */,
DA88483C1CBAFB8500AB86E3 /* MGLMapView.h in Headers */,
@@ -1026,38 +1502,72 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
+ 35B82BF91D6C5F8400B1B721 /* NSPredicate+MGLAdditions.h in Headers */,
DA35A2CA1CCAAAD200E826B2 /* NSValue+MGLAdditions.h in Headers */,
+ 350098BC1D480108004B2AF0 /* MGLVectorSource.h in Headers */,
+ 353933FC1D3FB7C0003F57D7 /* MGLRasterStyleLayer.h in Headers */,
+ 3566C76D1D4A8DFA008152BC /* MGLRasterSource.h in Headers */,
+ DAED38641D62D0FC00D7640F /* NSURL+MGLAdditions.h in Headers */,
DABFB85E1CBE99E500D62B32 /* MGLAnnotation.h in Headers */,
DABFB8641CBE99E500D62B32 /* MGLOfflineStorage.h in Headers */,
DAD165791CF4CDFF001FF4B9 /* MGLShapeCollection.h in Headers */,
+ 4049C29E1DB6CD6C00B3F799 /* MGLPointCollection.h in Headers */,
+ 3566C7671D4A77BA008152BC /* MGLGeoJSONSource.h in Headers */,
DA35A29F1CC9E94C00E826B2 /* MGLCoordinateFormatter.h in Headers */,
DABFB8711CBE9A0F00D62B32 /* MGLMapView+MGLCustomStyleLayerAdditions.h in Headers */,
+ 404C26E31D89B877000AA13D /* MGLTileSet.h in Headers */,
DABFB8611CBE99E500D62B32 /* MGLMultiPoint.h in Headers */,
+ 3510FFF11D6D9D8C00F413B2 /* NSExpression+MGLAdditions.h in Headers */,
+ 35E0CFE71D3E501500188327 /* MGLStyle_Private.h in Headers */,
DABFB86D1CBE9A0F00D62B32 /* MGLAnnotationImage.h in Headers */,
DABFB8721CBE9A0F00D62B32 /* MGLUserLocation.h in Headers */,
+ 3566C7721D4A9198008152BC /* MGLSource_Private.h in Headers */,
+ 353933FF1D3FB7DD003F57D7 /* MGLSymbolStyleLayer.h in Headers */,
+ DAAF722E1DA903C700312FA4 /* MGLStyleValue_Private.h in Headers */,
DABFB8661CBE99E500D62B32 /* MGLPointAnnotation.h in Headers */,
DABFB8621CBE99E500D62B32 /* MGLOfflinePack.h in Headers */,
DAD1656D1CF41981001FF4B9 /* MGLFeature.h in Headers */,
- DA17BE311CC4BDAA00402C41 /* MGLMapView_Internal.h in Headers */,
+ DA17BE311CC4BDAA00402C41 /* MGLMapView_Private.h in Headers */,
DABFB86C1CBE99E500D62B32 /* MGLTypes.h in Headers */,
DABFB8691CBE99E500D62B32 /* MGLShape.h in Headers */,
+ 3510FFEB1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.h in Headers */,
+ 35E1A4D91D74336F007AA97F /* MGLValueEvaluator.h in Headers */,
+ 7E016D7F1D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.h in Headers */,
DABFB8701CBE9A0F00D62B32 /* MGLMapView+IBAdditions.h in Headers */,
+ 353AFA151D65AB17005A69F4 /* NSDate+MGLAdditions.h in Headers */,
+ 3510FFFA1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.h in Headers */,
+ 35CE61831D4165D9004F2359 /* UIColor+MGLAdditions.h in Headers */,
DABFB8671CBE99E500D62B32 /* MGLPolygon.h in Headers */,
+ 404C26E81D89C55D000AA13D /* MGLTileSet_Private.h in Headers */,
+ DAAF722C1DA903C700312FA4 /* MGLStyleValue.h in Headers */,
DABFB8651CBE99E500D62B32 /* MGLOverlay.h in Headers */,
+ 35E79F211D41266300957B9E /* MGLStyleLayer_Private.h in Headers */,
+ 350098DD1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.h in Headers */,
DABFB8681CBE99E500D62B32 /* MGLPolyline.h in Headers */,
DABFB86F1CBE9A0F00D62B32 /* MGLMapView.h in Headers */,
+ DA6408DC1DA4E7D300908C90 /* MGLVectorStyleLayer.h in Headers */,
+ 353933F31D3FB753003F57D7 /* MGLCircleStyleLayer.h in Headers */,
+ 3538AA1E1D542239008EC33D /* MGLForegroundStyleLayer.h in Headers */,
+ 30E578181DAA85520050F07E /* UIImage+MGLAdditions.h in Headers */,
+ 40F887711D7A1E59008ECB67 /* MGLGeoJSONSource_Private.h in Headers */,
DABFB8631CBE99E500D62B32 /* MGLOfflineRegion.h in Headers */,
DA35A2B21CCA141D00E826B2 /* MGLCompassDirectionFormatter.h in Headers */,
DABFB8731CBE9A9900D62B32 /* Mapbox.h in Headers */,
+ 354B83971D2E873E005D9406 /* MGLUserLocationAnnotationView.h in Headers */,
DABFB86B1CBE99E500D62B32 /* MGLTilePyramidOfflineRegion.h in Headers */,
4018B1CB1CDC288E00F666AF /* MGLAnnotationView.h in Headers */,
DABFB85F1CBE99E500D62B32 /* MGLGeometry.h in Headers */,
+ 7E016D851D9E890300A29A21 /* MGLPolygon+MGLAdditions.h in Headers */,
+ 353933F61D3FB785003F57D7 /* MGLBackgroundStyleLayer.h in Headers */,
DABFB85D1CBE99E500D62B32 /* MGLAccountManager.h in Headers */,
+ 353933F91D3FB79F003F57D7 /* MGLLineStyleLayer.h in Headers */,
+ 35D13AB81D3D15E300AFB4E0 /* MGLStyleLayer.h in Headers */,
+ 35136D4D1D4277FC00C20EFD /* MGLSource.h in Headers */,
DA35A2BC1CCA9A6900E826B2 /* MGLClockDirectionFormatter.h in Headers */,
+ 35D13AC41D3D19DD00AFB4E0 /* MGLFillStyleLayer.h in Headers */,
DABFB86E1CBE9A0F00D62B32 /* MGLCalloutView.h in Headers */,
DABFB8601CBE99E500D62B32 /* MGLMapCamera.h in Headers */,
DA737EE21D056A4E005BDA16 /* MGLMapViewDelegate.h in Headers */,
- 353794D01D22B3BD002C281C /* NSData+MGLAdditions.h in Headers */,
DABFB86A1CBE99E500D62B32 /* MGLStyle.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -1197,7 +1707,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = MBX;
- LastUpgradeCheck = 0730;
+ LastUpgradeCheck = 0800;
ORGANIZATIONNAME = Mapbox;
TargetAttributes = {
DA1DC9491CB6C1C2006E619F = {
@@ -1208,6 +1718,7 @@
};
DA2E88501CC036F400F24E7B = {
CreatedOnToolsVersion = 7.3;
+ LastSwiftMigration = 0800;
};
DA8847D11CBAF91600AB86E3 = {
CreatedOnToolsVersion = 7.3;
@@ -1253,12 +1764,16 @@
buildActionMask = 2147483647;
files = (
DA25D5CD1CCDA11500607828 /* Settings.bundle in Resources */,
+ DD4823771D94AE6C00EB71B7 /* numeric_filter_style.json in Resources */,
DA1DC9701CB6C6CE006E619F /* points.geojson in Resources */,
+ 353BAEF61D646370009A8DA9 /* amsterdam.geojson in Resources */,
DA1DC9711CB6C6CE006E619F /* polyline.geojson in Resources */,
+ DD4823761D94AE6C00EB71B7 /* line_filter_style.json in Resources */,
DA1DC99D1CB6E076006E619F /* Default-568h@2x.png in Resources */,
DA821D071CCC6D59007508D4 /* Main.storyboard in Resources */,
DA1DC9731CB6C6CE006E619F /* threestates.geojson in Resources */,
DA821D061CCC6D59007508D4 /* LaunchScreen.storyboard in Resources */,
+ DD4823751D94AE6C00EB71B7 /* fill_filter_style.json in Resources */,
DA1DC99F1CB6E088006E619F /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -1276,6 +1791,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 353BAEF71D646370009A8DA9 /* amsterdam.geojson in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1347,6 +1863,7 @@
buildActionMask = 2147483647;
files = (
DA1DC9971CB6E046006E619F /* main.m in Sources */,
+ 354B839C1D2E9B48005D9406 /* MBXUserLocationAnnotationView.m in Sources */,
DA1DC9991CB6E054006E619F /* MBXAppDelegate.m in Sources */,
DA1DC96B1CB6C6B7006E619F /* MBXOfflinePacksTableViewController.m in Sources */,
DA1DC96A1CB6C6B7006E619F /* MBXCustomCalloutView.m in Sources */,
@@ -1362,11 +1879,24 @@
DA2E88631CC0382C00F24E7B /* MGLOfflineRegionTests.m in Sources */,
DA2E88651CC0382C00F24E7B /* MGLStyleTests.mm in Sources */,
DA2E88611CC0382C00F24E7B /* MGLGeometryTests.mm in Sources */,
+ 357579801D501E09000B822E /* MGLFillStyleLayerTests.m in Sources */,
DA2E88641CC0382C00F24E7B /* MGLOfflineStorageTests.m in Sources */,
+ DA2DBBCE1D51E80400D38FF9 /* MGLStyleLayerTests.m in Sources */,
DA35A2C61CCA9F8300E826B2 /* MGLCompassDirectionFormatterTests.m in Sources */,
+ 3575798E1D502EC7000B822E /* MGLRuntimeStylingHelper.m in Sources */,
+ 4085AF091D933DEA00F11B22 /* MGLTileSetTests.mm in Sources */,
+ 357579851D502AF5000B822E /* MGLSymbolStyleLayerTests.m in Sources */,
+ 357579871D502AFE000B822E /* MGLLineStyleLayerTests.m in Sources */,
+ 357579891D502B06000B822E /* MGLCircleStyleLayerTests.m in Sources */,
+ DA2207BF1DC0805F0002F84D /* MGLStyleValueTests.swift in Sources */,
+ 40CFA6511D7875BB008103BD /* MGLGeoJSONSourceTests.mm in Sources */,
DA35A2C51CCA9F8300E826B2 /* MGLClockDirectionFormatterTests.m in Sources */,
+ 35B8E08C1D6C8B5100E768D2 /* MGLFilterTests.mm in Sources */,
+ DD58A4C61D822BD000E1F038 /* MGLExpressionTests.mm in Sources */,
+ 3575798B1D502B0C000B822E /* MGLBackgroundStyleLayerTests.m in Sources */,
DA2E88621CC0382C00F24E7B /* MGLOfflinePackTests.m in Sources */,
DA35A2AA1CCA058D00E826B2 /* MGLCoordinateFormatterTests.m in Sources */,
+ 357579831D502AE6000B822E /* MGLRasterStyleLayerTests.m in Sources */,
353D23961D0B0DFE002BE09D /* MGLAnnotationViewTests.m in Sources */,
35E208A71D24210F00EC9A46 /* MGLNSDataAdditionsTests.m in Sources */,
DA0CD5901CF56F6A00A5F5A5 /* MGLFeatureTests.mm in Sources */,
@@ -1377,40 +1907,70 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- DA88485D1CBAFB9800AB86E3 /* MGLUserLocationAnnotationView.m in Sources */,
+ 35136D391D42271A00C20EFD /* MGLBackgroundStyleLayer.mm in Sources */,
+ 3510FFEC1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm in Sources */,
+ 7E016D801D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m in Sources */,
+ DAED38651D62D0FC00D7640F /* NSURL+MGLAdditions.m in Sources */,
+ 354B83981D2E873E005D9406 /* MGLUserLocationAnnotationView.m in Sources */,
+ DA88485D1CBAFB9800AB86E3 /* MGLFaux3DUserLocationAnnotationView.m in Sources */,
DAD165701CF41981001FF4B9 /* MGLFeature.mm in Sources */,
+ 30E578191DAA855E0050F07E /* UIImage+MGLAdditions.mm in Sources */,
40EDA1C11CFE0E0500D9EA68 /* MGLAnnotationContainerView.m in Sources */,
DA8848541CBAFB9800AB86E3 /* MGLCompactCalloutView.m in Sources */,
- DA8848251CBAFA6200AB86E3 /* MGLPointAnnotation.m in Sources */,
+ DA8848251CBAFA6200AB86E3 /* MGLPointAnnotation.mm in Sources */,
+ 35136D3C1D42272500C20EFD /* MGLCircleStyleLayer.mm in Sources */,
+ 350098DE1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm in Sources */,
+ DA6408DD1DA4E7D300908C90 /* MGLVectorStyleLayer.m in Sources */,
+ 3566C7681D4A77BA008152BC /* MGLGeoJSONSource.mm in Sources */,
+ 400533021DB0862B0069F638 /* NSArray+MGLAdditions.mm in Sources */,
+ 35136D421D42274500C20EFD /* MGLRasterStyleLayer.mm in Sources */,
+ 3538AA1F1D542239008EC33D /* MGLForegroundStyleLayer.m in Sources */,
DA88482D1CBAFA6200AB86E3 /* NSBundle+MGLAdditions.m in Sources */,
DA88485B1CBAFB9800AB86E3 /* MGLUserLocation.m in Sources */,
+ 350098BD1D480108004B2AF0 /* MGLVectorSource.mm in Sources */,
+ 3566C76E1D4A8DFA008152BC /* MGLRasterSource.mm in Sources */,
DA88488C1CBB037E00AB86E3 /* SMCalloutView.m in Sources */,
+ 35136D4E1D4277FC00C20EFD /* MGLSource.mm in Sources */,
DA35A2B81CCA9A5D00E826B2 /* MGLClockDirectionFormatter.m in Sources */,
DAD1657A1CF4CDFF001FF4B9 /* MGLShapeCollection.m in Sources */,
- DA8848901CBB048E00AB86E3 /* reachability.m in Sources */,
+ 35136D451D42275100C20EFD /* MGLSymbolStyleLayer.mm in Sources */,
+ 35599DED1D46F14E0048254D /* MGLStyleValue.mm in Sources */,
DA8848211CBAFA6200AB86E3 /* MGLOfflinePack.mm in Sources */,
DA8848591CBAFB9800AB86E3 /* MGLMapView.mm in Sources */,
DA8848501CBAFB9800AB86E3 /* MGLAnnotationImage.m in Sources */,
- DA8848281CBAFA6200AB86E3 /* MGLShape.m in Sources */,
+ DA8848281CBAFA6200AB86E3 /* MGLShape.mm in Sources */,
DA35A2B31CCA141D00E826B2 /* MGLCompassDirectionFormatter.m in Sources */,
+ DD0902A91DB1929D00C5BDCE /* MGLNetworkConfiguration.m in Sources */,
+ 35D13AB91D3D15E300AFB4E0 /* MGLStyleLayer.mm in Sources */,
DA35A2CB1CCAAAD200E826B2 /* NSValue+MGLAdditions.m in Sources */,
DA8848321CBAFA6200AB86E3 /* NSString+MGLAdditions.m in Sources */,
+ 408AA8581DAEDA1E00022900 /* NSDictionary+MGLAdditions.mm in Sources */,
DA35A2A11CC9E95F00E826B2 /* MGLCoordinateFormatter.m in Sources */,
35305D481D22AA680007D005 /* NSData+MGLAdditions.mm in Sources */,
DA8848291CBAFA6200AB86E3 /* MGLStyle.mm in Sources */,
DA88481C1CBAFA6200AB86E3 /* MGLGeometry.mm in Sources */,
+ 3510FFF21D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm in Sources */,
DA88481F1CBAFA6200AB86E3 /* MGLMultiPoint.mm in Sources */,
DA88482B1CBAFA6200AB86E3 /* MGLTypes.m in Sources */,
4018B1C71CDC287F00F666AF /* MGLAnnotationView.mm in Sources */,
+ 404C26E41D89B877000AA13D /* MGLTileSet.mm in Sources */,
DA88481D1CBAFA6200AB86E3 /* MGLMapCamera.mm in Sources */,
DA8848261CBAFA6200AB86E3 /* MGLPolygon.mm in Sources */,
+ 35B82BFA1D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm in Sources */,
+ 7E016D861D9E890300A29A21 /* MGLPolygon+MGLAdditions.m in Sources */,
DA8848521CBAFB9800AB86E3 /* MGLAPIClient.m in Sources */,
DA8848301CBAFA6200AB86E3 /* NSProcessInfo+MGLAdditions.m in Sources */,
+ 353AFA161D65AB17005A69F4 /* NSDate+MGLAdditions.mm in Sources */,
+ 35D13AC51D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm in Sources */,
DA8848241CBAFA6200AB86E3 /* MGLOfflineStorage.mm in Sources */,
DA88482A1CBAFA6200AB86E3 /* MGLTilePyramidOfflineRegion.mm in Sources */,
+ 4049C29F1DB6CD6C00B3F799 /* MGLPointCollection.mm in Sources */,
+ 35136D3F1D42273000C20EFD /* MGLLineStyleLayer.mm in Sources */,
DA88481A1CBAFA6200AB86E3 /* MGLAccountManager.m in Sources */,
+ 3510FFFB1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm in Sources */,
DA8848271CBAFA6200AB86E3 /* MGLPolyline.mm in Sources */,
DA8848581CBAFB9800AB86E3 /* MGLMapboxEvents.m in Sources */,
+ 35CE61841D4165D9004F2359 /* UIColor+MGLAdditions.mm in Sources */,
DA8848561CBAFB9800AB86E3 /* MGLLocationManager.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -1419,40 +1979,70 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- DAA4E4221CBB730400178DFB /* MGLPointAnnotation.m in Sources */,
+ 35136D3A1D42271A00C20EFD /* MGLBackgroundStyleLayer.mm in Sources */,
+ 3510FFED1D6D9C7A00F413B2 /* NSComparisonPredicate+MGLAdditions.mm in Sources */,
+ 7E016D811D9E86BE00A29A21 /* MGLPolyline+MGLAdditions.m in Sources */,
+ 354B83991D2E873E005D9406 /* MGLUserLocationAnnotationView.m in Sources */,
+ DAA4E4221CBB730400178DFB /* MGLPointAnnotation.mm in Sources */,
+ DAED38661D62D0FC00D7640F /* NSURL+MGLAdditions.m in Sources */,
DAD165711CF41981001FF4B9 /* MGLFeature.mm in Sources */,
+ 30E5781A1DAA855E0050F07E /* UIImage+MGLAdditions.mm in Sources */,
40EDA1C21CFE0E0500D9EA68 /* MGLAnnotationContainerView.m in Sources */,
DAA4E4291CBB730400178DFB /* NSBundle+MGLAdditions.m in Sources */,
DAA4E42E1CBB730400178DFB /* MGLAPIClient.m in Sources */,
+ 35136D3D1D42272500C20EFD /* MGLCircleStyleLayer.mm in Sources */,
+ 350098DF1D484E60004B2AF0 /* NSValue+MGLStyleAttributeAdditions.mm in Sources */,
+ DA6408DE1DA4E7D300908C90 /* MGLVectorStyleLayer.m in Sources */,
+ 3566C7691D4A77BA008152BC /* MGLGeoJSONSource.mm in Sources */,
+ 400533031DB086490069F638 /* NSArray+MGLAdditions.mm in Sources */,
+ 35136D431D42274500C20EFD /* MGLRasterStyleLayer.mm in Sources */,
+ 3538AA201D542239008EC33D /* MGLForegroundStyleLayer.m in Sources */,
DAA4E4201CBB730400178DFB /* MGLOfflinePack.mm in Sources */,
DAA4E4331CBB730400178DFB /* MGLUserLocation.m in Sources */,
+ 350098BE1D480108004B2AF0 /* MGLVectorSource.mm in Sources */,
+ 3566C76F1D4A8DFA008152BC /* MGLRasterSource.mm in Sources */,
DAA4E4351CBB730400178DFB /* SMCalloutView.m in Sources */,
+ 35136D4F1D4277FC00C20EFD /* MGLSource.mm in Sources */,
DA35A2B91CCA9A5D00E826B2 /* MGLClockDirectionFormatter.m in Sources */,
DAD1657B1CF4CDFF001FF4B9 /* MGLShapeCollection.m in Sources */,
- DAA4E4251CBB730400178DFB /* MGLShape.m in Sources */,
+ DAA4E4251CBB730400178DFB /* MGLShape.mm in Sources */,
+ 35136D461D42275100C20EFD /* MGLSymbolStyleLayer.mm in Sources */,
+ 35599DEE1D46F14E0048254D /* MGLStyleValue.mm in Sources */,
DAA4E42B1CBB730400178DFB /* NSString+MGLAdditions.m in Sources */,
DAA4E4261CBB730400178DFB /* MGLStyle.mm in Sources */,
DAA4E41D1CBB730400178DFB /* MGLGeometry.mm in Sources */,
DAA4E41F1CBB730400178DFB /* MGLMultiPoint.mm in Sources */,
+ DD0902AA1DB1929D00C5BDCE /* MGLNetworkConfiguration.m in Sources */,
DA35A2B41CCA141D00E826B2 /* MGLCompassDirectionFormatter.m in Sources */,
+ 35D13ABA1D3D15E300AFB4E0 /* MGLStyleLayer.mm in Sources */,
DA35A2CC1CCAAAD200E826B2 /* NSValue+MGLAdditions.m in Sources */,
+ 408AA8591DAEDA1E00022900 /* NSDictionary+MGLAdditions.mm in Sources */,
DAA4E4281CBB730400178DFB /* MGLTypes.m in Sources */,
DA35A2A21CC9E95F00E826B2 /* MGLCoordinateFormatter.m in Sources */,
35305D491D22AA680007D005 /* NSData+MGLAdditions.mm in Sources */,
DAA4E42D1CBB730400178DFB /* MGLAnnotationImage.m in Sources */,
+ 3510FFF31D6D9D8C00F413B2 /* NSExpression+MGLAdditions.mm in Sources */,
DAA4E4301CBB730400178DFB /* MGLLocationManager.m in Sources */,
DAA4E4321CBB730400178DFB /* MGLMapView.mm in Sources */,
DAA4E41E1CBB730400178DFB /* MGLMapCamera.mm in Sources */,
+ 404C26E51D89B877000AA13D /* MGLTileSet.mm in Sources */,
4018B1C81CDC287F00F666AF /* MGLAnnotationView.mm in Sources */,
- DAA4E4341CBB730400178DFB /* MGLUserLocationAnnotationView.m in Sources */,
- DAA4E42C1CBB730400178DFB /* reachability.m in Sources */,
+ DAA4E4341CBB730400178DFB /* MGLFaux3DUserLocationAnnotationView.m in Sources */,
+ 35B82BFB1D6C5F8400B1B721 /* NSPredicate+MGLAdditions.mm in Sources */,
+ 7E016D871D9E890300A29A21 /* MGLPolygon+MGLAdditions.m in Sources */,
DAA4E4311CBB730400178DFB /* MGLMapboxEvents.m in Sources */,
DAA4E4231CBB730400178DFB /* MGLPolygon.mm in Sources */,
+ 353AFA171D65AB17005A69F4 /* NSDate+MGLAdditions.mm in Sources */,
+ 35D13AC61D3D19DD00AFB4E0 /* MGLFillStyleLayer.mm in Sources */,
DAA4E42A1CBB730400178DFB /* NSProcessInfo+MGLAdditions.m in Sources */,
DAA4E4211CBB730400178DFB /* MGLOfflineStorage.mm in Sources */,
+ 4049C2A01DB6CD6C00B3F799 /* MGLPointCollection.mm in Sources */,
+ 35136D401D42273000C20EFD /* MGLLineStyleLayer.mm in Sources */,
DAA4E42F1CBB730400178DFB /* MGLCompactCalloutView.m in Sources */,
+ 3510FFFC1D6DCC4700F413B2 /* NSCompoundPredicate+MGLAdditions.mm in Sources */,
DAA4E4271CBB730400178DFB /* MGLTilePyramidOfflineRegion.mm in Sources */,
DAA4E41C1CBB730400178DFB /* MGLAccountManager.m in Sources */,
+ 35CE61851D4165D9004F2359 /* UIColor+MGLAdditions.mm in Sources */,
DAA4E4241CBB730400178DFB /* MGLPolyline.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -1569,8 +2159,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -1618,8 +2210,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -1674,6 +2268,7 @@
DA25D5BC1CCD9EDE00607828 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ INFOPLIST_FILE = framework/Settings.bundle/Root.plist;
PRODUCT_NAME = Settings;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = bundle;
@@ -1683,6 +2278,7 @@
DA25D5BD1CCD9EDE00607828 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ INFOPLIST_FILE = framework/Settings.bundle/Root.plist;
PRODUCT_NAME = Settings;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = bundle;
@@ -1691,9 +2287,10 @@
};
DA2E885A1CC036F400F24E7B /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
- HEADER_SEARCH_PATHS = ../../include;
+ CLANG_ENABLE_MODULES = YES;
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
INFOPLIST_FILE = test/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -1701,17 +2298,22 @@
"$(OTHER_CFLAGS)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.test;
PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "test/test-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 3.0;
};
name = Debug;
};
DA2E885B1CC036F400F24E7B /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
- HEADER_SEARCH_PATHS = ../../include;
+ CLANG_ENABLE_MODULES = YES;
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
INFOPLIST_FILE = test/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -1719,15 +2321,18 @@
"$(OTHER_CFLAGS)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.test;
PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "test/test-Bridging-Header.h";
+ SWIFT_VERSION = 3.0;
};
name = Release;
};
DA8847DB1CBAF91600AB86E3 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
CURRENT_PROJECT_VERSION = 1;
@@ -1735,11 +2340,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
- HEADER_SEARCH_PATHS = (
- ../default,
- ../../include,
- ../../src,
- );
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
INFOPLIST_FILE = framework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
@@ -1751,13 +2352,9 @@
"$(rapidjson_cflags)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
- OTHER_LDFLAGS = (
- "$(sqlite_ldflags)",
- "$(zlib_ldflags)",
- "$(opengl_ldflags)",
- "$(geojsonvt_static_libs)",
- );
+ OTHER_LDFLAGS = "$(mbgl_core_LINK_LIBRARIES)";
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.sdk.ios;
PRODUCT_NAME = Mapbox;
SKIP_INSTALL = YES;
@@ -1768,7 +2365,7 @@
};
DA8847DC1CBAF91600AB86E3 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
CURRENT_PROJECT_VERSION = 1;
@@ -1776,11 +2373,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
- HEADER_SEARCH_PATHS = (
- ../default,
- ../../include,
- ../../src,
- );
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
INFOPLIST_FILE = framework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
@@ -1792,13 +2385,9 @@
"$(rapidjson_cflags)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
- OTHER_LDFLAGS = (
- "$(sqlite_ldflags)",
- "$(zlib_ldflags)",
- "$(opengl_ldflags)",
- "$(geojsonvt_static_libs)",
- );
+ OTHER_LDFLAGS = "$(mbgl_core_LINK_LIBRARIES)";
PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.sdk.ios;
PRODUCT_NAME = Mapbox;
SKIP_INSTALL = YES;
@@ -1831,14 +2420,10 @@
};
DAA4E41A1CBB71D500178DFB /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
- HEADER_SEARCH_PATHS = (
- ../default,
- ../../include,
- ../../src,
- );
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"$(sqlite_cflags)",
@@ -1846,13 +2431,11 @@
"$(rapidjson_cflags)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
OTHER_LDFLAGS = (
"-ObjC",
- "$(sqlite_ldflags)",
- "$(zlib_ldflags)",
- "$(opengl_ldflags)",
- "$(geojsonvt_static_libs)",
+ "$(mbgl_core_LINK_LIBRARIES)",
);
PRODUCT_NAME = Mapbox;
PUBLIC_HEADERS_FOLDER_PATH = Headers;
@@ -1862,14 +2445,10 @@
};
DAA4E41B1CBB71D500178DFB /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = DAC07C961CBB2CD6000CB309 /* mbgl.xcconfig */;
+ baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
- HEADER_SEARCH_PATHS = (
- ../default,
- ../../include,
- ../../src,
- );
+ HEADER_SEARCH_PATHS = "$(mbgl_core_INCLUDE_DIRECTORIES)";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"$(sqlite_cflags)",
@@ -1877,13 +2456,11 @@
"$(rapidjson_cflags)",
"$(variant_cflags)",
"$(geometry_cflags)",
+ "$(geojson_cflags)",
);
OTHER_LDFLAGS = (
"-ObjC",
- "$(sqlite_ldflags)",
- "$(zlib_ldflags)",
- "$(opengl_ldflags)",
- "$(geojsonvt_static_libs)",
+ "$(mbgl_core_LINK_LIBRARIES)",
);
PRODUCT_NAME = Mapbox;
PUBLIC_HEADERS_FOLDER_PATH = Headers;
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
index 26982c0747..437f000a3c 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/bench.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/bench.xcscheme
index bfddf3c6c6..0a12923924 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/bench.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/bench.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic+static.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic+static.xcscheme
index 4b50564e54..2bba3a3e05 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic+static.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic+static.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic.xcscheme
index b77beb34aa..31c86be795 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/dynamic.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
index de74d64314..a299ab49b1 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -61,6 +61,13 @@
ReferencedContainer = "container:ios.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
+ <EnvironmentVariables>
+ <EnvironmentVariable
+ key = "OS_ACTIVITY_MODE"
+ value = "disable"
+ isEnabled = "YES">
+ </EnvironmentVariable>
+ </EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/static.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/static.xcscheme
index 8293b8e2a9..9bfc8aac36 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/static.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/static.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0730"
+ LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/ios.xcworkspace/contents.xcworkspacedata b/platform/ios/ios.xcworkspace/contents.xcworkspacedata
index 929ade2fee..08503d2be1 100644
--- a/platform/ios/ios.xcworkspace/contents.xcworkspacedata
+++ b/platform/ios/ios.xcworkspace/contents.xcworkspacedata
@@ -11,6 +11,6 @@
location = "group:uitest/KIF/KIF.xcodeproj">
</FileRef>
<FileRef
- location = "group:../../build/ios/platform/ios/platform.xcodeproj">
+ location = "group:../../build/ios/mbgl.xcodeproj">
</FileRef>
</Workspace>
diff --git a/platform/ios/ios.xcworkspace/xcshareddata/ios.xcscmblueprint b/platform/ios/ios.xcworkspace/xcshareddata/ios.xcscmblueprint
deleted file mode 100644
index a86fb58e7b..0000000000
--- a/platform/ios/ios.xcworkspace/xcshareddata/ios.xcscmblueprint
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "7E68CB584078A487C0535CC191D3B7551EEE2095",
- "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
-
- },
- "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
- "10265E242415D473A6A613214DB7AC3EE3D43F93" : 0,
- "D1BB63D501E0048981F00509C5A268D4AF5FEE4C" : 0,
- "7E68CB584078A487C0535CC191D3B7551EEE2095" : 0
- },
- "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "D6F4212C-91A7-4C87-9973-DF38C92B9C5F",
- "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
- "10265E242415D473A6A613214DB7AC3EE3D43F93" : "mapbox-gl-native\/platform\/ios\/test\/KIF\/",
- "D1BB63D501E0048981F00509C5A268D4AF5FEE4C" : "mapbox-gl-native\/platform\/ios\/vendor\/SMCalloutView\/",
- "7E68CB584078A487C0535CC191D3B7551EEE2095" : "mapbox-gl-native\/"
- },
- "DVTSourceControlWorkspaceBlueprintNameKey" : "ios",
- "DVTSourceControlWorkspaceBlueprintVersion" : 204,
- "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "platform\/ios\/ios.xcworkspace",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
- {
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/kif-framework\/KIF.git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "10265E242415D473A6A613214DB7AC3EE3D43F93"
- },
- {
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/mapbox\/mapbox-gl-native.git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "7E68CB584078A487C0535CC191D3B7551EEE2095"
- },
- {
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/mapbox\/smcalloutview.git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D1BB63D501E0048981F00509C5A268D4AF5FEE4C"
- }
- ]
-} \ No newline at end of file
diff --git a/platform/ios/jazzy.yml b/platform/ios/jazzy.yml
index ce09b8b39d..c19d9e3883 100644
--- a/platform/ios/jazzy.yml
+++ b/platform/ios/jazzy.yml
@@ -34,22 +34,42 @@ custom_categories:
- MGLMultiPolygon
- MGLMultiPolyline
- MGLPointAnnotation
+ - MGLPointCollection
- MGLPolygon
- MGLPolyline
- MGLOverlay
- MGLShape
- MGLShapeCollection
- MGLUserLocation
+ - MGLUserLocationAnnotationView
- name: Map Data
children:
- MGLFeature
- - MGLMultiPointFeature
- MGLMultiPolygonFeature
- MGLMultiPolylineFeature
+ - MGLPointCollectionFeature
- MGLPointFeature
- MGLPolygonFeature
- MGLPolylineFeature
- MGLShapeCollectionFeature
+ - name: Style Layers
+ children:
+ - MGLBackgroundStyleLayer
+ - MGLCircleStyleLayer
+ - MGLFillStyleLayer
+ - MGLForegroundStyleLayer
+ - MGLLineStyleLayer
+ - MGLRasterStyleLayer
+ - MGLStyleLayer
+ - MGLSymbolStyleLayer
+ - MGLVectorStyleLayer
+ - name: Data Sources
+ children:
+ - MGLSource
+ - MGLGeoJSONSource
+ - MGLRasterSource
+ - MGLTileSet
+ - MGLVectorSource
- name: Offline Maps
children:
- MGLOfflineRegion
diff --git a/platform/ios/platform.gyp b/platform/ios/platform.gyp
deleted file mode 100644
index 4cb26091d4..0000000000
--- a/platform/ios/platform.gyp
+++ /dev/null
@@ -1,149 +0,0 @@
-{
- 'variables': {
- 'loop_lib': 'darwin',
- 'headless_lib': 'eagl',
- 'coverage': 0,
- },
- 'includes': [
- '../../build/ios/config.gypi',
- '../../mbgl.gypi',
- '../../test/test.gypi',
- ],
- 'target_defaults': {
- 'target_conditions': [
- ['_type == "static_library"', {
- 'xcode_settings': {
- 'SDKROOT': 'iphoneos',
- 'SUPPORTED_PLATFORMS': 'iphonesimulator iphoneos',
- 'IPHONEOS_DEPLOYMENT_TARGET': '7.0',
- 'TARGETED_DEVICE_FAMILY': '1,2',
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'CODE_SIGN_IDENTITY': 'iPhone Developer',
- },
- }],
- ],
- },
- 'targets': [
- {
- 'target_name': 'test',
- 'type': 'executable',
- 'product_name': 'ios-test',
- 'product_extension': 'app',
- 'mac_bundle': 1,
-
- 'dependencies': [
- 'test-lib',
- 'platform-lib',
- ],
-
- 'sources': [
- '../../test/src/main.mm',
-# '../../src/mbgl/util/premultiply.cpp',
- ],
-
- 'xcode_settings': {
- 'SDKROOT': 'iphoneos',
- 'SUPPORTED_PLATFORMS': 'iphonesimulator iphoneos',
- 'INFOPLIST_FILE': '../../test/src/app-info.plist',
- 'IPHONEOS_DEPLOYMENT_TARGET': '8.0',
- 'TARGETED_DEVICE_FAMILY': '1,2',
- 'COPY_PHASE_STRIP': 'NO',
- 'CLANG_ENABLE_OBJC_ARC': 'YES',
- 'CLANG_ENABLE_MODULES': 'YES',
- 'CODE_SIGN_IDENTITY': 'iPhone Developer',
- 'PRODUCT_BUNDLE_IDENTIFIER': 'com.mapbox.MapboxGLUnitTest',
- },
-
- 'copies': [{
- 'destination': '<(PRODUCT_DIR)/$(WRAPPER_NAME)/test',
- 'files': [ '../../test/fixtures' ],
- }],
-
- 'link_settings': {
- 'libraries': [
- '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
- '$(SDKROOT)/System/Library/Frameworks/GLKit.framework',
- '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
- '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
- '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework',
- ],
- },
- },
- {
- 'target_name': 'platform-lib',
- 'product_name': 'mbgl-platform-ios',
- 'type': 'static_library',
- 'standalone_static_library': 1,
- 'hard_dependency': 1,
- 'dependencies': [
- 'core',
- ],
-
- 'include_dirs': [
- 'include',
- '../darwin/include',
- '../default',
- '../../include',
- '../../src', # TODO: eliminate
- '<(SHARED_INTERMEDIATE_DIR)/include',
- ],
-
- 'sources': [
- '../default/asset_file_source.cpp',
- '../default/default_file_source.cpp',
- '../default/online_file_source.cpp',
- '../default/mbgl/storage/offline.hpp',
- '../default/mbgl/storage/offline.cpp',
- '../default/mbgl/storage/offline_database.hpp',
- '../default/mbgl/storage/offline_database.cpp',
- '../default/mbgl/storage/offline_download.hpp',
- '../default/mbgl/storage/offline_download.cpp',
- '../default/sqlite3.hpp',
- '../default/sqlite3.cpp',
- '../darwin/src/http_file_source.mm',
- '../darwin/src/log_nslog.mm',
- '../darwin/src/string_nsstring.mm',
- '../darwin/src/image.mm',
- '../darwin/src/nsthread.mm',
- '../darwin/src/reachability.m',
- ],
-
- 'variables': {
- 'cflags_cc': [
- '<@(sqlite_cflags)',
- '<@(zlib_cflags)',
- '<@(rapidjson_cflags)',
- ],
- 'ldflags': [
- '<@(sqlite_ldflags)',
- '<@(zlib_ldflags)',
- ],
- 'libraries': [
- '<@(sqlite_static_libs)',
- '<@(zlib_static_libs)',
- ],
- },
-
- 'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
- 'CLANG_ENABLE_OBJC_ARC': 'YES',
- 'CLANG_ENABLE_MODULES': 'YES',
- },
-
- 'conditions': [
- ['OS == "mac"', {
- 'xcode_settings': {
- 'BITCODE_GENERATION_MODE': 'bitcode',
- },
- },],
- ],
-
- 'link_settings': {
- 'libraries': [ '<@(libraries)' ],
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [ '<@(ldflags)' ],
- },
- },
- },
- ],
-}
diff --git a/platform/ios/scripts/configure.sh b/platform/ios/scripts/configure.sh
deleted file mode 100644
index 408180881c..0000000000
--- a/platform/ios/scripts/configure.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-UNIQUE_RESOURCE_VERSION=dev
-PROTOZERO_VERSION=1.3.0
-BOOST_VERSION=1.60.0
-SQLITE_VERSION=system
-ZLIB_VERSION=system
-GEOMETRY_VERSION=0.5.0
-GEOJSONVT_VERSION=4.1.2
-VARIANT_VERSION=1.1.0
-RAPIDJSON_VERSION=1.0.2
-GTEST_VERSION=1.7.0
-PIXELMATCH_VERSION=0.9.0
-EARCUT_VERSION=0.11
diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh
index 42bce89cf3..8ad5e7abb1 100755
--- a/platform/ios/scripts/deploy-packages.sh
+++ b/platform/ios/scripts/deploy-packages.sh
@@ -4,32 +4,29 @@ set -e
set -o pipefail
set -u
-usage() {
-cat <<EOF
-# Usage: sh $0 version target_directory [argument]
-
-# version: The semver version plus optional alpha beta distinction (i.e. {major.minor.patch}{-alpha.N})
-# target_directory: The directory where build output should be placed
-
-# argument:
-# -g: Upload to github
+# dynamic environment variables:
+# VERSION_TAG={determined automatically}: Version tag in format ios-vX.X.X-pre.X
+# GITHUB_RELEASE=true: Upload to github
+# BINARY_DIRECTORY=build/ios/deploy: Directory in which to save test packages
# environment variables and dependencies:
# - You must run "mbx auth ..." before running
# - Set GITHUB_TOKEN to a GitHub API access token in your environment to use GITHUB_RELEASE
# - "wget" is required for downloading the zip files from s3
-# - The "github-release" gem is required to use GITHUB_RELEASE
-EOF
-}
+# - The "github-release" command is required to use GITHUB_RELEASE
+
+function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
+function finish { >&2 echo -en "\033[0m"; }
+trap finish EXIT
buildPackageStyle() {
local package=$1 style=""
if [[ ${#} -eq 2 ]]; then
style="$2"
fi
- echo "make ${package} ${style}"
+ step "Building: make ${package} ${style}"
make ${package}
- echo "publish ${package} with ${style}"
+ step "Publishing ${package} with ${style}"
local file_name=""
if [ -z ${style} ]
then
@@ -39,43 +36,76 @@ buildPackageStyle() {
./platform/ios/scripts/publish.sh "${PUBLISH_VERSION}" ${style}
file_name=mapbox-ios-sdk-${PUBLISH_VERSION}-${style}.zip
fi
- echo "Downloading ${file_name} from s3... to ${BINARY_DIRECTORY}"
- wget -P ${BINARY_DIRECTORY} http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/${file_name}
+ step "Downloading ${file_name} from s3 to ${BINARY_DIRECTORY}"
+ wget -O ${BINARY_DIRECTORY}/${file_name} http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/${file_name}
if [[ "${GITHUB_RELEASE}" == true ]]; then
- echo "publish ${file_name} to GitHub"
- github-release --verbose upload --tag "ios-v${PUBLISH_VERSION}" --name ${file_name} --file "${BINARY_DIRECTORY}/${file_name}"
+ step "Uploading ${file_name} to GitHub"
+ github-release upload \
+ --tag "ios-v${PUBLISH_VERSION}" \
+ --name ${file_name} \
+ --file "${BINARY_DIRECTORY}/${file_name}" > /dev/null
fi
}
-if [ ${#} -eq 0 -o ${#} -gt 3 ]; then
- usage
- exit 1
-fi
-
export TRAVIS_REPO_SLUG=mapbox-gl-native
-export PUBLISH_VERSION=$1
export GITHUB_USER=mapbox
export GITHUB_REPO=mapbox-gl-native
export BUILDTYPE=Release
-BINARY_DIRECTORY=$2
+VERSION_TAG=${VERSION_TAG:-''}
+PUBLISH_VERSION=
+BINARY_DIRECTORY=${BINARY_DIRECTORY:-build/ios/deploy}
+GITHUB_RELEASE=${GITHUB_RELEASE:-true}
PUBLISH_PRE_FLAG=''
-GITHUB_RELEASE=false
-echo "Deploying version ${PUBLISH_VERSION}..."
+if [[ ${GITHUB_RELEASE} = "true" ]]; then
+ GITHUB_RELEASE=true # Assign bool, not just a string
+
+ if [[ -z `which github-release` ]]; then
+ step "Installing github-release…"
+ brew install github-release
+ if [ -z `which github-release` ]; then
+ echo "Unable to install github-release. See: https://github.com/aktau/github-release"
+ exit 1
+ fi
+ fi
+fi
+
+if [[ -z ${VERSION_TAG} ]]; then
+ step "Determining version number from most recent relevant git tag…"
+ VERSION_TAG=$( git describe --tags --match=ios-v*.*.* --abbrev=0 )
+ echo "Found tag: ${VERSION_TAG}"
+fi
+
+if [[ $( echo ${VERSION_TAG} | grep --invert-match ios-v ) ]]; then
+ echo "Error: ${VERSION_TAG} is not a valid iOS version tag"
+ echo "VERSION_TAG should be in format: ios-vX.X.X-pre.X"
+ exit 1
+fi
-if [[ ${#} -eq 3 && $3 == "-g" ]]; then
- GITHUB_RELEASE=true
+if [[ $( wget --spider -O- https://api.github.com/repos/${GITHUB_USER}/${GITHUB_REPO}/releases/tags/${VERSION_TAG} 2>&1 | grep -c "404 Not Found" ) == 0 ]]; then
+ echo "Error: ${VERSION_TAG} has already been published on GitHub"
+ echo "See: https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/tag/${VERSION_TAG}"
+ exit 1
fi
-
+
+PUBLISH_VERSION=$( echo ${VERSION_TAG} | sed 's/^ios-v//' )
+git checkout ${VERSION_TAG}
+
+step "Deploying version ${PUBLISH_VERSION}…"
+
make clean && make distclean
+mkdir -p ${BINARY_DIRECTORY}
if [[ "${GITHUB_RELEASE}" == true ]]; then
- echo "Create GitHub release..."
+ step "Create GitHub release…"
if [[ $( echo ${PUBLISH_VERSION} | awk '/[0-9]-/' ) ]]; then
PUBLISH_PRE_FLAG='--pre-release'
fi
- github-release --verbose release --tag "ios-v${PUBLISH_VERSION}" --name "ios-v${PUBLISH_VERSION}" --draft ${PUBLISH_PRE_FLAG}
+ github-release release \
+ --tag "ios-v${PUBLISH_VERSION}" \
+ --name "ios-v${PUBLISH_VERSION}" \
+ --draft ${PUBLISH_PRE_FLAG}
fi
buildPackageStyle "ipackage" "symbols"
@@ -83,3 +113,5 @@ buildPackageStyle "ipackage-strip"
buildPackageStyle "iframework" "symbols-dynamic"
buildPackageStyle "iframework SYMBOLS=NO" "dynamic"
buildPackageStyle "ifabric" "fabric"
+
+step "Finished deploying ${PUBLISH_VERSION} in $(($SECONDS / 60)) minutes and $(($SECONDS % 60)) seconds"
diff --git a/platform/ios/scripts/document.sh b/platform/ios/scripts/document.sh
index 62ec7824fc..4160749e2b 100755
--- a/platform/ios/scripts/document.sh
+++ b/platform/ios/scripts/document.sh
@@ -38,6 +38,7 @@ jazzy \
--github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${BRANCH} \
--module-version ${SHORT_VERSION} \
--readme ${README} \
+ --documentation="platform/ios/docs/Info.plist Keys.md" \
--root-url https://www.mapbox.com/ios-sdk/api/${RELEASE_VERSION}/ \
--theme platform/darwin/docs/theme \
--output ${OUTPUT}
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 405868a064..796de17146 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -7,7 +7,7 @@ set -u
NAME=Mapbox
OUTPUT=build/ios/pkg
DERIVED_DATA=build/ios
-PRODUCTS=${DERIVED_DATA}/Build/Products
+PRODUCTS=${DERIVED_DATA}
BUILDTYPE=${BUILDTYPE:-Debug}
BUILD_FOR_DEVICE=${BUILD_DEVICE:-true}
@@ -106,7 +106,7 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then
-jobs ${JOBS} | xcpretty
fi
-LIBS=(Mapbox.a mbgl-core.a mbgl-platform-ios.a)
+LIBS=(Mapbox.a)
# https://medium.com/@syshen/create-an-ios-universal-framework-148eb130a46c
if [[ ${BUILD_FOR_DEVICE} == true ]]; then
@@ -117,7 +117,7 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then
-o ${OUTPUT}/static/${NAME}.framework/${NAME} \
${LIBS[@]/#/${PRODUCTS}/${BUILDTYPE}-iphoneos/lib} \
${LIBS[@]/#/${PRODUCTS}/${BUILDTYPE}-iphonesimulator/lib} \
- `find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojsonvt.a`
+ `find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojson.a`
cp -rv ${PRODUCTS}/${BUILDTYPE}-iphoneos/${NAME}.bundle ${STATIC_BUNDLE_DIR}
fi
@@ -148,7 +148,7 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then
${PRODUCTS}/${BUILDTYPE}-iphonesimulator/${NAME}.framework/${NAME} \
-create -output ${OUTPUT}/dynamic/${NAME}.framework/${NAME} | echo
fi
-
+
cp -rv ${PRODUCTS}/${BUILDTYPE}-iphoneos/Settings.bundle ${STATIC_SETTINGS_DIR}
else
if [[ ${BUILD_STATIC} == true ]]; then
@@ -157,7 +157,7 @@ else
libtool -static -no_warning_for_no_symbols \
-o ${OUTPUT}/static/${NAME}.framework/${NAME} \
${LIBS[@]/#/${PRODUCTS}/${BUILDTYPE}-iphonesimulator/lib} \
- `find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojsonvt.a`
+ `find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojson.a`
cp -rv ${PRODUCTS}/${BUILDTYPE}-iphonesimulator/${NAME}.bundle ${STATIC_BUNDLE_DIR}
fi
@@ -173,7 +173,7 @@ else
${OUTPUT}/dynamic/
fi
fi
-
+
cp -rv ${PRODUCTS}/${BUILDTYPE}-iphonesimulator/Settings.bundle ${STATIC_SETTINGS_DIR}
fi
diff --git a/platform/ios/scripts/publish.sh b/platform/ios/scripts/publish.sh
index bdfbc94314..e080ee825c 100755
--- a/platform/ios/scripts/publish.sh
+++ b/platform/ios/scripts/publish.sh
@@ -4,6 +4,10 @@ set -e
set -o pipefail
set -u
+function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
+function finish { >&2 echo -en "\033[0m"; }
+trap finish EXIT
+
#
# iOS release tag format is `vX.Y.Z`; `X.Y.Z` gets passed in
# In the case of symbolicated builds, we also append the `-symbols`.
@@ -21,11 +25,14 @@ fi
#
cd build/ios/pkg
ZIP=mapbox-ios-sdk-${PUBLISH_VERSION}${PUBLISH_STYLE}.zip
+step "Compressing ${ZIP}…"
rm -f ../${ZIP}
zip -r ../${ZIP} *
+
#
# upload
#
+step "Uploading ${ZIP} to s3…"
REPO_NAME=$(basename $TRAVIS_REPO_SLUG)
-aws s3 cp ../${ZIP} s3://mapbox/$REPO_NAME/ios/builds/ --acl public-read > /dev/null
+aws s3 cp ../${ZIP} s3://mapbox/$REPO_NAME/ios/builds/ --acl public-read
echo http://mapbox.s3.amazonaws.com/$REPO_NAME/ios/builds/${ZIP}
diff --git a/platform/ios/scripts/release-fabric.sh b/platform/ios/scripts/release-fabric.sh
new file mode 100755
index 0000000000..6f05e2886e
--- /dev/null
+++ b/platform/ios/scripts/release-fabric.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+set -u
+
+export PUBLISH_VERSION=$1
+export BINARY_DIRECTORY=$2
+export ZIP_OUTPUT=mapbox-ios-sdk-${PUBLISH_VERSION}-fabric
+export FILE_NAME=mapbox-ios-sdk-${PUBLISH_VERSION}-fabric.zip
+export ZIP_ARCHIVE_PATH=${BINARY_DIRECTORY}/${FILE_NAME}
+export BUNDLE_ID="com.mapbox.sdk.ios"
+
+echo "Downloading ${FILE_NAME}:"
+wget -P ${BINARY_DIRECTORY} http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/${FILE_NAME}
+
+echo "Extracting ${ZIP_ARCHIVE_PATH} to ${BINARY_DIRECTORY}/${ZIP_OUTPUT}"
+unzip -q ${ZIP_ARCHIVE_PATH} -d ${BINARY_DIRECTORY}/${ZIP_OUTPUT}
+ditto ${BINARY_DIRECTORY}/${ZIP_OUTPUT}/static/Mapbox.framework ${BINARY_DIRECTORY}/Mapbox.framework
+
+echo "Zipping framework:"
+cd ${BINARY_DIRECTORY}
+zip -q -r Mapbox.framework.zip Mapbox.framework
+cd $OLDPWD
+
+echo "Validating framework:"
+./validate-fabric-zip.sh ${BINARY_DIRECTORY}/Mapbox.framework.zip
+
+echo "Uploading ${BINARY_DIRECTORY}/Mapbox.framework.zip to https://kits.fabric.io/manage-api/v1/kit-releases/ios/$BUNDLE_ID/$PUBLISH_VERSION with key ${FABRIC_KIT_API_KEY}"
+curl --fail -v -X PUT -H "X-FabricKits-ApiKey: ${FABRIC_KIT_API_KEY}" \
+ -F "release_artifact=@${BINARY_DIRECTORY}/Mapbox.framework.zip;type=application/octet-stream" \
+ https://kits.fabric.io/manage-api/v1/kit-releases/ios/$BUNDLE_ID/$PUBLISH_VERSION
+
+echo "Cleaning up"
+rm -r #{BINARY_DIRECTORY}
+
+echo "Done"
diff --git a/platform/ios/scripts/validate-fabric-zip.sh b/platform/ios/scripts/validate-fabric-zip.sh
new file mode 100755
index 0000000000..7cc772d70c
--- /dev/null
+++ b/platform/ios/scripts/validate-fabric-zip.sh
@@ -0,0 +1,131 @@
+#!/usr/bin/env bash
+# Created by Cory Dolphin on 03/21/16.
+# Copyright (c) 2016 Twitter. All rights reserved.
+
+# Verifies a zip archive submission of SDKs passes basic static checks for format and contents.
+# This test is likely to generate false positives, e.g. even if your SDK passes this, you still must
+# test integration of your code fully.
+
+# Usage: $ ./validate_zip.sh <path to zip>
+
+set -e
+
+if [ ! -f "$1" ]; then
+ printf "No file found at ${1}\n"
+ printf "Usage: $ ./validate_zip.sh <path to zip>\n"; exit 1;
+fi
+
+function verifyFramework() {
+ # set -x
+ local FRAMEWORK_PATH=$1
+ local FRAMEWORK_NAME=$(basename $FRAMEWORK_PATH)
+ local PRODUCT="${FRAMEWORK_NAME%.*}"
+ local BINARY_PATH="${FRAMEWORK_PATH}/${PRODUCT}"
+ local HEADER_PATH="${FRAMEWORK_PATH}/Headers"
+ printf "Found $FRAMEWORK_NAME. Verifying...\n"
+
+ local MODULE_MAP=( $(find $FRAMEWORK_PATH -name "*.modulemap") )
+ if [[ -z "$MODULE_MAP" ]]; then
+ printf "ERROR: No modulemap found in $FRAMEWORK_NAME\n";
+ exit 3;
+ fi
+ printf "$FRAMEWORK_NAME contains modulemap: ✓\n"
+
+ # Verify there is a modulemap so Swift can use the framework
+ if grep -q "link" "$MODULE_MAP"; then
+ printf "$FRAMEWORK_NAME modulemap contains dependent system frameworks ✓\n"
+ else
+ printf "Warning: ${FRAMEWORK_NAME} does not list any system library dependencies. Double check all dependent frameworks and libraries are listed. \n";
+ fi
+
+ # Verify there is at least one header listed in the module map
+ if grep -q ".*.h" "$MODULE_MAP"; then
+ printf "$FRAMEWORK_NAME modulemap contains headers ✓\n";
+ else
+ printf "Error: ${FRAMEWORK_NAME} does not list any headers in the modulemap\n";
+ exit 4;
+ fi
+
+ # Verify there is at least a headers folder
+ if [[ ! -d "$HEADER_PATH" ]]; then
+ printf "ERROR: Headers not not found in ${FRAMEWORK_NAME}\n";
+ exit 5;
+ fi
+
+ # Verify the static lib at least has simulator and the two common ARM architectures
+ local PRESENT_ARCHITECTURES=$( xcrun lipo -info "${BINARY_PATH}" )
+ for arch in "armv7" "arm64" "i386" "x86_64"; do
+ if [[ ! $PRESENT_ARCHITECTURES == *$arch* ]]; then
+ printf "ERROR: Architecture ${arch} not found in ${FRAMEWORK_NAME}\n";
+ exit 6;
+ fi
+ done
+ printf "$FRAMEWORK_NAME contains simulator and device architectures: ✓\n"
+
+ # Verify there are at least some bitcode segments in the rmv7 and arm64 slices
+ # Note, this is not conclusive, it is possible some symbols are missing the segment
+ for arch in "armv7" "arm64"; do
+ local SYMBOLS=$(otool -l -arch "${arch}" "${BINARY_PATH}")
+ if [[ ! $SYMBOLS == *"LLVM"* ]]; then
+ printf "ERROR: Bitcode segments not found in ${FRAMEWORK_NAME}. Users will fail to archive their builds \n";
+ exit 7;
+ fi
+ done
+ printf "$FRAMEWORK_NAME contains bitcode: ✓\n"
+
+ # Verify there is a plist file
+ local PLIST_PATH=( $(find $FRAMEWORK_PATH -name Info.plist) )
+ if [[ -z "$PLIST_PATH" ]]; then
+ printf "ERROR: No Info.plist found in $FRAMEWORK_NAME\n"
+ exit 8;
+ fi
+ printf "$FRAMEWORK_NAME contains Info.plist: ✓\n"
+
+ # Verify there is a bundle identifier in Info.plist
+ # And verify it does not contain any vestigial string templating
+ local BUNDLE_NAME=$(/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" "${PLIST_PATH}")
+ if [[ -z "$BUNDLE_NAME" ]]; then
+ printf "ERROR: Info.plist not found in $FRAMEWORK_NAME or CFBundleIdentifier not set\n";
+ exit 9;
+ elif [[ "$BUNDLE_NAME" == *"$"* ]]; then
+ printf "ERROR: CFBundleIdentifier is invalid: $BUNDLE_NAME\n";
+ exit 10;
+ else
+ printf "$FRAMEWORK_NAME has bundle: $BUNDLE_NAME ✓\n"
+ fi
+
+ # Verify there is a bundle version in the Info.plist
+ local BUNDLE_VERSION=$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "${PLIST_PATH}")
+ if [[ -z "$BUNDLE_VERSION" ]]; then
+ printf "ERROR: No CFBundleShortVersionString found in $FRAMEWORK_NAME\n";
+ exit 11;
+ else
+ printf "$FRAMEWORK_NAME has version: $BUNDLE_VERSION ✓\n"
+ fi
+
+ printf "===========================================\n"
+ printf "Analyzed $PRODUCT version $BUNDLE_VERSION. \n"
+ printf "Basic static verifications passed. 🚀🚀🚀 \n"
+ printf "Please perform final verification testing \n\n"
+}
+
+# Extract the zip archive to a temporary location
+TEMP_DIR=$(mktemp -d /tmp/fabric_framework_validation.XXXXX)
+printf "Unzipping $(basename "$1") to $TEMP_DIR\n"
+unzip "$1" -d "$TEMP_DIR" &> /dev/null
+
+# Find frameworks and ensure they are at the top level, e.g. NOT nested within a sub directory
+printf "Scanning for frameworks...\n"
+FRAMEWORKS=( $(find "$TEMP_DIR" -name "*.framework" -maxdepth 1) )
+if [ -z "$FRAMEWORKS" ]; then
+ printf "ERROR: No frameworks found at the top level within the zip archive.";
+ exit 2;
+fi
+
+# Verify each framework found individually
+for framework in "${FRAMEWORKS[@]}"; do
+ verifyFramework "$framework"
+ printf ""
+done
+
+rm -r "$TEMP_DIR"
diff --git a/platform/ios/src/MGLAPIClient.h b/platform/ios/src/MGLAPIClient.h
index ef64b021b7..0f8926d360 100644
--- a/platform/ios/src/MGLAPIClient.h
+++ b/platform/ios/src/MGLAPIClient.h
@@ -3,10 +3,14 @@
#import "MGLMapboxEvents.h"
#import "MGLTypes.h"
+NS_ASSUME_NONNULL_BEGIN
+
@interface MGLAPIClient : NSObject <NSURLSessionDelegate>
-- (void)postEvents:(nonnull NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
-- (void)postEvent:(nonnull MGLMapboxEventAttributes *)event completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
+- (void)postEvents:(NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
+- (void)postEvent:(MGLMapboxEventAttributes *)event completionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler;
- (void)cancelAll;
@end
+
+NS_ASSUME_NONNULL_END
diff --git a/platform/ios/src/MGLAnnotationContainerView_Private.h b/platform/ios/src/MGLAnnotationContainerView_Private.h
new file mode 100644
index 0000000000..007b03550b
--- /dev/null
+++ b/platform/ios/src/MGLAnnotationContainerView_Private.h
@@ -0,0 +1,14 @@
+#import "MGLAnnotationContainerView.h"
+#import "MGLAnnotationView.h"
+
+@class MGLAnnotationView;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MGLAnnotationContainerView (Private)
+
+@property (nonatomic) NS_MUTABLE_ARRAY_OF(MGLAnnotationView *) *annotationViews;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/platform/ios/src/MGLAnnotationImage.h b/platform/ios/src/MGLAnnotationImage.h
index fa2adb3830..a7003d7f91 100644
--- a/platform/ios/src/MGLAnnotationImage.h
+++ b/platform/ios/src/MGLAnnotationImage.h
@@ -1,10 +1,13 @@
#import <UIKit/UIKit.h>
-#import "MGLTypes.h"
-
NS_ASSUME_NONNULL_BEGIN
-/** The MGLAnnotationImage class is responsible for presenting point-based annotations visually on a map view. Annotation image objects wrap `UIImage` objects and may be recycled later and put into a reuse queue that is maintained by the map view. */
+/**
+ The `MGLAnnotationImage` class is responsible for presenting point-based
+ annotations visually on a map view. Annotation image objects wrap `UIImage`
+ objects and may be recycled later and put into a reuse queue that is maintained
+ by the map view.
+ */
@interface MGLAnnotationImage : NSObject
#pragma mark Initializing and Preparing the Image Object
@@ -13,8 +16,10 @@ NS_ASSUME_NONNULL_BEGIN
Initializes and returns a new annotation image object.
@param image The image to be displayed for the annotation.
- @param reuseIdentifier The string that identifies that this annotation image is reusable.
- @return The initialized annotation image object or `nil` if there was a problem initializing the object.
+ @param reuseIdentifier The string that identifies that this annotation image is
+ reusable.
+ @return The initialized annotation image object or `nil` if there was a problem
+ initializing the object.
*/
+ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(NSString *)reuseIdentifier;
@@ -26,16 +31,21 @@ NS_ASSUME_NONNULL_BEGIN
/**
The string that identifies that this annotation image is reusable. (read-only)
- You specify the reuse identifier when you create the image object. You use this type later to retrieve an annotation image object that was created previously but which is currently unused because its annotation is not on screen.
+ You specify the reuse identifier when you create the image object. You use this
+ type later to retrieve an annotation image object that was created previously
+ but which is currently unused because its annotation is not on screen.
- If you define distinctly different types of annotations (with distinctly different annotation images to go with them), you can differentiate between the annotation types by specifying different reuse identifiers for each one.
+ If you define distinctly different types of annotations (with distinctly
+ different annotation images to go with them), you can differentiate between the
+ annotation types by specifying different reuse identifiers for each one.
*/
@property (nonatomic, readonly) NSString *reuseIdentifier;
/**
A Boolean value indicating whether the annotation is enabled.
- The default value of this property is `YES`. If the value of this property is `NO`, the annotation image ignores touch events and cannot be selected.
+ The default value of this property is `YES`. If the value of this property is
+ `NO`, the annotation image ignores touch events and cannot be selected.
*/
@property (nonatomic, getter=isEnabled) BOOL enabled;
diff --git a/platform/ios/src/MGLAnnotationView.h b/platform/ios/src/MGLAnnotationView.h
index 5469841036..634e9ad723 100644
--- a/platform/ios/src/MGLAnnotationView.h
+++ b/platform/ios/src/MGLAnnotationView.h
@@ -1,7 +1,5 @@
#import <UIKit/UIKit.h>
-#import "MGLTypes.h"
-
NS_ASSUME_NONNULL_BEGIN
@protocol MGLAnnotation;
diff --git a/platform/ios/src/MGLAnnotationView.mm b/platform/ios/src/MGLAnnotationView.mm
index 7064ccbd76..96ed8c733e 100644
--- a/platform/ios/src/MGLAnnotationView.mm
+++ b/platform/ios/src/MGLAnnotationView.mm
@@ -1,7 +1,7 @@
#import "MGLAnnotationView.h"
#import "MGLAnnotationView_Private.h"
+#import "MGLMapView_Private.h"
#import "MGLAnnotation.h"
-#import "MGLMapView_Internal.h"
#import "NSBundle+MGLAdditions.h"
@@ -11,6 +11,7 @@
@property (nonatomic, readwrite, nullable) NSString *reuseIdentifier;
@property (nonatomic, readwrite, nullable) id <MGLAnnotation> annotation;
+@property (nonatomic, readwrite) CATransform3D lastAppliedScaleTransform;
@property (nonatomic, weak) UIPanGestureRecognizer *panGestureRecognizer;
@property (nonatomic, weak) UILongPressGestureRecognizer *longPressRecognizer;
@property (nonatomic, weak) MGLMapView *mapView;
@@ -24,6 +25,7 @@
self = [self initWithFrame:CGRectZero];
if (self)
{
+ _lastAppliedScaleTransform = CATransform3DIdentity;
_reuseIdentifier = [reuseIdentifier copy];
_scalesWithViewingDistance = YES;
_enabled = YES;
@@ -68,7 +70,7 @@
center.y += _centerOffset.dy;
super.center = center;
- [self updateTransform];
+ [self updateScaleTransformForViewingDistance];
}
- (void)setScalesWithViewingDistance:(BOOL)scalesWithViewingDistance
@@ -76,24 +78,14 @@
if (_scalesWithViewingDistance != scalesWithViewingDistance)
{
_scalesWithViewingDistance = scalesWithViewingDistance;
- [self updateTransform];
+ [self updateScaleTransformForViewingDistance];
}
}
-- (void)updateTransform
+- (void)updateScaleTransformForViewingDistance
{
- // Omit applying a new transformation while the view is being dragged.
- if (self.dragState == MGLAnnotationViewDragStateDragging)
- {
- return;
- }
-
- self.layer.transform = CATransform3DIdentity;
- if ( ! self.scalesWithViewingDistance)
- {
- return;
- }
-
+ if (self.scalesWithViewingDistance == NO || self.dragState == MGLAnnotationViewDragStateDragging) return;
+
CGFloat superviewHeight = CGRectGetHeight(self.superview.frame);
if (superviewHeight > 0.0) {
// Find the maximum amount of scale reduction to apply as the view's center moves from the top
@@ -115,9 +107,15 @@
// map view is 50% pitched then the annotation view should be reduced by 37.5% (.75 * .5). The
// reduction is then normalized for a scale of 1.0.
CGFloat pitchAdjustedScale = 1.0 - maxScaleReduction * pitchIntensity;
-
- CATransform3D transform = CATransform3DIdentity;
- self.layer.transform = CATransform3DScale(transform, pitchAdjustedScale, pitchAdjustedScale, 1);
+
+ // We keep track of each viewing distance scale transform that we apply. Each iteration,
+ // we can account for it so that we don't get cumulative scaling every time we move.
+ // We also avoid clobbering any existing transform passed in by the client, too.
+ CATransform3D undoOfLastScaleTransform = CATransform3DInvert(_lastAppliedScaleTransform);
+ CATransform3D newScaleTransform = CATransform3DMakeScale(pitchAdjustedScale, pitchAdjustedScale, 1);
+ CATransform3D effectiveTransform = CATransform3DConcat(undoOfLastScaleTransform, newScaleTransform);
+ self.layer.transform = CATransform3DConcat(self.layer.transform, effectiveTransform);
+ _lastAppliedScaleTransform = newScaleTransform;
}
}
@@ -248,16 +246,6 @@
return otherGestureRecognizer == _longPressRecognizer || otherGestureRecognizer == _panGestureRecognizer;
}
-- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event
-{
- // Allow mbgl to drive animation of this view’s bounds.
- if ([event isEqualToString:@"bounds"] || [event isEqualToString:@"position"])
- {
- return [NSNull null];
- }
- return [super actionForLayer:layer forKey:event];
-}
-
#pragma mark UIAccessibility methods
- (BOOL)isAccessibilityElement {
diff --git a/platform/ios/src/MGLCalloutView.h b/platform/ios/src/MGLCalloutView.h
index 641976dfee..6918aad614 100644
--- a/platform/ios/src/MGLCalloutView.h
+++ b/platform/ios/src/MGLCalloutView.h
@@ -1,39 +1,43 @@
#import <Foundation/Foundation.h>
-#import "MGLTypes.h"
-
NS_ASSUME_NONNULL_BEGIN
@protocol MGLCalloutViewDelegate;
@protocol MGLAnnotation;
/**
- A protocol for a `UIView` subclass that displays information about a selected annotation near that annotation.
+ A protocol for a `UIView` subclass that displays information about a selected
+ annotation near that annotation.
*/
@protocol MGLCalloutView <NSObject>
/**
- An object conforming to the `MGLAnnotation` protocol whose details this callout view displays.
+ An object conforming to the `MGLAnnotation` protocol whose details this callout
+ view displays.
*/
@property (nonatomic, strong) id <MGLAnnotation> representedObject;
/**
- A view that the user may tap to perform an action. This view is conventionally positioned on the left side of the callout view.
+ A view that the user may tap to perform an action. This view is conventionally
+ positioned on the left side of the callout view.
*/
@property (nonatomic, strong) UIView *leftAccessoryView;
/**
- A view that the user may tap to perform an action. This view is conventionally positioned on the right side of the callout view.
+ A view that the user may tap to perform an action. This view is conventionally
+ positioned on the right side of the callout view.
*/
@property (nonatomic, strong) UIView *rightAccessoryView;
/**
- An object conforming to the `MGLCalloutViewDelegate` method that receives messages related to the callout view’s interactive subviews.
+ An object conforming to the `MGLCalloutViewDelegate` method that receives
+ messages related to the callout view’s interactive subviews.
*/
@property (nonatomic, weak) id<MGLCalloutViewDelegate> delegate;
/**
- Presents a callout view by adding it to `inView` and pointing at the given rect of `inView`’s bounds. Constrains the callout to the bounds of the given view.
+ Presents a callout view by adding it to `view` and pointing at the given rect
+ of `view`’s bounds. Constrains the callout to the bounds of the given view.
*/
- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated;
@@ -45,15 +49,21 @@ NS_ASSUME_NONNULL_BEGIN
@end
/**
- The MGLCalloutViewDelegate protocol defines a set of optional methods that you can use to receive messages from an object that conforms to the MGLCalloutView protocol. The callout view uses these methods to inform the delegate that the user has interacted with the the callout view.
+ The `MGLCalloutViewDelegate` protocol defines a set of optional methods that
+ you can use to receive messages from an object that conforms to the
+ `MGLCalloutView` protocol. The callout view uses these methods to inform the
+ delegate that the user has interacted with the the callout view.
*/
@protocol MGLCalloutViewDelegate <NSObject>
@optional
/**
- Returns a Boolean value indicating whether the entire callout view “highlights” when tapped. The default value is `YES`, which means the callout view highlights when tapped.
+ Returns a Boolean value indicating whether the entire callout view “highlights”
+ when tapped. The default value is `YES`, which means the callout view
+ highlights when tapped.
- The return value of this method is ignored unless the delegate also responds to the `-calloutViewTapped` method.
+ The return value of this method is ignored unless the delegate also responds to
+ the `-calloutViewTapped` method.
*/
- (BOOL)calloutViewShouldHighlight:(UIView<MGLCalloutView> *)calloutView;
@@ -63,12 +73,14 @@ NS_ASSUME_NONNULL_BEGIN
- (void)calloutViewTapped:(UIView<MGLCalloutView> *)calloutView;
/**
- Called before the callout view appears on screen, or before the appearance animation will start.
+ Called before the callout view appears on screen, or before the appearance
+ animation will start.
*/
- (void)calloutViewWillAppear:(UIView<MGLCalloutView> *)calloutView;
/**
- Called after the callout view appears on screen, or after the appearance animation is complete.
+ Called after the callout view appears on screen, or after the appearance
+ animation is complete.
*/
- (void)calloutViewDidAppear:(UIView<MGLCalloutView> *)calloutView;
diff --git a/platform/ios/src/MGLCompactCalloutView.h b/platform/ios/src/MGLCompactCalloutView.h
index ebe27c842c..56c48a99e5 100644
--- a/platform/ios/src/MGLCompactCalloutView.h
+++ b/platform/ios/src/MGLCompactCalloutView.h
@@ -2,7 +2,10 @@
#import "MGLCalloutView.h"
/**
- A concrete implementation of `MGLCalloutView` based on <a href="https://github.com/nfarina/calloutview">SMCalloutView</a>. This callout view displays the represented annotation’s title, subtitle, and accessory views in a compact, two-line layout.
+ A concrete implementation of `MGLCalloutView` based on
+ <a href="https://github.com/nfarina/calloutview">SMCalloutView</a>. This
+ callout view displays the represented annotation’s title, subtitle, and
+ accessory views in a compact, two-line layout.
*/
@interface MGLCompactCalloutView : SMCalloutView <MGLCalloutView>
diff --git a/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h
new file mode 100644
index 0000000000..c48dd6b27b
--- /dev/null
+++ b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.h
@@ -0,0 +1,7 @@
+#import <UIKit/UIKit.h>
+#import "MGLUserLocationAnnotationView.h"
+
+@interface MGLFaux3DUserLocationAnnotationView : MGLUserLocationAnnotationView
+
+@end
+
diff --git a/platform/ios/src/MGLFaux3DUserLocationAnnotationView.m b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.m
new file mode 100644
index 0000000000..d47722819e
--- /dev/null
+++ b/platform/ios/src/MGLFaux3DUserLocationAnnotationView.m
@@ -0,0 +1,531 @@
+#import "MGLFaux3DUserLocationAnnotationView.h"
+
+#import "MGLMapView.h"
+#import "MGLUserLocation.h"
+
+const CGFloat MGLUserLocationAnnotationDotSize = 22.0;
+const CGFloat MGLUserLocationAnnotationHaloSize = 115.0;
+
+const CGFloat MGLUserLocationAnnotationPuckSize = 45.0;
+const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuckSize * 0.6;
+
+#pragma mark -
+
+@implementation MGLFaux3DUserLocationAnnotationView
+{
+ BOOL _puckModeActivated;
+
+ CALayer *_puckDot;
+ CAShapeLayer *_puckArrow;
+
+ CALayer *_headingIndicatorLayer;
+ CAShapeLayer *_headingIndicatorMaskLayer;
+ CALayer *_accuracyRingLayer;
+ CALayer *_dotBorderLayer;
+ CALayer *_dotLayer;
+ CALayer *_haloLayer;
+
+ double _oldHeadingAccuracy;
+ CLLocationAccuracy _oldHorizontalAccuracy;
+ double _oldZoom;
+ double _oldPitch;
+}
+
+- (CALayer *)hitTestLayer
+{
+ // Only the main dot should be interactive (i.e., exclude the accuracy ring and halo).
+ return _dotBorderLayer ?: _puckDot;
+}
+
+- (void)update
+{
+ if (CGSizeEqualToSize(self.frame.size, CGSizeZero))
+ {
+ CGFloat frameSize = (self.mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? MGLUserLocationAnnotationPuckSize : MGLUserLocationAnnotationDotSize;
+ [self updateFrameWithSize:frameSize];
+ }
+
+ if (CLLocationCoordinate2DIsValid(self.userLocation.coordinate))
+ {
+ (self.mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? [self drawPuck] : [self drawDot];
+ [self updatePitch];
+ }
+
+ _haloLayer.hidden = ! CLLocationCoordinate2DIsValid(self.mapView.userLocation.coordinate) || self.mapView.userLocation.location.horizontalAccuracy > 10;
+}
+
+- (void)setTintColor:(UIColor *)tintColor
+{
+ if (_puckModeActivated)
+ {
+ _puckArrow.fillColor = [tintColor CGColor];
+ }
+ else
+ {
+ if (_accuracyRingLayer)
+ {
+ _accuracyRingLayer.backgroundColor = [tintColor CGColor];
+ }
+
+ _haloLayer.backgroundColor = [tintColor CGColor];
+ _dotLayer.backgroundColor = [tintColor CGColor];
+
+ _headingIndicatorLayer.contents = (__bridge id)[[self headingIndicatorTintedGradientImage] CGImage];
+ }
+}
+
+- (void)updatePitch
+{
+ if (self.mapView.camera.pitch != _oldPitch)
+ {
+ // disable implicit animation
+ [CATransaction begin];
+ [CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions];
+
+ CATransform3D t = CATransform3DRotate(CATransform3DIdentity, MGLRadiansFromDegrees(self.mapView.camera.pitch), 1.0, 0, 0);
+ self.layer.sublayerTransform = t;
+
+ [self updateFaux3DEffect];
+
+ [CATransaction commit];
+
+ _oldPitch = self.mapView.camera.pitch;
+ }
+}
+
+- (void)updateFaux3DEffect
+{
+ CGFloat pitch = MGLRadiansFromDegrees(self.mapView.camera.pitch);
+
+ if (_puckDot)
+ {
+ _puckDot.shadowOffset = CGSizeMake(0, fmaxf(pitch * 10.f, 1.f));
+ _puckDot.shadowRadius = fmaxf(pitch * 5.f, 0.75f);
+ }
+
+ if (_dotBorderLayer)
+ {
+ _dotBorderLayer.shadowOffset = CGSizeMake(0.f, pitch * 10.f);
+ _dotBorderLayer.shadowRadius = fmaxf(pitch * 5.f, 3.f);
+ }
+
+ if (_dotLayer)
+ {
+ _dotLayer.zPosition = pitch * 2.f;
+ }
+}
+
+- (void)updateFrameWithSize:(CGFloat)size
+{
+ CGSize newSize = CGSizeMake(size, size);
+ if (CGSizeEqualToSize(self.frame.size, newSize))
+ {
+ return;
+ }
+
+ // Update frame size, keeping the existing center point.
+ CGPoint oldCenter = self.center;
+ CGRect newFrame = self.frame;
+ newFrame.size = newSize;
+ [self setFrame:newFrame];
+ [self setCenter:oldCenter];
+}
+
+- (void)drawPuck
+{
+ if ( ! _puckModeActivated)
+ {
+ self.layer.sublayers = nil;
+
+ _headingIndicatorLayer = nil;
+ _headingIndicatorMaskLayer = nil;
+ _accuracyRingLayer = nil;
+ _haloLayer = nil;
+ _dotBorderLayer = nil;
+ _dotLayer = nil;
+
+ [self updateFrameWithSize:MGLUserLocationAnnotationPuckSize];
+ }
+
+ // background dot (white with black shadow)
+ //
+ if ( ! _puckDot)
+ {
+ _puckDot = [self circleLayerWithSize:MGLUserLocationAnnotationPuckSize];
+ _puckDot.backgroundColor = [[UIColor whiteColor] CGColor];
+ _puckDot.shadowColor = [[UIColor blackColor] CGColor];
+ _puckDot.shadowOpacity = 0.25;
+ _puckDot.shadowPath = [[UIBezierPath bezierPathWithOvalInRect:_puckDot.bounds] CGPath];
+
+ if (self.mapView.camera.pitch)
+ {
+ [self updateFaux3DEffect];
+ }
+ else
+ {
+ _puckDot.shadowOffset = CGSizeMake(0, 1);
+ _puckDot.shadowRadius = 0.75;
+ }
+
+ [self.layer addSublayer:_puckDot];
+ }
+
+ // arrow
+ //
+ if ( ! _puckArrow)
+ {
+ _puckArrow = [CAShapeLayer layer];
+ _puckArrow.path = [[self puckArrow] CGPath];
+ _puckArrow.fillColor = [self.mapView.tintColor CGColor];
+ _puckArrow.bounds = CGRectMake(0, 0, MGLUserLocationAnnotationArrowSize, MGLUserLocationAnnotationArrowSize);
+ _puckArrow.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
+ _puckArrow.shouldRasterize = YES;
+ _puckArrow.rasterizationScale = [UIScreen mainScreen].scale;
+ _puckArrow.drawsAsynchronously = YES;
+
+ [self.layer addSublayer:_puckArrow];
+ }
+ if (self.userLocation.location.course >= 0)
+ {
+ _puckArrow.affineTransform = CGAffineTransformRotate(CGAffineTransformIdentity, -MGLRadiansFromDegrees(self.mapView.direction - self.userLocation.location.course));
+ }
+
+ if ( ! _puckModeActivated)
+ {
+ _puckModeActivated = YES;
+
+ [self updateFaux3DEffect];
+ }
+}
+
+- (UIBezierPath *)puckArrow
+{
+ CGFloat max = MGLUserLocationAnnotationArrowSize;
+
+ UIBezierPath *bezierPath = UIBezierPath.bezierPath;
+ [bezierPath moveToPoint: CGPointMake(max * 0.5, 0)];
+ [bezierPath addLineToPoint: CGPointMake(max * 0.1, max)];
+ [bezierPath addLineToPoint: CGPointMake(max * 0.5, max * 0.65)];
+ [bezierPath addLineToPoint: CGPointMake(max * 0.9, max)];
+ [bezierPath addLineToPoint: CGPointMake(max * 0.5, 0)];
+ [bezierPath closePath];
+
+ return bezierPath;
+}
+
+- (void)drawDot
+{
+ if (_puckModeActivated)
+ {
+ self.layer.sublayers = nil;
+
+ _puckDot = nil;
+ _puckArrow = nil;
+
+ [self updateFrameWithSize:MGLUserLocationAnnotationDotSize];
+ }
+
+ BOOL showHeadingIndicator = self.mapView.userTrackingMode == MGLUserTrackingModeFollowWithHeading;
+
+ // update heading indicator
+ //
+ if (showHeadingIndicator)
+ {
+ _headingIndicatorLayer.hidden = NO;
+
+ // heading indicator (tinted, semi-circle)
+ //
+ if ( ! _headingIndicatorLayer && self.userLocation.heading.headingAccuracy)
+ {
+ CGFloat headingIndicatorSize = MGLUserLocationAnnotationHaloSize;
+
+ _headingIndicatorLayer = [CALayer layer];
+ _headingIndicatorLayer.bounds = CGRectMake(0, 0, headingIndicatorSize, headingIndicatorSize);
+ _headingIndicatorLayer.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
+ _headingIndicatorLayer.contents = (__bridge id)[[self headingIndicatorTintedGradientImage] CGImage];
+ _headingIndicatorLayer.contentsGravity = kCAGravityBottom;
+ _headingIndicatorLayer.contentsScale = [UIScreen mainScreen].scale;
+ _headingIndicatorLayer.opacity = 0.4;
+ _headingIndicatorLayer.shouldRasterize = YES;
+ _headingIndicatorLayer.rasterizationScale = [UIScreen mainScreen].scale;
+ _headingIndicatorLayer.drawsAsynchronously = YES;
+
+ [self.layer insertSublayer:_headingIndicatorLayer below:_dotBorderLayer];
+ }
+
+ // heading indicator accuracy mask (fan-shaped)
+ //
+ if ( ! _headingIndicatorMaskLayer && self.userLocation.heading.headingAccuracy)
+ {
+ _headingIndicatorMaskLayer = [CAShapeLayer layer];
+ _headingIndicatorMaskLayer.frame = _headingIndicatorLayer.bounds;
+ _headingIndicatorMaskLayer.path = [[self headingIndicatorClippingMask] CGPath];
+
+ // apply the mask to the halo-radius-sized gradient layer
+ _headingIndicatorLayer.mask = _headingIndicatorMaskLayer;
+
+ _oldHeadingAccuracy = self.userLocation.heading.headingAccuracy;
+
+ }
+ else if (_oldHeadingAccuracy != self.userLocation.heading.headingAccuracy)
+ {
+ // recalculate the clipping mask based on updated accuracy
+ _headingIndicatorMaskLayer.path = [[self headingIndicatorClippingMask] CGPath];
+
+ _oldHeadingAccuracy = self.userLocation.heading.headingAccuracy;
+ }
+
+ if (self.userLocation.heading.trueHeading >= 0)
+ {
+ _headingIndicatorLayer.affineTransform = CGAffineTransformRotate(CGAffineTransformIdentity, -MGLRadiansFromDegrees(self.mapView.direction - self.userLocation.heading.trueHeading));
+ }
+ }
+ else
+ {
+ [_headingIndicatorLayer removeFromSuperlayer];
+ [_headingIndicatorMaskLayer removeFromSuperlayer];
+ _headingIndicatorLayer = nil;
+ _headingIndicatorMaskLayer = nil;
+ }
+
+
+ // update accuracy ring (if zoom or horizontal accuracy have changed)
+ //
+ if (_accuracyRingLayer && (_oldZoom != self.mapView.zoomLevel || _oldHorizontalAccuracy != self.userLocation.location.horizontalAccuracy))
+ {
+ CGFloat accuracyRingSize = [self calculateAccuracyRingSize];
+
+ // only show the accuracy ring if it won't be obscured by the location dot
+ if (accuracyRingSize > MGLUserLocationAnnotationDotSize + 15)
+ {
+ _accuracyRingLayer.hidden = NO;
+
+ // disable implicit animation of the accuracy ring, unless triggered by a change in accuracy
+ id shouldDisableActions = (_oldHorizontalAccuracy == self.userLocation.location.horizontalAccuracy) ? (id)kCFBooleanTrue : (id)kCFBooleanFalse;
+
+ [CATransaction begin];
+ [CATransaction setValue:shouldDisableActions forKey:kCATransactionDisableActions];
+
+ _accuracyRingLayer.bounds = CGRectMake(0, 0, accuracyRingSize, accuracyRingSize);
+ _accuracyRingLayer.cornerRadius = accuracyRingSize / 2;
+
+ // match the halo to the accuracy ring
+ _haloLayer.bounds = _accuracyRingLayer.bounds;
+ _haloLayer.cornerRadius = _accuracyRingLayer.cornerRadius;
+ _haloLayer.shouldRasterize = NO;
+
+ [CATransaction commit];
+ }
+ else
+ {
+ _accuracyRingLayer.hidden = YES;
+
+ _haloLayer.bounds = CGRectMake(0, 0, MGLUserLocationAnnotationHaloSize, MGLUserLocationAnnotationHaloSize);
+ _haloLayer.cornerRadius = MGLUserLocationAnnotationHaloSize / 2.0;
+ _haloLayer.shouldRasterize = YES;
+ _haloLayer.rasterizationScale = [UIScreen mainScreen].scale;
+ }
+
+ // store accuracy and zoom so we're not redrawing unchanged location updates
+ _oldHorizontalAccuracy = self.userLocation.location.horizontalAccuracy;
+ _oldZoom = self.mapView.zoomLevel;
+ }
+
+ // accuracy ring (circular, tinted, mostly-transparent)
+ //
+ if ( ! _accuracyRingLayer && self.userLocation.location.horizontalAccuracy)
+ {
+ CGFloat accuracyRingSize = [self calculateAccuracyRingSize];
+ _accuracyRingLayer = [self circleLayerWithSize:accuracyRingSize];
+ _accuracyRingLayer.backgroundColor = [self.mapView.tintColor CGColor];
+ _accuracyRingLayer.opacity = 0.1;
+ _accuracyRingLayer.shouldRasterize = NO;
+ _accuracyRingLayer.allowsGroupOpacity = NO;
+
+ [self.layer addSublayer:_accuracyRingLayer];
+ }
+
+ // expanding sonar-like pulse (circular, tinted, fades out)
+ //
+ if ( ! _haloLayer)
+ {
+ _haloLayer = [self circleLayerWithSize:MGLUserLocationAnnotationHaloSize];
+ _haloLayer.backgroundColor = [self.mapView.tintColor CGColor];
+ _haloLayer.allowsGroupOpacity = NO;
+ _haloLayer.zPosition = -0.1f;
+
+ // set defaults for the animations
+ CAAnimationGroup *animationGroup = [self loopingAnimationGroupWithDuration:3.0];
+
+ // scale out radially with initial acceleration
+ CAKeyframeAnimation *boundsAnimation = [CAKeyframeAnimation animationWithKeyPath:@"transform.scale.xy"];
+ boundsAnimation.values = @[@0, @0.35, @1];
+ boundsAnimation.keyTimes = @[@0, @0.2, @1];
+
+ // go transparent as scaled out, start semi-opaque
+ CAKeyframeAnimation *opacityAnimation = [CAKeyframeAnimation animationWithKeyPath:@"opacity"];
+ opacityAnimation.values = @[@0.4, @0.4, @0];
+ opacityAnimation.keyTimes = @[@0, @0.2, @1];
+
+ animationGroup.animations = @[boundsAnimation, opacityAnimation];
+
+ [_haloLayer addAnimation:animationGroup forKey:@"animateTransformAndOpacity"];
+
+ [self.layer addSublayer:_haloLayer];
+ }
+
+ // background dot (white with black shadow)
+ //
+ if ( ! _dotBorderLayer)
+ {
+ _dotBorderLayer = [self circleLayerWithSize:MGLUserLocationAnnotationDotSize];
+ _dotBorderLayer.backgroundColor = [[UIColor whiteColor] CGColor];
+ _dotBorderLayer.shadowColor = [[UIColor blackColor] CGColor];
+ _dotBorderLayer.shadowOpacity = 0.25;
+ _dotBorderLayer.shadowPath = [[UIBezierPath bezierPathWithOvalInRect:_dotBorderLayer.bounds] CGPath];
+
+ if (self.mapView.camera.pitch)
+ {
+ [self updateFaux3DEffect];
+ }
+ else
+ {
+ _dotBorderLayer.shadowOffset = CGSizeMake(0, 0);
+ _dotBorderLayer.shadowRadius = 3;
+ }
+
+ [self.layer addSublayer:_dotBorderLayer];
+ }
+
+ // inner dot (pulsing, tinted)
+ //
+ if ( ! _dotLayer)
+ {
+ _dotLayer = [self circleLayerWithSize:MGLUserLocationAnnotationDotSize * 0.75];
+ _dotLayer.backgroundColor = [self.mapView.tintColor CGColor];
+
+ // set defaults for the animations
+ CAAnimationGroup *animationGroup = [self loopingAnimationGroupWithDuration:1.5];
+ animationGroup.autoreverses = YES;
+ animationGroup.fillMode = kCAFillModeBoth;
+
+ // scale the dot up and down
+ CABasicAnimation *pulseAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale.xy"];
+ pulseAnimation.fromValue = @0.8;
+ pulseAnimation.toValue = @1;
+
+ // fade opacity in and out, subtly
+ CABasicAnimation *opacityAnimation = [CABasicAnimation animationWithKeyPath:@"opacity"];
+ opacityAnimation.fromValue = @0.8;
+ opacityAnimation.toValue = @1;
+
+ animationGroup.animations = @[pulseAnimation, opacityAnimation];
+
+ [_dotLayer addAnimation:animationGroup forKey:@"animateTransformAndOpacity"];
+
+ [self.layer addSublayer:_dotLayer];
+ }
+
+ if (_puckModeActivated)
+ {
+ _puckModeActivated = NO;
+
+ [self updateFaux3DEffect];
+ }
+}
+
+- (CALayer *)circleLayerWithSize:(CGFloat)layerSize
+{
+ CALayer *circleLayer = [CALayer layer];
+ circleLayer.bounds = CGRectMake(0, 0, layerSize, layerSize);
+ circleLayer.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
+ circleLayer.cornerRadius = layerSize / 2.0;
+ circleLayer.shouldRasterize = YES;
+ circleLayer.rasterizationScale = [UIScreen mainScreen].scale;
+ circleLayer.drawsAsynchronously = YES;
+
+ return circleLayer;
+}
+
+- (CAAnimationGroup *)loopingAnimationGroupWithDuration:(CGFloat)animationDuration
+{
+ CAAnimationGroup *animationGroup = [CAAnimationGroup animation];
+ animationGroup.duration = animationDuration;
+ animationGroup.repeatCount = INFINITY;
+ animationGroup.removedOnCompletion = NO;
+ animationGroup.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionDefault];
+
+ return animationGroup;
+}
+
+- (CGFloat)calculateAccuracyRingSize
+{
+ CGFloat latitudeRadians = MGLRadiansFromDegrees(self.userLocation.coordinate.latitude);
+ CGFloat metersPerPoint = [self.mapView metersPerPointAtLatitude:self.userLocation.coordinate.latitude];
+ CGFloat pixelRadius = self.userLocation.location.horizontalAccuracy / cos(latitudeRadians) / metersPerPoint;
+
+ return pixelRadius * 2.0;
+}
+
+- (UIImage *)headingIndicatorTintedGradientImage
+{
+ UIImage *image;
+
+ CGFloat haloRadius = MGLUserLocationAnnotationHaloSize / 2.0;
+
+ UIGraphicsBeginImageContextWithOptions(CGSizeMake(MGLUserLocationAnnotationHaloSize, haloRadius), NO, 0);
+
+ CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
+ CGContextRef context = UIGraphicsGetCurrentContext();
+
+ // gradient from the tint color to no-alpha tint color
+ CGFloat gradientLocations[] = {0.0, 1.0};
+ CGGradientRef gradient = CGGradientCreateWithColors(
+ colorSpace,
+ (__bridge CFArrayRef)@[
+ (id)[self.mapView.tintColor CGColor],
+ (id)[[self.mapView.tintColor colorWithAlphaComponent:0] CGColor]],
+ gradientLocations);
+
+ // draw the gradient from the center point to the edge (full halo radius)
+ CGPoint centerPoint = CGPointMake(haloRadius, haloRadius);
+ CGContextDrawRadialGradient(context, gradient,
+ centerPoint, 0.0,
+ centerPoint, haloRadius,
+ kNilOptions);
+
+ image = UIGraphicsGetImageFromCurrentImageContext();
+ UIGraphicsEndImageContext();
+
+ CGGradientRelease(gradient);
+ CGColorSpaceRelease(colorSpace);
+
+ return image;
+}
+
+- (UIBezierPath *)headingIndicatorClippingMask
+{
+ CGFloat accuracy = self.userLocation.heading.headingAccuracy;
+
+ // size the mask using accuracy, but keep within a good display range
+ CGFloat clippingDegrees = 90 - accuracy;
+ clippingDegrees = fmin(clippingDegrees, 70); // most accurate
+ clippingDegrees = fmax(clippingDegrees, 10); // least accurate
+
+ CGRect ovalRect = CGRectMake(0, 0, MGLUserLocationAnnotationHaloSize, MGLUserLocationAnnotationHaloSize);
+ UIBezierPath *ovalPath = UIBezierPath.bezierPath;
+
+ // clip the oval to ± incoming accuracy degrees (converted to radians), from the top
+ [ovalPath addArcWithCenter:CGPointMake(CGRectGetMidX(ovalRect), CGRectGetMidY(ovalRect))
+ radius:CGRectGetWidth(ovalRect) / 2.0
+ startAngle:MGLRadiansFromDegrees(-180 + clippingDegrees)
+ endAngle:MGLRadiansFromDegrees(-clippingDegrees)
+ clockwise:YES];
+
+ [ovalPath addLineToPoint:CGPointMake(CGRectGetMidX(ovalRect), CGRectGetMidY(ovalRect))];
+ [ovalPath closePath];
+
+ return ovalPath;
+}
+
+@end
diff --git a/platform/ios/src/MGLMapView+IBAdditions.h b/platform/ios/src/MGLMapView+IBAdditions.h
index f18df56e01..3766d044d8 100644
--- a/platform/ios/src/MGLMapView+IBAdditions.h
+++ b/platform/ios/src/MGLMapView+IBAdditions.h
@@ -1,7 +1,5 @@
#import <Foundation/Foundation.h>
-#import "MGLTypes.h"
-
@class MGLMapView;
NS_ASSUME_NONNULL_BEGIN
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index a70b603f02..e467495a4a 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MGLPolyline;
@class MGLPolygon;
@class MGLShape;
+@class MGLStyle;
@protocol MGLMapViewDelegate;
@protocol MGLAnnotation;
@@ -43,27 +44,9 @@ typedef NS_ENUM(NSUInteger, MGLAnnotationVerticalAlignment) {
MGLAnnotationVerticalAlignmentBottom,
};
-/** Options for enabling debugging features in an MGLMapView instance. */
-typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
- /** Edges of tile boundaries are shown as thick, red lines to help diagnose
- tile clipping issues. */
- MGLMapDebugTileBoundariesMask = 1 << 1,
- /** Each tile shows its tile coordinate (x/y/z) in the upper-left corner. */
- MGLMapDebugTileInfoMask = 1 << 2,
- /** Each tile shows a timestamp indicating when it was loaded. */
- MGLMapDebugTimestampsMask = 1 << 3,
- /** Edges of glyphs and symbols are shown as faint, green lines to help
- diagnose collision and label placement issues. */
- MGLMapDebugCollisionBoxesMask = 1 << 4,
- /** Each drawing operation is replaced by a translucent fill. Overlapping
- drawing operations appear more prominent to help diagnose overdrawing.
- */
- MGLMapDebugOverdrawVisualizationMask = 1 << 5,
-};
-
/**
An interactive, customizable map view with an interface similar to the one
- provided by Apple's MapKit.
+ provided by Apple’s MapKit.
Using `MGLMapView`, you can embed the map inside a view, allow users to
manipulate it with standard gestures, animate the map between different
@@ -72,7 +55,7 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
The map view loads scalable vector tiles that conform to the
<a href="https://github.com/mapbox/vector-tile-spec">Mapbox Vector Tile Specification</a>.
It styles them with a style that conforms to the
- <a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox GL style specification</a>.
+ <a href="https://www.mapbox.com/mapbox-gl-style-spec/">Mapbox Style Specification</a>.
Such styles can be designed in
<a href="https://www.mapbox.com/studio/">Mapbox Studio</a> and hosted on
mapbox.com.
@@ -86,7 +69,7 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
Mapbox-hosted vector tiles and styles require an API access token, which you
can obtain from the
<a href="https://www.mapbox.com/studio/account/tokens/">Mapbox account page</a>.
- Access tokens associate requests to Mapbox's vector tile and style APIs with
+ Access tokens associate requests to Mapbox’s vector tile and style APIs with
your Mapbox account. They also deter other developers from using your styles
without your permission.
@@ -113,9 +96,9 @@ IB_DESIGNABLE
@param frame The frame for the view, measured in points.
@param styleURL URL of the map style to display. The URL may be a full HTTP
- or HTTPS URL, a Mapbox URL indicating the style's map ID
+ or HTTPS URL, a Mapbox URL indicating the style’s map ID
(`mapbox://styles/{user}/{style}`), or a path to a local file relative
- to the application's resource path. Specify `nil` for the default style.
+ to the application’s resource path. Specify `nil` for the default style.
@return An initialized map view.
*/
- (instancetype)initWithFrame:(CGRect)frame styleURL:(nullable NSURL *)styleURL;
@@ -123,7 +106,7 @@ IB_DESIGNABLE
#pragma mark Accessing the Delegate
/**
- The receiver's delegate.
+ The receiver’s delegate.
A map view sends messages to its delegate to notify it of changes to its
contents or the viewpoint. The delegate also provides information about
@@ -132,7 +115,7 @@ IB_DESIGNABLE
*/
@property(nonatomic, weak, nullable) IBOutlet id<MGLMapViewDelegate> delegate;
-#pragma mark Configuring the Map's Appearance
+#pragma mark Configuring the Map’s Appearance
/**
URLs of the styles bundled with the library.
@@ -145,12 +128,12 @@ IB_DESIGNABLE
/**
URL of the style currently displayed in the receiver.
- The URL may be a full HTTP or HTTPS URL, a Mapbox URL indicating the style's
+ The URL may be a full HTTP or HTTPS URL, a Mapbox URL indicating the style’s
map ID (`mapbox://styles/{user}/{style}`), or a path to a local file
- relative to the application's resource path.
+ relative to the application’s resource path.
If you set this property to `nil`, the receiver will use the default style
- and this property will automatically be set to that style's URL.
+ and this property will automatically be set to that style’s URL.
*/
@property (nonatomic, null_resettable) NSURL *styleURL;
@@ -169,7 +152,7 @@ IB_DESIGNABLE
- (IBAction)reloadStyle:(id)sender;
/**
- A control indicating the map's direction and allowing the user to manipulate
+ A control indicating the map’s direction and allowing the user to manipulate
the direction, positioned in the upper-right corner.
*/
@property (nonatomic, readonly) UIImageView *compassView;
@@ -207,46 +190,26 @@ IB_DESIGNABLE
*/
@property (nonatomic, readonly) UIButton *attributionButton;
-/**
- Currently active style classes, represented as an array of string identifiers.
- */
-@property (nonatomic) NS_ARRAY_OF(NSString *) *styleClasses;
+@property (nonatomic) NS_ARRAY_OF(NSString *) *styleClasses __attribute__((deprecated("Use style.styleClasses.")));
-/**
- Returns a Boolean value indicating whether the style class with the given
- identifier is currently active.
-
- @param styleClass The style class to query for.
- @return Whether the style class is currently active.
- */
-- (BOOL)hasStyleClass:(NSString *)styleClass;
+- (BOOL)hasStyleClass:(NSString *)styleClass __attribute__((deprecated("Use style.hasStyleClass:.")));
-/**
- Activates the style class with the given identifier.
-
- @param styleClass The style class to activate.
- */
-- (void)addStyleClass:(NSString *)styleClass;
+- (void)addStyleClass:(NSString *)styleClass __attribute__((deprecated("Use style.addStyleClass:.")));
-/**
- Deactivates the style class with the given identifier.
-
- @param styleClass The style class to deactivate.
- */
-- (void)removeStyleClass:(NSString *)styleClass;
+- (void)removeStyleClass:(NSString *)styleClass __attribute__((deprecated("Use style.removeStyleClass:.")));
-#pragma mark Displaying the User's Location
+#pragma mark Displaying the User’s Location
/**
A Boolean value indicating whether the map may display the user location.
Setting this property to `YES` causes the map view to use the Core Location
framework to find the current location. As long as this property is `YES`, the
- map view continues to track the user's location and update it periodically.
+ map view continues to track the user’s location and update it periodically.
- This property does not indicate whether the user's position is actually visible
+ This property does not indicate whether the user’s position is actually visible
on the map, only whether the map view is allowed to display it. To determine
- whether the user's position is visible, use the `userLocationVisible` property.
+ whether the user’s position is visible, use the `userLocationVisible` property.
The default value of this property is `NO`.
On iOS 8 and above, your app must specify a value for
@@ -257,7 +220,7 @@ IB_DESIGNABLE
@property (nonatomic, assign) BOOL showsUserLocation;
/**
- A Boolean value indicating whether the device's current location is visible in
+ A Boolean value indicating whether the device’s current location is visible in
the map view.
Use `showsUserLocation` to control the visibility of the on-screen user
@@ -266,7 +229,7 @@ IB_DESIGNABLE
@property (nonatomic, assign, readonly, getter=isUserLocationVisible) BOOL userLocationVisible;
/**
- Returns the annotation object indicating the user's current location.
+ Returns the annotation object indicating the user’s current location.
*/
@property (nonatomic, readonly, nullable) MGLUserLocation *userLocation;
@@ -577,7 +540,15 @@ IB_DESIGNABLE
- (IBAction)resetNorth;
/**
- The coordinate bounds visible in the receiver's viewport.
+ Resets the map to the current style’s default viewport.
+
+ If the style doesn’t specify a default viewport, the map resets to a minimum
+ zoom level, a center coordinate of (0, 0), and a northern heading.
+ */
+- (IBAction)resetPosition;
+
+/**
+ The coordinate bounds visible in the receiver’s viewport.
Changing the value of this property updates the receiver immediately. If you
want to animate the change, call `-setVisibleCoordinateBounds:animated:`
@@ -596,7 +567,7 @@ IB_DESIGNABLE
- (void)setVisibleCoordinateBounds:(MGLCoordinateBounds)bounds animated:(BOOL)animated;
/**
- Changes the receiver's viewport to fit the given coordinate bounds and
+ Changes the receiver’s viewport to fit the given coordinate bounds and
optionally some additional padding on each side.
@param bounds The bounds that the viewport will show in its entirety.
@@ -608,7 +579,7 @@ IB_DESIGNABLE
- (void)setVisibleCoordinateBounds:(MGLCoordinateBounds)bounds edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
/**
- Changes the receiver's viewport to fit all of the given coordinates and
+ Changes the receiver’s viewport to fit all of the given coordinates and
optionally some additional padding on each side.
@param coordinates The coordinates that the viewport will show.
@@ -622,7 +593,7 @@ IB_DESIGNABLE
- (void)setVisibleCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSUInteger)count edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated;
/**
- Changes the receiver's viewport to fit all of the given coordinates and
+ Changes the receiver’s viewport to fit all of the given coordinates and
optionally some additional padding on each side.
@param coordinates The coordinates that the viewport will show.
@@ -656,7 +627,7 @@ IB_DESIGNABLE
Sets the visible region so that the map displays the specified annotations with
the specified amount of padding on each side.
- Calling this method updates the value in the visibleCoordinateBounds property
+ Calling this method updates the value in the `visibleCoordinateBounds` property
and potentially other properties to reflect the new map region.
@param annotations The annotations that you want to be visible in the map.
@@ -787,7 +758,7 @@ IB_DESIGNABLE
- (MGLMapCamera *)cameraThatFitsCoordinateBounds:(MGLCoordinateBounds)bounds edgePadding:(UIEdgeInsets)insets;
/**
- Returns the point in this view's coordinate system on which to "anchor" in
+ Returns the point in this view’s coordinate system on which to "anchor" in
response to a user-initiated gesture.
For example, a pinch-to-zoom gesture would anchor the map at the midpoint of
@@ -797,7 +768,7 @@ IB_DESIGNABLE
user annotation is used as the anchor point.
Subclasses may override this method to provide specialized behavior - for
- example, anchoring on the map's center point to provide a "locked" zooming
+ example, anchoring on the map’s center point to provide a "locked" zooming
mode.
@param gesture An anchorable user gesture.
@@ -849,7 +820,7 @@ IB_DESIGNABLE
#pragma mark Converting Geographic Coordinates
/**
- Converts a point in the given view's coordinate system to a geographic
+ Converts a point in the given view’s coordinate system to a geographic
coordinate.
@param point The point to convert.
@@ -859,13 +830,13 @@ IB_DESIGNABLE
- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(nullable UIView *)view;
/**
- Converts a geographic coordinate to a point in the given view's coordinate
+ Converts a geographic coordinate to a point in the given view’s coordinate
system.
@param coordinate The geographic coordinate to convert.
@param view The view in whose coordinate system the returned point should be
expressed. If this parameter is `nil`, the returned point is expressed
- in the window's coordinate system. If `view` is not `nil`, it must
+ in the window’s coordinate system. If `view` is not `nil`, it must
belong to the same window as the map view.
@return The point (in the appropriate view or window coordinate system)
corresponding to the given geographic coordinate.
@@ -895,7 +866,7 @@ IB_DESIGNABLE
- (CGRect)convertCoordinateBounds:(MGLCoordinateBounds)bounds toRectToView:(nullable UIView *)view;
/**
- Returns the distance spanned by one point in the map view's coordinate system
+ Returns the distance spanned by one point in the map view’s coordinate system
at the given latitude and current zoom level.
The distance between points decreases as the latitude approaches the poles.
@@ -922,13 +893,22 @@ IB_DESIGNABLE
@property (nonatomic, readonly, nullable) NS_ARRAY_OF(id <MGLAnnotation>) *annotations;
/**
+ The complete list of annotations associated with the receiver that are
+ currently visible.
+
+ The objects in this array must adopt the `MGLAnnotation` protocol. If no
+ annotations are associated with the map view or if no annotations associated
+ with the map view are currently visible, the value of this property is `nil`.
+ */
+@property (nonatomic, readonly, nullable) NS_ARRAY_OF(id <MGLAnnotation>) *visibleAnnotations;
+
+/**
Adds an annotation to the map view.
- @note `MGLMultiPolyline`, `MGLMultiPolygon`, and `MGLShapeCollection` objects
- cannot be added to the map view at this time. Nor can `MGLMultiPoint`
- objects that are not instances of `MGLPolyline` or `MGLPolygon`. Any
- multipoint, multipolyline, multipolygon, or shape collection object that is
- specified is silently ignored.
+ @note `MGLMultiPolyline`, `MGLMultiPolygon`, `MGLShapeCollection`, and
+ `MGLPointCollection` objects cannot be added to the map view at this time.
+ Any multipoint, multipolyline, multipolygon, shape or point collection
+ object that is specified is silently ignored.
@param annotation The annotation object to add to the receiver. This object
must conform to the `MGLAnnotation` protocol. The map view retains the
@@ -1016,6 +996,17 @@ IB_DESIGNABLE
*/
- (nullable __kindof MGLAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
+/**
+ Returns the list of annotations associated with the receiver that intersect with
+ the given rectangle.
+
+ @param rect A rectangle expressed in the map view’s coordinate system.
+ @return An array of objects that adopt the `MGLAnnotation` protocol or `nil` if
+ no annotations associated with the map view are currently visible in the
+ rectangle.
+ */
+- (nullable NS_ARRAY_OF(id <MGLAnnotation>) *)visibleAnnotationsInRect:(CGRect)rect;
+
#pragma mark Managing Annotation Selections
/**
@@ -1086,6 +1077,10 @@ IB_DESIGNABLE
*/
- (void)removeOverlays:(NS_ARRAY_OF(id <MGLOverlay>) *)overlays;
+#pragma mark - Runtime styling API
+
+- (MGLStyle *)style;
+
#pragma mark Accessing the Underlying Map Data
/**
@@ -1228,12 +1223,6 @@ IB_DESIGNABLE
- (void)emptyMemoryCache __attribute__((deprecated));
-/**
- Resets the map to the minimum zoom level, a center coordinate of (0, 0), and
- a northern heading.
- */
-- (void)resetPosition;
-
@end
NS_ASSUME_NONNULL_END
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index f204940469..466912c217 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -1,7 +1,8 @@
-#import "MGLMapView_Internal.h"
+#import "MGLMapView_Private.h"
-#import <mbgl/platform/log.hpp>
-#import <mbgl/gl/gl.hpp>
+#include <mbgl/platform/log.hpp>
+#include <mbgl/gl/extension.hpp>
+#include <mbgl/gl/context.hpp>
#import <GLKit/GLKit.h>
#import <OpenGLES/EAGL.h>
@@ -13,10 +14,12 @@
#include <mbgl/map/mode.hpp>
#include <mbgl/platform/platform.hpp>
#include <mbgl/platform/darwin/reachability.h>
+#include <mbgl/platform/default/thread_pool.hpp>
#include <mbgl/storage/default_file_source.hpp>
#include <mbgl/storage/network_status.hpp>
#include <mbgl/style/transition_options.hpp>
#include <mbgl/style/layers/custom_layer.hpp>
+#include <mbgl/map/backend.hpp>
#include <mbgl/math/wrap.hpp>
#include <mbgl/util/geo.hpp>
#include <mbgl/util/constants.hpp>
@@ -24,6 +27,7 @@
#include <mbgl/util/projection.hpp>
#include <mbgl/util/default_styles.hpp>
#include <mbgl/util/chrono.hpp>
+#include <mbgl/util/run_loop.hpp>
#import "Mapbox.h"
#import "MGLFeature_Private.h"
@@ -32,21 +36,30 @@
#import "MGLOfflineStorage_Private.h"
#import "NSBundle+MGLAdditions.h"
+#import "NSDate+MGLAdditions.h"
#import "NSString+MGLAdditions.h"
#import "NSProcessInfo+MGLAdditions.h"
#import "NSException+MGLAdditions.h"
+#import "NSURL+MGLAdditions.h"
+#import "UIImage+MGLAdditions.h"
+
+#import "MGLFaux3DUserLocationAnnotationView.h"
#import "MGLUserLocationAnnotationView.h"
+#import "MGLUserLocationAnnotationView_Private.h"
#import "MGLUserLocation_Private.h"
#import "MGLAnnotationImage_Private.h"
#import "MGLAnnotationView_Private.h"
+#import "MGLStyle_Private.h"
+#import "MGLStyleLayer_Private.h"
#import "MGLMapboxEvents.h"
#import "MGLCompactCalloutView.h"
#import "MGLAnnotationContainerView.h"
+#import "MGLAnnotationContainerView_Private.h"
-#import <algorithm>
-#import <cstdlib>
-#import <map>
-#import <unordered_set>
+#include <algorithm>
+#include <cstdlib>
+#include <map>
+#include <unordered_set>
class MBGLView;
class MGLAnnotationContext;
@@ -116,7 +129,15 @@ enum { MGLAnnotationTagNotFound = UINT32_MAX };
/// Mapping from an annotation tag to metadata about that annotation, including
/// the annotation itself.
-typedef std::map<MGLAnnotationTag, MGLAnnotationContext> MGLAnnotationContextMap;
+typedef std::unordered_map<MGLAnnotationTag, MGLAnnotationContext> MGLAnnotationTagContextMap;
+
+/// Mapping from an annotation object to an annotation tag.
+typedef std::map<id<MGLAnnotation>, MGLAnnotationTag> MGLAnnotationObjectTagMap;
+
+/// Initializes the run loop shim that lives on the main thread.
+void MGLinitializeRunLoop() {
+ static mbgl::util::RunLoop mainRunLoop;
+}
mbgl::util::UnitBezier MGLUnitBezierForMediaTimingFunction(CAMediaTimingFunction *function)
{
@@ -130,17 +151,6 @@ mbgl::util::UnitBezier MGLUnitBezierForMediaTimingFunction(CAMediaTimingFunction
return { p1[0], p1[1], p2[0], p2[1] };
}
-mbgl::Color MGLColorObjectFromUIColor(UIColor *color)
-{
- if (!color)
- {
- return {{ 0, 0, 0, 0 }};
- }
- CGFloat r, g, b, a;
- [color getRed:&r green:&g blue:&b alpha:&a];
- return {{ (float)r, (float)g, (float)b, (float)a }};
-}
-
@interface MGLAnnotationAccessibilityElement : UIAccessibilityElement
@property (nonatomic) MGLAnnotationTag tag;
@@ -246,6 +256,8 @@ public:
@property (nonatomic, readonly, getter=isRotationAllowed) BOOL rotationAllowed;
@property (nonatomic) MGLMapViewProxyAccessibilityElement *mapViewProxyAccessibilityElement;
@property (nonatomic) MGLAnnotationContainerView *annotationContainerView;
+@property (nonatomic) MGLUserLocation *userLocation;
+@property (nonatomic) NS_MUTABLE_DICTIONARY_OF(NSString *, NS_MUTABLE_ARRAY_OF(MGLAnnotationView *) *) *annotationViewReuseQueueByIdentifier;
@end
@@ -253,16 +265,18 @@ public:
{
mbgl::Map *_mbglMap;
MBGLView *_mbglView;
-
+ mbgl::ThreadPool *_mbglThreadPool;
+
BOOL _opaque;
NS_MUTABLE_ARRAY_OF(NSURL *) *_bundledStyleURLs;
-
- MGLAnnotationContextMap _annotationContextsByAnnotationTag;
+
+ MGLAnnotationTagContextMap _annotationContextsByAnnotationTag;
+ MGLAnnotationObjectTagMap _annotationTagsByAnnotation;
+
/// Tag of the selected annotation. If the user location annotation is selected, this ivar is set to `MGLAnnotationTagNotFound`.
MGLAnnotationTag _selectedAnnotationTag;
- NS_MUTABLE_DICTIONARY_OF(NSString *, NS_MUTABLE_ARRAY_OF(MGLAnnotationView *) *) *_annotationViewReuseQueueByIdentifier;
-
+
BOOL _userLocationAnnotationIsSelected;
/// Size of the rectangle formed by unioning the maximum slop area around every annotation image and annotation image view.
CGSize _unionedAnnotationRepresentationSize;
@@ -279,28 +293,23 @@ public:
CADisplayLink *_displayLink;
BOOL _needsDisplayRefresh;
-
+
NSUInteger _changeDelimiterSuppressionDepth;
-
+
/// Center coordinate of the pinch gesture on the previous iteration of the gesture.
CLLocationCoordinate2D _previousPinchCenterCoordinate;
NSUInteger _previousPinchNumberOfTouches;
-
+
BOOL _delegateHasAlphasForShapeAnnotations;
BOOL _delegateHasStrokeColorsForShapeAnnotations;
BOOL _delegateHasFillColorsForShapeAnnotations;
BOOL _delegateHasLineWidthsForShapeAnnotations;
-
+
MGLCompassDirectionFormatter *_accessibilityCompassFormatter;
}
#pragma mark - Setup & Teardown -
-mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
-{
- return std::chrono::duration_cast<mbgl::Duration>(std::chrono::duration<NSTimeInterval>(duration));
-}
-
- (instancetype)initWithFrame:(CGRect)frame
{
if (self = [super initWithFrame:frame])
@@ -352,12 +361,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
styleURL = [MGLStyle streetsStyleURLWithVersion:MGLStyleDefaultVersion];
}
- if ( ! [styleURL scheme])
- {
- // Assume a relative path into the application bundle.
- styleURL = [NSURL URLWithString:[@"asset://" stringByAppendingString:[styleURL absoluteString]]];
- }
-
+ styleURL = styleURL.mgl_URLByStandardizingScheme;
_mbglMap->setStyleURL([[styleURL absoluteString] UTF8String]);
}
@@ -369,6 +373,8 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)commonInit
{
+ MGLinitializeRunLoop();
+
_isTargetingInterfaceBuilder = NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent;
_opaque = YES;
@@ -385,14 +391,13 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
self.accessibilityTraits = UIAccessibilityTraitAllowsDirectInteraction | UIAccessibilityTraitAdjustable;
_accessibilityCompassFormatter = [[MGLCompassDirectionFormatter alloc] init];
_accessibilityCompassFormatter.unitStyle = NSFormattingUnitStyleLong;
-
+
self.backgroundColor = [UIColor clearColor];
self.clipsToBounds = YES;
// setup mbgl view
- const float scaleFactor = [UIScreen instancesRespondToSelector:@selector(nativeScale)] ? [[UIScreen mainScreen] nativeScale] : [[UIScreen mainScreen] scale];
- _mbglView = new MBGLView(self, scaleFactor);
-
+ _mbglView = new MBGLView(self);
+
// Delete the pre-offline ambient cache at ~/Library/Caches/cache.db.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
NSString *fileCachePath = [paths.firstObject stringByAppendingPathComponent:@"cache.db"];
@@ -400,7 +405,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
// setup mbgl map
mbgl::DefaultFileSource *mbglFileSource = [MGLOfflineStorage sharedOfflineStorage].mbglFileSource;
- _mbglMap = new mbgl::Map(*_mbglView, *mbglFileSource, mbgl::MapMode::Continuous, mbgl::GLContextMode::Unique, mbgl::ConstrainMode::None, mbgl::ViewportMode::Default);
+ const float scaleFactor = [UIScreen instancesRespondToSelector:@selector(nativeScale)] ? [[UIScreen mainScreen] nativeScale] : [[UIScreen mainScreen] scale];
+ _mbglThreadPool = new mbgl::ThreadPool(4);
+ _mbglMap = new mbgl::Map(*_mbglView, self.size, scaleFactor, *mbglFileSource, *_mbglThreadPool, mbgl::MapMode::Continuous, mbgl::GLContextMode::Unique, mbgl::ConstrainMode::None, mbgl::ViewportMode::Default);
[self validateTileCacheSize];
// start paused if in IB
@@ -420,10 +427,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
_isWaitingForRedundantReachableNotification = YES;
}
[reachability startNotifier];
-
+
// Set up annotation management and selection state.
_annotationImagesByIdentifier = [NSMutableDictionary dictionary];
_annotationContextsByAnnotationTag = {};
+ _annotationTagsByAnnotation = {};
_annotationViewReuseQueueByIdentifier = [NSMutableDictionary dictionary];
_selectedAnnotationTag = MGLAnnotationTagNotFound;
_annotationsNearbyLastTap = {};
@@ -541,6 +549,18 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
}
+- (mbgl::Size)size
+{
+ return { static_cast<uint32_t>(self.bounds.size.width),
+ static_cast<uint32_t>(self.bounds.size.height) };
+}
+
+- (mbgl::Size)framebufferSize
+{
+ return { static_cast<uint32_t>(self.glView.drawableWidth),
+ static_cast<uint32_t>(self.glView.drawableHeight) };
+}
+
- (void)createGLView
{
if (_context) return;
@@ -585,7 +605,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
UIImage *scaleImage = [MGLMapView resourceImageNamed:@"Compass.png"];
UIGraphicsBeginImageContextWithOptions(scaleImage.size, NO, [UIScreen mainScreen].scale);
[scaleImage drawInRect:{ CGPointZero, scaleImage.size }];
-
+
CGFloat northSize = 9;
UIFont *northFont;
if ([UIFont respondsToSelector:@selector(systemFontOfSize:weight:)])
@@ -604,12 +624,19 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
scaleImage.size.height * 0.45,
north.size.width, north.size.height);
[north drawInRect:stringRect];
-
+
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return image;
}
+- (MGLStyle *)style
+{
+ MGLStyle *style = [[MGLStyle alloc] init];
+ style.mapView = self;
+ return style;
+}
+
- (void)reachabilityChanged:(NSNotification *)notification
{
MGLReachability *reachability = [notification object];
@@ -624,14 +651,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[[NSNotificationCenter defaultCenter] removeObserver:self];
[_attributionButton removeObserver:self forKeyPath:@"hidden"];
-
+
// Removing the annotations unregisters any outstanding KVO observers.
NSArray *annotations = self.annotations;
if (annotations)
{
[self removeAnnotations:annotations];
}
-
+
[self validateDisplayLink];
if (_mbglMap)
@@ -646,6 +673,12 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
_mbglView = nullptr;
}
+ if (_mbglThreadPool)
+ {
+ delete _mbglThreadPool;
+ _mbglThreadPool = nullptr;
+ }
+
if ([[EAGLContext currentContext] isEqual:_context])
{
[EAGLContext setCurrentContext:nil];
@@ -662,7 +695,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
if (_delegate == delegate) return;
_delegate = delegate;
-
+
_delegateHasAlphasForShapeAnnotations = [_delegate respondsToSelector:@selector(mapView:alphaForShapeAnnotation:)];
_delegateHasStrokeColorsForShapeAnnotations = [_delegate respondsToSelector:@selector(mapView:strokeColorForShapeAnnotation:)];
_delegateHasFillColorsForShapeAnnotations = [_delegate respondsToSelector:@selector(mapView:fillColorForPolygonAnnotation:)];
@@ -700,7 +733,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return;
}
-
+
CGFloat zoomFactor = self.maximumZoomLevel - self.minimumZoomLevel + 1;
CGFloat cpuFactor = [NSProcessInfo processInfo].processorCount;
CGFloat memoryFactor = (CGFloat)[NSProcessInfo processInfo].physicalMemory / 1000 / 1000 / 1000;
@@ -792,7 +825,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
//
[constraintParentView removeConstraints:self.logoViewConstraints];
[self.logoViewConstraints removeAllObjects];
-
+
[self.logoViewConstraints addObject:
[NSLayoutConstraint constraintWithItem:self
attribute:NSLayoutAttributeBottom
@@ -816,7 +849,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
//
[constraintParentView removeConstraints:self.attributionButtonConstraints];
[self.attributionButtonConstraints removeAllObjects];
-
+
[self.attributionButtonConstraints addObject:
[NSLayoutConstraint constraintWithItem:self
attribute:NSLayoutAttributeBottom
@@ -854,7 +887,8 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
if ( ! self.dormant)
{
- _mbglMap->render();
+ _mbglView->updateViewBinding();
+ _mbglMap->render(*_mbglView);
[self updateUserLocationAnnotationView];
}
@@ -864,12 +898,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)layoutSubviews
{
[super layoutSubviews];
-
+
[self adjustContentInset];
- if ( ! _isTargetingInterfaceBuilder)
- {
- _mbglMap->update(mbgl::Update::Dimensions);
+ if (!_isTargetingInterfaceBuilder) {
+ _mbglMap->setSize([self size]);
}
if (self.attributionSheet.visible)
@@ -882,7 +915,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self updateHeadingForDeviceOrientation];
[self updateCompass];
}
-
+
[self updateUserLocationAnnotationView];
}
@@ -904,12 +937,12 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
// This map view is an immediate child of a view controller’s content view.
viewController = (UIViewController *)self.superview.nextResponder;
}
-
+
if ( ! viewController.automaticallyAdjustsScrollViewInsets)
{
return;
}
-
+
UIEdgeInsets contentInset = UIEdgeInsetsZero;
CGPoint topPoint = CGPointMake(0, viewController.topLayoutGuide.length);
contentInset.top = [self convertPoint:topPoint fromView:viewController.view].y;
@@ -936,14 +969,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return;
}
-
+
// After adjusting the content inset, move the center coordinate from the
// old frame of reference to the new one represented by the newly set
// content inset.
CLLocationCoordinate2D oldCenter = self.centerCoordinate;
-
+
_contentInset = contentInset;
-
+
if (self.userTrackingMode == MGLUserTrackingModeNone)
{
// Don’t call -setCenterCoordinate:, which resets the user tracking mode.
@@ -953,7 +986,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self didUpdateLocationWithUserTrackingAnimated:animated];
}
-
+
// Compass, logo and attribution button constraints needs to be updated.
[self setNeedsUpdateConstraints];
}
@@ -1013,7 +1046,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
_mbglMap->setConstrainMode(mbgl::ConstrainMode::HeightOnly);
}
-
+
_displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(updateFromDisplayLink)];
_displayLink.frameInterval = MGLTargetFrameInterval;
[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
@@ -1050,7 +1083,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self validateLocationServices];
[MGLMapboxEvents flush];
-
+
_displayLink.paused = YES;
if ( ! self.glSnapshotView)
@@ -1091,11 +1124,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self.glSnapshotView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
[self.glView bindDrawable];
-
+
_displayLink.paused = NO;
[self validateLocationServices];
-
+
[MGLMapboxEvents pushEvent:MGLEventTypeMapLoad withAttributes:@{}];
}
}
@@ -1176,7 +1209,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self trackGestureEvent:MGLEventGesturePanStart forRecognizer:pan];
self.userTrackingMode = MGLUserTrackingModeNone;
-
+
[self notifyGestureDidBegin];
}
else if (pan.state == UIGestureRecognizerStateChanged)
@@ -1225,7 +1258,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
if (_mbglMap->getZoom() <= _mbglMap->getMinZoom() && pinch.scale < 1) return;
_mbglMap->cancelTransitions();
-
+
CGPoint centerPoint = [self anchorPointForGesture:pinch];
if (pinch.state == UIGestureRecognizerStateBegan)
@@ -1233,7 +1266,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self trackGestureEvent:MGLEventGesturePinchStart forRecognizer:pinch];
self.scale = _mbglMap->getScale();
-
+
[self notifyGestureDidBegin];
}
else if (pinch.state == UIGestureRecognizerStateChanged)
@@ -1241,9 +1274,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
CGFloat newScale = self.scale * pinch.scale;
if (log2(newScale) < _mbglMap->getMinZoom()) return;
-
+
_mbglMap->setScale(newScale, mbgl::ScreenCoordinate { centerPoint.x, centerPoint.y });
-
+
// The gesture recognizer only reports the gesture’s current center
// point, so use the previous center point to anchor the transition.
// If the number of touches has changed, the remembered center point is
@@ -1297,7 +1330,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self unrotateIfNeededForGesture];
}
-
+
_previousPinchCenterCoordinate = [self convertPoint:centerPoint toCoordinateFromView:self];
_previousPinchNumberOfTouches = pinch.numberOfTouches;
}
@@ -1307,7 +1340,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
if ( ! self.isRotateEnabled) return;
_mbglMap->cancelTransitions();
-
+
CGPoint centerPoint = [self anchorPointForGesture:rotate];
if (rotate.state == UIGestureRecognizerStateBegan)
@@ -1320,7 +1353,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
self.userTrackingMode = MGLUserTrackingModeFollow;
}
-
+
[self notifyGestureDidBegin];
}
else if (rotate.state == UIGestureRecognizerStateChanged)
@@ -1334,7 +1367,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
newDegrees = fminf(newDegrees, 30);
newDegrees = fmaxf(newDegrees, -30);
}
-
+
_mbglMap->setBearing(newDegrees, mbgl::ScreenCoordinate { centerPoint.x, centerPoint.y });
[self notifyMapChange:mbgl::MapChangeRegionIsChanging];
@@ -1375,7 +1408,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
return;
}
[self trackGestureEvent:MGLEventGestureSingleTap forRecognizer:singleTap];
-
+
if (self.mapViewProxyAccessibilityElement.accessibilityElementIsFocused)
{
id nextElement;
@@ -1392,10 +1425,23 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
return;
}
+ CGPoint tapPoint = [singleTap locationInView:self];
+
if (self.userLocationVisible)
{
- CGPoint tapPointForUserLocation = [singleTap locationInView:self.userLocationAnnotationView];
+ CGPoint tapPointForUserLocation;
+ if (self.userLocationAnnotationView.hitTestLayer == self.userLocationAnnotationView.layer.presentationLayer)
+ {
+ tapPointForUserLocation = tapPoint;
+ }
+ else
+ {
+ // Get the tap point within the custom hit test layer.
+ tapPointForUserLocation = [singleTap locationInView:self.userLocationAnnotationView];
+ }
+
CALayer *hitLayer = [self.userLocationAnnotationView.hitTestLayer hitTest:tapPointForUserLocation];
+
if (hitLayer)
{
if ( ! _userLocationAnnotationIsSelected)
@@ -1406,8 +1452,18 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
}
- CGPoint tapPoint = [singleTap locationInView:self];
-
+ // Handle the case of an offset annotation view by converting the tap point to be the geo location
+ // of the annotation itself that the view represents
+ for (MGLAnnotationView *view in self.annotationContainerView.annotationViews)
+ {
+ if (view.centerOffset.dx != 0 || view.centerOffset.dy != 0) {
+ if (CGRectContainsPoint(view.frame, tapPoint)) {
+ CGPoint annotationPoint = [self convertCoordinate:view.annotation.coordinate toPointToView:self];
+ tapPoint = annotationPoint;
+ }
+ }
+ }
+
MGLAnnotationTag hitAnnotationTag = [self annotationTagAtPoint:tapPoint persistingResults:YES];
if (hitAnnotationTag != MGLAnnotationTagNotFound)
{
@@ -1488,7 +1544,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
self.scale = _mbglMap->getScale();
self.quickZoomStart = [quickZoom locationInView:quickZoom.view].y;
-
+
[self notifyGestureDidBegin];
}
else if (quickZoom.state == UIGestureRecognizerStateChanged)
@@ -1498,7 +1554,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
CGFloat newZoom = log2f(self.scale) + (distance / 75);
if (newZoom < _mbglMap->getMinZoom()) return;
-
+
CGPoint centerPoint = [self anchorPointForGesture:quickZoom];
_mbglMap->scaleBy(powf(2, newZoom) / _mbglMap->getScale(),
@@ -1531,7 +1587,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
CGFloat slowdown = 20.0;
CGFloat pitchNew = currentPitch - (gestureDistance / slowdown);
-
+
CGPoint centerPoint = [self anchorPointForGesture:twoFingerDrag];
_mbglMap->setPitch(pitchNew, mbgl::ScreenCoordinate { centerPoint.x, centerPoint.y });
@@ -1556,7 +1612,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return self.contentCenter;
}
-
+
return [gesture locationInView:gesture.view];
}
@@ -1664,7 +1720,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
nil];
}
-
+
[self.attributionSheet showFromRect:self.attributionButton.frame inView:self animated:YES];
}
@@ -1765,7 +1821,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
// Redundantly move the associated annotation view outside the scope of the animation-less transaction block in -updateAnnotationViews.
annotationContext.annotationView.center = [self convertCoordinate:annotationContext.annotation.coordinate toPointToView:self];
}
-
+
MGLAnnotationImage *annotationImage = [self imageOfAnnotationWithTag:annotationTag];
NSString *symbolName = annotationImage.styleIconIdentifier;
@@ -1777,6 +1833,29 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
}
}
+ else if ([keyPath isEqualToString:@"coordinates"] && [object isKindOfClass:[MGLMultiPoint class]])
+ {
+ MGLMultiPoint *annotation = object;
+ MGLAnnotationTag annotationTag = (MGLAnnotationTag)(NSUInteger)context;
+ // We can get here because a subclass registered itself as an observer
+ // of the coordinates key path of a multipoint annotation but failed
+ // to handle the change. This check deters us from treating the
+ // subclass’s context as an annotation tag. If the context happens to
+ // match a valid annotation tag, the annotation will be unnecessarily
+ // but safely updated.
+ if (annotation == [self annotationWithTag:annotationTag])
+ {
+ // Update the annotation’s backing geometry to match the annotation model object.
+ _mbglMap->updateAnnotation(annotationTag, [annotation annotationObjectWithDelegate:self]);
+
+ // We don't current support shape multipoint annotation selection, but let's make sure
+ // deselection is handled just to avoid problems in the future.
+ if (annotationTag == _selectedAnnotationTag)
+ {
+ [self deselectAnnotation:annotation animated:YES];
+ }
+ }
+ }
}
+ (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingZoomEnabled
@@ -1819,7 +1898,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
mask |= MGLMapDebugCollisionBoxesMask;
}
- if (options & mbgl::MapDebugOptions::Wireframe)
+ if (options & mbgl::MapDebugOptions::Overdraw)
{
mask |= MGLMapDebugOverdrawVisualizationMask;
}
@@ -1847,7 +1926,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
if (debugMask & MGLMapDebugOverdrawVisualizationMask)
{
- options |= mbgl::MapDebugOptions::Wireframe;
+ options |= mbgl::MapDebugOptions::Overdraw;
}
_mbglMap->setDebug(options);
}
@@ -1881,9 +1960,13 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)resetPosition
{
- MGLMapCamera *camera = [MGLMapCamera camera];
- camera.altitude = MGLAltitudeForZoomLevel(0, 0, 0, self.frame.size);
- self.camera = camera;
+ CGFloat pitch = _mbglMap->getDefaultPitch();
+ CLLocationDirection heading = mbgl::util::wrap(_mbglMap->getDefaultBearing(), 0., 360.);
+ CLLocationDistance distance = MGLAltitudeForZoomLevel(_mbglMap->getDefaultZoom(), pitch, 0, self.frame.size);
+ self.camera = [MGLMapCamera cameraLookingAtCenterCoordinate:MGLLocationCoordinate2DFromLatLng(_mbglMap->getDefaultLatLng())
+ fromDistance:distance
+ pitch:pitch
+ heading:heading];
}
- (void)emptyMemoryCache
@@ -1915,14 +1998,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (UIBezierPath *)accessibilityPath
{
UIBezierPath *path = [UIBezierPath bezierPathWithRect:self.accessibilityFrame];
-
+
// Exclude any visible annotation callout view.
if (self.calloutViewForSelectedAnnotation)
{
UIBezierPath *calloutViewPath = [UIBezierPath bezierPathWithRect:self.calloutViewForSelectedAnnotation.frame];
[path appendPath:calloutViewPath];
}
-
+
return path;
}
@@ -1963,7 +2046,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
return nil;
}
std::vector<MGLAnnotationTag> visibleAnnotations = [self annotationTagsInRect:self.bounds];
-
+
// Ornaments
if (index == 0)
{
@@ -1981,7 +2064,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return self.attributionButton;
}
-
+
std::sort(visibleAnnotations.begin(), visibleAnnotations.end());
CGPoint centerPoint = self.contentCenter;
if (self.userTrackingMode != MGLUserTrackingModeNone)
@@ -1998,7 +2081,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
coordinateB.longitude - currentCoordinate.longitude);
return deltaA < deltaB;
});
-
+
NSUInteger annotationIndex = MGLAnnotationTagNotFound;
if (index >= 0 && (NSUInteger)(index - 2) < visibleAnnotations.size())
{
@@ -2009,20 +2092,20 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
NSAssert(_annotationContextsByAnnotationTag.count(annotationTag), @"Missing annotation for tag %u.", annotationTag);
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
id <MGLAnnotation> annotation = annotationContext.annotation;
-
+
// Let the annotation view serve as its own accessibility element.
MGLAnnotationView *annotationView = annotationContext.annotationView;
if (annotationView && annotationView.superview)
{
return annotationView;
}
-
+
// Lazily create an accessibility element for the found annotation.
if ( ! annotationContext.accessibilityElement)
{
annotationContext.accessibilityElement = [[MGLAnnotationAccessibilityElement alloc] initWithAccessibilityContainer:self tag:annotationTag];
}
-
+
// Update the accessibility element.
MGLAnnotationImage *annotationImage = [self imageOfAnnotationWithTag:annotationTag];
CGRect annotationFrame = [self frameOfImage:annotationImage.image centeredAtCoordinate:annotation.coordinate];
@@ -2034,7 +2117,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
CGRect screenRect = UIAccessibilityConvertFrameToScreenCoordinates(annotationFrame, self);
annotationContext.accessibilityElement.accessibilityFrame = screenRect;
annotationContext.accessibilityElement.accessibilityHint = NSLocalizedStringWithDefaultValue(@"ANNOTATION_A11Y_HINT", nil, nil, @"Shows more info", @"Accessibility hint");
-
+
if ([annotation respondsToSelector:@selector(title)])
{
annotationContext.accessibilityElement.accessibilityLabel = annotation.title;
@@ -2043,7 +2126,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
annotationContext.accessibilityElement.accessibilityValue = annotation.subtitle;
}
-
+
return annotationContext.accessibilityElement;
}
@@ -2062,9 +2145,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return 1;
}
-
+
std::vector<MGLAnnotationTag> visibleAnnotations = [self annotationTagsInRect:self.bounds];
-
+
MGLAnnotationTag tag = MGLAnnotationTagNotFound;
if ([element isKindOfClass:[MGLAnnotationView class]])
{
@@ -2083,7 +2166,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return NSNotFound;
}
-
+
std::sort(visibleAnnotations.begin(), visibleAnnotations.end());
auto foundElement = std::find(visibleAnnotations.begin(), visibleAnnotations.end(), tag);
if (foundElement == visibleAnnotations.end())
@@ -2123,7 +2206,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
_mbglMap->scaleBy(scaleFactor, mbgl::ScreenCoordinate { centerPoint.x, centerPoint.y });
[self unrotateIfNeededForGesture];
-
+
UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, self.accessibilityValue);
}
@@ -2173,7 +2256,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)_setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate edgePadding:(UIEdgeInsets)insets zoomLevel:(double)zoomLevel direction:(CLLocationDirection)direction duration:(NSTimeInterval)duration animationTimingFunction:(nullable CAMediaTimingFunction *)function completionHandler:(nullable void (^)(void))completion
{
_mbglMap->cancelTransitions();
-
+
mbgl::CameraOptions cameraOptions;
cameraOptions.center = MGLLatLngFromLocationCoordinate2D(centerCoordinate);
cameraOptions.padding = MGLEdgeInsetsFromNSEdgeInsets(insets);
@@ -2182,12 +2265,12 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
cameraOptions.angle = MGLRadiansFromDegrees(-direction);
}
-
+
mbgl::AnimationOptions animationOptions;
if (duration)
{
- animationOptions.duration = MGLDurationInSeconds(duration);
- animationOptions.easing = MGLUnitBezierForMediaTimingFunction(function);
+ animationOptions.duration.emplace(MGLDurationInSeconds(duration));
+ animationOptions.easing.emplace(MGLUnitBezierForMediaTimingFunction(function));
}
if (completion)
{
@@ -2222,9 +2305,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
if (zoomLevel == self.zoomLevel) return;
_mbglMap->cancelTransitions();
-
+
CGFloat duration = animated ? MGLAnimationDuration : 0;
-
+
_mbglMap->setZoom(zoomLevel,
MGLEdgeInsetsFromNSEdgeInsets(self.contentInset),
MGLDurationInSeconds(duration));
@@ -2319,7 +2402,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)_setVisibleCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSUInteger)count edgePadding:(UIEdgeInsets)insets direction:(CLLocationDirection)direction duration:(NSTimeInterval)duration animationTimingFunction:(nullable CAMediaTimingFunction *)function completionHandler:(nullable void (^)(void))completion
{
_mbglMap->cancelTransitions();
-
+
[self willChangeValueForKey:@"visibleCoordinateBounds"];
mbgl::EdgeInsets padding = MGLEdgeInsetsFromNSEdgeInsets(insets);
padding += MGLEdgeInsetsFromNSEdgeInsets(self.contentInset);
@@ -2329,18 +2412,18 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
latLngs.push_back({coordinates[i].latitude, coordinates[i].longitude});
}
-
+
mbgl::CameraOptions cameraOptions = _mbglMap->cameraForLatLngs(latLngs, padding);
if (direction >= 0)
{
cameraOptions.angle = MGLRadiansFromDegrees(-direction);
}
-
+
mbgl::AnimationOptions animationOptions;
if (duration > 0)
{
- animationOptions.duration = MGLDurationInSeconds(duration);
- animationOptions.easing = MGLUnitBezierForMediaTimingFunction(function);
+ animationOptions.duration.emplace(MGLDurationInSeconds(duration));
+ animationOptions.easing.emplace(MGLUnitBezierForMediaTimingFunction(function));
}
if (completion)
{
@@ -2372,7 +2455,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
self.userTrackingMode = MGLUserTrackingModeFollow;
}
-
+
[self _setDirection:direction animated:animated];
}
@@ -2382,7 +2465,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
_mbglMap->cancelTransitions();
CGFloat duration = animated ? MGLAnimationDuration : 0;
-
+
if (self.userTrackingMode == MGLUserTrackingModeNone)
{
_mbglMap->setBearing(direction,
@@ -2446,8 +2529,8 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
mbgl::AnimationOptions animationOptions;
if (duration > 0)
{
- animationOptions.duration = MGLDurationInSeconds(duration);
- animationOptions.easing = MGLUnitBezierForMediaTimingFunction(function);
+ animationOptions.duration.emplace(MGLDurationInSeconds(duration));
+ animationOptions.easing.emplace(MGLUnitBezierForMediaTimingFunction(function));
}
if (completion)
{
@@ -2457,7 +2540,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
});
};
}
-
+
[self willChangeValueForKey:@"camera"];
_mbglMap->easeTo(cameraOptions, animationOptions);
[self didChangeValueForKey:@"camera"];
@@ -2476,7 +2559,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)flyToCamera:(MGLMapCamera *)camera withDuration:(NSTimeInterval)duration peakAltitude:(CLLocationDistance)peakAltitude completionHandler:(nullable void (^)(void))completion
{
self.userTrackingMode = MGLUserTrackingModeNone;
-
+
[self _flyToCamera:camera edgePadding:self.contentInset withDuration:duration peakAltitude:peakAltitude completionHandler:completion];
}
@@ -2509,7 +2592,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
});
};
}
-
+
[self willChangeValueForKey:@"camera"];
_mbglMap->flyTo(cameraOptions, animationOptions);
[self didChangeValueForKey:@"camera"];
@@ -2613,7 +2696,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
bounds.extend([self convertPoint:{ CGRectGetMaxX(rect), CGRectGetMinY(rect) } toLatLngFromView:view]);
bounds.extend([self convertPoint:{ CGRectGetMaxX(rect), CGRectGetMaxY(rect) } toLatLngFromView:view]);
bounds.extend([self convertPoint:{ CGRectGetMinX(rect), CGRectGetMaxY(rect) } toLatLngFromView:view]);
-
+
// The world is wrapping if a point just outside the bounds is also within
// the rect.
mbgl::LatLng outsideLatLng;
@@ -2631,14 +2714,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
bounds.east() + 1,
};
}
-
+
// If the world is wrapping, extend the bounds to cover all longitudes.
if (CGRectContainsPoint(rect, [self convertLatLng:outsideLatLng toPointToView:view]))
{
bounds.extend(mbgl::LatLng(bounds.south(), -180));
bounds.extend(mbgl::LatLng(bounds.south(), 180));
}
-
+
return bounds;
}
@@ -2688,16 +2771,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (NS_ARRAY_OF(NSString *) *)styleClasses
{
- NSMutableArray *returnArray = [NSMutableArray array];
-
- const std::vector<std::string> &appliedClasses = _mbglMap->getClasses();
-
- for (auto class_it = appliedClasses.begin(); class_it != appliedClasses.end(); class_it++)
- {
- [returnArray addObject:@(class_it->c_str())];
- }
-
- return returnArray;
+ return [self.style styleClasses];
}
- (void)setStyleClasses:(NS_ARRAY_OF(NSString *) *)appliedClasses
@@ -2707,36 +2781,22 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)setStyleClasses:(NS_ARRAY_OF(NSString *) *)appliedClasses transitionDuration:(NSTimeInterval)transitionDuration
{
- std::vector<std::string> newAppliedClasses;
-
- for (NSString *appliedClass in appliedClasses)
- {
- newAppliedClasses.insert(newAppliedClasses.end(), [appliedClass UTF8String]);
- }
-
- mbgl::style::TransitionOptions transition { { MGLDurationInSeconds(transitionDuration) } };
- _mbglMap->setClasses(newAppliedClasses, transition);
+ [self.style setStyleClasses:appliedClasses transitionDuration:transitionDuration];
}
- (BOOL)hasStyleClass:(NSString *)styleClass
{
- return styleClass && _mbglMap->hasClass([styleClass UTF8String]);
+ return [self.style hasStyleClass:styleClass];
}
- (void)addStyleClass:(NSString *)styleClass
{
- if (styleClass)
- {
- _mbglMap->addClass([styleClass UTF8String]);
- }
+ [self.style addStyleClass:styleClass];
}
- (void)removeStyleClass:(NSString *)styleClass
{
- if (styleClass)
- {
- _mbglMap->removeClass([styleClass UTF8String]);
- }
+ [self.style removeStyleClass:styleClass];
}
#pragma mark - Annotations -
@@ -2747,7 +2807,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return nil;
}
-
+
// Map all the annotation tags to the annotations themselves.
std::vector<id <MGLAnnotation>> annotations;
std::transform(_annotationContextsByAnnotationTag.begin(),
@@ -2757,14 +2817,43 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return pair.second.annotation;
});
-
+
annotations.erase(std::remove_if(annotations.begin(), annotations.end(),
[](const id <MGLAnnotation> annotation) { return annotation == nullptr; }),
annotations.end());
-
+
return [NSArray arrayWithObjects:&annotations[0] count:annotations.size()];
}
+- (nullable NS_ARRAY_OF(id <MGLAnnotation>) *)visibleAnnotations
+{
+ return [self visibleAnnotationsInRect:self.bounds];
+}
+
+- (nullable NS_ARRAY_OF(id <MGLAnnotation>) *)visibleAnnotationsInRect:(CGRect)rect
+{
+ if (_annotationContextsByAnnotationTag.empty())
+ {
+ return nil;
+ }
+
+ std::vector<MGLAnnotationTag> annotationTags = [self annotationTagsInRect:rect];
+ if (annotationTags.size())
+ {
+ NSMutableArray *annotations = [NSMutableArray arrayWithCapacity:annotationTags.size()];
+
+ for (auto const& annotationTag: annotationTags)
+ {
+ MGLAnnotationContext annotationContext = _annotationContextsByAnnotationTag[annotationTag];
+ [annotations addObject:annotationContext.annotation];
+ }
+
+ return [annotations copy];
+ }
+
+ return nil;
+}
+
/// Returns the annotation assigned the given tag. Cheap.
- (id <MGLAnnotation>)annotationWithTag:(MGLAnnotationTag)tag
{
@@ -2772,7 +2861,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return nil;
}
-
+
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag[tag];
return annotationContext.annotation;
}
@@ -2784,7 +2873,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return MGLAnnotationTagNotFound;
}
-
+
for (auto &pair : _annotationContextsByAnnotationTag)
{
if (pair.second.annotation == annotation)
@@ -2815,7 +2904,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
BOOL delegateImplementsViewForAnnotation = [self.delegate respondsToSelector:@selector(mapView:viewForAnnotation:)];
BOOL delegateImplementsImageForPoint = [self.delegate respondsToSelector:@selector(mapView:imageForAnnotation:)];
-
+
NSMutableArray *newAnnotationViews = [[NSMutableArray alloc] initWithCapacity:annotations.count];
for (id <MGLAnnotation> annotation in annotations)
@@ -2824,13 +2913,6 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
if ([annotation isKindOfClass:[MGLMultiPoint class]])
{
- // Actual multipoints aren’t supported as annotations.
- if ([annotation isMemberOfClass:[MGLMultiPoint class]]
- || [annotation isMemberOfClass:[MGLMultiPointFeature class]])
- {
- continue;
- }
-
// The polyline or polygon knows how to style itself (with the map view’s help).
MGLMultiPoint *multiPoint = (MGLMultiPoint *)annotation;
if (!multiPoint.pointCount) {
@@ -2841,15 +2923,18 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
MGLAnnotationContext context;
context.annotation = annotation;
_annotationContextsByAnnotationTag[annotationTag] = context;
+
+ [(NSObject *)annotation addObserver:self forKeyPath:@"coordinates" options:0 context:(void *)(NSUInteger)annotationTag];
}
else if ( ! [annotation isKindOfClass:[MGLMultiPolyline class]]
- || ![annotation isKindOfClass:[MGLMultiPolygon class]]
- || ![annotation isKindOfClass:[MGLShapeCollection class]])
+ && ![annotation isKindOfClass:[MGLMultiPolygon class]]
+ && ![annotation isKindOfClass:[MGLShapeCollection class]]
+ && ![annotation isKindOfClass:[MGLPointCollection class]])
{
MGLAnnotationView *annotationView;
NSString *symbolName;
NSValue *annotationValue = [NSValue valueWithNonretainedObject:annotation];
-
+
if (delegateImplementsViewForAnnotation)
{
annotationView = [self annotationViewForAnnotation:annotation];
@@ -2859,7 +2944,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
annotationView.annotation = annotation;
annotationView.center = [self convertCoordinate:annotation.coordinate toPointToView:self];
[newAnnotationViews addObject:annotationView];
-
+
MGLAnnotationImage *annotationImage = self.invisibleAnnotationImage;
symbolName = annotationImage.styleIconIdentifier;
annotationImagesForAnnotation[annotationValue] = annotationImage;
@@ -2869,10 +2954,10 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
}
}
-
+
if ( ! annotationView) {
MGLAnnotationImage *annotationImage;
-
+
if (delegateImplementsImageForPoint)
{
annotationImage = [self.delegate mapView:self imageForAnnotation:annotation];
@@ -2885,9 +2970,9 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
annotationImage = self.defaultAnnotationImage;
}
-
+
symbolName = annotationImage.styleIconIdentifier;
-
+
if ( ! symbolName)
{
symbolName = [MGLAnnotationSpritePrefix stringByAppendingString:annotationImage.reuseIdentifier];
@@ -2897,7 +2982,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self installAnnotationImage:annotationImage];
}
-
+
annotationImagesForAnnotation[annotationValue] = annotationImage;
}
@@ -2915,7 +3000,8 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
context.annotationView = annotationView;
context.viewReuseIdentifier = annotationView.reuseIdentifier;
}
-
+
+ _annotationTagsByAnnotation[annotation] = annotationTag;
_annotationContextsByAnnotationTag[annotationTag] = context;
if ([annotation isKindOfClass:[NSObject class]]) {
@@ -2926,21 +3012,21 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
[self updateAnnotationContainerViewWithAnnotationViews:newAnnotationViews];
-
+
[self didChangeValueForKey:@"annotations"];
-
+
if ([self.delegate respondsToSelector:@selector(mapView:didAddAnnotationViews:)])
{
[self.delegate mapView:self didAddAnnotationViews:newAnnotationViews];
}
-
+
UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil);
}
- (void)updateAnnotationContainerViewWithAnnotationViews:(NS_ARRAY_OF(MGLAnnotationView *) *)annotationViews
{
if (annotationViews.count == 0) return;
-
+
MGLAnnotationContainerView *newAnnotationContainerView;
if (self.annotationContainerView)
{
@@ -2976,7 +3062,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (MGLAnnotationImage *)invisibleAnnotationImage
{
MGLAnnotationImage *annotationImage = [self dequeueReusableAnnotationImageWithIdentifier:MGLInvisibleStyleMarkerSymbolName];
-
+
if (!annotationImage)
{
UIGraphicsBeginImageContext(CGSizeMake(1, 1));
@@ -2986,44 +3072,56 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
reuseIdentifier:MGLInvisibleStyleMarkerSymbolName];
annotationImage.styleIconIdentifier = [MGLAnnotationSpritePrefix stringByAppendingString:annotationImage.reuseIdentifier];
}
-
+
return annotationImage;
}
- (MGLAnnotationView *)annotationViewForAnnotation:(id<MGLAnnotation>)annotation
{
MGLAnnotationView *annotationView = [self.delegate mapView:self viewForAnnotation:annotation];
-
+
if (annotationView)
{
annotationView.annotation = annotation;
annotationView.mapView = self;
CGRect bounds = UIEdgeInsetsInsetRect({ CGPointZero, annotationView.frame.size }, annotationView.alignmentRectInsets);
-
+
_largestAnnotationViewSize = CGSizeMake(MAX(_largestAnnotationViewSize.width, CGRectGetWidth(bounds)),
MAX(_largestAnnotationViewSize.height, CGRectGetHeight(bounds)));
-
+
_unionedAnnotationRepresentationSize = CGSizeMake(MAX(_unionedAnnotationRepresentationSize.width, _largestAnnotationViewSize.width),
MAX(_unionedAnnotationRepresentationSize.height, _largestAnnotationViewSize.height));
}
-
+
return annotationView;
}
- (nullable MGLAnnotationView *)viewForAnnotation:(id<MGLAnnotation>)annotation
{
- MGLAnnotationTag annotationTag = [self annotationTagForAnnotation:annotation];
- if (annotationTag == MGLAnnotationTagNotFound) return nil;
-
+ MGLAnnotationTag annotationTag = _annotationTagsByAnnotation.at(annotation);
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
return annotationContext.annotationView;
}
- (double)alphaForShapeAnnotation:(MGLShape *)annotation
{
+ // The explicit -mapView:alphaForShapeAnnotation: delegate method is deprecated
+ // but still used, if implemented. When not implemented, call the stroke or
+ // fill color delegate methods and pull the alpha from the returned color.
if (_delegateHasAlphasForShapeAnnotations)
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
return [self.delegate mapView:self alphaForShapeAnnotation:annotation];
+#pragma clang diagnostic pop
+ }
+ else if ([annotation isKindOfClass:[MGLPolygon class]])
+ {
+ return [self fillColorForPolygonAnnotation:(MGLPolygon *)annotation].a ?: 1.0;
+ }
+ else if ([annotation isKindOfClass:[MGLShape class]])
+ {
+ return [self strokeColorForShapeAnnotation:annotation].a ?: 1.0;
}
return 1.0;
}
@@ -3033,7 +3131,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
UIColor *color = (_delegateHasStrokeColorsForShapeAnnotations
? [self.delegate mapView:self strokeColorForShapeAnnotation:annotation]
: self.tintColor);
- return MGLColorObjectFromUIColor(color);
+ return color.mgl_color;
}
- (mbgl::Color)fillColorForPolygonAnnotation:(MGLPolygon *)annotation
@@ -3041,7 +3139,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
UIColor *color = (_delegateHasFillColorsForShapeAnnotations
? [self.delegate mapView:self fillColorForPolygonAnnotation:annotation]
: self.tintColor);
- return MGLColorObjectFromUIColor(color);
+ return color.mgl_color;
}
- (CGFloat)lineWidthForPolylineAnnotation:(MGLPolyline *)annotation
@@ -3058,29 +3156,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
NSString *iconIdentifier = annotationImage.styleIconIdentifier;
self.annotationImagesByIdentifier[annotationImage.reuseIdentifier] = annotationImage;
annotationImage.delegate = self;
-
- // retrieve pixels
- CGImageRef image = annotationImage.image.CGImage;
- size_t width = CGImageGetWidth(image);
- size_t height = CGImageGetHeight(image);
- CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
- mbgl::PremultipliedImage cPremultipliedImage(width, height);
- size_t bytesPerPixel = 4;
- size_t bytesPerRow = bytesPerPixel * width;
- size_t bitsPerComponent = 8;
- CGContextRef context = CGBitmapContextCreate(cPremultipliedImage.data.get(), width, height, bitsPerComponent, bytesPerRow, colorSpace, kCGImageAlphaPremultipliedLast);
- CGContextDrawImage(context, CGRectMake(0, 0, width, height), image);
- CGContextRelease(context);
- CGColorSpaceRelease(colorSpace);
// add sprite
- auto cSpriteImage = std::make_shared<mbgl::SpriteImage>(
- std::move(cPremultipliedImage),
- float(annotationImage.image.scale));
+ std::shared_ptr<mbgl::SpriteImage> sprite(annotationImage.image.mgl_spriteImage);
+ _mbglMap->addAnnotationIcon(iconIdentifier.UTF8String, sprite);
- // sprite upload
- _mbglMap->addAnnotationIcon(iconIdentifier.UTF8String, cSpriteImage);
-
// Create a slop area with a “radius” equal in size to the annotation
// image’s alignment rect, allowing the eventual tap to be on any point
// within this image. Union this slop area with any existing slop areas.
@@ -3119,6 +3199,16 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
MGLAnnotationView *annotationView = annotationContext.annotationView;
+
+ if (annotationContext.viewReuseIdentifier)
+ {
+ NSMutableArray *annotationViewReuseQueue = [self annotationViewReuseQueueForIdentifier:annotationContext.viewReuseIdentifier];
+ if (![annotationViewReuseQueue containsObject:annotationView])
+ {
+ [annotationViewReuseQueue removeObject:annotationView];
+ }
+ }
+
annotationView.annotation = nil;
[annotationView removeFromSuperview];
@@ -3126,13 +3216,18 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self deselectAnnotation:annotation animated:NO];
}
-
+
_annotationContextsByAnnotationTag.erase(annotationTag);
-
+ _annotationTagsByAnnotation.erase(annotation);
+
if ([annotation isKindOfClass:[NSObject class]] && ![annotation isKindOfClass:[MGLMultiPoint class]])
{
[(NSObject *)annotation removeObserver:self forKeyPath:@"coordinate" context:(void *)(NSUInteger)annotationTag];
}
+ else if ([annotation isKindOfClass:[MGLMultiPoint class]])
+ {
+ [(NSObject *)annotation removeObserver:self forKeyPath:@"coordinates" context:(void *)(NSUInteger)annotationTag];
+ }
_mbglMap->removeAnnotation(annotationTag);
}
@@ -3186,27 +3281,8 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
MGLAnnotationView *reusableView = annotationViewReuseQueue.firstObject;
[reusableView prepareForReuse];
[annotationViewReuseQueue removeObject:reusableView];
-
- return reusableView;
-}
-- (MGLAnnotationView *)annotationViewAtPoint:(CGPoint)point
-{
- std::vector<MGLAnnotationTag> annotationTags = [self annotationTagsInRect:self.bounds];
-
- for(auto const& annotationTag: annotationTags)
- {
- auto &annotationContext = _annotationContextsByAnnotationTag[annotationTag];
- MGLAnnotationView *annotationView = annotationContext.annotationView;
- CGPoint convertedPoint = [self convertPoint:point toView:annotationView];
-
- if ([annotationView pointInside:convertedPoint withEvent:nil])
- {
- return annotationView;
- }
- }
-
- return nil;
+ return reusableView;
}
/**
@@ -3232,14 +3308,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
queryRect = CGRectInset(queryRect, -MGLAnnotationImagePaddingForHitTest,
-MGLAnnotationImagePaddingForHitTest);
std::vector<MGLAnnotationTag> nearbyAnnotations = [self annotationTagsInRect:queryRect];
-
+
if (nearbyAnnotations.size())
{
// Assume that the user is fat-fingering an annotation.
CGRect hitRect = CGRectInset({ point, CGSizeZero },
-MGLAnnotationImagePaddingForHitTest,
-MGLAnnotationImagePaddingForHitTest);
-
+
// Filter out any annotation whose image or view is unselectable or for which
// hit testing fails.
auto end = std::remove_if(nearbyAnnotations.begin(), nearbyAnnotations.end(),
@@ -3247,10 +3323,10 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
id <MGLAnnotation> annotation = [self annotationWithTag:annotationTag];
NSAssert(annotation, @"Unknown annotation found nearby tap");
-
+
MGLAnnotationContext annotationContext = _annotationContextsByAnnotationTag[annotationTag];
CGRect annotationRect;
-
+
MGLAnnotationView *annotationView = annotationContext.annotationView;
if (annotationView)
{
@@ -3258,7 +3334,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return true;
}
-
+
CGPoint calloutAnchorPoint = [self convertCoordinate:annotation.coordinate toPointToView:self];
CGRect frame = CGRectInset({ calloutAnchorPoint, CGSizeZero }, -CGRectGetWidth(annotationView.frame) / 2, -CGRectGetHeight(annotationView.frame) / 2);
annotationRect = UIEdgeInsetsInsetRect(frame, annotationView.alignmentRectInsets);
@@ -3270,28 +3346,28 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return true;
}
-
+
MGLAnnotationImage *fallbackAnnotationImage = [self dequeueReusableAnnotationImageWithIdentifier:MGLDefaultStyleMarkerSymbolName];
UIImage *fallbackImage = fallbackAnnotationImage.image;
-
+
annotationRect = [self frameOfImage:annotationImage.image ?: fallbackImage centeredAtCoordinate:annotation.coordinate];
}
-
+
// Filter out the annotation if the fattened finger didn’t land
// within the image’s alignment rect.
return !!!CGRectIntersectsRect(annotationRect, hitRect);
});
-
+
nearbyAnnotations.resize(std::distance(nearbyAnnotations.begin(), end));
}
-
+
MGLAnnotationTag hitAnnotationTag = MGLAnnotationTagNotFound;
if (nearbyAnnotations.size())
{
// The annotation tags need to be stable in order to compare them with
// the remembered tags.
std::sort(nearbyAnnotations.begin(), nearbyAnnotations.end());
-
+
if (nearbyAnnotations == _annotationsNearbyLastTap)
{
// The first selection in the cycle should be the one nearest to the
@@ -3306,7 +3382,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
coordinateB.longitude - currentCoordinate.longitude);
return deltaA < deltaB;
});
-
+
// The last time we persisted a set of annotations, we had the same
// set of annotations as we do now. Cycle through them.
if (_selectedAnnotationTag == MGLAnnotationTagNotFound
@@ -3344,7 +3420,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
_annotationsNearbyLastTap = nearbyAnnotations;
}
-
+
// Choose the first nearby annotation.
if (nearbyAnnotations.size())
{
@@ -3352,15 +3428,17 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
}
}
-
+
return hitAnnotationTag;
}
/// Returns the tags of the annotations coincident with the given rectangle.
- (std::vector<MGLAnnotationTag>)annotationTagsInRect:(CGRect)rect
{
- mbgl::LatLngBounds queryBounds = [self convertRect:rect toLatLngBoundsFromView:self];
- return _mbglMap->getPointAnnotationsInBounds(queryBounds);
+ return _mbglMap->queryPointAnnotations({
+ { CGRectGetMinX(rect), CGRectGetMinY(rect) },
+ { CGRectGetMaxX(rect), CGRectGetMaxY(rect) },
+ });
}
- (id <MGLAnnotation>)selectedAnnotation
@@ -3422,7 +3500,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
[self deselectAnnotation:self.selectedAnnotation animated:NO];
-
+
// Add the annotation to the map if it hasn’t been added yet.
MGLAnnotationTag annotationTag = [self annotationTagForAnnotation:annotation];
if (annotationTag == MGLAnnotationTagNotFound && annotation != self.userLocation)
@@ -3431,29 +3509,29 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
annotationTag = [self annotationTagForAnnotation:annotation];
if (annotationTag == MGLAnnotationTagNotFound) return;
}
-
+
// By default attempt to use the GL annotation image frame as the positioning rect.
CGRect positioningRect = [self positioningRectForCalloutForAnnotationWithTag:annotationTag];
-
+
MGLAnnotationView *annotationView = nil;
-
+
if (annotation != self.userLocation)
{
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
-
+
annotationView = annotationContext.annotationView;
-
+
if (annotationView && annotationView.enabled)
{
// Annotations represented by views use the view frame as the positioning rect.
positioningRect = annotationView.frame;
-
+
[annotationView.superview bringSubviewToFront:annotationView];
[annotationView setSelected:YES animated:animated];
}
}
-
+
// The client can request that any annotation be selected (even ones that are offscreen).
// The annotation can’t be selected if no part of it is hittable.
if ( ! CGRectIntersectsRect(positioningRect, self.bounds) && annotation != self.userLocation)
@@ -3483,7 +3561,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
if (_userLocationAnnotationIsSelected)
{
positioningRect = [self.userLocationAnnotationView.layer.presentationLayer frame];
-
+
CGRect implicitAnnotationFrame = [self.userLocationAnnotationView.layer.presentationLayer frame];
CGRect explicitAnnotationFrame = self.userLocationAnnotationView.frame;
_initialImplicitCalloutViewOffset = CGPointMake(CGRectGetMinX(explicitAnnotationFrame) - CGRectGetMinX(implicitAnnotationFrame),
@@ -3532,7 +3610,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self.delegate mapView:self didSelectAnnotation:annotation];
}
-
+
if (annotationView && [self.delegate respondsToSelector:@selector(mapView:didSelectAnnotationView:)])
{
[self.delegate mapView:self didSelectAnnotationView:annotationView];
@@ -3554,7 +3632,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (CGRect)positioningRectForCalloutForAnnotationWithTag:(MGLAnnotationTag)annotationTag
{
MGLAnnotationContext annotationContext = _annotationContextsByAnnotationTag[annotationTag];
-
+
id <MGLAnnotation> annotation = [self annotationWithTag:annotationTag];
if ( ! annotation)
{
@@ -3569,10 +3647,10 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return CGRectZero;
}
-
+
CGRect positioningRect = [self frameOfImage:image centeredAtCoordinate:annotation.coordinate];
positioningRect.origin.x -= 0.5;
-
+
return CGRectInset(positioningRect, -MGLAnnotationImagePaddingForCallout,
-MGLAnnotationImagePaddingForCallout);
}
@@ -3594,10 +3672,10 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return nil;
}
-
+
NSString *customSymbol = _annotationContextsByAnnotationTag.at(annotationTag).imageReuseIdentifier;
NSString *symbolName = customSymbol.length ? customSymbol : MGLDefaultStyleMarkerSymbolName;
-
+
return [self dequeueReusableAnnotationImageWithIdentifier:symbolName];
}
@@ -3609,11 +3687,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
// dismiss popup
[self.calloutViewForSelectedAnnotation dismissCalloutAnimated:animated];
-
+
// deselect annotation view
MGLAnnotationView *annotationView = nil;
MGLAnnotationTag annotationTag = [self annotationTagForAnnotation:annotation];
-
+
if (annotationTag != MGLAnnotationTagNotFound)
{
MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
@@ -3630,7 +3708,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self.delegate mapView:self didDeselectAnnotation:annotation];
}
-
+
if (annotationView && [self.delegate respondsToSelector:@selector(mapView:didDeselectAnnotationView:)])
{
[self.delegate mapView:self didDeselectAnnotationView:annotationView];
@@ -3645,7 +3723,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return;
}
-
+
// The user location callout view initially points to the user location
// annotation’s implicit (visual) frame, which is offset from the
// annotation’s explicit frame. Now the callout view needs to rendezvous
@@ -3709,19 +3787,19 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
NSString *iconIdentifier = annotationImage.styleIconIdentifier;
NSString *fallbackReuseIdentifier = MGLDefaultStyleMarkerSymbolName;
NSString *fallbackIconIdentifier = [MGLAnnotationSpritePrefix stringByAppendingString:fallbackReuseIdentifier];
-
+
// Remove the old icon from the style.
if ( ! [iconIdentifier isEqualToString:fallbackIconIdentifier]) {
_mbglMap->removeAnnotationIcon(iconIdentifier.UTF8String);
}
-
+
if (annotationImage.image)
{
// Add the new icon to the style.
NSString *updatedIconIdentifier = [MGLAnnotationSpritePrefix stringByAppendingString:annotationImage.reuseIdentifier];
annotationImage.styleIconIdentifier = updatedIconIdentifier;
[self installAnnotationImage:annotationImage];
-
+
if ([iconIdentifier isEqualToString:fallbackIconIdentifier])
{
// Update any annotations associated with the annotation image.
@@ -3736,7 +3814,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
[self installAnnotationImage:self.defaultAnnotationImage];
}
-
+
// Update any annotations associated with the annotation image.
[self applyIconIdentifier:fallbackIconIdentifier toAnnotationsWithImageReuseIdentifier:reuseIdentifier];
}
@@ -3816,7 +3894,28 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self.delegate mapViewWillStartLocatingUser:self];
}
- self.userLocationAnnotationView = [[MGLUserLocationAnnotationView alloc] initInMapView:self];
+ self.userLocation = [[MGLUserLocation alloc] initWithMapView:self];
+
+ MGLUserLocationAnnotationView *userLocationAnnotationView;
+
+ if ([self.delegate respondsToSelector:@selector(mapView:viewForAnnotation:)])
+ {
+ userLocationAnnotationView = (MGLUserLocationAnnotationView *)[self.delegate mapView:self viewForAnnotation:self.userLocation];
+ if (userLocationAnnotationView && ! [userLocationAnnotationView isKindOfClass:MGLUserLocationAnnotationView.class])
+ {
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ NSLog(@"Ignoring user location annotation view with type %@. User location annotation view must be a kind of MGLUserLocationAnnotationView. This warning is only shown once and will become an error in a future version.", NSStringFromClass(userLocationAnnotationView.class));
+ });
+
+ userLocationAnnotationView = nil;
+ }
+ }
+
+ self.userLocationAnnotationView = userLocationAnnotationView ?: [[MGLFaux3DUserLocationAnnotationView alloc] init];
+ self.userLocationAnnotationView.mapView = self;
+ self.userLocationAnnotationView.userLocation = self.userLocation;
+
self.userLocationAnnotationView.autoresizingMask = (UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin |
UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin);
@@ -3852,11 +3951,6 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
return [NSSet setWithObject:@"userLocationAnnotationView"];
}
-- (nullable MGLUserLocation *)userLocation
-{
- return self.userLocationAnnotationView.annotation;
-}
-
- (BOOL)isUserLocationVisible
{
if (self.userLocationAnnotationView)
@@ -3899,7 +3993,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
case MGLUserTrackingModeNone:
{
self.userTrackingState = MGLUserTrackingStatePossible;
-
+
[self.locationManager stopUpdatingHeading];
// Immediately update the annotation view; other cases update inside
@@ -3930,7 +4024,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
self.userTrackingState = animated ? MGLUserTrackingStatePossible : MGLUserTrackingStateChanged;
}
-
+
self.showsUserLocation = YES;
if (self.zoomLevel < self.currentMinimumZoom)
@@ -4025,16 +4119,13 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[self didUpdateLocationWithUserTrackingAnimated:animated];
- self.userLocationAnnotationView.haloLayer.hidden = ! CLLocationCoordinate2DIsValid(self.userLocation.coordinate) ||
- newLocation.horizontalAccuracy > 10;
-
NSTimeInterval duration = MGLAnimationDuration;
if (oldLocation && ! CGPointEqualToPoint(self.userLocationAnnotationView.center, CGPointZero))
{
duration = MIN([newLocation.timestamp timeIntervalSinceDate:oldLocation.timestamp], MGLUserLocationAnimationDuration);
}
[self updateUserLocationAnnotationViewAnimatedWithDuration:duration];
-
+
if (self.userTrackingMode == MGLUserTrackingModeNone &&
self.userLocationAnnotationView.accessibilityElementIsFocused &&
[UIApplication sharedApplication].applicationState == UIApplicationStateActive)
@@ -4052,7 +4143,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return;
}
-
+
// If the user location annotation is already where it’s supposed to be,
// don’t change the viewport.
CGPoint correctPoint = self.userLocationAnnotationViewCenter;
@@ -4062,7 +4153,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
return;
}
-
+
if (self.userTrackingMode == MGLUserTrackingModeFollowWithCourse
&& CLLocationCoordinate2DIsValid(self.targetCoordinate))
{
@@ -4103,7 +4194,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)didUpdateLocationSignificantlyAnimated:(BOOL)animated
{
self.userTrackingState = MGLUserTrackingStateBegan;
-
+
MGLMapCamera *camera = self.camera;
camera.centerCoordinate = self.userLocation.location.coordinate;
camera.heading = self.directionByFollowingWithCourse;
@@ -4114,7 +4205,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
camera.centerCoordinate.latitude,
self.frame.size);
}
-
+
__weak MGLMapView *weakSelf = self;
[self _flyToCamera:camera
edgePadding:self.edgePaddingForFollowing
@@ -4147,7 +4238,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
};
}
-
+
CLLocationCoordinate2D foci[] = {
self.userLocation.location.coordinate,
self.targetCoordinate,
@@ -4171,15 +4262,17 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
// Center on user location unless we're already centered there (or very close).
CGPoint correctPoint = self.userLocationAnnotationViewCenter;
-
+
// Shift the entire frame upward or downward to accommodate a shifted user
// location annotation view.
CGRect bounds = self.bounds;
CGRect boundsAroundCorrectPoint = CGRectOffset(bounds,
correctPoint.x - CGRectGetMidX(bounds),
correctPoint.y - CGRectGetMidY(bounds));
- return UIEdgeInsetsMake(CGRectGetMinY(boundsAroundCorrectPoint) - CGRectGetMinY(bounds), 0,
- CGRectGetMaxY(bounds) - CGRectGetMaxY(boundsAroundCorrectPoint), 0);
+ return UIEdgeInsetsMake(CGRectGetMinY(boundsAroundCorrectPoint) - CGRectGetMinY(bounds),
+ self.contentInset.left,
+ CGRectGetMaxY(bounds) - CGRectGetMaxY(boundsAroundCorrectPoint),
+ self.contentInset.right);
}
/// Returns the edge padding to apply during bifocal course tracking.
@@ -4211,7 +4304,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
direction = self.userLocation.location.course;
}
-
+
if (direction >= 0)
{
if (self.userLocationVerticalAlignment == MGLAnnotationVerticalAlignmentTop)
@@ -4311,7 +4404,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (NS_ARRAY_OF(id <MGLFeature>) *)visibleFeaturesAtPoint:(CGPoint)point inStyleLayersWithIdentifiers:(NS_SET_OF(NSString *) *)styleLayerIdentifiers
{
mbgl::ScreenCoordinate screenCoordinate = { point.x, point.y };
-
+
mbgl::optional<std::vector<std::string>> optionalLayerIDs;
if (styleLayerIdentifiers)
{
@@ -4323,7 +4416,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}];
optionalLayerIDs = layerIDs;
}
-
+
std::vector<mbgl::Feature> features = _mbglMap->queryRenderedFeatures(screenCoordinate, optionalLayerIDs);
return MGLFeaturesFromMBGLFeatures(features);
}
@@ -4337,7 +4430,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{ CGRectGetMinX(rect), CGRectGetMinY(rect) },
{ CGRectGetMaxX(rect), CGRectGetMaxY(rect) },
};
-
+
mbgl::optional<std::vector<std::string>> optionalLayerIDs;
if (styleLayerIdentifiers) {
__block std::vector<std::string> layerIDs;
@@ -4347,7 +4440,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}];
optionalLayerIDs = layerIDs;
}
-
+
std::vector<mbgl::Feature> features = _mbglMap->queryRenderedFeatures(screenBox, optionalLayerIDs);
return MGLFeaturesFromMBGLFeatures(features);
}
@@ -4378,7 +4471,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
&& state != UIGestureRecognizerStateChanged)
{
[self unrotateIfNeededAnimated:YES];
-
+
// Snap to north.
if ((self.direction < MGLToleranceForSnappingToNorth
|| self.direction > 360 - MGLToleranceForSnappingToNorth)
@@ -4532,6 +4625,14 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
}
break;
}
+ case mbgl::MapChangeDidFinishLoadingStyle:
+ {
+ if ([self.delegate respondsToSelector:@selector(mapView:didFinishLoadingStyle:)])
+ {
+ [self.delegate mapView:self didFinishLoadingStyle:self.style];
+ }
+ break;
+ }
}
}
@@ -4543,65 +4644,113 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
- (void)updateAnnotationViews
{
BOOL delegateImplementsViewForAnnotation = [self.delegate respondsToSelector:@selector(mapView:viewForAnnotation:)];
-
+
if (!delegateImplementsViewForAnnotation)
{
return;
}
-
+
[CATransaction begin];
[CATransaction setDisableActions:YES];
+
+ // If the map is pitched consider the viewport to be exactly the same as the bounds.
+ // Otherwise, add a small buffer.
+ CGFloat widthAdjustment = self.camera.pitch > 0.0 ? 0.0 : -_largestAnnotationViewSize.width * 2.0;
+ CGFloat heightAdjustment = self.camera.pitch > 0.0 ? 0.0 : -_largestAnnotationViewSize.height * 2.0;
+ CGRect viewPort = CGRectInset(self.bounds, widthAdjustment, heightAdjustment);
- for (auto &pair : _annotationContextsByAnnotationTag)
+ NSArray *visibleAnnotations = [self visibleAnnotationsInRect:viewPort];
+ NSMutableArray *offscreenAnnotations = [self.annotations mutableCopy];
+ [offscreenAnnotations removeObjectsInArray:visibleAnnotations];
+
+ // Update the center of visible annotation views
+ for (id<MGLAnnotation> annotation in visibleAnnotations)
{
- CGRect viewPort = CGRectInset(self.bounds,
- -_largestAnnotationViewSize.width / 2.0 - MGLAnnotationUpdateViewportOutset.width / 2.0,
- -_largestAnnotationViewSize.height / 2.0 - MGLAnnotationUpdateViewportOutset.width);
-
- MGLAnnotationContext &annotationContext = pair.second;
+ // Defer to the shape/polygon styling delegate methods
+ if ([annotation isKindOfClass:[MGLMultiPoint class]])
+ {
+ continue;
+ }
+
+ // Get the annotation tag then use it to get the context. This avoids the expensive lookup
+ // by tag in `annotationTagForAnnotation:`
+ MGLAnnotationTag annotationTag = _annotationTagsByAnnotation.at(annotation);
+ MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
+
MGLAnnotationView *annotationView = annotationContext.annotationView;
-
if (!annotationView)
{
+ // This will dequeue views if the delegate implements the dequeue call
MGLAnnotationView *annotationView = [self annotationViewForAnnotation:annotationContext.annotation];
+
if (annotationView)
{
- // If the annotation view has no superview it means it was never used before so add it
- if (!annotationView.superview)
- {
- [self.glView addSubview:annotationView];
- }
-
annotationView.mapView = self;
- annotationView.center = [self convertCoordinate:annotationContext.annotation.coordinate toPointToView:self];
annotationContext.annotationView = annotationView;
+
+ // New annotation (created because there is nothing to dequeue) may not have been added to the
+ // container view yet. Add them here.
+ if (!annotationView.superview) {
+ [self.annotationContainerView insertSubview:annotationView atIndex:0];
+ }
}
}
-
- bool annotationViewIsVisible = CGRectContainsRect(viewPort, annotationView.frame);
- if (!annotationViewIsVisible)
- {
- [self enqueueAnnotationViewForAnnotationContext:annotationContext];
- }
- else
+
+ if (annotationView)
{
annotationView.center = [self convertCoordinate:annotationContext.annotation.coordinate toPointToView:self];
}
}
+ CGPoint upperLeft = {_largestAnnotationViewSize.width,_largestAnnotationViewSize.height};
+ CGPoint lowerRight = {CGRectGetWidth(self.bounds) + _largestAnnotationViewSize.width,
+ CGRectGetHeight(self.bounds) + _largestAnnotationViewSize.height};
+
+ CLLocationCoordinate2D upperLeftCoordinate = [self convertPoint:upperLeft toCoordinateFromView:self];
+ CLLocationCoordinate2D lowerRightCoordinate = [self convertPoint:lowerRight toCoordinateFromView:self];
+
+ // Enqueue (and move if required) offscreen annotation views
+ for (id<MGLAnnotation> annotation in offscreenAnnotations)
+ {
+ CLLocationCoordinate2D coordinate = annotation.coordinate;
+ MGLAnnotationTag annotationTag = _annotationTagsByAnnotation.at(annotation);
+ MGLAnnotationContext &annotationContext = _annotationContextsByAnnotationTag.at(annotationTag);
+ UIView *annotationView = annotationContext.annotationView;
+
+ if (annotationView)
+ {
+ // Every so often (1 out of 1000 frames?) the mbgl query mechanism fails. This logic spot checks the
+ // offscreenAnnotations values -- if they are actually still on screen then the view center is
+ // moved and the enqueue operation is avoided. This allows us to keep the performance benefit of
+ // using the mbgl query result. It also forces views that have just gone offscreen to be cleared
+ // fully from view.
+ if ((coordinate.latitude > upperLeftCoordinate.latitude || coordinate.latitude < lowerRightCoordinate.latitude) ||
+ (coordinate.longitude < upperLeftCoordinate.longitude || coordinate.longitude > lowerRightCoordinate.longitude))
+ {
+ CGRect adjustedFrame = annotationView.frame;
+ adjustedFrame.origin.x = -CGRectGetWidth(adjustedFrame) * 2.0;
+ annotationView.frame = adjustedFrame;
+ [self enqueueAnnotationViewForAnnotationContext:annotationContext];
+ }
+ else
+ {
+ annotationView.center = [self convertCoordinate:annotationContext.annotation.coordinate toPointToView:self];
+ }
+ }
+ }
+
[CATransaction commit];
}
- (void)enqueueAnnotationViewForAnnotationContext:(MGLAnnotationContext &)annotationContext
{
MGLAnnotationView *annotationView = annotationContext.annotationView;
-
+
if (!annotationView) return;
-
- annotationView.annotation = nil;
-
+
if (annotationContext.viewReuseIdentifier)
{
+ annotationView.annotation = nil;
NSMutableArray *annotationViewReuseQueue = [self annotationViewReuseQueueForIdentifier:annotationContext.viewReuseIdentifier];
if (![annotationViewReuseQueue containsObject:annotationView])
{
@@ -4629,7 +4778,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
userPoint = [self convertCoordinate:self.userLocation.coordinate toPointToView:self];
}
-
+
if ( ! annotationView.superview)
{
[self.glView addSubview:annotationView];
@@ -4658,10 +4807,10 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
annotationView.center = userPoint;
} completion:NULL];
_userLocationAnimationCompletionDate = [NSDate dateWithTimeIntervalSinceNow:duration];
-
+
annotationView.hidden = NO;
- [annotationView setupLayers];
-
+ [annotationView update];
+
if (_userLocationAnnotationIsSelected)
{
// Ensure the callout view still points to its annotation.
@@ -4680,7 +4829,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
// User has moved far enough outside of the viewport that showing it or
// its callout would be useless.
annotationView.hidden = YES;
-
+
if (_userLocationAnnotationIsSelected)
{
[self deselectAnnotation:self.selectedAnnotation animated:YES];
@@ -4698,7 +4847,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
contentFrame = self.contentFrame;
}
CGPoint center = CGPointMake(CGRectGetMidX(contentFrame), CGRectGetMidY(contentFrame));
-
+
// When tracking course, it’s more important to see the road ahead, so
// weight the user dot down towards the bottom.
switch (self.userLocationVerticalAlignment) {
@@ -4711,7 +4860,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
center.y = CGRectGetMaxY(contentFrame);
break;
}
-
+
return center;
}
@@ -4720,7 +4869,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
CLLocationDirection direction = self.direction;
CLLocationDirection plateDirection = mbgl::util::wrap(-direction, 0., 360.);
self.compassView.transform = CGAffineTransformMakeRotation(MGLRadiansFromDegrees(plateDirection));
-
+
self.compassView.isAccessibilityElement = direction > 0;
self.compassView.accessibilityValue = [_accessibilityCompassFormatter stringFromDirection:direction];
@@ -4760,7 +4909,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
[NSException raise:@"Resource not found" format:
@"The resource named “%@” could not be found in the Mapbox framework bundle.", imageName];
}
-
+
return [UIImage imageWithContentsOfFile:path];
}
@@ -4877,29 +5026,42 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
{
_annotationViewReuseQueueByIdentifier[identifier] = [NSMutableArray array];
}
-
+
return _annotationViewReuseQueueByIdentifier[identifier];
}
-class MBGLView : public mbgl::View
+class MBGLView : public mbgl::View, public mbgl::Backend
{
public:
- MBGLView(MGLMapView* nativeView_, const float scaleFactor_)
- : nativeView(nativeView_), scaleFactor(scaleFactor_) {
- }
-
- float getPixelRatio() const override {
- return scaleFactor;
- }
-
- std::array<uint16_t, 2> getSize() const override {
- return {{ static_cast<uint16_t>([nativeView bounds].size.width),
- static_cast<uint16_t>([nativeView bounds].size.height) }};
- }
-
- std::array<uint16_t, 2> getFramebufferSize() const override {
- return {{ static_cast<uint16_t>([[nativeView glView] drawableWidth]),
- static_cast<uint16_t>([[nativeView glView] drawableHeight]) }};
+ MBGLView(MGLMapView* nativeView_) : nativeView(nativeView_) {
+ }
+
+ mbgl::gl::value::Viewport::Type getViewport() const {
+ return { 0, 0, nativeView.framebufferSize };
+ }
+
+ /// This function is called before we start rendering, when iOS invokes our rendering method.
+ /// iOS already sets the correct framebuffer and viewport for us, so we need to update the
+ /// context state with the anticipated values.
+ void updateViewBinding() {
+ // We are using 0 as the placeholder value for the GLKView's framebuffer.
+ getContext().bindFramebuffer.setCurrentValue(0);
+ getContext().viewport.setCurrentValue(getViewport());
+ assert(mbgl::gl::value::Viewport::Get() == getContext().viewport.getCurrentValue());
+ }
+
+ void bind() override {
+ if (getContext().bindFramebuffer != 0) {
+ // Something modified our state, and we need to bind the original drawable again.
+ // Doing this also sets the viewport to the full framebuffer.
+ // Note that in reality, iOS does not use the Framebuffer 0 (it's typically 1), and we
+ // only use this is a placeholder value.
+ [nativeView.glView bindDrawable];
+ updateViewBinding();
+ } else {
+ // Our framebuffer is still bound, but the viewport might have changed.
+ getContext().viewport = getViewport();
+ }
}
void notifyMapChange(mbgl::MapChange change) override
@@ -4924,7 +5086,6 @@ public:
private:
__weak MGLMapView *nativeView = nullptr;
- const float scaleFactor;
};
@end
@@ -5079,7 +5240,7 @@ public:
MGLCustomStyleLayerDrawingHandler d,
MGLCustomStyleLayerCompletionHandler f)
: prepare(p), draw(d), finish(f) {}
-
+
MGLCustomStyleLayerPreparationHandler prepare;
MGLCustomStyleLayerDrawingHandler draw;
MGLCustomStyleLayerCompletionHandler finish;
@@ -5138,7 +5299,11 @@ void MGLFinishCustomStyleLayer(void *context)
- (void)setCustomStyleLayersNeedDisplay
{
- _mbglMap->update(mbgl::Update::Repaint);
+ [self setNeedsGLDisplay];
+}
+
+- (mbgl::Map *)mbglMap {
+ return _mbglMap;
}
@end
diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h
index 12a0658a51..777af4ba63 100644
--- a/platform/ios/src/MGLMapViewDelegate.h
+++ b/platform/ios/src/MGLMapViewDelegate.h
@@ -81,7 +81,17 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)mapViewDidFinishLoadingMap:(MGLMapView *)mapView;
-// TODO
+/**
+ Tells the delegate that the map view was unable to load data needed for
+ displaying the map.
+
+ This method may be called for a variety of reasons, including a network
+ connection failure or a failure to fetch the style from the server. You can use
+ the given error message to notify the user that map data is unavailable.
+
+ @param mapView The map view that is unable to load the data.
+ @param error The reason the data could not be loaded.
+ */
- (void)mapViewDidFailLoadingMap:(MGLMapView *)mapView withError:(NSError *)error;
// TODO
@@ -116,6 +126,23 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)mapViewDidFinishRenderingFrame:(MGLMapView *)mapView fullyRendered:(BOOL)fullyRendered;
+/**
+ Tells the delegate that the map has just finished loading a style.
+
+ This method is called during the initialization of the map view and after any
+ subsequent loading of a new style. This method is called between the
+ `-mapViewWillStartRenderingMap:` and `-mapViewDidFinishRenderingMap:` delegate
+ methods. Changes to sources or layers of the current style do not cause this
+ method to be called.
+
+ This method is the earliest opportunity to modify the layout or appearance of
+ the current style before the map view is displayed to the user.
+
+ @param mapView The map view that has just loaded a style.
+ @param style The style that was loaded.
+ */
+- (void)mapView:(MGLMapView *)mapView didFinishLoadingStyle:(MGLStyle *)style;
+
#pragma mark Tracking User Location
/**
@@ -201,17 +228,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (nullable MGLAnnotationImage *)mapView:(MGLMapView *)mapView imageForAnnotation:(id <MGLAnnotation>)annotation;
-/**
- Returns the alpha value to use when rendering a shape annotation.
-
- A value of 0.0 results in a completely transparent shape. A value of 1.0, the
- default, results in a completely opaque shape.
-
- @param mapView The map view rendering the shape annotation.
- @param annotation The annotation being rendered.
- @return An alpha value between 0 and 1.0.
- */
-- (CGFloat)mapView:(MGLMapView *)mapView alphaForShapeAnnotation:(MGLShape *)annotation;
+- (CGFloat)mapView:(MGLMapView *)mapView alphaForShapeAnnotation:(MGLShape *)annotation __attribute__((deprecated("Use -mapView:strokeColorForShapeAnnotation: or -mapView:fillColorForPolygonAnnotation:.")));
/**
Returns the color to use when rendering the outline of a shape annotation.
@@ -219,6 +236,9 @@ NS_ASSUME_NONNULL_BEGIN
The default stroke color is the map view’s tint color. If a pattern color is
specified, the result is undefined.
+ Opacity may be set by specifying an alpha component. The default alpha value is
+ `1.0` and results in a completely opaque stroke.
+
@param mapView The map view rendering the shape annotation.
@param annotation The annotation being rendered.
@return A color to use for the shape outline.
@@ -231,6 +251,9 @@ NS_ASSUME_NONNULL_BEGIN
The default fill color is the map view’s tint color. If a pattern color is
specified, the result is undefined.
+ Opacity may be set by specifying an alpha component. The default alpha value is
+ `1.0` and results in a completely opaque shape.
+
@param mapView The map view rendering the polygon annotation.
@param annotation The annotation being rendered.
@return The polygon’s interior fill color.
@@ -241,7 +264,7 @@ NS_ASSUME_NONNULL_BEGIN
Returns the line width in points to use when rendering the outline of a
polyline annotation.
- By default, the polyline is outlined with a line 3.0 points wide.
+ By default, the polyline is outlined with a line `3.0` points wide.
@param mapView The map view rendering the polygon annotation.
@param annotation The annotation being rendered.
@@ -263,6 +286,11 @@ NS_ASSUME_NONNULL_BEGIN
Touch frameworks. On the other hand, static annotation images use less memory
and draw more quickly than annotation views.
+ The user location annotation view can also be customized via this method. When
+ `annotation` is an instance of `MGLUserLocation` (or equal to the map view’s
+ `userLocation` property), return an instance of `MGLUserLocationAnnotationView`
+ (or a subclass thereof).
+
@param mapView The map view that requested the annotation view.
@param annotation The object representing the annotation that is about to be
displayed.
diff --git a/platform/ios/src/MGLMapView_Internal.h b/platform/ios/src/MGLMapView_Private.h
index 9133aca857..5c74ba6dc8 100644
--- a/platform/ios/src/MGLMapView_Internal.h
+++ b/platform/ios/src/MGLMapView_Private.h
@@ -1,5 +1,7 @@
#import <Mapbox/Mapbox.h>
+#include <mbgl/mbgl.hpp>
+
/// Minimum size of an annotation’s accessibility element.
extern const CGSize MGLAnnotationAccessibilityElementMinimumSize;
@@ -11,6 +13,8 @@ extern const CGSize MGLAnnotationAccessibilityElementMinimumSize;
/** Triggers another render pass even when it is not necessary. */
- (void)setNeedsGLDisplay;
+- (mbgl::Map *)mbglMap;
+
/** Returns whether the map view is currently loading or processing any assets required to render the map */
- (BOOL)isFullyLoaded;
diff --git a/platform/ios/src/MGLUserLocation.h b/platform/ios/src/MGLUserLocation.h
index 6160413510..f2243815cf 100644
--- a/platform/ios/src/MGLUserLocation.h
+++ b/platform/ios/src/MGLUserLocation.h
@@ -3,11 +3,14 @@
#import "MGLAnnotation.h"
-#import "MGLTypes.h"
-
NS_ASSUME_NONNULL_BEGIN
-/** The MGLUserLocation class defines a specific type of annotation that identifies the user’s current location. You do not create instances of this class directly. Instead, you retrieve an existing MGLUserLocation object from the userLocation property of the map view displayed in your application. */
+/**
+ The MGLUserLocation class defines a specific type of annotation that identifies
+ the user’s current location. You do not create instances of this class
+ directly. Instead, you retrieve an existing MGLUserLocation object from the
+ `userLocation` property of the map view displayed in your application.
+ */
@interface MGLUserLocation : NSObject <MGLAnnotation>
#pragma mark Determining the User’s Position
@@ -15,17 +18,22 @@ NS_ASSUME_NONNULL_BEGIN
/**
The current location of the device. (read-only)
- This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined.
+ This property contains `nil` if the map view is not currently showing the user
+ location or if the user’s location has not yet been determined.
*/
@property (nonatomic, readonly, nullable) CLLocation *location;
-/** A Boolean value indicating whether the user’s location is currently being updated. (read-only) */
+/**
+ A Boolean value indicating whether the user’s location is currently being
+ updated. (read-only)
+ */
@property (nonatomic, readonly, getter=isUpdating) BOOL updating;
/**
The heading of the user location. (read-only)
- This property is `nil` if the user location tracking mode is not `MGLUserTrackingModeFollowWithHeading`.
+ This property is `nil` if the user location tracking mode is not
+ `MGLUserTrackingModeFollowWithHeading`.
*/
@property (nonatomic, readonly, nullable) CLHeading *heading;
diff --git a/platform/ios/src/MGLUserLocationAnnotationView.h b/platform/ios/src/MGLUserLocationAnnotationView.h
index 8ab9ea6e79..bef18e9544 100644
--- a/platform/ios/src/MGLUserLocationAnnotationView.h
+++ b/platform/ios/src/MGLUserLocationAnnotationView.h
@@ -1,23 +1,56 @@
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
-#import "MGLTypes.h"
+#import "MGLAnnotationView.h"
NS_ASSUME_NONNULL_BEGIN
@class MGLMapView;
@class MGLUserLocation;
-/** View representing an MGLUserLocation on screen. */
-@interface MGLUserLocationAnnotationView : UIView
-
-@property (nonatomic, weak) MGLMapView *mapView;
-@property (nonatomic) MGLUserLocation *annotation;
-@property (nonatomic, readonly, nullable) CALayer *haloLayer;
-@property (nonatomic, readonly) CALayer *hitTestLayer;
-
-- (instancetype)initInMapView:(MGLMapView *)mapView NS_DESIGNATED_INITIALIZER;
-- (void)setupLayers;
+/** View representing an `MGLUserLocation` on screen. */
+@interface MGLUserLocationAnnotationView : MGLAnnotationView
+
+/**
+ Returns the associated map view.
+
+ The value of this property is nil during initialization.
+ */
+@property (nonatomic, readonly, weak, nullable) MGLMapView *mapView;
+
+/**
+ Returns the annotation object indicating the user’s current location.
+
+ The value of this property is nil during initialization and while user tracking
+ is inactive.
+ */
+@property (nonatomic, readonly, weak, nullable) MGLUserLocation *userLocation;
+
+/**
+ Returns the layer that should be used for annotation selection hit testing.
+
+ The default value of this property is the presentation layer of the view’s Core
+ Animation layer. When subclassing, you may override this property to specify a
+ different layer to be used for hit testing. This can be useful when you wish to
+ limit the interactive area of the annotation to a specific sublayer.
+ */
+@property (nonatomic, readonly, weak) CALayer *hitTestLayer;
+
+/**
+ Updates the user location annotation.
+
+ Use this method to update the appearance of the user location annotation. This
+ method is called by the associated map view when it has determined that the
+ user location annotation needs to be updated. This can happen in response to
+ user interaction, a change in the user’s location, when the user tracking mode
+ changes, or when the viewport changes.
+
+ @note During user interaction with the map, this method may be called many
+ times to update the user location annotation. Therefore, your implementation of
+ this method should be as lightweight as possible to avoid negatively affecting
+ performance.
+ */
+- (void)update;
@end
diff --git a/platform/ios/src/MGLUserLocationAnnotationView.m b/platform/ios/src/MGLUserLocationAnnotationView.m
index 3ab2c5a796..3b8d976140 100644
--- a/platform/ios/src/MGLUserLocationAnnotationView.m
+++ b/platform/ios/src/MGLUserLocationAnnotationView.m
@@ -2,73 +2,43 @@
#import "MGLUserLocation.h"
#import "MGLUserLocation_Private.h"
+#import "MGLAnnotationView_Private.h"
#import "MGLAnnotation.h"
#import "MGLMapView.h"
#import "MGLCoordinateFormatter.h"
#import "NSBundle+MGLAdditions.h"
-const CGFloat MGLUserLocationAnnotationDotSize = 22.0;
-const CGFloat MGLUserLocationAnnotationHaloSize = 115.0;
-
-const CGFloat MGLUserLocationAnnotationPuckSize = 45.0;
-const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuckSize * 0.6;
-
-@interface MGLUserLocationAnnotationView ()
-
-@property (nonatomic, readwrite) CALayer *haloLayer;
-
+@interface MGLUserLocationAnnotationView()
+@property (nonatomic, weak, nullable) MGLMapView *mapView;
+@property (nonatomic, weak, nullable) MGLUserLocation *userLocation;
+@property (nonatomic, weak) CALayer *hitTestLayer;
@end
-#pragma mark -
-
-@implementation MGLUserLocationAnnotationView
-{
- BOOL _puckModeActivated;
-
- CALayer *_puckDot;
- CAShapeLayer *_puckArrow;
-
- CALayer *_headingIndicatorLayer;
- CAShapeLayer *_headingIndicatorMaskLayer;
- CALayer *_accuracyRingLayer;
- CALayer *_dotBorderLayer;
- CALayer *_dotLayer;
-
- double _oldHeadingAccuracy;
- CLLocationAccuracy _oldHorizontalAccuracy;
- double _oldZoom;
- double _oldPitch;
-
+@implementation MGLUserLocationAnnotationView {
MGLCoordinateFormatter *_accessibilityCoordinateFormatter;
}
- (instancetype)initWithFrame:(CGRect)frame
{
- NSAssert(NO, @"No containing map view specified. Call -initInMapView: instead.");
- return self = [self init];
+ self = [super initWithFrame:frame];
+ if (self == nil) return nil;
+
+ self.accessibilityTraits = UIAccessibilityTraitButton | UIAccessibilityTraitAdjustable | UIAccessibilityTraitUpdatesFrequently;
+
+ _accessibilityCoordinateFormatter = [[MGLCoordinateFormatter alloc] init];
+ _accessibilityCoordinateFormatter.unitStyle = NSFormattingUnitStyleLong;
+
+ return self;
}
-- (instancetype)initInMapView:(MGLMapView *)mapView
+- (CALayer *)hitTestLayer
{
- CGFloat frameSize = (mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? MGLUserLocationAnnotationPuckSize : MGLUserLocationAnnotationDotSize;
-
- if (self = [super initWithFrame:CGRectMake(0, 0, frameSize, frameSize)])
- {
- self.annotation = [[MGLUserLocation alloc] initWithMapView:mapView];
- _mapView = mapView;
- [self setupLayers];
- self.accessibilityTraits = UIAccessibilityTraitButton | UIAccessibilityTraitAdjustable | UIAccessibilityTraitUpdatesFrequently;
-
- _accessibilityCoordinateFormatter = [[MGLCoordinateFormatter alloc] init];
- _accessibilityCoordinateFormatter.unitStyle = NSFormattingUnitStyleLong;
- }
- return self;
+ return self.layer.presentationLayer;
}
-- (instancetype)initWithCoder:(NSCoder *)decoder
+- (void)update
{
- MGLMapView *mapView = [decoder valueForKey:@"mapView"];
- return [self initInMapView:mapView];
+ // Left blank intentionally. Subclasses should usually override this in order to update the annotation’s appearance.
}
- (BOOL)isAccessibilityElement
@@ -78,14 +48,14 @@ const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuck
- (NSString *)accessibilityLabel
{
- return self.annotation.title;
+ return self.userLocation.title;
}
- (NSString *)accessibilityValue
{
- if (self.annotation.subtitle)
+ if (self.userLocation.subtitle)
{
- return self.annotation.subtitle;
+ return self.userLocation.subtitle;
}
// Each arcminute of longitude is at most about 1 nmi, too small for low zoom levels.
@@ -127,483 +97,4 @@ const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuck
}
}
-- (void)setTintColor:(UIColor *)tintColor
-{
- if (_puckModeActivated)
- {
- _puckArrow.fillColor = [tintColor CGColor];
- }
- else
- {
- if (_accuracyRingLayer)
- {
- _accuracyRingLayer.backgroundColor = [tintColor CGColor];
- }
-
- _haloLayer.backgroundColor = [tintColor CGColor];
- _dotLayer.backgroundColor = [tintColor CGColor];
-
- _headingIndicatorLayer.contents = (__bridge id)[[self headingIndicatorTintedGradientImage] CGImage];
- }
-}
-
-- (CALayer *)hitTestLayer
-{
- // only the main dot should be interactive (i.e., exclude the accuracy ring and halo)
- return _dotBorderLayer ?: _puckDot;
-}
-
-- (void)setupLayers
-{
- if (CLLocationCoordinate2DIsValid(self.annotation.coordinate))
- {
- (_mapView.userTrackingMode == MGLUserTrackingModeFollowWithCourse) ? [self drawPuck] : [self drawDot];
- [self updatePitch];
- }
-}
-
-- (void)updatePitch
-{
- if (self.mapView.camera.pitch != _oldPitch)
- {
- CATransform3D t = CATransform3DRotate(CATransform3DIdentity, MGLRadiansFromDegrees(self.mapView.camera.pitch), 1.0, 0, 0);
- self.layer.sublayerTransform = t;
-
- [self updateFaux3DEffect];
-
- _oldPitch = self.mapView.camera.pitch;
- }
-}
-
-- (void)updateFaux3DEffect
-{
- CGFloat pitch = MGLRadiansFromDegrees(self.mapView.camera.pitch);
-
- if (_puckDot)
- {
- _puckDot.shadowOffset = CGSizeMake(0, fmaxf(pitch * 10.f, 1.f));
- _puckDot.shadowRadius = fmaxf(pitch * 5.f, 0.75f);
- }
-
- if (_dotBorderLayer)
- {
- _dotBorderLayer.shadowOffset = CGSizeMake(0.f, pitch * 10.f);
- _dotBorderLayer.shadowRadius = fmaxf(pitch * 5.f, 3.f);
- }
-
- if (_dotLayer)
- {
- _dotLayer.zPosition = pitch * 2.f;
- }
-}
-
-- (void)updateFrameWithSize:(CGFloat)size
-{
- CGSize newSize = CGSizeMake(size, size);
- if (CGSizeEqualToSize(self.frame.size, newSize))
- {
- return;
- }
-
- // Update frame size, keeping the existing center point.
- CGPoint oldCenter = self.center;
- CGRect newFrame = self.frame;
- newFrame.size = newSize;
- [self setFrame:newFrame];
- [self setCenter:oldCenter];
-}
-
-- (void)drawPuck
-{
- if ( ! _puckModeActivated)
- {
- self.layer.sublayers = nil;
-
- _headingIndicatorLayer = nil;
- _headingIndicatorMaskLayer = nil;
- _accuracyRingLayer = nil;
- _haloLayer = nil;
- _dotBorderLayer = nil;
- _dotLayer = nil;
-
- [self updateFrameWithSize:MGLUserLocationAnnotationPuckSize];
- }
-
- // background dot (white with black shadow)
- //
- if ( ! _puckDot)
- {
- _puckDot = [self circleLayerWithSize:MGLUserLocationAnnotationPuckSize];
- _puckDot.backgroundColor = [[UIColor whiteColor] CGColor];
- _puckDot.shadowColor = [[UIColor blackColor] CGColor];
- _puckDot.shadowOpacity = 0.25;
-
- if (self.mapView.camera.pitch)
- {
- [self updateFaux3DEffect];
- }
- else
- {
- _puckDot.shadowOffset = CGSizeMake(0, 1);
- _puckDot.shadowRadius = 0.75;
- }
-
- [self.layer addSublayer:_puckDot];
- }
-
- // arrow
- //
- if ( ! _puckArrow)
- {
- _puckArrow = [CAShapeLayer layer];
- _puckArrow.path = [[self puckArrow] CGPath];
- _puckArrow.fillColor = [_mapView.tintColor CGColor];
- _puckArrow.bounds = CGRectMake(0, 0, MGLUserLocationAnnotationArrowSize, MGLUserLocationAnnotationArrowSize);
- _puckArrow.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
- _puckArrow.shouldRasterize = YES;
- _puckArrow.rasterizationScale = [UIScreen mainScreen].scale;
- _puckArrow.drawsAsynchronously = YES;
-
- [self.layer addSublayer:_puckArrow];
- }
- if (self.annotation.location.course >= 0)
- {
- _puckArrow.affineTransform = CGAffineTransformRotate(CGAffineTransformIdentity, -MGLRadiansFromDegrees(self.mapView.direction - self.annotation.location.course));
- }
-
- if ( ! _puckModeActivated)
- {
- _puckModeActivated = YES;
-
- [self updateFaux3DEffect];
- }
-}
-
-- (UIBezierPath *)puckArrow
-{
- CGFloat max = MGLUserLocationAnnotationArrowSize;
-
- UIBezierPath *bezierPath = UIBezierPath.bezierPath;
- [bezierPath moveToPoint: CGPointMake(max * 0.5, 0)];
- [bezierPath addLineToPoint: CGPointMake(max * 0.1, max)];
- [bezierPath addLineToPoint: CGPointMake(max * 0.5, max * 0.65)];
- [bezierPath addLineToPoint: CGPointMake(max * 0.9, max)];
- [bezierPath addLineToPoint: CGPointMake(max * 0.5, 0)];
- [bezierPath closePath];
-
- return bezierPath;
-}
-
-- (void)drawDot
-{
- if (_puckModeActivated)
- {
- self.layer.sublayers = nil;
-
- _puckDot = nil;
- _puckArrow = nil;
-
- [self updateFrameWithSize:MGLUserLocationAnnotationDotSize];
- }
-
- BOOL showHeadingIndicator = _mapView.userTrackingMode == MGLUserTrackingModeFollowWithHeading;
-
- // update heading indicator
- //
- if (showHeadingIndicator)
- {
- _headingIndicatorLayer.hidden = NO;
-
- // heading indicator (tinted, semi-circle)
- //
- if ( ! _headingIndicatorLayer && self.annotation.heading.headingAccuracy)
- {
- CGFloat headingIndicatorSize = MGLUserLocationAnnotationHaloSize;
-
- _headingIndicatorLayer = [CALayer layer];
- _headingIndicatorLayer.bounds = CGRectMake(0, 0, headingIndicatorSize, headingIndicatorSize);
- _headingIndicatorLayer.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
- _headingIndicatorLayer.contents = (__bridge id)[[self headingIndicatorTintedGradientImage] CGImage];
- _headingIndicatorLayer.contentsGravity = kCAGravityBottom;
- _headingIndicatorLayer.contentsScale = [UIScreen mainScreen].scale;
- _headingIndicatorLayer.opacity = 0.4;
- _headingIndicatorLayer.shouldRasterize = YES;
- _headingIndicatorLayer.rasterizationScale = [UIScreen mainScreen].scale;
- _headingIndicatorLayer.drawsAsynchronously = YES;
-
- [self.layer insertSublayer:_headingIndicatorLayer below:_dotBorderLayer];
- }
-
- // heading indicator accuracy mask (fan-shaped)
- //
- if ( ! _headingIndicatorMaskLayer && self.annotation.heading.headingAccuracy)
- {
- _headingIndicatorMaskLayer = [CAShapeLayer layer];
- _headingIndicatorMaskLayer.frame = _headingIndicatorLayer.bounds;
- _headingIndicatorMaskLayer.path = [[self headingIndicatorClippingMask] CGPath];
-
- // apply the mask to the halo-radius-sized gradient layer
- _headingIndicatorLayer.mask = _headingIndicatorMaskLayer;
-
- _oldHeadingAccuracy = self.annotation.heading.headingAccuracy;
-
- }
- else if (_oldHeadingAccuracy != self.annotation.heading.headingAccuracy)
- {
- // recalculate the clipping mask based on updated accuracy
- _headingIndicatorMaskLayer.path = [[self headingIndicatorClippingMask] CGPath];
-
- _oldHeadingAccuracy = self.annotation.heading.headingAccuracy;
- }
-
- if (self.annotation.heading.trueHeading >= 0)
- {
- _headingIndicatorLayer.affineTransform = CGAffineTransformRotate(CGAffineTransformIdentity, -MGLRadiansFromDegrees(self.mapView.direction - self.annotation.heading.trueHeading));
- }
- }
- else
- {
- [_headingIndicatorLayer removeFromSuperlayer];
- [_headingIndicatorMaskLayer removeFromSuperlayer];
- _headingIndicatorLayer = nil;
- _headingIndicatorMaskLayer = nil;
- }
-
-
- // update accuracy ring (if zoom or horizontal accuracy have changed)
- //
- if (_accuracyRingLayer && (_oldZoom != self.mapView.zoomLevel || _oldHorizontalAccuracy != self.annotation.location.horizontalAccuracy))
- {
- CGFloat accuracyRingSize = [self calculateAccuracyRingSize];
-
- // only show the accuracy ring if it won't be obscured by the location dot
- if (accuracyRingSize > MGLUserLocationAnnotationDotSize + 15)
- {
- _accuracyRingLayer.hidden = NO;
- _accuracyRingLayer.bounds = CGRectMake(0, 0, accuracyRingSize, accuracyRingSize);
- _accuracyRingLayer.cornerRadius = accuracyRingSize / 2;
-
- // match the halo to the accuracy ring
- _haloLayer.bounds = _accuracyRingLayer.bounds;
- _haloLayer.cornerRadius = _accuracyRingLayer.cornerRadius;
- _haloLayer.shouldRasterize = NO;
- }
- else
- {
- _accuracyRingLayer.hidden = YES;
-
- _haloLayer.bounds = CGRectMake(0, 0, MGLUserLocationAnnotationHaloSize, MGLUserLocationAnnotationHaloSize);
- _haloLayer.cornerRadius = MGLUserLocationAnnotationHaloSize / 2.0;
- _haloLayer.shouldRasterize = YES;
- _haloLayer.rasterizationScale = [UIScreen mainScreen].scale;
- }
-
- // store accuracy and zoom so we're not redrawing unchanged location updates
- _oldHorizontalAccuracy = self.annotation.location.horizontalAccuracy;
- _oldZoom = self.mapView.zoomLevel;
- }
-
- // accuracy ring (circular, tinted, mostly-transparent)
- //
- if ( ! _accuracyRingLayer && self.annotation.location.horizontalAccuracy)
- {
- CGFloat accuracyRingSize = [self calculateAccuracyRingSize];
- _accuracyRingLayer = [self circleLayerWithSize:accuracyRingSize];
- _accuracyRingLayer.backgroundColor = [_mapView.tintColor CGColor];
- _accuracyRingLayer.opacity = 0.1;
- _accuracyRingLayer.shouldRasterize = NO;
- _accuracyRingLayer.allowsGroupOpacity = NO;
-
- [self.layer addSublayer:_accuracyRingLayer];
- }
-
- // expanding sonar-like pulse (circular, tinted, fades out)
- //
- if ( ! _haloLayer)
- {
- _haloLayer = [self circleLayerWithSize:MGLUserLocationAnnotationHaloSize];
- _haloLayer.backgroundColor = [_mapView.tintColor CGColor];
- _haloLayer.allowsGroupOpacity = NO;
- _haloLayer.zPosition = -0.1f;
-
- // set defaults for the animations
- CAAnimationGroup *animationGroup = [self loopingAnimationGroupWithDuration:3.0];
-
- // scale out radially with initial acceleration
- CAKeyframeAnimation *boundsAnimation = [CAKeyframeAnimation animationWithKeyPath:@"transform.scale.xy"];
- boundsAnimation.values = @[@0, @0.35, @1];
- boundsAnimation.keyTimes = @[@0, @0.2, @1];
-
- // go transparent as scaled out, start semi-opaque
- CAKeyframeAnimation *opacityAnimation = [CAKeyframeAnimation animationWithKeyPath:@"opacity"];
- opacityAnimation.values = @[@0.4, @0.4, @0];
- opacityAnimation.keyTimes = @[@0, @0.2, @1];
-
- animationGroup.animations = @[boundsAnimation, opacityAnimation];
-
- [_haloLayer addAnimation:animationGroup forKey:@"animateTransformAndOpacity"];
-
- [self.layer addSublayer:_haloLayer];
- }
-
- // background dot (white with black shadow)
- //
- if ( ! _dotBorderLayer)
- {
- _dotBorderLayer = [self circleLayerWithSize:MGLUserLocationAnnotationDotSize];
- _dotBorderLayer.backgroundColor = [[UIColor whiteColor] CGColor];
- _dotBorderLayer.shadowColor = [[UIColor blackColor] CGColor];
- _dotBorderLayer.shadowOpacity = 0.25;
-
- if (self.mapView.camera.pitch)
- {
- [self updateFaux3DEffect];
- }
- else
- {
- _dotBorderLayer.shadowOffset = CGSizeMake(0, 0);
- _dotBorderLayer.shadowRadius = 3;
- }
-
- [self.layer addSublayer:_dotBorderLayer];
- }
-
- // inner dot (pulsing, tinted)
- //
- if ( ! _dotLayer)
- {
- _dotLayer = [self circleLayerWithSize:MGLUserLocationAnnotationDotSize * 0.75];
- _dotLayer.backgroundColor = [_mapView.tintColor CGColor];
- _dotLayer.shouldRasterize = NO;
-
- // set defaults for the animations
- CAAnimationGroup *animationGroup = [self loopingAnimationGroupWithDuration:1.5];
- animationGroup.autoreverses = YES;
- animationGroup.fillMode = kCAFillModeBoth;
-
- // scale the dot up and down
- CABasicAnimation *pulseAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale.xy"];
- pulseAnimation.fromValue = @0.8;
- pulseAnimation.toValue = @1;
-
- // fade opacity in and out, subtly
- CABasicAnimation *opacityAnimation = [CABasicAnimation animationWithKeyPath:@"opacity"];
- opacityAnimation.fromValue = @0.8;
- opacityAnimation.toValue = @1;
-
- animationGroup.animations = @[pulseAnimation, opacityAnimation];
-
- [_dotLayer addAnimation:animationGroup forKey:@"animateTransformAndOpacity"];
-
- [self.layer addSublayer:_dotLayer];
- }
-
- if (_puckModeActivated)
- {
- _puckModeActivated = NO;
-
- [self updateFaux3DEffect];
- }
-}
-
-- (CALayer *)circleLayerWithSize:(CGFloat)layerSize
-{
- CALayer *circleLayer = [CALayer layer];
- circleLayer.bounds = CGRectMake(0, 0, layerSize, layerSize);
- circleLayer.position = CGPointMake(super.bounds.size.width / 2.0, super.bounds.size.height / 2.0);
- circleLayer.cornerRadius = layerSize / 2.0;
- circleLayer.shouldRasterize = YES;
- circleLayer.rasterizationScale = [UIScreen mainScreen].scale;
- circleLayer.drawsAsynchronously = YES;
-
- return circleLayer;
-}
-
-- (CAAnimationGroup *)loopingAnimationGroupWithDuration:(CGFloat)animationDuration
-{
- CAAnimationGroup *animationGroup = [CAAnimationGroup animation];
- animationGroup.duration = animationDuration;
- animationGroup.repeatCount = INFINITY;
- animationGroup.removedOnCompletion = NO;
- animationGroup.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionDefault];
-
- return animationGroup;
-}
-
-- (CGFloat)calculateAccuracyRingSize
-{
- CGFloat latRadians = self.annotation.coordinate.latitude * M_PI / 180.0f;
- CGFloat pixelRadius = self.annotation.location.horizontalAccuracy / cos(latRadians) / [self.mapView metersPerPointAtLatitude:self.annotation.coordinate.latitude];
-
- return pixelRadius * 2;
-}
-
-- (UIImage *)headingIndicatorTintedGradientImage
-{
- UIImage *image;
-
- CGFloat haloRadius = MGLUserLocationAnnotationHaloSize / 2.0;
-
- UIGraphicsBeginImageContextWithOptions(CGSizeMake(MGLUserLocationAnnotationHaloSize, haloRadius), NO, 0);
-
- CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
- CGContextRef context = UIGraphicsGetCurrentContext();
-
- // gradient from the tint color to no-alpha tint color
- CGFloat gradientLocations[] = {0.0, 1.0};
- CGGradientRef gradient = CGGradientCreateWithColors(
- colorSpace, (__bridge CFArrayRef)@[(id)[_mapView.tintColor CGColor],
- (id)[[_mapView.tintColor colorWithAlphaComponent:0] CGColor]], gradientLocations);
-
- // draw the gradient from the center point to the edge (full halo radius)
- CGPoint centerPoint = CGPointMake(haloRadius, haloRadius);
- CGContextDrawRadialGradient(context, gradient,
- centerPoint, 0.0,
- centerPoint, haloRadius,
- kNilOptions);
-
- image = UIGraphicsGetImageFromCurrentImageContext();
- UIGraphicsEndImageContext();
-
- CGGradientRelease(gradient);
- CGColorSpaceRelease(colorSpace);
-
- return image;
-}
-
-- (UIBezierPath *)headingIndicatorClippingMask
-{
- CGFloat accuracy = self.annotation.heading.headingAccuracy;
-
- // size the mask using exagerated accuracy, but keep within a good display range
- CGFloat clippingDegrees = 90 - (accuracy * 1.5);
- clippingDegrees = fmin(clippingDegrees, 55);
- clippingDegrees = fmax(clippingDegrees, 10);
-
- CGRect ovalRect = CGRectMake(0, 0, MGLUserLocationAnnotationHaloSize, MGLUserLocationAnnotationHaloSize);
- UIBezierPath *ovalPath = UIBezierPath.bezierPath;
-
- // clip the oval to ± incoming accuracy degrees (converted to radians), from the top
- [ovalPath addArcWithCenter:CGPointMake(CGRectGetMidX(ovalRect), CGRectGetMidY(ovalRect))
- radius:CGRectGetWidth(ovalRect) / 2.0
- startAngle:(-180 + clippingDegrees) * M_PI / 180
- endAngle:-clippingDegrees * M_PI / 180
- clockwise:YES];
-
- [ovalPath addLineToPoint:CGPointMake(CGRectGetMidX(ovalRect), CGRectGetMidY(ovalRect))];
- [ovalPath closePath];
-
- return ovalPath;
-}
-
-- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event
-{
- // Allow mbgl to drive animation of this view’s bounds.
- if ([event isEqualToString:@"bounds"])
- {
- return [NSNull null];
- }
- return [super actionForLayer:layer forKey:event];
-}
-
@end
diff --git a/platform/ios/src/MGLUserLocationAnnotationView_Private.h b/platform/ios/src/MGLUserLocationAnnotationView_Private.h
new file mode 100644
index 0000000000..3e12beab34
--- /dev/null
+++ b/platform/ios/src/MGLUserLocationAnnotationView_Private.h
@@ -0,0 +1,15 @@
+#import "MGLUserLocationAnnotationView.h"
+#import "MGLUserLocation.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class MGLMapView;
+
+@interface MGLUserLocationAnnotationView (Private)
+
+@property (nonatomic, weak, nullable) MGLUserLocation *userLocation;
+@property (nonatomic, weak, nullable) MGLMapView *mapView;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/platform/ios/src/Mapbox.h b/platform/ios/src/Mapbox.h
index bc22a5f955..c2fda1be1f 100644
--- a/platform/ios/src/Mapbox.h
+++ b/platform/ios/src/Mapbox.h
@@ -27,12 +27,29 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import "MGLOfflineStorage.h"
#import "MGLOverlay.h"
#import "MGLPointAnnotation.h"
+#import "MGLPointCollection.h"
#import "MGLPolygon.h"
#import "MGLPolyline.h"
#import "MGLShape.h"
#import "MGLShapeCollection.h"
#import "MGLStyle.h"
+#import "MGLStyleLayer.h"
+#import "MGLForegroundStyleLayer.h"
+#import "MGLVectorStyleLayer.h"
+#import "MGLFillStyleLayer.h"
+#import "MGLLineStyleLayer.h"
+#import "MGLSymbolStyleLayer.h"
+#import "MGLRasterStyleLayer.h"
+#import "MGLCircleStyleLayer.h"
+#import "MGLBackgroundStyleLayer.h"
+#import "MGLSource.h"
+#import "MGLVectorSource.h"
+#import "MGLGeoJSONSource.h"
+#import "MGLRasterSource.h"
#import "MGLTilePyramidOfflineRegion.h"
#import "MGLTypes.h"
#import "MGLUserLocation.h"
+#import "MGLUserLocationAnnotationView.h"
#import "NSValue+MGLAdditions.h"
+#import "MGLStyleValue.h"
+#import "MGLTileSet.h"
diff --git a/platform/ios/src/UIColor+MGLAdditions.h b/platform/ios/src/UIColor+MGLAdditions.h
new file mode 100644
index 0000000000..ea415d9db9
--- /dev/null
+++ b/platform/ios/src/UIColor+MGLAdditions.h
@@ -0,0 +1,14 @@
+#import <UIKit/UIKit.h>
+
+#include <mbgl/util/color.hpp>
+#include <mbgl/style/property_value.hpp>
+
+@interface UIColor (MGLAdditions)
+
+- (mbgl::Color)mgl_color;
+
+- (mbgl::style::PropertyValue<mbgl::Color>)mgl_colorPropertyValue;
+
++ (UIColor *)mgl_colorWithColor:(mbgl::Color)color;
+
+@end
diff --git a/platform/ios/src/UIColor+MGLAdditions.mm b/platform/ios/src/UIColor+MGLAdditions.mm
new file mode 100644
index 0000000000..41c066c206
--- /dev/null
+++ b/platform/ios/src/UIColor+MGLAdditions.mm
@@ -0,0 +1,23 @@
+#import "UIColor+MGLAdditions.h"
+
+@implementation UIColor (MGLAdditions)
+
+- (mbgl::Color)mgl_color
+{
+ CGFloat r, g, b, a;
+ [self getRed:&r green:&g blue:&b alpha:&a];
+ return { (float)r, (float)g, (float)b, (float)a };
+}
+
+- (mbgl::style::PropertyValue<mbgl::Color>)mgl_colorPropertyValue
+{
+ mbgl::Color color = self.mgl_color;
+ return {{ color.r, color.g, color.b, color.a }};
+}
+
++ (UIColor *)mgl_colorWithColor:(mbgl::Color)color
+{
+ return [UIColor colorWithRed:color.r green:color.g blue:color.b alpha:color.a];
+}
+
+@end
diff --git a/platform/ios/src/UIImage+MGLAdditions.h b/platform/ios/src/UIImage+MGLAdditions.h
new file mode 100644
index 0000000000..411220c503
--- /dev/null
+++ b/platform/ios/src/UIImage+MGLAdditions.h
@@ -0,0 +1,9 @@
+#import <UIKit/UIKit.h>
+
+#include <mbgl/sprite/sprite_image.hpp>
+
+@interface UIImage (MGLAdditions)
+
+- (std::unique_ptr<mbgl::SpriteImage>)mgl_spriteImage;
+
+@end
diff --git a/platform/ios/src/UIImage+MGLAdditions.mm b/platform/ios/src/UIImage+MGLAdditions.mm
new file mode 100644
index 0000000000..215b23faff
--- /dev/null
+++ b/platform/ios/src/UIImage+MGLAdditions.mm
@@ -0,0 +1,27 @@
+#import "UIImage+MGLAdditions.h"
+
+@implementation UIImage (MGLAdditions)
+
+- (std::unique_ptr<mbgl::SpriteImage>)mgl_spriteImage
+{
+ CGImageRef cgImage = self.CGImage;
+ size_t width = CGImageGetWidth(cgImage);
+ size_t height = CGImageGetHeight(cgImage);
+ CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
+ mbgl::PremultipliedImage cPremultipliedImage({ static_cast<uint32_t>(width), static_cast<uint32_t>(height) });
+ size_t bytesPerPixel = 4;
+ size_t bytesPerRow = bytesPerPixel * width;
+ size_t bitsPerComponent = 8;
+
+ CGContextRef context = CGBitmapContextCreate(cPremultipliedImage.data.get(),
+ width, height, bitsPerComponent, bytesPerRow,
+ colorSpace, kCGImageAlphaPremultipliedLast);
+
+ CGContextDrawImage(context, CGRectMake(0, 0, width, height), cgImage);
+ CGContextRelease(context);
+ CGColorSpaceRelease(colorSpace);
+
+ return std::make_unique<mbgl::SpriteImage>(std::move(cPremultipliedImage), float(self.scale));
+}
+
+@end
diff --git a/platform/ios/test/MGLAnnotationViewTests.m b/platform/ios/test/MGLAnnotationViewTests.m
index 65d7b3d35e..59f6956a95 100644
--- a/platform/ios/test/MGLAnnotationViewTests.m
+++ b/platform/ios/test/MGLAnnotationViewTests.m
@@ -23,6 +23,10 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu
@interface MGLTestCalloutView: UIView<MGLCalloutView>
@property (nonatomic) BOOL didCallDismissCalloutAnimated;
+@property (nonatomic, strong) id <MGLAnnotation> representedObject;
+@property (nonatomic, strong) UIView *leftAccessoryView;
+@property (nonatomic, strong) UIView *rightAccessoryView;
+@property (nonatomic, weak) id<MGLCalloutViewDelegate> delegate;
@end
@implementation MGLTestCalloutView
@@ -32,6 +36,8 @@ static NSString * const MGLTestAnnotationReuseIdentifer = @"MGLTestAnnotationReu
_didCallDismissCalloutAnimated = YES;
}
+- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated { }
+
@end
@interface MGLAnnotationViewTests : XCTestCase <MGLMapViewDelegate>
diff --git a/platform/ios/test/MGLNSDataAdditionsTests.m b/platform/ios/test/MGLNSDataAdditionsTests.m
index 38f19a9703..b01db25812 100644
--- a/platform/ios/test/MGLNSDataAdditionsTests.m
+++ b/platform/ios/test/MGLNSDataAdditionsTests.m
@@ -7,10 +7,6 @@
@implementation MGLNSDataAdditionsTests
-- (void)setUp {
- [super setUp];
-}
-
- (void)testCompressDecompress
{
NSArray *originalArray = [self mockDataWithCount:180];
diff --git a/platform/ios/test/test-Bridging-Header.h b/platform/ios/test/test-Bridging-Header.h
new file mode 100644
index 0000000000..e11d920b12
--- /dev/null
+++ b/platform/ios/test/test-Bridging-Header.h
@@ -0,0 +1,3 @@
+//
+// Use this file to import your target's public headers that you would like to expose to Swift.
+//
diff --git a/platform/ios/toolchain.cmake b/platform/ios/toolchain.cmake
new file mode 100644
index 0000000000..60dbac07c7
--- /dev/null
+++ b/platform/ios/toolchain.cmake
@@ -0,0 +1,136 @@
+# From https://github.com/OtherLevels/ios-cmake
+# This file is based off of the Platform/Darwin.cmake and Platform/UnixPaths.cmake
+# files which are included with CMake 2.8.4
+# It has been altered for iOS development
+
+# Options:
+#
+# IOS_PLATFORM = OS (default) or SIMULATOR or SIMULATOR64
+# This decides if SDKS will be selected from the iPhoneOS.platform or iPhoneSimulator.platform folders
+# OS - the default, used to build for iPhone and iPad physical devices, which have an arm arch.
+# SIMULATOR - used to build for the Simulator platforms, which have an x86 arch.
+#
+# CMAKE_IOS_DEVELOPER_ROOT = automatic(default) or /path/to/platform/Developer folder
+# By default this location is automatcially chosen based on the IOS_PLATFORM value above.
+# If set manually, it will override the default location and force the user of a particular Developer Platform
+#
+# CMAKE_IOS_SDK_ROOT = automatic(default) or /path/to/platform/Developer/SDKs/SDK folder
+# By default this location is automatcially chosen based on the CMAKE_IOS_DEVELOPER_ROOT value.
+# In this case it will always be the most up-to-date SDK found in the CMAKE_IOS_DEVELOPER_ROOT path.
+# If set manually, this will force the use of a specific SDK version
+
+# Macros:
+#
+# set_xcode_property (TARGET XCODE_PROPERTY XCODE_VALUE)
+# A convenience macro for setting xcode specific properties on targets
+# example: set_xcode_property (myioslib IPHONEOS_DEPLOYMENT_TARGET "3.1")
+#
+# find_host_package (PROGRAM ARGS)
+# A macro used to find executable programs on the host system, not within the iOS environment.
+# Thanks to the android-cmake project for providing the command
+
+# Standard settings
+set (CMAKE_SYSTEM_NAME Darwin)
+set (CMAKE_SYSTEM_VERSION 1)
+set (UNIX True)
+set (APPLE True)
+set (IOS True)
+
+# Required as of cmake 2.8.10
+set (CMAKE_OSX_DEPLOYMENT_TARGET "" CACHE STRING "Force unset of the deployment target for iOS" FORCE)
+
+# Determine the cmake host system version so we know where to find the iOS SDKs
+find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin)
+if (CMAKE_UNAME)
+ exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION)
+ string (REGEX REPLACE "^([0-9]+)\\.([0-9]+).*$" "\\1" DARWIN_MAJOR_VERSION "${CMAKE_HOST_SYSTEM_VERSION}")
+endif (CMAKE_UNAME)
+
+# Force the compilers to gcc for iOS
+include (CMakeForceCompiler)
+set(XCODE_TOOLCHAIN /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain)
+set(XCODE_BIN ${XCODE_TOOLCHAIN}/usr/bin)
+set(CMAKE_C_COMPILER ${XCODE_BIN}/clang)
+set(CMAKE_CXX_COMPILER ${XCODE_BIN}/clang++)
+set(CMAKE_FIND_ROOT_PATH ${XCODE_TOOLCHAIN_ROOT})
+set(CMAKE_AR ar CACHE FILEPATH "" FORCE)
+
+# Skip the platform compiler checks for cross compiling
+set (CMAKE_CXX_COMPILER_WORKS TRUE)
+set (CMAKE_C_COMPILER_WORKS TRUE)
+
+# All iOS/Darwin specific settings - some may be redundant
+set (CMAKE_SHARED_LIBRARY_PREFIX "lib")
+set (CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")
+set (CMAKE_SHARED_MODULE_PREFIX "lib")
+set (CMAKE_SHARED_MODULE_SUFFIX ".so")
+set (CMAKE_MODULE_EXISTS 1)
+set (CMAKE_DL_LIBS "")
+
+set (CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")
+set (CMAKE_C_OSX_CURRENT_VERSION_FLAG "-current_version ")
+set (CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}")
+set (CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}")
+
+
+# This was required for Other C++ Flags to be set for enabling bitcode in a static lib.
+# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fembed-bitcode")
+
+
+set (CMAKE_C_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_C_LINK_FLAGS}")
+set (CMAKE_CXX_LINK_FLAGS "-Wl,-search_paths_first ${CMAKE_CXX_LINK_FLAGS}")
+
+set (CMAKE_PLATFORM_HAS_INSTALLNAME 1)
+set (CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -headerpad_max_install_names")
+set (CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -headerpad_max_install_names")
+set (CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,")
+set (CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,")
+set (CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")
+
+
+# Point to the latest SDK.
+set (CMAKE_OSX_SYSROOT "iphoneos" CACHE string "Sysroot used for iOS support")
+
+
+
+set (CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE string "Build architecture for iOS")
+
+# Set the find root to the iOS developer roots and to user defined paths
+set (CMAKE_FIND_ROOT_PATH ${CMAKE_IOS_DEVELOPER_ROOT} ${CMAKE_IOS_SDK_ROOT} ${CMAKE_PREFIX_PATH} CACHE string "iOS find search path root")
+
+# default to searching for frameworks first
+set (CMAKE_FIND_FRAMEWORK FIRST)
+
+# set up the default search directories for frameworks
+set (CMAKE_SYSTEM_FRAMEWORK_PATH
+ ${CMAKE_IOS_SDK_ROOT}/System/Library/Frameworks
+ ${CMAKE_IOS_SDK_ROOT}/System/Library/PrivateFrameworks
+ ${CMAKE_IOS_SDK_ROOT}/Developer/Library/Frameworks
+)
+
+# only search the iOS sdks, not the remainder of the host filesystem
+set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
+set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+
+
+# This little macro lets you set any XCode specific property
+macro (set_xcode_property TARGET XCODE_PROPERTY XCODE_VALUE)
+ set_property (TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE})
+endmacro (set_xcode_property)
+
+
+# This macro lets you find executable programs on the host system
+macro (find_host_package)
+ set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+ set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
+ set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
+ set (IOS FALSE)
+
+ find_package(${ARGN})
+
+ set (IOS TRUE)
+ set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
+ set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+ set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+endmacro (find_host_package)
diff --git a/platform/ios/uitest/OHHTTPStubs b/platform/ios/uitest/OHHTTPStubs
new file mode 160000
+Subproject deed01a1592210a4c37f3f5c5f2b32fe0e41c60
diff --git a/platform/ios/uitest/OHHTTPStubs/.gitignore b/platform/ios/uitest/OHHTTPStubs/.gitignore
deleted file mode 100644
index a27dff4c47..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-# Xcode
-build/
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-profile
-*.moved-aside
-.DS_Store
-*.xccheckout
diff --git a/platform/ios/uitest/OHHTTPStubs/.travis.yml b/platform/ios/uitest/OHHTTPStubs/.travis.yml
deleted file mode 100644
index 45bfb794fd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/.travis.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-language: objective-c
-
-before_install:
- - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
-
-env:
- #- RAKETASK="simlist"
- #- RAKETASK="ios[iOS StaticLib,7.1,test]"
- - RAKETASK="ios[iOS StaticLib,latest,test]"
- - RAKETASK="ios[iOS Framework,latest,test]"
- - RAKETASK="osx[Mac Framework,x86_64,test]"
-
-script:
- - rake "$RAKETASK"
diff --git a/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md b/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md
deleted file mode 100644
index 34f2e98990..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md
+++ /dev/null
@@ -1,255 +0,0 @@
-# OHHTTPStubs — CHANGELOG
-
-## [4.3.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.3.0)
-
-* Xcode projects updated to Xcode 7.0 Final
-* Added a `Swift` subspec that adds helper global functions to ease & make more compact the use of `OHHTTPStubs` from Swift 2.0 ([#111](https://github.com/AliSoftware/OHHTTPStubs/issues/111))
-
-> If you're using `OHHTTPStubs` in a **Swift 2.0** project, it's recommended to add `pod 'OHHTTPStubs/Swift` to your `Podfile` so you can use those handy helpers.
-
-## [4.2.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.2.1)
-
-* Fix the Examples Xcode project + lib Podfile that were referencing old target names ([mikelupo](https://github.com/mikelupo), [#117](https://github.com/AliSoftware/OHHTTPStubs/pull/117))
-* Added two new constants for download speed: `OHHTTPStubsDownloadSpeed1KBPS` = 1kbps and `OHHTTPStubsDownloadSpeedSLOW` = 1.5 kpbs. ([mikelupo](https://github.com/mikelupo), [#114](https://github.com/AliSoftware/OHHTTPStubs/pull/114))
-
-## [4.2.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.2.0)
-
-* Added support for stubs written in the [Mocktail](https://github.com/square/objc-mocktail) format ([@JinlianWang](https://github.com/JinlianWang), [#108](https://github.com/AliSoftware/OHHTTPStubs/pull/108))
-* The `OHHTTPStubs` spec has been splitted into **multiple subspecs**:
- * The default subspec (used when you simply use `pod 'OHHTTPStubs'` in your `Podfile`) contains the subspecs `Core`, `NSURLSession`, `JSON` & `OHPathHelpers` (so that it matches the features that most people use).
- * Other optional subspecs are `HTTPMessage` and `Mocktail` (which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in your `Podfile` using `pod 'OHHTTPStubs/Mocktail` for example.
-* The iOS Unit Tests are now also run for the framework as well as for the static library, to ensure the tests pass in both contexts _(because frameworks sometimes introduce subtleties like when using `NSBundle`, so it's worth testing in that context too)_
-
-## [4.1.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.1.0)
-
-* Added support for using `OHHTTPStubs` in watchOS 2.0 targets.
-* Improved compatibility macros (nullability annotations) — and tested against Xcode 7 beta 4.
-
-## [4.0.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.2)
-
-* Fix `OHResourceBundle` name mismatch between header and implementation ([@tibr](https://github.com/tibr), [#103](https://github.com/AliSoftware/OHHTTPStubs/pull/103))
-
-## [4.0.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.1)
-
-* Fix threading in `NSURLProtocol` subclass calling `NSURLProtocolClient` callbacks from wrong thread. ([@nsprogrammer](https://github.com/nsprogrammer), [#96](https://github.com/AliSoftware/OHHTTPStubs/pull/96))
-
-## [4.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.0) — Improvements for Swift
-
-* Annotated the library with _nullability_ attributes to generate a better API when used in Swift
-* Migrated the path utility macros to functions in `OHPathHelpers.h`, for Swift compatibility ([#100](https://github.com/AliSoftware/OHHTTPStubs/issues/100)).
-* Added a complete Swift Demo Project ([#88](https://github.com/AliSoftware/OHHTTPStubs/issues/88))
-* Removed the `XCTestExpectation` subspec that was added for Xcode 5 support — Now that Xcode 6 is widely adopted, you shouldn't need this anymore (but in case you still need it, I will probably create a dedicated pod for that)
-
-## [3.1.12](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.12)
-
-* Fixed issue with HTTP 300 return code (multiple-choice) that is not supposed to redirect. ([@tarbrain](https://github.com/tarbrain), [#92](https://github.com/AliSoftware/OHHTTPStubs/pull/92))
-
-## [3.1.11](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.11)
-
-* Added [Carthage](https://github.com/Carthage/Carthage) support
-* Splitted the Xcode projects for more clarity (one dedicated to build the lib and run Unit Tests, and one for the Demo)
-* Got rid of the `git submodule` used for Unit Tests against [AFNetworking](https://github.com/AFNetworking/AFNetworking) — it is now imported using [CocoaPods](http://cocoapods.org) and only for the lib's Unit Tests targets ([@corinnekrych](https://github.com/corinnekrych), [#90](https://github.com/AliSoftware/OHHTTPStubs/pull/90))
-* Improved [Travis-CI](https://travis-ci.org/AliSoftware/OHHTTPStubs) integration. We now use a build matrix to have paralellized and independant builds for each scheme (iOS Static Lib, iOS Dynamic Framework, OSX Framework)
-* Fixed [#80](https://github.com/AliSoftware/OHHTTPStubs/issues/80) again (there was still an issue for people using Xcode 5 & SDK 7.1… if those people still exists)
-
-## [3.1.10](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.10)
-
-* Fix headers for people still building with Xcode 5 & SDK 7 ([#80](https://github.com/AliSoftware/OHHTTPStubs/issues/80))
-
-## [3.1.9](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.9)
-
-* Use `NS_DESIGNATED_INITIALIZER` macro on designated initializer methods ([#79](https://github.com/AliSoftware/OHHTTPStubs/pull/79))
-
-## [3.1.8](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.8)
-
-* Use `application/json` instead of `text/json` in `README`'s example ([#75](https://github.com/AliSoftware/OHHTTPStubs/pull/75))
-* Fixed an issue with empty files (when using `responseWithFileAtPath:statusCode:headers:` but the file at the specified path is empty)
-
-## [3.1.7](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.7)
-
-* Added `DEFINES_MODULE` Flag to be easily imported in Swift ([#74](https://github.com/AliSoftware/OHHTTPStubs/pull/74))
-
-_(I also moved [Travis-CI build system](https://travis-ci.org/AliSoftware/OHHTTPStubs) so it now uses `xcpretty` instead of `xctool` to run Unit Tests)_
-
-## [3.1.6](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.6)
-
-* Fixed issue with the main thread stalling when an `NSException` was raised in the response block
-* Fixed an issue with `OHHTTPStubs/XCTestExpectation` conditional compilation in Xcode 6.0 & OSX SDK.
- _(the condition was previously testing available SDKs instead of Xcode version, which led to errors with Xcode 6.0 not having the latest 10.10 SDK yet, but still having the `XCTestExpectation` already anyway)_
-
-## [3.1.5](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.5)
-
-* Migrated Unit Tests to XCTest.
-* Added `XCTestExpectation` subspec containing my own implementation for Xcode 5 support
-
-## [3.1.4](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.4)
-
-* Fix issue that made stubs never being called on iOS8 (#65).
-
-> _As of Xcode6 Beta4, **`OHHTTPStubs` compatibility with iOS8** has been validated now._
-
-
-## [3.1.3](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.3)
-
-* Fix #66: Use the ivar directly in initialization (to avoid KVO side effects)
-
-## [3.1.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.2)
-
-* Fix broken link in README (#61)
-* Don't override Content-Length header when already set (#62)
-
-## [3.1.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.1)
-
-* Fixing a crash when using very very long data #57/#59
-* Fixing issue #51 regarding a probable race condition when stubs were removed before the request has finished
-* Shorten the README.md file and moved all the usage examples in a dedicated wiki page to avoid a endless and frightening README
-
-## [3.1.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.0)
-
-* The `OHHTTPStubsDescriptor` protocol now inherits from the `NSObject` protocol
-
-## [3.0.4](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.4)
-
-Fixing issue #47 when stubs were not called, especially when the `OHHTTPStubs` pod were loaded both by the application AND the test target/bundle. See also [[A tricky case with Application Tests]].
-
-* `NSURLSessionConfiguration` 's swizzling (to add automatic support of `OHHTTPStubs` to `NSURLSession`) is now done in the `+load` method of an `NSURLSessionConfiguration` category, to be sure it is loaded (and swizzled) only once, even if `OHHTTPStubs` is loaded by two different bundles.
-* The stubs activation of `NSURLSessionConfiguration` no longer uses `objc_getClass` but uses a call to the `OHHTTPStubs` class instead, which ensure that it uses the correct `OHHTTPStubs` class in the current bundle instead of always using the one loaded from the main bundle.
-
-## [3.0.3](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.3)
-
-* Adding Mac framework & Mac Test Target (#44)
-* Adding known limitations in README
-
-## [3.0.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.2)
-
-* Fixed issue with cookies when `request.URL` is `nil` ([#39](https://github.com/AliSoftware/OHHTTPStubs/pull/39))
-* Fixed missing `-ObjC` flag in Unit Tests target _(that made it unable to call category methods)_
-* Fixed Unit Tests on iOS6 _(`NSURLSession`-related Unit Tests now only executed when run on iOS7+ or OSX10.9+, and skipped if targeted for an earlier OS version, as `NSURLSession` was not available then)_
-
-## [3.0.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.1)
-
-* Fixed issue with `NSURLSessionConfiguration` auto-swizzling (#37 & #38)
-
-> _Now `OHHTTPStubs` automagically works with `NSURLSessionConfiguration` **without the need** to enable it for every `NSURLSessionConfiguration` before creating the `NSURLSession`: the `defaultSessionConfiguration` and `ephemeralSessionConfiguration` are now preconfigured automatically to work with `OHHTTPStubs`)_
-
-## [3.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.0)
-
-* Removed deprecated methods.
-
-> The Old API has now totally disappeared, leaving only a clean and simple API without the spam due to old deprecated methods.
-
-Note: **If you have already removed the calls to all `OHHTTPStubs` deprecated API in your code, you can switch to this `3.0.0` version without any further changes in your code**.
-
-## [2.4.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.4.0)
-
-* Added support for `NSURLSession` (thx to @ndonald2) [#31](https://github.com/AliSoftware/OHHTTPStubs/issues/31) [#34](https://github.com/AliSoftware/OHHTTPStubs/issues/34)
-
-## [2.3.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.3.1)
-
-* Fixed bug with OHHTTPStubsResponse+JSON when `nil` headers dictionary
-
-## [2.3.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.3.0)
-
-* Added the ability to give a name to a stub, for debugging purposes (property `name` of `id<OHHTTPStubsDescriptor>`)
-* Added `allStubs` method to list all installed stubs (with their name if they have one, see previous point)
-* Added `+[OHHTTPStubs onStubActivation:]` method to execute arbitrary code each time a stub is activated. Useful to log which stub is used for each request for example.
-
-## [2.2.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.2.1)
-
-* Complete refactoring to use `NSInputStream` instead of direct use of `NSData` (Thanks to @kcharwood - #28)
-* Some other code refactoring to split the code in categories and make it clearer
-* Some API changes to make `OHHTTPStubs` to fit the new possibility of setting both `requestTime` and `responseTime`.
- * Old API is still there but deprecated, and will be removed in next major version
- * To convert to the new API, you will mainly simply:
- * extract the `responseTime:` parameter to a method call of its own (`return [OHHTTPStubsResponse responseWithData:data statusCode:code responseTime:time headers:header];` will become `return [[OHHTTPStubsResponse responseWithData:data statusCode:code headers:headers] responseTime:time];` etc.)
- * convert `responseWithFile:filename` to `responseWithFileAtPath:OHPathForFileInBundle(filename,nil)`
-
-> Note: version `2.1.0-RC`, `2.1.0-rc.1`, `2.2.0-RC` and `2.2.1-RC` were intermediate Release Candidate versions during the big refactoring and migration to `2.2.1`, with the same new features as listed above basicaly, but without the last-minute bugfixes before official release.
-
-## [2.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.0.0)
-
-* Simplified API
- * removed instance methods, no more public `sharedInstance`: directly call class methods on the `OHHTTPStubs` class
- * The old and problematic `addRequestHandler:` method has been deprecated and should not be used anymore. Use `stubRequestsPassingTest:withStubResponse:` instead, which is more efficient
-* Added API documentation in the headers
-* Remove all internal uses of Apple's private APIs
-
-> _Be careful: if you forgot to remove your use of `OHHTTPStubs` and your stubs from the binary you sent to the AppStore, your app would have been rejected by Apple before 2.0.0, as it was using private API (which was a way to make sure not to forget to remove them), but now it would be accepted silently. So don't forget to remove your stubs and `OHHTTPStubs` from your final binary!_
-
-## [1.2.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.2)
-
-* Fixed Deadlock introduced by 1.2.1
-
-## [1.2.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.1)
-
-* Improved thread-safety (#21)
-* Stop sending messages to `NSURLProtoclClient` after `stopLoading`
-
-> _This version is buggy as it introduced a deadlock when performing a request on the main thread. 1.2.2 fixes that issue._
-
-## [1.2.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.0)
-
-* Added support for "HTTP Message Data" stubs generated with `curl -is <someurl>` to replay them easily (#27). See the `README.md` for more info
-* Added redirect support for 3xx response codes (#23)
-* Dropped non-ARC support. Now `OHHTTPStubs` is to be compiled using ARC. _(This should not change anything as it is intended to be integrated using CocoaPods or compiled in a separate xcodeproj anyway)_
-
-## [1.1.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.2)
-
-Easier integration process:
-
-* Use `#import <OHHTTPStubs/OHHTTPStubs.h>` again
-* But adding the path to the library headers in your application project's `HEADER_SEARCH_PATH` is no longer needed!
-
-## [1.1.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.1)
-
-* Fixed crash when calling "setEnabled:" / "registerClass:" multiple times
-* New integration process: we don't use the `PortableLibrary.xcconfig` anymore (as it generated problems for people using configuration with names other than "Debug" and "Release"). _(1)_
-
-_You will now have to indicate the folder containing headers for `OHHTTPStubs` in your `HEADER_SEARCH_PATH` Build Settings, and we are back to `#import "OHHTTPStubs.h"` until a better solution is found_
-
-> _(1) This modification for the integration process did only last for version 1.1.1. Version 1.1.2 restored `#import <OHHTTPStubs/OHHTTPStubs.h>` (but using a much better solution than the previous xcconfig used) and filling `HEADER_SEARCH_PATH` is no longer needed in further versions. See changelog for 1.1.2 above._
-
-## [1.1.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.0)
-
-* Added new API `shouldStubRequest:withRequestHandler:` to avoid useless building of stubbed response like `addRequestHandler:` does
-
-## [1.0.6](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.6)
-
-* Adding support for cookies (Set-Cookie headers)
-
-## [1.0.5](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.5)
-
-* Added Unit Tests
-* Removed calls to the deprecated `dispatch_get_current_queue()` GCD function (was used with `dispatch_after` to add fake delay to stubbed responses)
-
-## [1.0.4](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.4)
-
-* Fixed #6 : "responseWithError:" released response object too soon
-
-## [1.0.3](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.3)
-
-* Fixed small compilation issues #4 (issue in sample code) & #5 (ARC invalid cast)
-
-## [1.0.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.2)
-
-* Embedded `OHHTTPStubs` in a neat static library for nicer integration in your Xcode4 workspaces.
-
-## [1.0.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.1)
-
-* Fix issue when used in a SenTestCase
-
-## [1.0.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.0)
-
-* Cleaning API, added `removeLastHandler` and `removeRequestHandler:` method.
-* Now first stable API in this version.
-* Example project now compatible with ARC and non-ARC environments
-
-## [0.2.0](https://github.com/AliSoftware/OHHTTPStubs/tree/0.2.0)
-
-* Added Example project
-* Added ARC support
-* Some fixes
-
-## [0.1.0](https://github.com/AliSoftware/OHHTTPStubs/tree/0.1.0)
-
-* Initial version
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h
deleted file mode 100644
index bf1a8f5fce..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// MainViewController.h
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface MainViewController : UIViewController
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m
deleted file mode 100644
index 327a4d2d20..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m
+++ /dev/null
@@ -1,169 +0,0 @@
-//
-// MainViewController.m
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import "MainViewController.h"
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-
-@interface MainViewController ()
-// IBOutlets
-@property (retain, nonatomic) IBOutlet UISwitch *delaySwitch;
-@property (retain, nonatomic) IBOutlet UITextView *textView;
-@property (retain, nonatomic) IBOutlet UISwitch *installTextStubSwitch;
-@property (retain, nonatomic) IBOutlet UIImageView *imageView;
-@property (retain, nonatomic) IBOutlet UISwitch *installImageStubSwitch;
-@end
-
-@implementation MainViewController
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Init & Dealloc
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
-
- [self installTextStub:self.installTextStubSwitch];
- [self installImageStub:self.installImageStubSwitch];
- [OHHTTPStubs onStubActivation:^(NSURLRequest *request, id<OHHTTPStubsDescriptor> stub) {
- NSLog(@"[OHHTTPStubs] Request to %@ has been stubbed with %@", request.URL, stub.name);
- }];
-}
-- (void)viewDidUnload
-{
- [self setTextView:nil];
- [self setImageView:nil];
- [self setDelaySwitch:nil];
- [super viewDidUnload];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Global stubs activation
-
-- (IBAction)toggleStubs:(UISwitch *)sender
-{
- [OHHTTPStubs setEnabled:sender.on];
- self.delaySwitch.enabled = sender.on;
- self.installTextStubSwitch.enabled = sender.on;
- self.installImageStubSwitch.enabled = sender.on;
-
- NSLog(@"Installed (%@) stubs: %@", (sender.on?@"and enabled":@"but disabled"), OHHTTPStubs.allStubs);
-}
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Text Download and Stub
-
-
-- (IBAction)downloadText:(UIButton*)sender
-{
- sender.enabled = NO;
- self.textView.text = nil;
-
- NSString* urlString = @"http://www.opensource.apple.com/source/Git/Git-26/src/git-htmldocs/git-commit.txt?txt";
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-
- // This is a very handy way to send an asynchronous method, but only available in iOS5+
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- sender.enabled = YES;
- NSString* receivedText = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
- self.textView.text = receivedText;
- }];
-}
-
-
-
-
-- (IBAction)installTextStub:(UISwitch *)sender
-{
- static id<OHHTTPStubsDescriptor> textStub = nil; // Note: no need to retain this value, it is retained by the OHHTTPStubs itself already
- if (sender.on)
- {
- // Install
- textStub = [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- // This stub will only configure stub requests for "*.txt" files
- return [request.URL.pathExtension isEqualToString:@"txt"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- // Stub txt files with this
- return [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile(@"stub.txt", self.class)
- statusCode:200
- headers:@{@"Content-Type":@"text/plain"}]
- requestTime:self.delaySwitch.on ? 2.f: 0.f
- responseTime:OHHTTPStubsDownloadSpeedWifi];
- }];
- textStub.name = @"Text stub";
- }
- else
- {
- // Uninstall
- [OHHTTPStubs removeStub:textStub];
- }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Image Download and Stub
-
-- (IBAction)downloadImage:(UIButton*)sender
-{
- sender.enabled = NO;
-
- NSString* urlString = @"http://images.apple.com/support/assets/images/products/iphone/hero_iphone4-5_wide.png";
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-
- // This is a very handy way to send an asynchronous method, but only available in iOS5+
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- sender.enabled = YES;
- self.imageView.image = [UIImage imageWithData:data];
- }];
-}
-
-- (IBAction)installImageStub:(UISwitch *)sender
-{
- static id<OHHTTPStubsDescriptor> imageStub = nil; // Note: no need to retain this value, it is retained by the OHHTTPStubs itself already :)
- if (sender.on)
- {
- // Install
- imageStub = [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- // This stub will only configure stub requests for "*.png" files
- return [request.URL.pathExtension isEqualToString:@"png"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- // Stub jpg files with this
- return [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile(@"stub.jpg", self.class)
- statusCode:200
- headers:@{@"Content-Type":@"image/jpeg"}]
- requestTime:self.delaySwitch.on ? 2.f: 0.f
- responseTime:OHHTTPStubsDownloadSpeedWifi];
- }];
- imageStub.name = @"Image stub";
- }
- else
- {
- // Uninstall
- [OHHTTPStubs removeStub:imageStub];
- }
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Cleaning
-
-- (IBAction)clearResults
-{
- self.textView.text = @"";
- self.imageView.image = nil;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib
deleted file mode 100644
index bab95b860c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib
+++ /dev/null
@@ -1,158 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="12E55" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
- <dependencies>
- <deployment defaultVersion="1072" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIApplication"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <window opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" visibleAtLaunch="YES" id="20">
- <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- <connections>
- <outlet property="rootViewController" destination="21" id="22"/>
- </connections>
- </window>
- <viewController id="21" customClass="MainViewController">
- <view key="view" contentMode="scaleToFill" id="1">
- <rect key="frame" x="0.0" y="0.0" width="320" height="560"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Activate Stubs Globally" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="7">
- <rect key="frame" x="20" y="40" width="177" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="5">
- <rect key="frame" x="246" y="37" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="toggleStubs:" destination="21" eventType="valueChanged" id="23"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Fake 2s Delay" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="15">
- <rect key="frame" x="20" y="75" width="109" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="17">
- <rect key="frame" x="144" y="72" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- </switch>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="29">
- <rect key="frame" x="231" y="69" width="69" height="35"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Clear">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="clearResults" destination="21" eventType="touchUpInside" id="31"/>
- </connections>
- </button>
- <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" id="6">
- <rect key="frame" x="20" y="170" width="280" height="188"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- <fontDescription key="fontDescription" name="Menlo-Regular" family="Menlo" pointSize="12"/>
- <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
- </textView>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" id="9">
- <rect key="frame" x="20" y="425" width="280" height="115"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- </imageView>
- <view contentMode="scaleToFill" id="56B-Sg-JRy">
- <rect key="frame" x="20" y="366" width="280" height="55"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
- <subviews>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="Llz-IP-qMB">
- <rect key="frame" x="224" y="20" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="installImageStub:" destination="21" eventType="valueChanged" id="l07-IE-Bbh"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="44">
- <rect key="frame" x="201" y="0.0" width="79" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="8">
- <rect key="frame" x="0.0" y="9" width="176" height="37"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Download image">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadImage:" destination="21" eventType="touchUpInside" id="33"/>
- </connections>
- </button>
- </subviews>
- <color key="backgroundColor" white="0.94548357664233584" alpha="1" colorSpace="calibratedWhite"/>
- </view>
- <view contentMode="scaleToFill" id="P7g-mD-orR">
- <rect key="frame" x="20" y="111" width="280" height="55"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4">
- <rect key="frame" x="0.0" y="9" width="176" height="37"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Download some text">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadText:" destination="21" eventType="touchUpInside" id="32"/>
- </connections>
- </button>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="43">
- <rect key="frame" x="201" y="0.0" width="79" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="41">
- <rect key="frame" x="224" y="20" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="installTextStub:" destination="21" eventType="valueChanged" id="45"/>
- </connections>
- </switch>
- </subviews>
- <color key="backgroundColor" white="0.94548357664233584" alpha="1" colorSpace="calibratedWhite"/>
- </view>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- </view>
- <extendedEdge key="edgesForExtendedLayout"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- <nil key="simulatedTopBarMetrics"/>
- <nil key="simulatedBottomBarMetrics"/>
- <simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <connections>
- <outlet property="delaySwitch" destination="17" id="26"/>
- <outlet property="imageView" destination="9" id="25"/>
- <outlet property="installImageStubSwitch" destination="Llz-IP-qMB" id="BDS-xd-SzF"/>
- <outlet property="installTextStubSwitch" destination="41" id="47"/>
- <outlet property="textView" destination="6" id="24"/>
- </connections>
- </viewController>
- </objects>
-</document> \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj
deleted file mode 100644
index d79722eabb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,385 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 0984831517805426002A99FF /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0984831417805426002A99FF /* CFNetwork.framework */; };
- 098FBDD415D704E800623941 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD315D704E800623941 /* UIKit.framework */; };
- 098FBDD615D704E800623941 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD515D704E800623941 /* Foundation.framework */; };
- 098FBDD815D704E800623941 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD715D704E800623941 /* CoreGraphics.framework */; };
- 098FBDE015D704E800623941 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 098FBDDF15D704E800623941 /* main.m */; };
- 098FBDED15D7056200623941 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 098FBDEB15D7056200623941 /* MainViewController.m */; };
- 098FBDEE15D7056200623941 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDEC15D7056200623941 /* MainViewController.xib */; };
- 098FBDF815D70E2600623941 /* stub.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDF615D70E2600623941 /* stub.jpg */; };
- 098FBDF915D70E2600623941 /* stub.txt in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDF715D70E2600623941 /* stub.txt */; };
- 099C7343169016D800239880 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 099C7342169016D800239880 /* Default-568h@2x.png */; };
- 76C30541E2A1B24B6848F032 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 0984831417805426002A99FF /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
- 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OHHTTPStubsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 098FBDD315D704E800623941 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 098FBDD515D704E800623941 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 098FBDD715D704E800623941 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 098FBDDB15D704E800623941 /* OHHTTPStubsDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubsDemo-Info.plist"; sourceTree = "<group>"; };
- 098FBDDF15D704E800623941 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- 098FBDE115D704E800623941 /* OHHTTPStubsDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsDemo-Prefix.pch"; sourceTree = "<group>"; };
- 098FBDEA15D7056200623941 /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
- 098FBDEB15D7056200623941 /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
- 098FBDEC15D7056200623941 /* MainViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainViewController.xib; sourceTree = "<group>"; };
- 098FBDF615D70E2600623941 /* stub.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = stub.jpg; sourceTree = "<group>"; };
- 098FBDF715D70E2600623941 /* stub.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stub.txt; sourceTree = "<group>"; };
- 099C7342169016D800239880 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
- 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
- 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 48556A011AA6E9FD0074B154 /* libPods-OHHTTPStubs.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libPods-OHHTTPStubs.a"; path = "Pods/../build/Debug-iphoneos/libPods-OHHTTPStubs.a"; sourceTree = "<group>"; };
- B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 098FBDCC15D704E800623941 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 0984831517805426002A99FF /* CFNetwork.framework in Frameworks */,
- 098FBDD415D704E800623941 /* UIKit.framework in Frameworks */,
- 098FBDD615D704E800623941 /* Foundation.framework in Frameworks */,
- 098FBDD815D704E800623941 /* CoreGraphics.framework in Frameworks */,
- 76C30541E2A1B24B6848F032 /* libPods.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 098FBDC415D704E800623941 = {
- isa = PBXGroup;
- children = (
- 098FBDD915D704E800623941 /* OHHTTPStubsDemo */,
- 098FBDD215D704E800623941 /* Frameworks */,
- 098FBDD015D704E800623941 /* Products */,
- DBC538A23E8B9FD8D58D30B1 /* Pods */,
- );
- sourceTree = "<group>";
- };
- 098FBDD015D704E800623941 /* Products */ = {
- isa = PBXGroup;
- children = (
- 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- 098FBDD215D704E800623941 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 48556A011AA6E9FD0074B154 /* libPods-OHHTTPStubs.a */,
- 0984831417805426002A99FF /* CFNetwork.framework */,
- 098FBDD315D704E800623941 /* UIKit.framework */,
- 098FBDD515D704E800623941 /* Foundation.framework */,
- 098FBDD715D704E800623941 /* CoreGraphics.framework */,
- 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 098FBDD915D704E800623941 /* OHHTTPStubsDemo */ = {
- isa = PBXGroup;
- children = (
- 098FBDEA15D7056200623941 /* MainViewController.h */,
- 098FBDEB15D7056200623941 /* MainViewController.m */,
- 098FBDEC15D7056200623941 /* MainViewController.xib */,
- 098FBDFA15D70E2F00623941 /* Stubs */,
- 098FBDDA15D704E800623941 /* Supporting Files */,
- );
- name = OHHTTPStubsDemo;
- sourceTree = "<group>";
- };
- 098FBDDA15D704E800623941 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 099C7342169016D800239880 /* Default-568h@2x.png */,
- 098FBDDB15D704E800623941 /* OHHTTPStubsDemo-Info.plist */,
- 098FBDDF15D704E800623941 /* main.m */,
- 098FBDE115D704E800623941 /* OHHTTPStubsDemo-Prefix.pch */,
- );
- path = "Supporting Files";
- sourceTree = "<group>";
- };
- 098FBDFA15D70E2F00623941 /* Stubs */ = {
- isa = PBXGroup;
- children = (
- 098FBDF615D70E2600623941 /* stub.jpg */,
- 098FBDF715D70E2600623941 /* stub.txt */,
- );
- path = Stubs;
- sourceTree = "<group>";
- };
- DBC538A23E8B9FD8D58D30B1 /* Pods */ = {
- isa = PBXGroup;
- children = (
- B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */,
- 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 098FBDCE15D704E800623941 /* OHHTTPStubsDemo */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 098FBDE715D704E800623941 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */;
- buildPhases = (
- 5BF07CD1F1DEB3893534CA6D /* Check Pods Manifest.lock */,
- 098FBDCB15D704E800623941 /* Sources */,
- 098FBDCC15D704E800623941 /* Frameworks */,
- 098FBDCD15D704E800623941 /* Resources */,
- D61C918AA467A72C9C508B4E /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubsDemo;
- productName = OHHTTPStubsDemo;
- productReference = 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 098FBDC615D704E800623941 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- };
- buildConfigurationList = 098FBDC915D704E800623941 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 098FBDC415D704E800623941;
- productRefGroup = 098FBDD015D704E800623941 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 098FBDCE15D704E800623941 /* OHHTTPStubsDemo */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 098FBDCD15D704E800623941 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 098FBDEE15D7056200623941 /* MainViewController.xib in Resources */,
- 098FBDF815D70E2600623941 /* stub.jpg in Resources */,
- 098FBDF915D70E2600623941 /* stub.txt in Resources */,
- 099C7343169016D800239880 /* Default-568h@2x.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 5BF07CD1F1DEB3893534CA6D /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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";
- showEnvVarsInLog = 0;
- };
- D61C918AA467A72C9C508B4E /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 098FBDCB15D704E800623941 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 098FBDE015D704E800623941 /* main.m in Sources */,
- 098FBDED15D7056200623941 /* MainViewController.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 098FBDE515D704E800623941 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
- GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
- GCC_WARN_SHADOW = YES;
- GCC_WARN_SIGN_COMPARE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNKNOWN_PRAGMAS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- ONLY_ACTIVE_ARCH = YES;
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 098FBDE615D704E800623941 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = YES;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
- GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
- GCC_WARN_SHADOW = YES;
- GCC_WARN_SIGN_COMPARE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNKNOWN_PRAGMAS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 098FBDE815D704E800623941 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "Supporting Files/OHHTTPStubsDemo-Prefix.pch";
- INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/OHHTTPStubsDemo-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Debug;
- };
- 098FBDE915D704E800623941 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "Supporting Files/OHHTTPStubsDemo-Prefix.pch";
- INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/OHHTTPStubsDemo-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 098FBDC915D704E800623941 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 098FBDE515D704E800623941 /* Debug */,
- 098FBDE615D704E800623941 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 098FBDE715D704E800623941 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 098FBDE815D704E800623941 /* Debug */,
- 098FBDE915D704E800623941 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 098FBDC615D704E800623941 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 68ace104de..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme
deleted file mode 100644
index 41f5f1bbc6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0630"
- version = "2.0">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "NO"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Tests"
- ReferencedContainer = "container:../OHHTTPStubs/OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- buildConfiguration = "Debug">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Tests"
- ReferencedContainer = "container:../OHHTTPStubs/OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </TestAction>
- <LaunchAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Debug"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugXPCServices = "NO"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Release"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
deleted file mode 100644
index e23833bf24..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "2.0">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "NO"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugXPCServices = "NO"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index cfc0e73f1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile
deleted file mode 100644
index 30504595e8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile
+++ /dev/null
@@ -1,6 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubsDemo.xcodeproj'
-platform :ios, '6.0'
-
-pod 'OHHTTPStubs', :path => '../..'
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock
deleted file mode 100644
index 0d7e09fc56..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock
+++ /dev/null
@@ -1,26 +0,0 @@
-PODS:
- - OHHTTPStubs (4.3.0):
- - OHHTTPStubs/Default (= 4.3.0)
- - OHHTTPStubs/Core (4.3.0)
- - OHHTTPStubs/Default (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/JSON
- - OHHTTPStubs/NSURLSession
- - OHHTTPStubs/OHPathHelpers
- - OHHTTPStubs/JSON (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/NSURLSession (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/OHPathHelpers (4.3.0)
-
-DEPENDENCIES:
- - OHHTTPStubs (from `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json
deleted file mode 100644
index a1bed26164..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+++ /dev/null
@@ -1,112 +0,0 @@
-{
- "name": "OHHTTPStubs",
- "version": "4.3.0",
- "summary": "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest.",
- "description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift",
- "homepage": "https://github.com/AliSoftware/OHHTTPStubs",
- "license": "MIT",
- "authors": {
- "Olivier Halligon": "olivier.halligon+ae@gmail.com"
- },
- "source": {
- "git": "https://github.com/AliSoftware/OHHTTPStubs.git",
- "tag": "4.3.0"
- },
- "frameworks": [
- "Foundation",
- "CFNetwork"
- ],
- "requires_arc": true,
- "platforms": {
- "ios": "5.0",
- "osx": "10.7",
- "watchos": "2.0"
- },
- "default_subspecs": "Default",
- "subspecs": [
- {
- "name": "Default",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ],
- "OHHTTPStubs/NSURLSession": [
-
- ],
- "OHHTTPStubs/JSON": [
-
- ],
- "OHHTTPStubs/OHPathHelpers": [
-
- ]
- }
- },
- {
- "name": "Core",
- "source_files": "OHHTTPStubs/Sources/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/*.h"
- },
- {
- "name": "NSURLSession",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
- },
- {
- "name": "JSON",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/JSON/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/JSON/*.h"
- },
- {
- "name": "HTTPMessage",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/HTTPMessage/*.h"
- },
- {
- "name": "Mocktail",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/Mocktail/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/Mocktail/*.h"
- },
- {
- "name": "OHPathHelpers",
- "source_files": [
- "OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}",
- "OHHTTPStubs/Sources/Compatibility.h"
- ],
- "public_header_files": [
- "OHHTTPStubs/Sources/OHPathHelpers/*.h",
- "OHHTTPStubs/Sources/Compatibility.h"
- ]
- },
- {
- "name": "Swift",
- "platforms": {
- "ios": "8.0"
- },
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/Swift/*.swift"
- }
- ]
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock
deleted file mode 100644
index 0d7e09fc56..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock
+++ /dev/null
@@ -1,26 +0,0 @@
-PODS:
- - OHHTTPStubs (4.3.0):
- - OHHTTPStubs/Default (= 4.3.0)
- - OHHTTPStubs/Core (4.3.0)
- - OHHTTPStubs/Default (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/JSON
- - OHHTTPStubs/NSURLSession
- - OHHTTPStubs/OHPathHelpers
- - OHHTTPStubs/JSON (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/NSURLSession (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/OHPathHelpers (4.3.0)
-
-DEPENDENCIES:
- - OHHTTPStubs (from `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index cf0b52702f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,587 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 2E2F9EE660B700F15963DDC8F3B75352 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */; };
- 3CBC5BDC4CA1C0B844B19387C9487B99 /* OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */; };
- 4B6983FE7D3F9A195AE59F7D6762EBA3 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- 4D5E9270212910BCD3460EF239A4197B /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */; };
- 6D27035ABE2F530B0B1896D0BB030BB2 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- 761A9F4188992FF44563636002EF49AC /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */; };
- 93ED78687FB436C0E1C67C7193F10BCB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */; };
- B0F67924EC7A003F434F96C082173A62 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */; };
- B139DD76E84F5F24F6DD49C0F600782E /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- B5248AD1AEB29FFE46C05ECE6703FD8A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */; };
- C0BA0C0E164C2418A157C9058DA2738B /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */; };
- CA2E9623C22F6149A0E4C039FBC39A33 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */; };
- E592D52F285D6E0EDDC953CCEF1C505F /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- EC9B9515AB1F864E5A329A33486C63D8 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */; };
- FDFB69C6F9232F38379BF2CADF08476E /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E19A1FD189B51F90DC11A06D80A7C026;
- remoteInfo = OHHTTPStubs;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
- 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- 15A529C27057E4A57D259CBC6E6CE49C /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
- 30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
- 3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
- 3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
- 428144F620B34DF111B724C1E9A7466D /* OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OHHTTPStubs.xcconfig; sourceTree = "<group>"; };
- 444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
- 569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
- 641AE05DD55E5E6AC1590CD7B4A18F97 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
- 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
- 6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
- 73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
- 837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
- 83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
- 879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
- 8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOHHTTPStubs.a; sourceTree = BUILT_PRODUCTS_DIR; };
- ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
- AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
- B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- BF59BC15D23E1E1912C8F334E7236813 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
- D1D014DC18D21B978AE25F6A45D0F849 /* OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
- F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- BD8104109F63444BD0B66D1B85C72751 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- EC9B9515AB1F864E5A329A33486C63D8 /* CFNetwork.framework in Frameworks */,
- B5248AD1AEB29FFE46C05ECE6703FD8A /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- F9449BFF91161A11298A873124980F7D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 93ED78687FB436C0E1C67C7193F10BCB /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 35D0D8F406529065559CB5CD4B277012 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- B7AD2479593204FB5293377C5548E8C3 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- A4692D0E73946F1C6A29E627D41155D5 /* iOS */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 45CE3E982C05C186D577713C5CF90A63 /* JSON */ = {
- isa = PBXGroup;
- children = (
- 067681DC68BBB0639AF30A3A35440B5B /* OHHTTPStubsResponse+JSON.h */,
- 6F3DCB1A9E22D3C2B1B9C1E05030218E /* OHHTTPStubsResponse+JSON.m */,
- );
- path = JSON;
- sourceTree = "<group>";
- };
- 48D8C43667D212F6D003C9F6F0A21FC9 /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- C9B3BF8403416C7E05B5E35EB1F7530D /* OHHTTPStubs */,
- );
- name = OHPathHelpers;
- sourceTree = "<group>";
- };
- 4EAEACA78DDC3C48137D0AC5042B4CD6 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 428144F620B34DF111B724C1E9A7466D /* OHHTTPStubs.xcconfig */,
- 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */,
- 569E625ADCA698A792526AF28E8D0316 /* OHHTTPStubs-dummy.m */,
- D1D014DC18D21B978AE25F6A45D0F849 /* OHHTTPStubs-prefix.pch */,
- );
- name = "Support Files";
- path = "Examples/ObjC/Pods/Target Support Files/OHHTTPStubs";
- sourceTree = "<group>";
- };
- 634F739643411C743CFB1F3BE1CE1F10 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 83E93AA7C68551C8AF750554961BCF28 /* Compatibility.h */,
- 879E124265C6E74EFBA3A20D19FF65C0 /* OHHTTPStubs.h */,
- 837F804E680909D298984FA31B7485B5 /* OHHTTPStubs.m */,
- 3C74C2304BC100D0BDE5722D1C3F544E /* OHHTTPStubsResponse.h */,
- 444C3D422B97AF2DE52DEA6930481FEE /* OHHTTPStubsResponse.m */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- 70B9817713C09EF51E81CBB4F55BA325 /* JSON */ = {
- isa = PBXGroup;
- children = (
- FCDE432930ABA4CD146D9B71D4E9A668 /* OHHTTPStubs */,
- );
- name = JSON;
- sourceTree = "<group>";
- };
- 7D3C95C4FB8238C8413AE1D7FABFD8F8 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- ADCFFFF1B87F1AE6D91FD98B1771E731 /* Core */,
- 70B9817713C09EF51E81CBB4F55BA325 /* JSON */,
- D76351656BA2F429928E0B82DC136189 /* NSURLSession */,
- 48D8C43667D212F6D003C9F6F0A21FC9 /* OHPathHelpers */,
- 4EAEACA78DDC3C48137D0AC5042B4CD6 /* Support Files */,
- );
- name = OHHTTPStubs;
- path = ../../..;
- sourceTree = "<group>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- F2B814913C4EECE2CDF158DE5C5AC6E8 /* Development Pods */,
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- D2411A5FE7F7A004607BED49990C37F4 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 952EEBFAF8F7E620423C9F156F25A506 /* Pods */ = {
- isa = PBXGroup;
- children = (
- 15A529C27057E4A57D259CBC6E6CE49C /* Pods-acknowledgements.markdown */,
- BF59BC15D23E1E1912C8F334E7236813 /* Pods-acknowledgements.plist */,
- AD0FEF1D509FC14F813E73A1C655DAB1 /* Pods-dummy.m */,
- 641AE05DD55E5E6AC1590CD7B4A18F97 /* Pods-resources.sh */,
- 30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */,
- 73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */,
- );
- name = Pods;
- path = "Target Support Files/Pods";
- sourceTree = "<group>";
- };
- A4692D0E73946F1C6A29E627D41155D5 /* iOS */ = {
- isa = PBXGroup;
- children = (
- ABC98C51959FA9C45ADD686BB0D55825 /* CFNetwork.framework */,
- 0AD0AF455759AAAC05C7D3C8FEC0B8A7 /* Foundation.framework */,
- );
- name = iOS;
- sourceTree = "<group>";
- };
- ADCFFFF1B87F1AE6D91FD98B1771E731 /* Core */ = {
- isa = PBXGroup;
- children = (
- E73C0E89C408688D661A3E3366457F56 /* OHHTTPStubs */,
- );
- name = Core;
- sourceTree = "<group>";
- };
- B7AD2479593204FB5293377C5548E8C3 /* Sources */ = {
- isa = PBXGroup;
- children = (
- EB264388063293D1FF4D47BC51D88837 /* NSURLSession */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- C9B3BF8403416C7E05B5E35EB1F7530D /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- EE424A5434ED1AFD1C1093348A65F4AB /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
- isa = PBXGroup;
- children = (
- 8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */,
- 3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- D2411A5FE7F7A004607BED49990C37F4 /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- 952EEBFAF8F7E620423C9F156F25A506 /* Pods */,
- );
- name = "Targets Support Files";
- sourceTree = "<group>";
- };
- D5CDDC270BED6E4155F3A2B448B61AF7 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 45CE3E982C05C186D577713C5CF90A63 /* JSON */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- D76351656BA2F429928E0B82DC136189 /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- 35D0D8F406529065559CB5CD4B277012 /* OHHTTPStubs */,
- );
- name = NSURLSession;
- sourceTree = "<group>";
- };
- E73C0E89C408688D661A3E3366457F56 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 634F739643411C743CFB1F3BE1CE1F10 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- EB264388063293D1FF4D47BC51D88837 /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- B1592BA1FF3A171CC781B45FB0113A5D /* OHHTTPStubs+NSURLSessionConfiguration.m */,
- );
- path = NSURLSession;
- sourceTree = "<group>";
- };
- EE424A5434ED1AFD1C1093348A65F4AB /* Sources */ = {
- isa = PBXGroup;
- children = (
- F97588B52C63DFCFF3B2A8C1BFD22D6D /* OHPathHelpers */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- F2B814913C4EECE2CDF158DE5C5AC6E8 /* Development Pods */ = {
- isa = PBXGroup;
- children = (
- 7D3C95C4FB8238C8413AE1D7FABFD8F8 /* OHHTTPStubs */,
- );
- name = "Development Pods";
- sourceTree = "<group>";
- };
- F97588B52C63DFCFF3B2A8C1BFD22D6D /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- 3C21D4E1359177484A2C65DA64FC24FB /* OHPathHelpers.h */,
- F09A36802CE88AB74341658EAA53D541 /* OHPathHelpers.m */,
- );
- path = OHPathHelpers;
- sourceTree = "<group>";
- };
- FCDE432930ABA4CD146D9B71D4E9A668 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- D5CDDC270BED6E4155F3A2B448B61AF7 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- B0F67924EC7A003F434F96C082173A62 /* Compatibility.h in Headers */,
- 4D5E9270212910BCD3460EF239A4197B /* OHHTTPStubs.h in Headers */,
- 761A9F4188992FF44563636002EF49AC /* OHHTTPStubsResponse+JSON.h in Headers */,
- C0BA0C0E164C2418A157C9058DA2738B /* OHHTTPStubsResponse.h in Headers */,
- 2E2F9EE660B700F15963DDC8F3B75352 /* OHPathHelpers.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
- buildPhases = (
- 66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */,
- BD8104109F63444BD0B66D1B85C72751 /* Frameworks */,
- E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubs;
- productName = OHHTTPStubs;
- productReference = 8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */;
- productType = "com.apple.product-type.library.static";
- };
- FFD149523A9D16FB1E726210A9C872FC /* Pods */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */;
- buildPhases = (
- 29DD92242A61804BCA84214771D58D9B /* Sources */,
- F9449BFF91161A11298A873124980F7D /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */,
- );
- name = Pods;
- productName = Pods;
- productReference = 3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */,
- FFD149523A9D16FB1E726210A9C872FC /* Pods */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 29DD92242A61804BCA84214771D58D9B /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CA2E9623C22F6149A0E4C039FBC39A33 /* Pods-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 4B6983FE7D3F9A195AE59F7D6762EBA3 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
- 3CBC5BDC4CA1C0B844B19387C9487B99 /* OHHTTPStubs-dummy.m in Sources */,
- B139DD76E84F5F24F6DD49C0F600782E /* OHHTTPStubs.m in Sources */,
- E592D52F285D6E0EDDC953CCEF1C505F /* OHHTTPStubsResponse+JSON.m in Sources */,
- FDFB69C6F9232F38379BF2CADF08476E /* OHHTTPStubsResponse.m in Sources */,
- 6D27035ABE2F530B0B1896D0BB030BB2 /* OHPathHelpers.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = OHHTTPStubs;
- target = E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */;
- targetProxy = 527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 6569F07DC21AD8B72752685013E3D9D8 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- 68B9225633DFABE510A0C51A49859EBE /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 8346BEDEFE980E2571B693A7BD7DC2A7 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 96540C4820CBFD733119ECB1A3D96FCA /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 73AB0163FD210941414AF5D60BCB01B8 /* Pods.release.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- A14E2444F162A20E3776820E0ADFFB52 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- E16756337AAA514FE0E1E27E43F8454E /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 6E1CD2C561B1730722F30541CACA4E4C /* OHHTTPStubs-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 6569F07DC21AD8B72752685013E3D9D8 /* Debug */,
- A14E2444F162A20E3776820E0ADFFB52 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E16756337AAA514FE0E1E27E43F8454E /* Debug */,
- 8346BEDEFE980E2571B693A7BD7DC2A7 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 68B9225633DFABE510A0C51A49859EBE /* Debug */,
- 96540C4820CBFD733119ECB1A3D96FCA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
deleted file mode 100644
index 39df59c3c9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E19A1FD189B51F90DC11A06D80A7C026"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs"
- ReferencedContainer = "container:Pods.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E19A1FD189B51F90DC11A06D80A7C026"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs"
- ReferencedContainer = "container:Pods.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index b9b8578c7f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "OHHTTPStubs.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_LDFLAGS = ${OHHTTPSTUBS_OTHER_LDFLAGS}
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
deleted file mode 100644
index 4deafde22c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
deleted file mode 100644
index a14c030722..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index 8fb40d2e94..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_OTHER_LDFLAGS} -ObjC
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
deleted file mode 100644
index 6e93a65cc8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
deleted file mode 100644
index 95cf11d9fb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
deleted file mode 100644
index de1d241adc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
deleted file mode 100644
index 79d3603ad7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
+++ /dev/null
@@ -1,15 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## OHHTTPStubs
-
-- MIT LICENSE -
-
-Copyright (c) 2012 Olivier Halligon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
deleted file mode 100644
index 756aa4392a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>- MIT LICENSE -
-
-Copyright (c) 2012 Olivier Halligon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
- <key>Title</key>
- <string>OHHTTPStubs</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m
deleted file mode 100644
index ade64bd1a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods : NSObject
-@end
-@implementation PodsDummy_Pods
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h
deleted file mode 100644
index 5918510c4e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// OHHTTPStubs
-#define COCOAPODS_POD_AVAILABLE_OHHTTPStubs
-#define COCOAPODS_VERSION_MAJOR_OHHTTPStubs 4
-#define COCOAPODS_VERSION_MINOR_OHHTTPStubs 0
-#define COCOAPODS_VERSION_PATCH_OHHTTPStubs 1
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY="$(cd "${1%/*}" && pwd)"
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig
deleted file mode 100644
index 722a231f1e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig
deleted file mode 100644
index 722a231f1e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg
deleted file mode 100644
index c42a21cd74..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt
deleted file mode 100644
index e662f91b23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the text from your stub.
-
-Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png
deleted file mode 100644
index 0891b7aabf..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist
deleted file mode 100644
index 25bfd55966..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleDisplayName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>NSMainNibFile</key>
- <string>MainViewController</string>
- <key>UIRequiredDeviceCapabilities</key>
- <array>
- <string>armv7</string>
- </array>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch
deleted file mode 100644
index 20ef719789..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Prefix header for all source files of the 'OHHTTPStubsDemo' target in the 'OHHTTPStubsDemo' project
-//
-
-#import <Availability.h>
-
-#ifndef __IPHONE_3_0
-#warning "This project uses features only available in iOS SDK 3.0 and later."
-#endif
-
-#ifdef __OBJC__
- #import <UIKit/UIKit.h>
- #import <Foundation/Foundation.h>
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m
deleted file mode 100644
index 478bfb3959..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// main.m
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-
-int main(int argc, char *argv[])
-{
- @autoreleasepool {
- return UIApplicationMain(argc, argv, nil, nil);
- }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift
deleted file mode 100644
index 58f489a7d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// AppDelegate.swift
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 18/04/2015.
-// Copyright (c) 2015 AliSoftware. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
- var window: UIWindow?
-
- func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
- // Override point for customization after application launch.
- return true
- }
-}
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard
deleted file mode 100644
index 438521ca5c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7531" systemVersion="14C1514" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7520"/>
- <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
- </dependencies>
- <scenes>
- <!--Main View Controller-->
- <scene sceneID="tne-QT-ifu">
- <objects>
- <viewController id="BYZ-38-t0r" customClass="MainViewController" customModule="OHHTTPStubsDemo" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
- <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Activate Stubs Globally" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="i3Q-pZ-OFi">
- <rect key="frame" x="73" y="33" width="511" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="l60-ZM-CS7">
- <rect key="frame" x="16" y="28" width="51" height="31"/>
- <connections>
- <action selector="toggleStubs:" destination="BYZ-38-t0r" eventType="valueChanged" id="Ab8-ba-nES"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Fake 2s Delay" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="BVp-fP-EX3">
- <rect key="frame" x="73" y="72" width="434" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Ots-uz-HBP">
- <rect key="frame" x="16" y="67" width="51" height="31"/>
- </switch>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bd2-S0-6oU">
- <rect key="frame" x="515" y="68" width="69" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="69" id="05U-TI-0b3"/>
- </constraints>
- <state key="normal" title="Clear">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="clearResults" destination="BYZ-38-t0r" eventType="touchUpInside" id="aLh-6y-PPp"/>
- </connections>
- </button>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="q0d-yd-8pd">
- <rect key="frame" x="16" y="106" width="568" height="55"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cHe-gS-w8n">
- <rect key="frame" x="13" y="5" width="481" height="45"/>
- <state key="normal" title="Download some text">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadText:" destination="BYZ-38-t0r" eventType="touchUpInside" id="HfU-ap-tEC"/>
- </connections>
- </button>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggingPriority="750" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CZL-1L-SlS">
- <rect key="frame" x="485" y="2" width="63" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eja-cQ-oUU">
- <rect key="frame" x="499" y="22" width="51" height="31"/>
- <connections>
- <action selector="installTextStub:" destination="BYZ-38-t0r" eventType="valueChanged" id="2pl-wJ-iCQ"/>
- </connections>
- </switch>
- </subviews>
- <color key="backgroundColor" white="0.94548357660000004" alpha="1" colorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="eja-cQ-oUU" secondAttribute="bottom" constant="2" id="29H-MG-Fxf"/>
- <constraint firstItem="eja-cQ-oUU" firstAttribute="top" secondItem="CZL-1L-SlS" secondAttribute="bottom" id="3wI-sk-26n"/>
- <constraint firstItem="cHe-gS-w8n" firstAttribute="leading" secondItem="q0d-yd-8pd" secondAttribute="leadingMargin" constant="5" id="Hwa-qe-ZOQ"/>
- <constraint firstAttribute="trailing" secondItem="eja-cQ-oUU" secondAttribute="trailing" constant="20" symbolic="YES" id="Khb-si-DNH"/>
- <constraint firstAttribute="bottom" secondItem="cHe-gS-w8n" secondAttribute="bottom" constant="5" id="S92-MO-7X2"/>
- <constraint firstItem="cHe-gS-w8n" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="top" constant="5" id="bbu-UH-GkB"/>
- <constraint firstItem="eja-cQ-oUU" firstAttribute="leading" secondItem="cHe-gS-w8n" secondAttribute="trailing" constant="5" id="gjH-jS-L0Y"/>
- <constraint firstItem="CZL-1L-SlS" firstAttribute="trailing" secondItem="eja-cQ-oUU" secondAttribute="trailing" id="p7j-wp-ICC"/>
- <constraint firstAttribute="height" constant="55" id="qXE-il-74X"/>
- <constraint firstAttribute="trailing" secondItem="CZL-1L-SlS" secondAttribute="trailing" constant="8" id="rgi-Il-D0e"/>
- <constraint firstItem="CZL-1L-SlS" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="top" constant="2" id="wN6-Rr-Qrd"/>
- </constraints>
- <variation key="default">
- <mask key="constraints">
- <exclude reference="rgi-Il-D0e"/>
- </mask>
- </variation>
- </view>
- <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ruy-AH-zcs">
- <rect key="frame" x="16" y="169" width="568" height="176"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- <fontDescription key="fontDescription" name="Menlo-Regular" family="Menlo" pointSize="12"/>
- <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
- </textView>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GvE-e2-Eos">
- <rect key="frame" x="16" y="353" width="568" height="55"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c9w-hC-ZIo">
- <rect key="frame" x="13" y="5" width="478" height="45"/>
- <state key="normal" title="Download image">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadImage:" destination="BYZ-38-t0r" eventType="touchUpInside" id="UM4-Du-Bbb"/>
- </connections>
- </button>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ji5-SF-Rck">
- <rect key="frame" x="499" y="22" width="51" height="31"/>
- <connections>
- <action selector="installImageStub:" destination="BYZ-38-t0r" eventType="valueChanged" id="B56-KR-Iwy"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WaM-eo-B4Y">
- <rect key="frame" x="485" y="2" width="63" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="0.94548357660000004" alpha="1" colorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="ji5-SF-Rck" firstAttribute="top" secondItem="WaM-eo-B4Y" secondAttribute="bottom" id="4ga-4o-xtr"/>
- <constraint firstItem="c9w-hC-ZIo" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="top" constant="5" id="62E-jh-E4B"/>
- <constraint firstItem="ji5-SF-Rck" firstAttribute="leading" secondItem="c9w-hC-ZIo" secondAttribute="trailing" constant="8" symbolic="YES" id="8lX-bA-JCe"/>
- <constraint firstItem="c9w-hC-ZIo" firstAttribute="leading" secondItem="GvE-e2-Eos" secondAttribute="leadingMargin" constant="5" id="Dyb-rO-JJU"/>
- <constraint firstAttribute="trailing" secondItem="ji5-SF-Rck" secondAttribute="trailing" constant="20" symbolic="YES" id="Fkp-ob-fLN"/>
- <constraint firstAttribute="bottom" secondItem="ji5-SF-Rck" secondAttribute="bottom" constant="2" id="R9M-DJ-mIm"/>
- <constraint firstAttribute="height" constant="55" id="Ro0-sY-nDW"/>
- <constraint firstItem="WaM-eo-B4Y" firstAttribute="trailing" secondItem="ji5-SF-Rck" secondAttribute="trailing" id="ZxJ-2X-ePH"/>
- <constraint firstAttribute="bottom" secondItem="c9w-hC-ZIo" secondAttribute="bottom" constant="5" id="jdz-li-ys1"/>
- <constraint firstItem="WaM-eo-B4Y" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="top" constant="2" id="zDu-Go-F4N"/>
- </constraints>
- </view>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="5bj-Tq-WCZ">
- <rect key="frame" x="16" y="416" width="568" height="176"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- </imageView>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="l60-ZM-CS7" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="0j5-Kr-Bap"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="7BB-yF-NDN"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="height" secondItem="ruy-AH-zcs" secondAttribute="height" id="9CM-a2-1St"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="top" secondItem="l60-ZM-CS7" secondAttribute="bottom" constant="8" symbolic="YES" id="9fP-Fh-cY6"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="centerY" secondItem="BVp-fP-EX3" secondAttribute="centerY" id="CuV-xq-bsL"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="bottom" constant="8" symbolic="YES" id="FAU-LK-lwH"/>
- <constraint firstAttribute="trailingMargin" secondItem="i3Q-pZ-OFi" secondAttribute="trailing" id="Gf3-KX-gvo"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="GwN-Yl-Oe9"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="top" secondItem="Ots-uz-HBP" secondAttribute="bottom" constant="8" symbolic="YES" id="Hte-At-iUc"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="bottom" constant="8" symbolic="YES" id="JgY-aI-yDT"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="top" secondItem="ruy-AH-zcs" secondAttribute="bottom" constant="8" symbolic="YES" id="Ote-kU-oyl"/>
- <constraint firstItem="l60-ZM-CS7" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="8" symbolic="YES" id="QcO-T9-cgv"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="SC7-du-hgz"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="leading" secondItem="BVp-fP-EX3" secondAttribute="trailing" constant="8" symbolic="YES" id="UId-jY-PGT"/>
- <constraint firstItem="BVp-fP-EX3" firstAttribute="leading" secondItem="Ots-uz-HBP" secondAttribute="trailing" constant="8" symbolic="YES" id="YtW-MD-2HS"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="YzH-tR-2EL"/>
- <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="5bj-Tq-WCZ" secondAttribute="bottom" constant="8" symbolic="YES" id="bkX-5L-yHb"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="e3m-dD-QHe"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="gf8-4V-OtZ"/>
- <constraint firstItem="i3Q-pZ-OFi" firstAttribute="centerY" secondItem="l60-ZM-CS7" secondAttribute="centerY" id="i7p-Mu-Z5w"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="centerY" secondItem="BVp-fP-EX3" secondAttribute="centerY" id="lBr-er-U9M"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="n85-Qw-ILn"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="t7w-mv-dbP"/>
- <constraint firstItem="i3Q-pZ-OFi" firstAttribute="leading" secondItem="l60-ZM-CS7" secondAttribute="trailing" constant="8" symbolic="YES" id="ud7-J3-llm"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="vd3-vh-cO6"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="zf9-6C-GJh"/>
- </constraints>
- </view>
- <connections>
- <outlet property="delaySwitch" destination="Ots-uz-HBP" id="bye-pT-jxJ"/>
- <outlet property="imageView" destination="5bj-Tq-WCZ" id="u02-Ml-Ob8"/>
- <outlet property="installImageStubSwitch" destination="ji5-SF-Rck" id="7u3-ya-Crs"/>
- <outlet property="installTextStubSwitch" destination="eja-cQ-oUU" id="Xsi-sG-ivV"/>
- <outlet property="textView" destination="ruy-AH-zcs" id="Gbh-p5-mVt"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
- </objects>
- </scene>
- </scenes>
-</document>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift
deleted file mode 100644
index 9133e20d46..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// ViewController.swift
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 18/04/2015.
-// Copyright (c) 2015 AliSoftware. All rights reserved.
-//
-
-import UIKit
-import OHHTTPStubs
-
-class MainViewController: UIViewController {
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Outlets
-
- @IBOutlet var delaySwitch: UISwitch!
- @IBOutlet var textView: UITextView!
- @IBOutlet var installTextStubSwitch: UISwitch!
- @IBOutlet var imageView: UIImageView!
- @IBOutlet var installImageStubSwitch: UISwitch!
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Init & Dealloc
-
- override func viewDidLoad() {
- super.viewDidLoad()
-
- installTextStub(self.installTextStubSwitch)
- installImageStub(self.installImageStubSwitch)
- OHHTTPStubs.onStubActivation { (request: NSURLRequest!, stub: OHHTTPStubsDescriptor!) in
- print("[OHHTTPStubs] Request to \(request.URL!) has been stubbed with \(stub.name)")
- }
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Global stubs activation
-
- @IBAction func toggleStubs(sender: UISwitch) {
- OHHTTPStubs.setEnabled(sender.on)
- self.delaySwitch.enabled = sender.on
- self.installTextStubSwitch.enabled = sender.on
- self.installImageStubSwitch.enabled = sender.on
-
- let state = sender.on ? "and enabled" : "but disabled"
- print("Installed (\(state)) stubs: \(OHHTTPStubs.allStubs)")
- }
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Text Download and Stub
-
-
- @IBAction func downloadText(sender: UIButton) {
- sender.enabled = false
- self.textView.text = nil
-
- let urlString = "http://www.opensource.apple.com/source/Git/Git-26/src/git-htmldocs/git-commit.txt?txt"
- let req = NSURLRequest(URL: NSURL(string: urlString)!)
-
- NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
- sender.enabled = true
- if let receivedData = data, receivedText = NSString(data: receivedData, encoding: NSASCIIStringEncoding) {
- self.textView.text = receivedText as String
- }
- }
- }
-
- weak var textStub: OHHTTPStubsDescriptor?
- @IBAction func installTextStub(sender: UISwitch) {
- if sender.on {
- // Install
-
- textStub = stub(isExtension("txt")) { _ in
- let stubPath = OHPathForFile("stub.txt", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"text/plain"])
- .requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime:OHHTTPStubsDownloadSpeedWifi)
- }
- textStub?.name = "Text stub"
- } else {
- // Uninstall
- OHHTTPStubs.removeStub(textStub!)
- }
- }
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Image Download and Stub
-
- @IBAction func downloadImage(sender: UIButton) {
- sender.enabled = false
- self.imageView.image = nil
-
- let urlString = "http://images.apple.com/support/assets/images/products/iphone/hero_iphone4-5_wide.png"
- let req = NSURLRequest(URL: NSURL(string: urlString)!)
-
- NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
- sender.enabled = true
- if let receivedData = data {
- self.imageView.image = UIImage(data: receivedData)
- }
- }
- }
-
- weak var imageStub: OHHTTPStubsDescriptor?
- @IBAction func installImageStub(sender: UISwitch) {
- if sender.on {
- // Install
-
- imageStub = stub(isExtension("png") || isExtension("jpg") || isExtension("gif")) { _ in
- let stubPath = OHPathForFile("stub.jpg", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"image/jpeg"])
- .requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime: OHHTTPStubsDownloadSpeedWifi)
- }
- imageStub?.name = "Image stub"
- } else {
- // Uninstall
- OHHTTPStubs.removeStub(imageStub!)
- }
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Cleaning
-
- @IBAction func clearResults() {
- self.textView.text = ""
- self.imageView.image = nil
- }
-
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj
deleted file mode 100644
index 48a07864e3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,382 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 099F74141AE2D049001108A5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 099F74131AE2D049001108A5 /* Images.xcassets */; };
- 099F742F1AE2D572001108A5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 099F742D1AE2D572001108A5 /* Main.storyboard */; };
- 099F74351AE2D5EB001108A5 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */; };
- 099F74391AE2D5FF001108A5 /* stub.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 099F74371AE2D5FF001108A5 /* stub.jpg */; };
- 099F743A1AE2D5FF001108A5 /* stub.txt in Resources */ = {isa = PBXBuildFile; fileRef = 099F74381AE2D5FF001108A5 /* stub.txt */; };
- 099F743C1AE2D632001108A5 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 099F743B1AE2D632001108A5 /* Default-568h@2x.png */; };
- 099F74401AE2D703001108A5 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 099F740E1AE2D049001108A5 /* MainViewController.swift */; };
- 099F74421AE2D7E0001108A5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 099F74411AE2D7E0001108A5 /* AppDelegate.swift */; };
- 33ABB39721D2012BFC1F5077 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6C6334E088CD830EF8D38DB /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OHHTTPStubsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 099F740B1AE2D049001108A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- 099F740E1AE2D049001108A5 /* MainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };
- 099F74131AE2D049001108A5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
- 099F742D1AE2D572001108A5 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
- 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = "<group>"; };
- 099F74371AE2D5FF001108A5 /* stub.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = stub.jpg; sourceTree = "<group>"; };
- 099F74381AE2D5FF001108A5 /* stub.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stub.txt; sourceTree = "<group>"; };
- 099F743B1AE2D632001108A5 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "Supporting Files/Default-568h@2x.png"; sourceTree = SOURCE_ROOT; };
- 099F74411AE2D7E0001108A5 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
- D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
- DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
- F6C6334E088CD830EF8D38DB /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 099F74041AE2D049001108A5 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33ABB39721D2012BFC1F5077 /* Pods.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 099F73FE1AE2D049001108A5 = {
- isa = PBXGroup;
- children = (
- 099F74091AE2D049001108A5 /* OHHTTPStubsDemo */,
- 099F74081AE2D049001108A5 /* Products */,
- 11944CD1D5FC771F513B1E27 /* Pods */,
- 3116686BFC89EEC0587776C7 /* Frameworks */,
- );
- sourceTree = "<group>";
- };
- 099F74081AE2D049001108A5 /* Products */ = {
- isa = PBXGroup;
- children = (
- 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- 099F74091AE2D049001108A5 /* OHHTTPStubsDemo */ = {
- isa = PBXGroup;
- children = (
- 099F74411AE2D7E0001108A5 /* AppDelegate.swift */,
- 099F740E1AE2D049001108A5 /* MainViewController.swift */,
- 099F742D1AE2D572001108A5 /* Main.storyboard */,
- 099F74361AE2D5FF001108A5 /* Stubs */,
- 099F740A1AE2D049001108A5 /* Supporting Files */,
- );
- name = OHHTTPStubsDemo;
- sourceTree = "<group>";
- };
- 099F740A1AE2D049001108A5 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 099F743B1AE2D632001108A5 /* Default-568h@2x.png */,
- 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */,
- 099F74131AE2D049001108A5 /* Images.xcassets */,
- 099F740B1AE2D049001108A5 /* Info.plist */,
- );
- path = "Supporting Files";
- sourceTree = "<group>";
- };
- 099F74361AE2D5FF001108A5 /* Stubs */ = {
- isa = PBXGroup;
- children = (
- 099F74371AE2D5FF001108A5 /* stub.jpg */,
- 099F74381AE2D5FF001108A5 /* stub.txt */,
- );
- path = Stubs;
- sourceTree = "<group>";
- };
- 11944CD1D5FC771F513B1E27 /* Pods */ = {
- isa = PBXGroup;
- children = (
- D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */,
- DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
- 3116686BFC89EEC0587776C7 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F6C6334E088CD830EF8D38DB /* Pods.framework */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 099F74061AE2D049001108A5 /* OHHTTPStubsDemo */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 099F74261AE2D049001108A5 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */;
- buildPhases = (
- BC9F93D044C7E42A3DAD6455 /* Check Pods Manifest.lock */,
- 099F74031AE2D049001108A5 /* Sources */,
- 099F74041AE2D049001108A5 /* Frameworks */,
- 099F74051AE2D049001108A5 /* Resources */,
- D95367D5DC075A18A3D27355 /* Embed Pods Frameworks */,
- 5D1017B32E55D59BD180A034 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubsDemo;
- productName = OHHTTPStubsDemo;
- productReference = 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 099F73FF1AE2D049001108A5 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- TargetAttributes = {
- 099F74061AE2D049001108A5 = {
- CreatedOnToolsVersion = 6.3;
- };
- };
- };
- buildConfigurationList = 099F74021AE2D049001108A5 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 099F73FE1AE2D049001108A5;
- productRefGroup = 099F74081AE2D049001108A5 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 099F74061AE2D049001108A5 /* OHHTTPStubsDemo */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 099F74051AE2D049001108A5 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 099F74351AE2D5EB001108A5 /* LaunchScreen.xib in Resources */,
- 099F74391AE2D5FF001108A5 /* stub.jpg in Resources */,
- 099F742F1AE2D572001108A5 /* Main.storyboard in Resources */,
- 099F74141AE2D049001108A5 /* Images.xcassets in Resources */,
- 099F743A1AE2D5FF001108A5 /* stub.txt in Resources */,
- 099F743C1AE2D632001108A5 /* Default-568h@2x.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 5D1017B32E55D59BD180A034 /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
- BC9F93D044C7E42A3DAD6455 /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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";
- showEnvVarsInLog = 0;
- };
- D95367D5DC075A18A3D27355 /* Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Embed Pods Frameworks";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 099F74031AE2D049001108A5 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 099F74421AE2D7E0001108A5 /* AppDelegate.swift in Sources */,
- 099F74401AE2D703001108A5 /* MainViewController.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 099F74241AE2D049001108A5 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.3;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 099F74251AE2D049001108A5 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.3;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 099F74271AE2D049001108A5 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Debug;
- };
- 099F74281AE2D049001108A5 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 099F74021AE2D049001108A5 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 099F74241AE2D049001108A5 /* Debug */,
- 099F74251AE2D049001108A5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 099F74261AE2D049001108A5 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 099F74271AE2D049001108A5 /* Debug */,
- 099F74281AE2D049001108A5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 099F73FF1AE2D049001108A5 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 919434a625..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
deleted file mode 100644
index 870383aff8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "099F74061AE2D049001108A5"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "099F74061AE2D049001108A5"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "099F74061AE2D049001108A5"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "099F74061AE2D049001108A5"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index cfc0e73f1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile
deleted file mode 100644
index 17dfc0103f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile
+++ /dev/null
@@ -1,8 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubsDemo.xcodeproj'
-platform :ios, '8.0'
-use_frameworks!
-
-pod 'OHHTTPStubs', :path => '../..'
-pod 'OHHTTPStubs/Swift', :path => '../..'
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock
deleted file mode 100644
index 834a7de58b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - OHHTTPStubs (4.3.0):
- - OHHTTPStubs/Default (= 4.3.0)
- - OHHTTPStubs/Core (4.3.0)
- - OHHTTPStubs/Default (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/JSON
- - OHHTTPStubs/NSURLSession
- - OHHTTPStubs/OHPathHelpers
- - OHHTTPStubs/JSON (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/NSURLSession (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/OHPathHelpers (4.3.0)
- - OHHTTPStubs/Swift (4.3.0):
- - OHHTTPStubs/Core
-
-DEPENDENCIES:
- - OHHTTPStubs (from `../..`)
- - OHHTTPStubs/Swift (from `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index 247257b1d8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 6a6273c69c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json
deleted file mode 100644
index a1bed26164..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+++ /dev/null
@@ -1,112 +0,0 @@
-{
- "name": "OHHTTPStubs",
- "version": "4.3.0",
- "summary": "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest.",
- "description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift",
- "homepage": "https://github.com/AliSoftware/OHHTTPStubs",
- "license": "MIT",
- "authors": {
- "Olivier Halligon": "olivier.halligon+ae@gmail.com"
- },
- "source": {
- "git": "https://github.com/AliSoftware/OHHTTPStubs.git",
- "tag": "4.3.0"
- },
- "frameworks": [
- "Foundation",
- "CFNetwork"
- ],
- "requires_arc": true,
- "platforms": {
- "ios": "5.0",
- "osx": "10.7",
- "watchos": "2.0"
- },
- "default_subspecs": "Default",
- "subspecs": [
- {
- "name": "Default",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ],
- "OHHTTPStubs/NSURLSession": [
-
- ],
- "OHHTTPStubs/JSON": [
-
- ],
- "OHHTTPStubs/OHPathHelpers": [
-
- ]
- }
- },
- {
- "name": "Core",
- "source_files": "OHHTTPStubs/Sources/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/*.h"
- },
- {
- "name": "NSURLSession",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
- },
- {
- "name": "JSON",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/JSON/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/JSON/*.h"
- },
- {
- "name": "HTTPMessage",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/HTTPMessage/*.h"
- },
- {
- "name": "Mocktail",
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/Mocktail/*.{h,m}",
- "public_header_files": "OHHTTPStubs/Sources/Mocktail/*.h"
- },
- {
- "name": "OHPathHelpers",
- "source_files": [
- "OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}",
- "OHHTTPStubs/Sources/Compatibility.h"
- ],
- "public_header_files": [
- "OHHTTPStubs/Sources/OHPathHelpers/*.h",
- "OHHTTPStubs/Sources/Compatibility.h"
- ]
- },
- {
- "name": "Swift",
- "platforms": {
- "ios": "8.0"
- },
- "dependencies": {
- "OHHTTPStubs/Core": [
-
- ]
- },
- "source_files": "OHHTTPStubs/Sources/Swift/*.swift"
- }
- ]
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock
deleted file mode 100644
index 834a7de58b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - OHHTTPStubs (4.3.0):
- - OHHTTPStubs/Default (= 4.3.0)
- - OHHTTPStubs/Core (4.3.0)
- - OHHTTPStubs/Default (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/JSON
- - OHHTTPStubs/NSURLSession
- - OHHTTPStubs/OHPathHelpers
- - OHHTTPStubs/JSON (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/NSURLSession (4.3.0):
- - OHHTTPStubs/Core
- - OHHTTPStubs/OHPathHelpers (4.3.0)
- - OHHTTPStubs/Swift (4.3.0):
- - OHHTTPStubs/Core
-
-DEPENDENCIES:
- - OHHTTPStubs (from `../..`)
- - OHHTTPStubs/Swift (from `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index c30d5eaa4d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,699 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 01AEB03E8483ACA53AF80E1FFDA86AF8 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 1EBA52FF0AFA395687FA91CC019016DA /* OHHTTPStubs-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 2BAD53602D602364900BA4C2B1340BA0 /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 4A5277EF28380E91E978DD2088524148 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */; };
- 615390616715B7664F020DE4BD224412 /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 714352D1C49C82CC1C2BB334C6078822 /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 75F5A85AE83AE0A724DA8D0D8C6F9B16 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */; };
- 84C7162BF05BC724A780924027DB3C81 /* Pods-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 8B21C4C8FCBF1ECFC2820A90951485D9 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- A7C8208E5907F0513544C5D4900FD13F /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- B23A5673AC7B96172FC957C0EE86C35E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */; };
- B4554EAE499DFE50903C2D9B08DD484C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */; };
- B7221632BDBC018D3FA9132D8FDA7EE8 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
- DA20C865C55183386A2800324C914AEF /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- DC7B52DA1EA844B71094AA994E07CDAA /* OHHTTPStubsSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */; };
- EDC8DCA7C73131307348C9D63316C2CA /* OHHTTPStubs-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */; };
- F04C71194F78C9603C88D5D11EBA2B83 /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- F12ACD0A3F73E62C5985015CE379CC69 /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E4F3908DF65694388E03EE338E6F07FA;
- remoteInfo = OHHTTPStubs;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
- 0FF50A663B4A56B65F3DCF8C040FADF6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- 10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
- 20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-umbrella.h"; sourceTree = "<group>"; };
- 22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
- 2F51C2407DAD4E7B26B575BE58823017 /* OHHTTPStubs-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs-prefix.pch"; sourceTree = "<group>"; };
- 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- 420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = "<group>"; };
- 423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = "<group>"; };
- 4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
- 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "OHHTTPStubs-Private.xcconfig"; sourceTree = "<group>"; };
- 66C60215A49AF925829AECDD08DD6351 /* OHHTTPStubs.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OHHTTPStubs.xcconfig; sourceTree = "<group>"; };
- 79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Pods.modulemap; sourceTree = "<group>"; };
- 7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
- 816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
- 818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs-dummy.m"; sourceTree = "<group>"; };
- 82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
- 87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = "<group>"; };
- 955EB79B39DB7421EB742249D338E88F /* OHHTTPStubs.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = OHHTTPStubs.modulemap; sourceTree = "<group>"; };
- A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
- A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = "<group>"; };
- A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
- B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-umbrella.h"; sourceTree = "<group>"; };
- B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- BCE0366425966FB14819C23632E95AC3 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
- CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = "<group>"; };
- D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = "<group>"; };
- DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
- E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-frameworks.sh"; sourceTree = "<group>"; };
- E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 4A5277EF28380E91E978DD2088524148 /* CFNetwork.framework in Frameworks */,
- B4554EAE499DFE50903C2D9B08DD484C /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- B23A5673AC7B96172FC957C0EE86C35E /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 26001308FC69575317F3E2328FEAB687 /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- B8B1955DB3BC2AF4F682608D8FF0D624 /* OHPathHelpers.h */,
- A85729A0857A5ADFB5DE2F4761728C48 /* OHPathHelpers.m */,
- );
- path = OHPathHelpers;
- sourceTree = "<group>";
- };
- 2CD25D9BF4A75B000E30EED3ECADFB05 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 2E0908F937F9E0CE24CD1B49C8B1832F /* Swift */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- 2E0908F937F9E0CE24CD1B49C8B1832F /* Swift */ = {
- isa = PBXGroup;
- children = (
- C5BFE81C806A1181EB729F8B85875DCC /* OHHTTPStubsSwift.swift */,
- );
- path = Swift;
- sourceTree = "<group>";
- };
- 2F6AF01C76E27E8A3EE5DA937FD5A91F /* JSON */ = {
- isa = PBXGroup;
- children = (
- A093F030A33DDC9AAEEF7E9F14B0FF88 /* OHHTTPStubsResponse+JSON.h */,
- 7F1517C0755061DEF0DE2E2C7C67AD96 /* OHHTTPStubsResponse+JSON.m */,
- );
- path = JSON;
- sourceTree = "<group>";
- };
- 2FD330A03A1D0B761BD13C06863E2D0E /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- 4C8988BCA515BF21A55FF44EDAA3E021 /* OHHTTPStubs */,
- );
- name = OHPathHelpers;
- sourceTree = "<group>";
- };
- 399E53B6C0258D92AC1FD3AE99008B6E /* Swift */ = {
- isa = PBXGroup;
- children = (
- 42F25FBC502A757DAE352E5B09E9FF66 /* OHHTTPStubs */,
- );
- name = Swift;
- sourceTree = "<group>";
- };
- 3BE2D87AAACBE3971F6F35207007F4AB /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- 82F0038F0A6F0803A025D593705DFF8A /* OHHTTPStubs+NSURLSessionConfiguration.m */,
- );
- path = NSURLSession;
- sourceTree = "<group>";
- };
- 406BDF33AD0EDE741B447F9849C05786 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 0FF50A663B4A56B65F3DCF8C040FADF6 /* Info.plist */,
- 955EB79B39DB7421EB742249D338E88F /* OHHTTPStubs.modulemap */,
- 66C60215A49AF925829AECDD08DD6351 /* OHHTTPStubs.xcconfig */,
- 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */,
- 818E8BC59D03357E477813C312ED028E /* OHHTTPStubs-dummy.m */,
- 2F51C2407DAD4E7B26B575BE58823017 /* OHHTTPStubs-prefix.pch */,
- 20519E15379B984F750153B36E7394D3 /* OHHTTPStubs-umbrella.h */,
- );
- name = "Support Files";
- path = "Examples/Swift/Pods/Target Support Files/OHHTTPStubs";
- sourceTree = "<group>";
- };
- 42F25FBC502A757DAE352E5B09E9FF66 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 2CD25D9BF4A75B000E30EED3ECADFB05 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- A4692D0E73946F1C6A29E627D41155D5 /* iOS */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 4C8988BCA515BF21A55FF44EDAA3E021 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- BC61886E3F31F15D9B01758FA65305B7 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */ = {
- isa = PBXGroup;
- children = (
- 8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */,
- );
- name = "Development Pods";
- sourceTree = "<group>";
- };
- 5D1807FCE432BF223191CC0C4D6153D8 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */,
- 526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */,
- DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */,
- 816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */,
- 0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- 7518C35D2C3AA6260B56CAFC097A521B /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 5D1807FCE432BF223191CC0C4D6153D8 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 75D98FF52E597A11900E131B6C4E1ADA /* Pods */ = {
- isa = PBXGroup;
- children = (
- E8446514FBAD26C0E18F24A5715AEF67 /* Info.plist */,
- 79A9DEDC89FE8336BF5FEDAAF75BF7FC /* Pods.modulemap */,
- D0405803033A2A777B8E4DFA0C1800ED /* Pods-acknowledgements.markdown */,
- 87B213035BAC5F75386F62D3C75D2342 /* Pods-acknowledgements.plist */,
- 420A99A0B765D0ED2083F6FDBC6495F9 /* Pods-dummy.m */,
- E7F21354943D9F42A70697D5A5EF72E9 /* Pods-frameworks.sh */,
- CBC0F7C552B739C909B650A0F42F7F38 /* Pods-resources.sh */,
- B418BF5BFE825617E6FC6F338A7A41B3 /* Pods-umbrella.h */,
- A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */,
- 423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */,
- );
- name = Pods;
- path = "Target Support Files/Pods";
- sourceTree = "<group>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- 4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */,
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- B7B80995527643776607AFFA75B91E24 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 891B86CE0EBE541B2C7B947998EE90B3 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- A438C33C2AAB93E303E6682059132F4A /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */,
- FEE70E0F2961F31E9B52D300967F8B6E /* JSON */,
- CA1C072DFF59852F7FB6458D31B28064 /* NSURLSession */,
- 2FD330A03A1D0B761BD13C06863E2D0E /* OHPathHelpers */,
- 406BDF33AD0EDE741B447F9849C05786 /* Support Files */,
- 399E53B6C0258D92AC1FD3AE99008B6E /* Swift */,
- );
- name = OHHTTPStubs;
- path = ../../..;
- sourceTree = "<group>";
- };
- 93A49C76EBA19CF15CC485546C29B1C6 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- A9D1051AFDBF5E4C4D220B819997F065 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */ = {
- isa = PBXGroup;
- children = (
- 7518C35D2C3AA6260B56CAFC097A521B /* OHHTTPStubs */,
- );
- name = Core;
- sourceTree = "<group>";
- };
- A438C33C2AAB93E303E6682059132F4A /* Sources */ = {
- isa = PBXGroup;
- children = (
- 3BE2D87AAACBE3971F6F35207007F4AB /* NSURLSession */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- A4692D0E73946F1C6A29E627D41155D5 /* iOS */ = {
- isa = PBXGroup;
- children = (
- 10547EF778E963224C44E3DD07279968 /* CFNetwork.framework */,
- 35B1BF887EDB66869F39210F0D0113EC /* Foundation.framework */,
- );
- name = iOS;
- sourceTree = "<group>";
- };
- A9D1051AFDBF5E4C4D220B819997F065 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 2F6AF01C76E27E8A3EE5DA937FD5A91F /* JSON */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- B7B80995527643776607AFFA75B91E24 /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- 75D98FF52E597A11900E131B6C4E1ADA /* Pods */,
- );
- name = "Targets Support Files";
- sourceTree = "<group>";
- };
- BC61886E3F31F15D9B01758FA65305B7 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 26001308FC69575317F3E2328FEAB687 /* OHPathHelpers */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- CA1C072DFF59852F7FB6458D31B28064 /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- 891B86CE0EBE541B2C7B947998EE90B3 /* OHHTTPStubs */,
- );
- name = NSURLSession;
- sourceTree = "<group>";
- };
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
- isa = PBXGroup;
- children = (
- 4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */,
- BCE0366425966FB14819C23632E95AC3 /* Pods.framework */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- FEE70E0F2961F31E9B52D300967F8B6E /* JSON */ = {
- isa = PBXGroup;
- children = (
- 93A49C76EBA19CF15CC485546C29B1C6 /* OHHTTPStubs */,
- );
- name = JSON;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 773392B2C9B39011294EDCA7791E8497 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- B7221632BDBC018D3FA9132D8FDA7EE8 /* Compatibility.h in Headers */,
- 1EBA52FF0AFA395687FA91CC019016DA /* OHHTTPStubs-umbrella.h in Headers */,
- 714352D1C49C82CC1C2BB334C6078822 /* OHHTTPStubs.h in Headers */,
- 2BAD53602D602364900BA4C2B1340BA0 /* OHHTTPStubsResponse+JSON.h in Headers */,
- 615390616715B7664F020DE4BD224412 /* OHHTTPStubsResponse.h in Headers */,
- 01AEB03E8483ACA53AF80E1FFDA86AF8 /* OHPathHelpers.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 84C7162BF05BC724A780924027DB3C81 /* Pods-umbrella.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 86C62275EF6F6A139E340789D6F6E477 /* Pods */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */;
- buildPhases = (
- C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */,
- 9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */,
- 7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- 94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */,
- );
- name = Pods;
- productName = Pods;
- productReference = BCE0366425966FB14819C23632E95AC3 /* Pods.framework */;
- productType = "com.apple.product-type.framework";
- };
- E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
- buildPhases = (
- 0F226F8A1646BA706F459212FC25E627 /* Sources */,
- 6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */,
- 773392B2C9B39011294EDCA7791E8497 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubs;
- productName = OHHTTPStubs;
- productReference = 4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */,
- 86C62275EF6F6A139E340789D6F6E477 /* Pods */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 0F226F8A1646BA706F459212FC25E627 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- DA20C865C55183386A2800324C914AEF /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
- EDC8DCA7C73131307348C9D63316C2CA /* OHHTTPStubs-dummy.m in Sources */,
- 8B21C4C8FCBF1ECFC2820A90951485D9 /* OHHTTPStubs.m in Sources */,
- F04C71194F78C9603C88D5D11EBA2B83 /* OHHTTPStubsResponse+JSON.m in Sources */,
- F12ACD0A3F73E62C5985015CE379CC69 /* OHHTTPStubsResponse.m in Sources */,
- DC7B52DA1EA844B71094AA994E07CDAA /* OHHTTPStubsSwift.swift in Sources */,
- A7C8208E5907F0513544C5D4900FD13F /* OHPathHelpers.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 75F5A85AE83AE0A724DA8D0D8C6F9B16 /* Pods-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = OHHTTPStubs;
- target = E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */;
- targetProxy = 2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 8D8037ED98B93F867F21E1A00E40CA25 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.xcconfig */;
- buildSettings = {
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- CURRENT_PROJECT_VERSION = 1;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- INFOPLIST_FILE = "Target Support Files/Pods/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap";
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = Pods;
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Release;
- };
- A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- AE050CF0675A77F0187F1B57B0216453 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */;
- buildSettings = {
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- CURRENT_PROJECT_VERSION = 4.3.0;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 4;
- DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
- INFOPLIST_FILE = "Target Support Files/OHHTTPStubs/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MODULEMAP_FILE = "Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap";
- MTL_ENABLE_DEBUG_INFO = NO;
- PRODUCT_NAME = OHHTTPStubs;
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Release;
- };
- D5363C7463136E690514EA53C85C0C8D /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = A5287C4E0E01604D9A5C077402CF0287 /* Pods.debug.xcconfig */;
- buildSettings = {
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- CURRENT_PROJECT_VERSION = 1;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- INFOPLIST_FILE = "Target Support Files/Pods/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MODULEMAP_FILE = "Target Support Files/Pods/Pods.modulemap";
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = Pods;
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TARGETED_DEVICE_FAMILY = "1,2";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Debug;
- };
- DAF781A30B6956A7D7C315691EC7CB4E /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 52CF58D8498977B487A6E5AE97CC5A38 /* OHHTTPStubs-Private.xcconfig */;
- buildSettings = {
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- CURRENT_PROJECT_VERSION = 4.3.0;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 4;
- DYLIB_CURRENT_VERSION = "$(CURRENT_PROJECT_VERSION)";
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch";
- INFOPLIST_FILE = "Target Support Files/OHHTTPStubs/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MODULEMAP_FILE = "Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap";
- MTL_ENABLE_DEBUG_INFO = YES;
- PRODUCT_NAME = OHHTTPStubs;
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TARGETED_DEVICE_FAMILY = "1,2";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Debug;
- };
- FB45FFD90572718D82AB9092B750F0CA /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- D5363C7463136E690514EA53C85C0C8D /* Debug */,
- 8D8037ED98B93F867F21E1A00E40CA25 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- DAF781A30B6956A7D7C315691EC7CB4E /* Debug */,
- AE050CF0675A77F0187F1B57B0216453 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */,
- FB45FFD90572718D82AB9092B750F0CA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
deleted file mode 100644
index 699b998d1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E4F3908DF65694388E03EE338E6F07FA"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs"
- ReferencedContainer = "container:Pods.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- </Testables>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "E4F3908DF65694388E03EE338E6F07FA"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs"
- ReferencedContainer = "container:Pods.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist
deleted file mode 100644
index cea441462f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>4.3.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${CURRENT_PROJECT_VERSION}</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index cf3a26e1ef..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "OHHTTPStubs.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public"
-OTHER_LDFLAGS = ${OHHTTPSTUBS_OTHER_LDFLAGS}
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
deleted file mode 100644
index 4deafde22c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h
deleted file mode 100644
index d95666a8a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#import <UIKit/UIKit.h>
-
-#import "Compatibility.h"
-#import "OHHTTPStubs.h"
-#import "OHHTTPStubsResponse.h"
-#import "OHHTTPStubsResponse+JSON.h"
-#import "OHPathHelpers.h"
-#import "Compatibility.h"
-
-FOUNDATION_EXPORT double OHHTTPStubsVersionNumber;
-FOUNDATION_EXPORT const unsigned char OHHTTPStubsVersionString[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap
deleted file mode 100644
index 268a7c33d4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module OHHTTPStubs {
- umbrella header "OHHTTPStubs-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
deleted file mode 100644
index a14c030722..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist
deleted file mode 100644
index c10e7eab4f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>4.0.1</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${CURRENT_PROJECT_VERSION}</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index 56b72965aa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "Pods-OHHTTPStubs.xcconfig"
-CONFIGURATION_BUILD_DIR = $PODS_FRAMEWORK_BUILD_PATH
-FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_OTHER_LDFLAGS} -ObjC
-PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
deleted file mode 100644
index 6e93a65cc8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
deleted file mode 100644
index 95cf11d9fb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h
deleted file mode 100644
index 28cfb1c4c0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#import <UIKit/UIKit.h>
-
-#import "OHHTTPStubs.h"
-#import "OHHTTPStubsResponse+HTTPMessage.h"
-#import "OHHTTPStubsResponse+JSON.h"
-#import "OHHTTPStubsResponse.h"
-#import "OHPathHelpers.h"
-
-FOUNDATION_EXPORT double OHHTTPStubsVersionNumber;
-FOUNDATION_EXPORT const unsigned char OHHTTPStubsVersionString[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap
deleted file mode 100644
index efe706e390..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module OHHTTPStubs {
- umbrella header "Pods-OHHTTPStubs-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
deleted file mode 100644
index de1d241adc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist
deleted file mode 100644
index 6974542586..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${CURRENT_PROJECT_VERSION}</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
deleted file mode 100644
index 79d3603ad7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
+++ /dev/null
@@ -1,15 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## OHHTTPStubs
-
-- MIT LICENSE -
-
-Copyright (c) 2012 Olivier Halligon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
deleted file mode 100644
index 756aa4392a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>- MIT LICENSE -
-
-Copyright (c) 2012 Olivier Halligon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
- <key>Title</key>
- <string>OHHTTPStubs</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m
deleted file mode 100644
index ade64bd1a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods : NSObject
-@end
-@implementation PodsDummy_Pods
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h
deleted file mode 100644
index 5918510c4e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// OHHTTPStubs
-#define COCOAPODS_POD_AVAILABLE_OHHTTPStubs
-#define COCOAPODS_VERSION_MAJOR_OHHTTPStubs 4
-#define COCOAPODS_VERSION_MINOR_OHHTTPStubs 0
-#define COCOAPODS_VERSION_PATCH_OHHTTPStubs 1
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh
deleted file mode 100755
index 91e9c70b4d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-set -e
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-install_framework()
-{
- if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
- local source="${BUILT_PRODUCTS_DIR}/$1"
- else
- local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
- fi
-
- local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
- if [ -L "${source}" ]; then
- echo "Symlinked..."
- source="$(readlink "${source}")"
- fi
-
- # use filter instead of exclude so missing patterns dont' throw errors
- echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
- rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
- # Resign the code if required by the build settings to avoid unstable apps
- code_sign_if_enabled "${destination}/$(basename "$1")"
-
- # Embed linked Swift runtime libraries
- local basename
- basename="$(basename "$1" | sed -E s/\\..+// && exit ${PIPESTATUS[0]})"
- local swift_runtime_libs
- swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${basename}.framework/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
- for lib in $swift_runtime_libs; do
- echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
- rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
- code_sign_if_enabled "${destination}/${lib}"
- done
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
- # Use the current code_sign_identitiy
- echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
- echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\""
- /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
- fi
-}
-
-
-if [[ "$CONFIGURATION" == "Debug" ]]; then
- install_framework 'Pods/OHHTTPStubs.framework'
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
- install_framework 'Pods/OHHTTPStubs.framework'
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY="$(cd "${1%/*}" && pwd)"
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h
deleted file mode 100644
index 21dcfd2c21..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#import <UIKit/UIKit.h>
-
-
-FOUNDATION_EXPORT double PodsVersionNumber;
-FOUNDATION_EXPORT const unsigned char PodsVersionString[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig
deleted file mode 100644
index a5a034c3e4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OHHTTPStubs.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap
deleted file mode 100644
index 8413413077..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module Pods {
- umbrella header "Pods-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig
deleted file mode 100644
index a5a034c3e4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/OHHTTPStubs.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg
deleted file mode 100644
index c42a21cd74..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt
deleted file mode 100644
index e662f91b23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the text from your stub.
-
-Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png
deleted file mode 100644
index 0891b7aabf..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 36d2c80d88..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "3x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "2x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist
deleted file mode 100644
index 0ca4d80efa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <key>UIRequiredDeviceCapabilities</key>
- <array>
- <string>armv7</string>
- </array>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- </array>
- <key>UISupportedInterfaceOrientations~ipad</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib
deleted file mode 100644
index a9be7a994c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
- <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <view contentMode="scaleToFill" id="iN0-l3-epB">
- <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 AliSoftware. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
- <rect key="frame" x="20" y="439" width="441" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="OHHTTPStubsDemo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
- <rect key="frame" x="20" y="140" width="441" height="43"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
- <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
- <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
- <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
- <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
- <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
- </constraints>
- <nil key="simulatedStatusBarMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <point key="canvasLocation" x="548" y="455"/>
- </view>
- </objects>
-</document>
diff --git a/platform/ios/uitest/OHHTTPStubs/LICENSE b/platform/ios/uitest/OHHTTPStubs/LICENSE
deleted file mode 100644
index a83928dd2e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-- MIT LICENSE -
-
-Copyright (c) 2012 Olivier Halligon
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec
deleted file mode 100644
index 7ddbe58e23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec
+++ /dev/null
@@ -1,86 +0,0 @@
-Pod::Spec.new do |s|
-
- s.name = "OHHTTPStubs"
- s.version = "4.3.0"
-
- s.summary = "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest."
- s.description = <<-DESC.gsub(/^ +\|/,'')
- |A class to stub network requests easily:
- |
- | * Test your apps with fake network data (stubbed from file)
- | * You can also customize your response headers and status code
- | * Use customized stubs depending on the requests
- | * Use custom response time to simulate slow network.
- | * This works with any request (HTTP, HTTPS, or any protocol) sent using
- | the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)
- | * This is really useful in unit testing, when you need to test network features
- | but don't want to hit the real network and fake some response data instead.
- | * Has useful convenience methods to stub JSON content or fixture from a file
- | * Compatible with Swift
- DESC
-
- s.homepage = "https://github.com/AliSoftware/OHHTTPStubs"
- s.license = "MIT"
- s.authors = { 'Olivier Halligon' => 'olivier.halligon+ae@gmail.com' }
-
- s.source = { :git => "https://github.com/AliSoftware/OHHTTPStubs.git", :tag => s.version.to_s }
-
- s.frameworks = 'Foundation', 'CFNetwork'
-
- s.requires_arc = true
- s.ios.deployment_target = '5.0'
- s.osx.deployment_target = '10.7'
- s.watchos.deployment_target = '2.0'
-
- s.default_subspec = 'Default'
-
- # Default subspec that includes the most commonly-used components
- s.subspec 'Default' do |default|
- default.dependency 'OHHTTPStubs/Core'
- default.dependency 'OHHTTPStubs/NSURLSession'
- default.dependency 'OHHTTPStubs/JSON'
- default.dependency 'OHHTTPStubs/OHPathHelpers'
- end
-
- # The Core subspec, containing the library core needed in all cases
- s.subspec 'Core' do |core|
- core.source_files = "OHHTTPStubs/Sources/*.{h,m}"
- core.public_header_files = "OHHTTPStubs/Sources/*.h"
- end
-
- # Optional subspecs
- s.subspec 'NSURLSession' do |urlsession|
- urlsession.dependency 'OHHTTPStubs/Core'
- urlsession.source_files = "OHHTTPStubs/Sources/NSURLSession/*.{h,m}"
- end
-
- s.subspec 'JSON' do |json|
- json.dependency 'OHHTTPStubs/Core'
- json.source_files = "OHHTTPStubs/Sources/JSON/*.{h,m}"
- json.public_header_files = "OHHTTPStubs/Sources/JSON/*.h"
- end
-
- s.subspec 'HTTPMessage' do |httpmessage|
- httpmessage.dependency 'OHHTTPStubs/Core'
- httpmessage.source_files = "OHHTTPStubs/Sources/HTTPMessage/*.{h,m}"
- httpmessage.public_header_files = "OHHTTPStubs/Sources/HTTPMessage/*.h"
- end
-
- s.subspec 'Mocktail' do |mocktail|
- mocktail.dependency 'OHHTTPStubs/Core'
- mocktail.source_files = "OHHTTPStubs/Sources/Mocktail/*.{h,m}"
- mocktail.public_header_files = "OHHTTPStubs/Sources/Mocktail/*.h"
- end
-
- s.subspec 'OHPathHelpers' do |pathhelper|
- pathhelper.source_files = "OHHTTPStubs/Sources/OHPathHelpers/*.{h,m}", "OHHTTPStubs/Sources/Compatibility.h"
- pathhelper.public_header_files = "OHHTTPStubs/Sources/OHPathHelpers/*.h", "OHHTTPStubs/Sources/Compatibility.h"
- end
-
- s.subspec 'Swift' do |swift|
- swift.ios.deployment_target = '8.0'
- swift.dependency 'OHHTTPStubs/Core'
- swift.source_files = "OHHTTPStubs/Sources/Swift/*.swift"
- end
-
-end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj
deleted file mode 100644
index 7b1a4fa4db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1320 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 09110A4519805F4800D175E4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
- 09110A5319805F4800D175E4 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
- 09110A5419805F4800D175E4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
- 09110A5919805F4800D175E4 /* libOHHTTPStubs.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */; };
- 09110A6C1980605A00D175E4 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
- 09110A741980606A00D175E4 /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
- 09110A751980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
- 09110A761980606A00D175E4 /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
- 09110A791980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
- 093442E21B80EC4A00A91535 /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
- 093442E31B80EC4A00A91535 /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
- 093442E41B80EC4A00A91535 /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
- 093442E51B80EC4A00A91535 /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
- 093442E61B80EC4A00A91535 /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
- 093442E71B80EC4A00A91535 /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
- 093442E81B80EC4A00A91535 /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
- 093442E91B80EC4A00A91535 /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
- 093442EA1B80EC4A00A91535 /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
- 093442EC1B80EC4A00A91535 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
- 093442EE1B80EC4A00A91535 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
- 093442F11B80EC4A00A91535 /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
- 093442F21B80EC4A00A91535 /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
- 093442F31B80EC4A00A91535 /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
- 093442F41B80EC4A00A91535 /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
- 093442FD1B80ED2600A91535 /* OHHTTPStubs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */; };
- 094906D61B7F4D7100B047DA /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
- 094906D71B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
- 094906D81B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
- 094906D91B7F523500B047DA /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
- 094906DA1B7F523900B047DA /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
- 094906DB1B7F527A00B047DA /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
- 094906DC1B7F60D100B047DA /* OHHTTPStubs+Mocktail.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; };
- 094906DD1B7F60D100B047DA /* OHPathHelpers.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; };
- 094906DE1B7F60E200B047DA /* OHHTTPStubs+Mocktail.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 094906DF1B7F60EE00B047DA /* OHHTTPStubs+Mocktail.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095925D41BAEBEAA00DD7F0B /* OHHTTPStubsSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */; settings = {ASSET_TAGS = (); }; };
- 095925D61BAEC00200DD7F0B /* SwiftHelpersTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */; settings = {ASSET_TAGS = (); }; };
- 095981881980682800807DBE /* AFNetworkingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981481980668E00807DBE /* AFNetworkingTests.m */; };
- 095981891980682E00807DBE /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
- 0959818A1980682E00807DBE /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
- 0959818B1980682E00807DBE /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
- 0959818C1980682E00807DBE /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
- 0959818D1980682E00807DBE /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
- 0959818E1980682E00807DBE /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
- 095981D319806A7900807DBE /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
- 095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 095981C219806A7900807DBE /* OHHTTPStubs.framework */; };
- 095981EF19806AA200807DBE /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
- 095981F019806AA200807DBE /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
- 095981F119806AA200807DBE /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
- 095981F219806AA200807DBE /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
- 095981F319806AA200807DBE /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
- 095981F419806AA200807DBE /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
- 095981F619806AAC00807DBE /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
- 095981F719806AAC00807DBE /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
- 095981F819806AAC00807DBE /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
- 095981F919806AAC00807DBE /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
- 095981FA19806AAC00807DBE /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
- 095981FB19806AB700807DBE /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095981FC19806AF300807DBE /* OHHTTPStubs.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; };
- 095981FD19806AF300807DBE /* OHHTTPStubsResponse.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; };
- 095981FE19806AF300807DBE /* OHHTTPStubsResponse+HTTPMessage.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; };
- 095981FF19806AF300807DBE /* OHHTTPStubsResponse+JSON.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; };
- 0959820019806B1700807DBE /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 0959820119806B1E00807DBE /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 0959820219806B2200807DBE /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095B1AD51AE30BA7009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
- 095B1AD61AE3138C009D1B56 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095B1AD71AE3138C009D1B56 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095B1AD81AE31395009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
- 095B1AD91AE31396009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
- 09D0D2991B67FED3004E7213 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 09D0D29A1B67FED3004E7213 /* Compatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 09D0D29B1B67FF06004E7213 /* Compatibility.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09D0D2981B67FED3004E7213 /* Compatibility.h */; };
- 0DB397E35DDB6808A5496D53 /* libPods-OHHTTPStubs Mac Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */; };
- 1D0F8E7E1B6E31850049A7D2 /* MocktailTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */; };
- 1D0F8E801B6E31A70049A7D2 /* login.tail in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E7F1B6E31A70049A7D2 /* login.tail */; };
- 1D0F8E821B6E31B00049A7D2 /* MocktailFolder in Resources */ = {isa = PBXBuildFile; fileRef = 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */; };
- 1D6DB8501B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */; };
- 221C34A51B0CCF0600FCA8FF /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
- 221C34A71B0CCF9D00FCA8FF /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
- 221C34A81B0CCF9D00FCA8FF /* empty.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 221C34A61B0CCF9D00FCA8FF /* empty.bundle */; };
- 221C34A91B0CCFF200FCA8FF /* OHPathHelpersTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */; };
- 3EB635BCF186B952750E2AEE /* libPods-OHHTTPStubs iOS Fmk Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */; };
- 47AF337B1A3775B600158C9F /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
- 47AF337C1A3775B600158C9F /* emptyfile.json in Resources */ = {isa = PBXBuildFile; fileRef = 47AF337A1A37757B00158C9F /* emptyfile.json */; };
- 725CD9B41A9EB6F600F84C8B /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
- 725CD9B51A9EB6F800F84C8B /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
- 725CD9B61A9EB6FA00F84C8B /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
- 725CD9B71A9EB6FD00F84C8B /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
- 725CD9B81A9EB70000F84C8B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
- 725CD9B91A9EB71000F84C8B /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 725CD9BA1A9EB71500F84C8B /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 725CD9BB1A9EB71A00F84C8B /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 725CD9BC1A9EB71D00F84C8B /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 7B812F8D5510F916B78E671A /* libPods-OHHTTPStubs iOS Lib Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 09110A5719805F4800D175E4 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 09110A3919805F4800D175E4 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 09110A4019805F4800D175E4;
- remoteInfo = "OHHTTPStubs iOS";
- };
- 093442FB1B80ED1C00A91535 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 09110A3919805F4800D175E4 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 725CD99A1A9EB65100F84C8B;
- remoteInfo = "OHHTTPStubs iOS Framework";
- };
- 095981D519806A7900807DBE /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 09110A3919805F4800D175E4 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 095981C119806A7900807DBE;
- remoteInfo = "OHHTTPStubs Mac";
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 09110A3F19805F4800D175E4 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "include/$(PRODUCT_NAME)";
- dstSubfolderSpec = 16;
- files = (
- 09D0D29B1B67FF06004E7213 /* Compatibility.h in CopyFiles */,
- 095981FC19806AF300807DBE /* OHHTTPStubs.h in CopyFiles */,
- 095981FD19806AF300807DBE /* OHHTTPStubsResponse.h in CopyFiles */,
- 095981FF19806AF300807DBE /* OHHTTPStubsResponse+JSON.h in CopyFiles */,
- 095981FE19806AF300807DBE /* OHHTTPStubsResponse+HTTPMessage.h in CopyFiles */,
- 094906DC1B7F60D100B047DA /* OHHTTPStubs+Mocktail.h in CopyFiles */,
- 094906DD1B7F60D100B047DA /* OHPathHelpers.h in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOHHTTPStubs.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 09110A4419805F4800D175E4 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs iOS Lib Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 09110A5219805F4800D175E4 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
- 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubs.h; sourceTree = "<group>"; };
- 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubs.m; sourceTree = "<group>"; };
- 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
- 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
- 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+HTTPMessage.h"; sourceTree = "<group>"; };
- 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+HTTPMessage.m"; sourceTree = "<group>"; };
- 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+JSON.h"; sourceTree = "<group>"; };
- 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+JSON.m"; sourceTree = "<group>"; };
- 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+NSURLSessionConfiguration.m"; sourceTree = "<group>"; };
- 093442DC1B80EC3B00A91535 /* OHHTTPStubs iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubs iOS-Info.plist"; sourceTree = "<group>"; };
- 093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs iOS Fmk Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
- 095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SwiftHelpersTests.swift; path = "Test Suites/SwiftHelpersTests.swift"; sourceTree = "<group>"; };
- 095981451980657C00807DBE /* UnitTests-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; };
- 095981471980665400807DBE /* UnitTests-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UnitTests-Prefix.pch"; sourceTree = "<group>"; };
- 095981481980668E00807DBE /* AFNetworkingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AFNetworkingTests.m; path = "Test Suites/AFNetworkingTests.m"; sourceTree = "<group>"; };
- 095981491980668E00807DBE /* NilValuesTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NilValuesTests.m; path = "Test Suites/NilValuesTests.m"; sourceTree = "<group>"; };
- 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLConnectionDelegateTests.m; path = "Test Suites/NSURLConnectionDelegateTests.m"; sourceTree = "<group>"; };
- 0959814B1980668E00807DBE /* NSURLConnectionTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLConnectionTests.m; path = "Test Suites/NSURLConnectionTests.m"; sourceTree = "<group>"; };
- 0959814C1980668E00807DBE /* NSURLSessionTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLSessionTests.m; path = "Test Suites/NSURLSessionTests.m"; sourceTree = "<group>"; };
- 0959814D1980668E00807DBE /* TimingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TimingTests.m; path = "Test Suites/TimingTests.m"; sourceTree = "<group>"; };
- 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WithContentsOfURLTests.m; path = "Test Suites/WithContentsOfURLTests.m"; sourceTree = "<group>"; };
- 0959819819806A4200807DBE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 0959819919806A4200807DBE /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- 0959819A19806A4200807DBE /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- 095981C219806A7900807DBE /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 095981C619806A7900807DBE /* OHHTTPStubs Mac-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubs Mac-Info.plist"; sourceTree = "<group>"; };
- 095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OHHTTPStubs Mac Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHPathHelpers.h; sourceTree = "<group>"; };
- 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpers.m; sourceTree = "<group>"; };
- 09D0D2981B67FED3004E7213 /* Compatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Compatibility.h; sourceTree = "<group>"; };
- 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MocktailTests.m; path = "Test Suites/MocktailTests.m"; sourceTree = "<group>"; };
- 1D0F8E7F1B6E31A70049A7D2 /* login.tail */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = login.tail; path = ../login.tail; sourceTree = "<group>"; };
- 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */ = {isa = PBXFileReference; lastKnownFileType = folder; name = MocktailFolder; path = ../MocktailFolder; sourceTree = "<group>"; };
- 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubs+Mocktail.h"; sourceTree = "<group>"; };
- 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubs+Mocktail.m"; sourceTree = "<group>"; };
- 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHPathHelpersTests.m; sourceTree = "<group>"; };
- 221C34A61B0CCF9D00FCA8FF /* empty.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = empty.bundle; sourceTree = "<group>"; };
- 446DA13BA37A8466FF4F9D35 /* libPods-OHHTTPStubs iOS Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 47AF337A1A37757B00158C9F /* emptyfile.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = emptyfile.json; sourceTree = "<group>"; };
- 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; sourceTree = "<group>"; };
- B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; sourceTree = "<group>"; };
- BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; sourceTree = "<group>"; };
- DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; sourceTree = "<group>"; };
- E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs Mac Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig"; sourceTree = "<group>"; };
- F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 09110A3E19805F4800D175E4 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09110A4519805F4800D175E4 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 09110A4E19805F4800D175E4 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09110A5319805F4800D175E4 /* XCTest.framework in Frameworks */,
- 09110A5419805F4800D175E4 /* Foundation.framework in Frameworks */,
- 09110A5919805F4800D175E4 /* libOHHTTPStubs.a in Frameworks */,
- 7B812F8D5510F916B78E671A /* libPods-OHHTTPStubs iOS Lib Tests.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 093442EB1B80EC4A00A91535 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 093442EC1B80EC4A00A91535 /* XCTest.framework in Frameworks */,
- 093442EE1B80EC4A00A91535 /* Foundation.framework in Frameworks */,
- 093442FD1B80ED2600A91535 /* OHHTTPStubs.framework in Frameworks */,
- 3EB635BCF186B952750E2AEE /* libPods-OHHTTPStubs iOS Fmk Tests.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981BE19806A7900807DBE /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981CF19806A7900807DBE /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 095981D319806A7900807DBE /* XCTest.framework in Frameworks */,
- 095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */,
- 0DB397E35DDB6808A5496D53 /* libPods-OHHTTPStubs Mac Tests.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9971A9EB65100F84C8B /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 09110A3819805F4800D175E4 = {
- isa = PBXGroup;
- children = (
- 09110A4619805F4800D175E4 /* OHHTTPStubs */,
- 095981C519806A7900807DBE /* Supporting Files */,
- 09110A5A19805F4800D175E4 /* UnitTests */,
- 09110A4319805F4800D175E4 /* Frameworks */,
- 09110A4219805F4800D175E4 /* Products */,
- 69EB7ED77E3A41F78D65093A /* Pods */,
- );
- sourceTree = "<group>";
- };
- 09110A4219805F4800D175E4 /* Products */ = {
- isa = PBXGroup;
- children = (
- 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */,
- 09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */,
- 095981C219806A7900807DBE /* OHHTTPStubs.framework */,
- 095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */,
- 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */,
- 093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- 09110A4319805F4800D175E4 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 09110A4419805F4800D175E4 /* Foundation.framework */,
- 09110A5219805F4800D175E4 /* XCTest.framework */,
- 0959819719806A4200807DBE /* Other Frameworks */,
- F49690D948DE88BBB4A36B11 /* libPods-OHHTTPStubs Mac Tests.a */,
- 446DA13BA37A8466FF4F9D35 /* libPods-OHHTTPStubs iOS Tests.a */,
- FC7C82D3D508702D3B282621 /* libPods-OHHTTPStubs iOS Fmk Tests.a */,
- BFA846B11753DE97A1D563D0 /* libPods-OHHTTPStubs iOS Lib Tests.a */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 09110A4619805F4800D175E4 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 09D0D2981B67FED3004E7213 /* Compatibility.h */,
- 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */,
- 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */,
- 1D6DB84D1B763B7A00FCF855 /* Mocktail */,
- 09110A6D1980605D00D175E4 /* OHHTTPStubsResponse */,
- 09110A771980607200D175E4 /* NSURLSession Support */,
- 093443011B80F88700A91535 /* OHPathHelpers */,
- 095569991B90E4EA00503ADC /* Swift */,
- );
- name = OHHTTPStubs;
- path = Sources;
- sourceTree = "<group>";
- };
- 09110A5A19805F4800D175E4 /* UnitTests */ = {
- isa = PBXGroup;
- children = (
- 47AF33791A37755E00158C9F /* Fixtures */,
- 095981461980663000807DBE /* Test Suites */,
- 09110A5B19805F4800D175E4 /* Supporting Files */,
- );
- path = UnitTests;
- sourceTree = "<group>";
- };
- 09110A5B19805F4800D175E4 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 095981471980665400807DBE /* UnitTests-Prefix.pch */,
- 095981451980657C00807DBE /* UnitTests-Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- 09110A6D1980605D00D175E4 /* OHHTTPStubsResponse */ = {
- isa = PBXGroup;
- children = (
- 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */,
- 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */,
- 093442FF1B80F85700A91535 /* JSON */,
- 093442FE1B80F84800A91535 /* HTTPMessage */,
- );
- name = OHHTTPStubsResponse;
- sourceTree = "<group>";
- };
- 09110A771980607200D175E4 /* NSURLSession Support */ = {
- isa = PBXGroup;
- children = (
- 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */,
- );
- name = "NSURLSession Support";
- path = NSURLSession;
- sourceTree = "<group>";
- };
- 093442FE1B80F84800A91535 /* HTTPMessage */ = {
- isa = PBXGroup;
- children = (
- 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */,
- 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */,
- );
- path = HTTPMessage;
- sourceTree = "<group>";
- };
- 093442FF1B80F85700A91535 /* JSON */ = {
- isa = PBXGroup;
- children = (
- 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */,
- 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */,
- );
- path = JSON;
- sourceTree = "<group>";
- };
- 093443011B80F88700A91535 /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */,
- 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */,
- );
- path = OHPathHelpers;
- sourceTree = "<group>";
- };
- 095569991B90E4EA00503ADC /* Swift */ = {
- isa = PBXGroup;
- children = (
- 0955699A1B90E4EA00503ADC /* OHHTTPStubsSwift.swift */,
- );
- path = Swift;
- sourceTree = "<group>";
- };
- 095981461980663000807DBE /* Test Suites */ = {
- isa = PBXGroup;
- children = (
- 095981481980668E00807DBE /* AFNetworkingTests.m */,
- 1D0F8E7D1B6E31850049A7D2 /* MocktailTests.m */,
- 095981491980668E00807DBE /* NilValuesTests.m */,
- 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */,
- 0959814B1980668E00807DBE /* NSURLConnectionTests.m */,
- 0959814C1980668E00807DBE /* NSURLSessionTests.m */,
- 221C34A41B0CCF0600FCA8FF /* OHPathHelpersTests.m */,
- 0959814D1980668E00807DBE /* TimingTests.m */,
- 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */,
- 095925D51BAEC00200DD7F0B /* SwiftHelpersTests.swift */,
- );
- name = "Test Suites";
- sourceTree = "<group>";
- };
- 0959819719806A4200807DBE /* Other Frameworks */ = {
- isa = PBXGroup;
- children = (
- 0959819819806A4200807DBE /* Foundation.framework */,
- 0959819919806A4200807DBE /* CoreData.framework */,
- 0959819A19806A4200807DBE /* AppKit.framework */,
- );
- name = "Other Frameworks";
- sourceTree = "<group>";
- };
- 095981C519806A7900807DBE /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 093442DC1B80EC3B00A91535 /* OHHTTPStubs iOS-Info.plist */,
- 095981C619806A7900807DBE /* OHHTTPStubs Mac-Info.plist */,
- );
- path = "Supporting Files";
- sourceTree = "<group>";
- };
- 1D6DB84D1B763B7A00FCF855 /* Mocktail */ = {
- isa = PBXGroup;
- children = (
- 1D6DB84E1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.h */,
- 1D6DB84F1B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m */,
- );
- path = Mocktail;
- sourceTree = "<group>";
- };
- 47AF33791A37755E00158C9F /* Fixtures */ = {
- isa = PBXGroup;
- children = (
- 221C34A61B0CCF9D00FCA8FF /* empty.bundle */,
- 47AF337A1A37757B00158C9F /* emptyfile.json */,
- 1D0F8E7F1B6E31A70049A7D2 /* login.tail */,
- 1D0F8E811B6E31B00049A7D2 /* MocktailFolder */,
- );
- path = Fixtures;
- sourceTree = "<group>";
- };
- 69EB7ED77E3A41F78D65093A /* Pods */ = {
- isa = PBXGroup;
- children = (
- B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */,
- E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */,
- 78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */,
- DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */,
- C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */,
- 95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 095981BF19806A7900807DBE /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09D0D29A1B67FED3004E7213 /* Compatibility.h in Headers */,
- 095981FB19806AB700807DBE /* OHHTTPStubs.h in Headers */,
- 0959820019806B1700807DBE /* OHHTTPStubsResponse.h in Headers */,
- 0959820219806B2200807DBE /* OHHTTPStubsResponse+JSON.h in Headers */,
- 0959820119806B1E00807DBE /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
- 094906DF1B7F60EE00B047DA /* OHHTTPStubs+Mocktail.h in Headers */,
- 095B1AD71AE3138C009D1B56 /* OHPathHelpers.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9981A9EB65100F84C8B /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09D0D2991B67FED3004E7213 /* Compatibility.h in Headers */,
- 725CD9B91A9EB71000F84C8B /* OHHTTPStubs.h in Headers */,
- 725CD9BA1A9EB71500F84C8B /* OHHTTPStubsResponse.h in Headers */,
- 725CD9BB1A9EB71A00F84C8B /* OHHTTPStubsResponse+JSON.h in Headers */,
- 725CD9BC1A9EB71D00F84C8B /* OHHTTPStubsResponse+HTTPMessage.h in Headers */,
- 094906DE1B7F60E200B047DA /* OHHTTPStubs+Mocktail.h in Headers */,
- 095B1AD61AE3138C009D1B56 /* OHPathHelpers.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 09110A6419805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS StaticLib" */;
- buildPhases = (
- 09110A3D19805F4800D175E4 /* Sources */,
- 09110A3E19805F4800D175E4 /* Frameworks */,
- 09110A3F19805F4800D175E4 /* CopyFiles */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs iOS StaticLib";
- productName = OHHTTPStubs;
- productReference = 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */;
- productType = "com.apple.product-type.library.static";
- };
- 09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */;
- buildPhases = (
- 7F432602D77FABAF29E05AA8 /* Check Pods Manifest.lock */,
- 09110A4D19805F4800D175E4 /* Sources */,
- 09110A4E19805F4800D175E4 /* Frameworks */,
- 09110A4F19805F4800D175E4 /* Resources */,
- 2E71B8D8A7ECD8287E0E81D5 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 09110A5819805F4800D175E4 /* PBXTargetDependency */,
- );
- name = "OHHTTPStubs iOS Lib Tests";
- productName = OHHTTPStubsTests;
- productReference = 09110A5119805F4800D175E4 /* OHHTTPStubs iOS Lib Tests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 093442DD1B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 093442F61B80EC4A00A91535 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Fmk Tests" */;
- buildPhases = (
- 093442E01B80EC4A00A91535 /* Check Pods Manifest.lock */,
- 093442E11B80EC4A00A91535 /* Sources */,
- 093442EB1B80EC4A00A91535 /* Frameworks */,
- 093442F01B80EC4A00A91535 /* Resources */,
- 093442F51B80EC4A00A91535 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 093442FC1B80ED1C00A91535 /* PBXTargetDependency */,
- );
- name = "OHHTTPStubs iOS Fmk Tests";
- productName = OHHTTPStubsTests;
- productReference = 093442F91B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 095981E019806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Framework" */;
- buildPhases = (
- 095981BD19806A7900807DBE /* Sources */,
- 095981BE19806A7900807DBE /* Frameworks */,
- 095981BF19806A7900807DBE /* Headers */,
- 095981C019806A7900807DBE /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs Mac Framework";
- productName = "OHHTTPStubs Mac";
- productReference = 095981C219806A7900807DBE /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
- 095981D119806A7900807DBE /* OHHTTPStubs Mac Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 095981E319806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Tests" */;
- buildPhases = (
- 752F2AD343353136781BDAB2 /* Check Pods Manifest.lock */,
- 095981CE19806A7900807DBE /* Sources */,
- 095981CF19806A7900807DBE /* Frameworks */,
- 095981D019806A7900807DBE /* Resources */,
- BF1C89AB0FF2DD0E338DD44E /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 095981D619806A7900807DBE /* PBXTargetDependency */,
- );
- name = "OHHTTPStubs Mac Tests";
- productName = "OHHTTPStubs Mac Tests";
- productReference = 095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 725CD9B21A9EB65200F84C8B /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Framework" */;
- buildPhases = (
- 725CD9961A9EB65100F84C8B /* Sources */,
- 725CD9971A9EB65100F84C8B /* Frameworks */,
- 725CD9981A9EB65100F84C8B /* Headers */,
- 725CD9991A9EB65100F84C8B /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs iOS Framework";
- productName = "OHHTTPStubs iOS Framework";
- productReference = 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 09110A3919805F4800D175E4 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- TargetAttributes = {
- 09110A5019805F4800D175E4 = {
- TestTargetID = 09110A4019805F4800D175E4;
- };
- 095981D119806A7900807DBE = {
- TestTargetID = 095981C119806A7900807DBE;
- };
- 725CD99A1A9EB65100F84C8B = {
- CreatedOnToolsVersion = 6.1.1;
- };
- };
- };
- buildConfigurationList = 09110A3C19805F4800D175E4 /* Build configuration list for PBXProject "OHHTTPStubs" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 09110A3819805F4800D175E4;
- productRefGroup = 09110A4219805F4800D175E4 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */,
- 09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */,
- 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */,
- 093442DD1B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests */,
- 095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */,
- 095981D119806A7900807DBE /* OHHTTPStubs Mac Tests */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 09110A4F19805F4800D175E4 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 47AF337B1A3775B600158C9F /* emptyfile.json in Resources */,
- 221C34A71B0CCF9D00FCA8FF /* empty.bundle in Resources */,
- 1D0F8E821B6E31B00049A7D2 /* MocktailFolder in Resources */,
- 1D0F8E801B6E31A70049A7D2 /* login.tail in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 093442F01B80EC4A00A91535 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 093442F11B80EC4A00A91535 /* emptyfile.json in Resources */,
- 093442F21B80EC4A00A91535 /* empty.bundle in Resources */,
- 093442F31B80EC4A00A91535 /* MocktailFolder in Resources */,
- 093442F41B80EC4A00A91535 /* login.tail in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981C019806A7900807DBE /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981D019806A7900807DBE /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 094906D91B7F523500B047DA /* MocktailFolder in Resources */,
- 47AF337C1A3775B600158C9F /* emptyfile.json in Resources */,
- 221C34A81B0CCF9D00FCA8FF /* empty.bundle in Resources */,
- 094906DA1B7F523900B047DA /* login.tail in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9991A9EB65100F84C8B /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 093442E01B80EC4A00A91535 /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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";
- showEnvVarsInLog = 0;
- };
- 093442F51B80EC4A00A91535 /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 2E71B8D8A7ECD8287E0E81D5 /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 752F2AD343353136781BDAB2 /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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";
- showEnvVarsInLog = 0;
- };
- 7F432602D77FABAF29E05AA8 /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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";
- showEnvVarsInLog = 0;
- };
- BF1C89AB0FF2DD0E338DD44E /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 09110A3D19805F4800D175E4 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09110A6C1980605A00D175E4 /* OHHTTPStubs.m in Sources */,
- 09110A791980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
- 1D6DB8501B763B7A00FCF855 /* OHHTTPStubs+Mocktail.m in Sources */,
- 09110A741980606A00D175E4 /* OHHTTPStubsResponse.m in Sources */,
- 09110A761980606A00D175E4 /* OHHTTPStubsResponse+JSON.m in Sources */,
- 09110A751980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
- 095B1AD51AE30BA7009D1B56 /* OHPathHelpers.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 09110A4D19805F4800D175E4 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 0959818D1980682E00807DBE /* TimingTests.m in Sources */,
- 221C34A51B0CCF0600FCA8FF /* OHPathHelpersTests.m in Sources */,
- 0959818A1980682E00807DBE /* NSURLConnectionDelegateTests.m in Sources */,
- 0959818E1980682E00807DBE /* WithContentsOfURLTests.m in Sources */,
- 095981881980682800807DBE /* AFNetworkingTests.m in Sources */,
- 1D0F8E7E1B6E31850049A7D2 /* MocktailTests.m in Sources */,
- 0959818C1980682E00807DBE /* NSURLSessionTests.m in Sources */,
- 0959818B1980682E00807DBE /* NSURLConnectionTests.m in Sources */,
- 095981891980682E00807DBE /* NilValuesTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 093442E11B80EC4A00A91535 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 093442E21B80EC4A00A91535 /* TimingTests.m in Sources */,
- 093442E31B80EC4A00A91535 /* OHPathHelpersTests.m in Sources */,
- 093442E41B80EC4A00A91535 /* NSURLConnectionDelegateTests.m in Sources */,
- 095925D61BAEC00200DD7F0B /* SwiftHelpersTests.swift in Sources */,
- 093442E51B80EC4A00A91535 /* WithContentsOfURLTests.m in Sources */,
- 093442E61B80EC4A00A91535 /* AFNetworkingTests.m in Sources */,
- 093442E71B80EC4A00A91535 /* MocktailTests.m in Sources */,
- 093442E81B80EC4A00A91535 /* NSURLSessionTests.m in Sources */,
- 093442E91B80EC4A00A91535 /* NSURLConnectionTests.m in Sources */,
- 093442EA1B80EC4A00A91535 /* NilValuesTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981BD19806A7900807DBE /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 095981F619806AAC00807DBE /* OHHTTPStubs.m in Sources */,
- 095981FA19806AAC00807DBE /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
- 094906D81B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */,
- 095981F719806AAC00807DBE /* OHHTTPStubsResponse.m in Sources */,
- 095981F919806AAC00807DBE /* OHHTTPStubsResponse+JSON.m in Sources */,
- 095981F819806AAC00807DBE /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
- 095B1AD91AE31396009D1B56 /* OHPathHelpers.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981CE19806A7900807DBE /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 095981F119806AA200807DBE /* NSURLConnectionTests.m in Sources */,
- 094906D61B7F4D7100B047DA /* MocktailTests.m in Sources */,
- 095981F319806AA200807DBE /* TimingTests.m in Sources */,
- 221C34A91B0CCFF200FCA8FF /* OHPathHelpersTests.m in Sources */,
- 095981F419806AA200807DBE /* WithContentsOfURLTests.m in Sources */,
- 095981EF19806AA200807DBE /* NilValuesTests.m in Sources */,
- 094906DB1B7F527A00B047DA /* AFNetworkingTests.m in Sources */,
- 095981F219806AA200807DBE /* NSURLSessionTests.m in Sources */,
- 095981F019806AA200807DBE /* NSURLConnectionDelegateTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9961A9EB65100F84C8B /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 725CD9B41A9EB6F600F84C8B /* OHHTTPStubs.m in Sources */,
- 725CD9B81A9EB70000F84C8B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */,
- 094906D71B7F520200B047DA /* OHHTTPStubs+Mocktail.m in Sources */,
- 725CD9B51A9EB6F800F84C8B /* OHHTTPStubsResponse.m in Sources */,
- 725CD9B71A9EB6FD00F84C8B /* OHHTTPStubsResponse+JSON.m in Sources */,
- 725CD9B61A9EB6FA00F84C8B /* OHHTTPStubsResponse+HTTPMessage.m in Sources */,
- 095925D41BAEBEAA00DD7F0B /* OHHTTPStubsSwift.swift in Sources */,
- 095B1AD81AE31395009D1B56 /* OHPathHelpers.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 09110A5819805F4800D175E4 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */;
- targetProxy = 09110A5719805F4800D175E4 /* PBXContainerItemProxy */;
- };
- 093442FC1B80ED1C00A91535 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */;
- targetProxy = 093442FB1B80ED1C00A91535 /* PBXContainerItemProxy */;
- };
- 095981D619806A7900807DBE /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */;
- targetProxy = 095981D519806A7900807DBE /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 09110A6219805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "XCODE_VERSION=$(XCODE_VERSION_MAJOR)",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 09110A6319805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "XCODE_VERSION=$(XCODE_VERSION_MAJOR)",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 09110A6519805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- DSTROOT = /tmp/OHHTTPStubs.dst;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 09110A6619805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- DSTROOT = /tmp/OHHTTPStubs.dst;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 09110A6819805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */;
- buildSettings = {
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- 09110A6919805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */;
- buildSettings = {
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Release;
- };
- 093442F71B80EC4A00A91535 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 78215AC3F712A93089D77E60 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */;
- buildSettings = {
- CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
- CLANG_ENABLE_MODULES = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- 093442F81B80EC4A00A91535 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = DB9708EFC7D95D8EAE91EA78 /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */;
- buildSettings = {
- CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
- CLANG_ENABLE_MODULES = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Release;
- };
- 095981E119806A7900807DBE /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- FRAMEWORK_VERSION = A;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs Mac-Info.plist";
- INSTALL_PATH = "@rpath";
- MACOSX_DEPLOYMENT_TARGET = 10.7;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = OHHTTPStubs;
- SDKROOT = macosx;
- WRAPPER_EXTENSION = framework;
- };
- name = Debug;
- };
- 095981E219806A7900807DBE /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- FRAMEWORK_VERSION = A;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs Mac-Info.plist";
- INSTALL_PATH = "@rpath";
- MACOSX_DEPLOYMENT_TARGET = 10.7;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = OHHTTPStubs;
- SDKROOT = macosx;
- WRAPPER_EXTENSION = framework;
- };
- name = Release;
- };
- 095981E419806A7900807DBE /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */;
- buildSettings = {
- CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
- COMBINE_HIDPI_IMAGES = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- "$(inherited)",
- );
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- 095981E519806A7900807DBE /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */;
- buildSettings = {
- CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
- COMBINE_HIDPI_IMAGES = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- FRAMEWORK_SEARCH_PATHS = (
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- "$(inherited)",
- );
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- WRAPPER_EXTENSION = xctest;
- };
- name = Release;
- };
- 725CD9AE1A9EB65200F84C8B /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_WARN_UNREACHABLE_CODE = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs iOS-Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = YES;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 725CD9AF1A9EB65200F84C8B /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_WARN_UNREACHABLE_CODE = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs iOS-Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = NO;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 09110A3C19805F4800D175E4 /* Build configuration list for PBXProject "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6219805F4800D175E4 /* Debug */,
- 09110A6319805F4800D175E4 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 09110A6419805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS StaticLib" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6519805F4800D175E4 /* Debug */,
- 09110A6619805F4800D175E4 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6819805F4800D175E4 /* Debug */,
- 09110A6919805F4800D175E4 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 093442F61B80EC4A00A91535 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Fmk Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 093442F71B80EC4A00A91535 /* Debug */,
- 093442F81B80EC4A00A91535 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 095981E019806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Framework" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 095981E119806A7900807DBE /* Debug */,
- 095981E219806A7900807DBE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 095981E319806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 095981E419806A7900807DBE /* Debug */,
- 095981E519806A7900807DBE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 725CD9B21A9EB65200F84C8B /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Framework" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 725CD9AE1A9EB65200F84C8B /* Debug */,
- 725CD9AF1A9EB65200F84C8B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 09110A3919805F4800D175E4 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 25fccc6ba4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:OHHTTPStubs.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme
deleted file mode 100644
index f5a14781a1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981C119806A7900807DBE"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs Mac Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981D119806A7900807DBE"
- BuildableName = "OHHTTPStubs Mac Tests.xctest"
- BlueprintName = "OHHTTPStubs Mac Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981D119806A7900807DBE"
- BuildableName = "OHHTTPStubs Mac Tests.xctest"
- BlueprintName = "OHHTTPStubs Mac Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </Testables>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981C119806A7900807DBE"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs Mac Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme
deleted file mode 100644
index d82274e7af..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "093442DD1B80EC4A00A91535"
- BuildableName = "OHHTTPStubs iOS Fmk Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Fmk Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "093442DD1B80EC4A00A91535"
- BuildableName = "OHHTTPStubs iOS Fmk Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Fmk Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme
deleted file mode 100644
index 998a5b942f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0700"
- version = "1.3">
- <BuildAction
- parallelizeBuildables = "YES"
- buildImplicitDependencies = "YES">
- <BuildActionEntries>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "YES"
- buildForProfiling = "YES"
- buildForArchiving = "YES"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Lib Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Lib Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Lib Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Lib Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </TestAction>
- <LaunchAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 06ceb62b61..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubs.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index 08de0be8d3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
- <false/>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile
deleted file mode 100644
index c20f4c541f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile
+++ /dev/null
@@ -1,19 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubs.xcodeproj'
-inhibit_all_warnings!
-
-target 'OHHTTPStubs iOS Lib Tests' do
- platform :ios, '6.0'
- pod 'AFNetworking', '2.5.0'
-end
-
-target 'OHHTTPStubs iOS Fmk Tests' do
- platform :ios, '8.0'
- pod 'AFNetworking', '2.5.0'
-end
-
-target 'OHHTTPStubs Mac Tests' do
- platform :osx, '10.8'
- pod 'AFNetworking', '2.5.0'
-end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock
deleted file mode 100644
index 5896b3b3b0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock
+++ /dev/null
@@ -1,30 +0,0 @@
-PODS:
- - AFNetworking (2.5.0):
- - AFNetworking/NSURLConnection (= 2.5.0)
- - AFNetworking/NSURLSession (= 2.5.0)
- - AFNetworking/Reachability (= 2.5.0)
- - AFNetworking/Security (= 2.5.0)
- - AFNetworking/Serialization (= 2.5.0)
- - AFNetworking/UIKit (= 2.5.0)
- - AFNetworking/NSURLConnection (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/NSURLSession (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/Reachability (2.5.0)
- - AFNetworking/Security (2.5.0)
- - AFNetworking/Serialization (2.5.0)
- - AFNetworking/UIKit (2.5.0):
- - AFNetworking/NSURLConnection
- - AFNetworking/NSURLSession
-
-DEPENDENCIES:
- - AFNetworking (= 2.5.0)
-
-SPEC CHECKSUMS:
- AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 100644
index dfa82f6691..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// AFHTTPRequestOperation.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import "AFURLConnectionOperation.h"
-
-/**
- `AFHTTPRequestOperation` is a subclass of `AFURLConnectionOperation` for requests using the HTTP or HTTPS protocols. It encapsulates the concept of acceptable status codes and content types, which determine the success or failure of a request.
- */
-@interface AFHTTPRequestOperation : AFURLConnectionOperation
-
-///------------------------------------------------
-/// @name Getting HTTP URL Connection Information
-///------------------------------------------------
-
-/**
- The last HTTP response received by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSHTTPURLResponse *response;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an AFHTTPResponse serializer, which uses the raw data as its response object. The serializer validates the status code to be in the `2XX` range, denoting success. If the response serializer generates an error in `-responseObjectForResponse:data:error:`, the `failure` callback of the session task or request operation will be executed; otherwise, the `success` callback will be executed.
-
- @warning `responseSerializer` must not be `nil`. Setting a response serializer will clear out any cached value
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- An object constructed by the `responseSerializer` from the response and response data. Returns `nil` unless the operation `isFinished`, has a `response`, and has `responseData` with non-zero content length. If an error occurs during serialization, `nil` will be returned, and the `error` property will be populated with the serialization error.
- */
-@property (readonly, nonatomic, strong) id responseObject;
-
-///-----------------------------------------------------------
-/// @name Setting Completion Block Success / Failure Callbacks
-///-----------------------------------------------------------
-
-/**
- Sets the `completionBlock` property with a block that executes either the specified success or failure block, depending on the state of the request on completion. If `error` returns a value, which can be caused by an unacceptable status code or content type, then `failure` is executed. Otherwise, `success` is executed.
-
- This method should be overridden in subclasses in order to specify the response object passed into the success block.
-
- @param success The block to be executed on the completion of a successful request. This block has no return value and takes two arguments: the receiver operation and the object constructed from the response data of the request.
- @param failure The block to be executed on the completion of an unsuccessful request. This block has no return value and takes two arguments: the receiver operation and the error that occurred during the request.
- */
-- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
deleted file mode 100644
index 1de5812ca1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
+++ /dev/null
@@ -1,206 +0,0 @@
-// AFHTTPRequestOperation.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFHTTPRequestOperation.h"
-
-static dispatch_queue_t http_request_operation_processing_queue() {
- static dispatch_queue_t af_http_request_operation_processing_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_http_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.http-request.processing", DISPATCH_QUEUE_CONCURRENT);
- });
-
- return af_http_request_operation_processing_queue;
-}
-
-static dispatch_group_t http_request_operation_completion_group() {
- static dispatch_group_t af_http_request_operation_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_http_request_operation_completion_group = dispatch_group_create();
- });
-
- return af_http_request_operation_completion_group;
-}
-
-#pragma mark -
-
-@interface AFURLConnectionOperation ()
-@property (readwrite, nonatomic, strong) NSURLRequest *request;
-@property (readwrite, nonatomic, strong) NSURLResponse *response;
-@end
-
-@interface AFHTTPRequestOperation ()
-@property (readwrite, nonatomic, strong) NSHTTPURLResponse *response;
-@property (readwrite, nonatomic, strong) id responseObject;
-@property (readwrite, nonatomic, strong) NSError *responseSerializationError;
-@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
-@end
-
-@implementation AFHTTPRequestOperation
-@dynamic lock;
-
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest {
- self = [super initWithRequest:urlRequest];
- if (!self) {
- return nil;
- }
-
- self.responseSerializer = [AFHTTPResponseSerializer serializer];
-
- return self;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- [self.lock lock];
- _responseSerializer = responseSerializer;
- self.responseObject = nil;
- self.responseSerializationError = nil;
- [self.lock unlock];
-}
-
-- (id)responseObject {
- [self.lock lock];
- if (!_responseObject && [self isFinished] && !self.error) {
- NSError *error = nil;
- self.responseObject = [self.responseSerializer responseObjectForResponse:self.response data:self.responseData error:&error];
- if (error) {
- self.responseSerializationError = error;
- }
- }
- [self.lock unlock];
-
- return _responseObject;
-}
-
-- (NSError *)error {
- if (_responseSerializationError) {
- return _responseSerializationError;
- } else {
- return [super error];
- }
-}
-
-#pragma mark - AFHTTPRequestOperation
-
-- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- // completionBlock is manually nilled out in AFURLConnectionOperation to break the retain cycle.
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Warc-retain-cycles"
-#pragma clang diagnostic ignored "-Wgnu"
- self.completionBlock = ^{
- if (self.completionGroup) {
- dispatch_group_enter(self.completionGroup);
- }
-
- dispatch_async(http_request_operation_processing_queue(), ^{
- if (self.error) {
- if (failure) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(self, self.error);
- });
- }
- } else {
- id responseObject = self.responseObject;
- if (self.error) {
- if (failure) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(self, self.error);
- });
- }
- } else {
- if (success) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- success(self, responseObject);
- });
- }
- }
- }
-
- if (self.completionGroup) {
- dispatch_group_leave(self.completionGroup);
- }
- });
- };
-#pragma clang diagnostic pop
-}
-
-#pragma mark - AFURLRequestOperation
-
-- (void)pause {
- [super pause];
-
- u_int64_t offset = 0;
- if ([self.outputStream propertyForKey:NSStreamFileCurrentOffsetKey]) {
- offset = [(NSNumber *)[self.outputStream propertyForKey:NSStreamFileCurrentOffsetKey] unsignedLongLongValue];
- } else {
- offset = [(NSData *)[self.outputStream propertyForKey:NSStreamDataWrittenToMemoryStreamKey] length];
- }
-
- NSMutableURLRequest *mutableURLRequest = [self.request mutableCopy];
- if ([self.response respondsToSelector:@selector(allHeaderFields)] && [[self.response allHeaderFields] valueForKey:@"ETag"]) {
- [mutableURLRequest setValue:[[self.response allHeaderFields] valueForKey:@"ETag"] forHTTPHeaderField:@"If-Range"];
- }
- [mutableURLRequest setValue:[NSString stringWithFormat:@"bytes=%llu-", offset] forHTTPHeaderField:@"Range"];
- self.request = mutableURLRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestOperation *operation = [super copyWithZone:zone];
-
- operation.responseSerializer = [self.responseSerializer copyWithZone:zone];
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 100644
index 9f390294e2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1,308 +0,0 @@
-// AFHTTPRequestOperationManager.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-#import <Availability.h>
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-#import "AFHTTPRequestOperation.h"
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-#import "AFSecurityPolicy.h"
-#import "AFNetworkReachabilityManager.h"
-
-/**
- `AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with a web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as request operation management.
-
- ## Subclassing Notes
-
- Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
-
- For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
-
- ## Methods to Override
-
- To change the behavior of all request operation construction for an `AFHTTPRequestOperationManager` subclass, override `HTTPRequestOperationWithRequest:success:failure`.
-
- ## Serialization
-
- Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
-
- Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
-
- ## URL Construction Using Relative Paths
-
- For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
-
- Below are a few examples of how `baseURL` and relative paths interact:
-
- NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
- [NSURL URLWithString:@"foo" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL]; // http://example.com/v1/foo?bar=baz
- [NSURL URLWithString:@"/foo" relativeToURL:baseURL]; // http://example.com/foo
- [NSURL URLWithString:@"foo/" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"/foo/" relativeToURL:baseURL]; // http://example.com/foo/
- [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
-
- Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
-
- ## Network Reachability Monitoring
-
- Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.
-
- ## NSSecureCoding & NSCopying Caveats
-
- `AFHTTPRequestOperationManager` conforms to the `NSSecureCoding` and `NSCopying` protocols, allowing operations to be archived to disk, and copied in memory, respectively. There are a few minor caveats to keep in mind, however:
-
- - Archives and copies of HTTP clients will be initialized with an empty operation queue.
- - NSSecureCoding cannot serialize / deserialize block properties, so an archive of an HTTP client will not include any reachability callback block that may be set.
- */
-@interface AFHTTPRequestOperationManager : NSObject <NSSecureCoding, NSCopying>
-
-/**
- The URL used to monitor reachability, and construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
- */
-@property (readonly, nonatomic, strong) NSURL *baseURL;
-
-/**
- Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
-
- @warning `requestSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to a JSON serializer, which serializes data from responses with a `application/json` MIME type, and falls back to the raw data object. The serializer validates the status code to be in the `2XX` range, denoting success. If the response serializer generates an error in `-responseObjectForResponse:data:error:`, the `failure` callback of the session task or request operation will be executed; otherwise, the `success` callback will be executed.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- The operation queue on which request operations are scheduled and run.
- */
-@property (nonatomic, strong) NSOperationQueue *operationQueue;
-
-///-------------------------------
-/// @name Managing URL Credentials
-///-------------------------------
-
-/**
- Whether request operations should consult the credential storage for authenticating the connection. `YES` by default.
-
- @see AFURLConnectionOperation -shouldUseCredentialStorage
- */
-@property (nonatomic, assign) BOOL shouldUseCredentialStorage;
-
-/**
- The credential used by request operations for authentication challenges.
-
- @see AFURLConnectionOperation -credential
- */
-@property (nonatomic, strong) NSURLCredential *credential;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created request operations to evaluate server trust for secure connections. `AFHTTPRequestOperationManager` uses the `defaultPolicy` unless otherwise specified.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///------------------------------------
-/// @name Managing Network Reachability
-///------------------------------------
-
-/**
- The network reachability manager. `AFHTTPRequestOperationManager` uses the `sharedManager` by default.
- */
-@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;
-
-///-------------------------------
-/// @name Managing Callback Queues
-///-------------------------------
-
-/**
- The dispatch queue for the `completionBlock` of request operations. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for the `completionBlock` of request operations. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------------------
-/// @name Creating and Initializing HTTP Clients
-///---------------------------------------------
-
-/**
- Creates and returns an `AFHTTPRequestOperationManager` object.
- */
-+ (instancetype)manager;
-
-/**
- Initializes an `AFHTTPRequestOperationManager` object with the specified base URL.
-
- This is the designated initializer.
-
- @param url The base URL for the HTTP client.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url;
-
-///---------------------------------------
-/// @name Managing HTTP Request Operations
-///---------------------------------------
-
-/**
- Creates an `AFHTTPRequestOperation`, and sets the response serializers to that of the HTTP client.
-
- @param request The request object to be loaded asynchronously during execution of the operation.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the created request operation and the object created from the response data of request.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes two arguments:, the created request operation and the `NSError` object describing the network or parsing error that occurred.
- */
-- (AFHTTPRequestOperation *)HTTPRequestOperationWithRequest:(NSURLRequest *)request
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-///---------------------------
-/// @name Making HTTP Requests
-///---------------------------
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `GET` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `HEAD` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single arguments: the request operation.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a multipart `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `PUT` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `PATCH` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `DELETE` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-@end
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m
deleted file mode 100644
index 4ae7275480..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m
+++ /dev/null
@@ -1,253 +0,0 @@
-// AFHTTPRequestOperationManager.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import "AFHTTPRequestOperationManager.h"
-#import "AFHTTPRequestOperation.h"
-
-#import <Availability.h>
-#import <Security/Security.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-@interface AFHTTPRequestOperationManager ()
-@property (readwrite, nonatomic, strong) NSURL *baseURL;
-@end
-
-@implementation AFHTTPRequestOperationManager
-
-+ (instancetype)manager {
- return [[self alloc] initWithBaseURL:nil];
-}
-
-- (instancetype)init {
- return [self initWithBaseURL:nil];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
- if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
- url = [url URLByAppendingPathComponent:@""];
- }
-
- self.baseURL = url;
-
- self.requestSerializer = [AFHTTPRequestSerializer serializer];
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- self.reachabilityManager = [AFNetworkReachabilityManager sharedManager];
-
- self.operationQueue = [[NSOperationQueue alloc] init];
-
- self.shouldUseCredentialStorage = YES;
-
- return self;
-}
-
-#pragma mark -
-
-#ifdef _SYSTEMCONFIGURATION_H
-#endif
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- NSParameterAssert(requestSerializer);
-
- _requestSerializer = requestSerializer;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- _responseSerializer = responseSerializer;
-}
-
-#pragma mark -
-
-- (AFHTTPRequestOperation *)HTTPRequestOperationWithRequest:(NSURLRequest *)request
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
- operation.responseSerializer = self.responseSerializer;
- operation.shouldUseCredentialStorage = self.shouldUseCredentialStorage;
- operation.credential = self.credential;
- operation.securityPolicy = self.securityPolicy;
-
- [operation setCompletionBlockWithSuccess:success failure:failure];
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-#pragma mark -
-
-- (AFHTTPRequestOperation *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"GET" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"HEAD" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:^(AFHTTPRequestOperation *requestOperation, __unused id responseObject) {
- if (success) {
- success(requestOperation);
- }
- } failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"PUT" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"PATCH" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"DELETE" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, baseURL: %@, operationQueue: %@>", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.operationQueue];
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURL *baseURL = [decoder decodeObjectForKey:NSStringFromSelector(@selector(baseURL))];
-
- self = [self initWithBaseURL:baseURL];
- if (!self) {
- return nil;
- }
-
- self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
- [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestOperationManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL];
-
- HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
- HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
-
- return HTTPClient;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h
deleted file mode 100644
index 8fed5a6891..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1,240 +0,0 @@
-// AFHTTPSessionManager.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-#import <Availability.h>
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-#import "AFURLSessionManager.h"
-
-/**
- `AFHTTPSessionManager` is a subclass of `AFURLSessionManager` with convenience methods for making HTTP requests. When a `baseURL` is provided, requests made with the `GET` / `POST` / et al. convenience methods can be made with relative paths.
-
- ## Subclassing Notes
-
- Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
-
- For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
-
- ## Methods to Override
-
- To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:completionHandler:`.
-
- ## Serialization
-
- Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
-
- Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
-
- ## URL Construction Using Relative Paths
-
- For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
-
- Below are a few examples of how `baseURL` and relative paths interact:
-
- NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
- [NSURL URLWithString:@"foo" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL]; // http://example.com/v1/foo?bar=baz
- [NSURL URLWithString:@"/foo" relativeToURL:baseURL]; // http://example.com/foo
- [NSURL URLWithString:@"foo/" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"/foo/" relativeToURL:baseURL]; // http://example.com/foo/
- [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
-
- Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-@interface AFHTTPSessionManager : AFURLSessionManager <NSSecureCoding, NSCopying>
-
-/**
- The URL used to monitor reachability, and construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
- */
-@property (readonly, nonatomic, strong) NSURL *baseURL;
-
-/**
- Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
-
- @warning `requestSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns an `AFHTTPSessionManager` object.
- */
-+ (instancetype)manager;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- @param url The base URL for the HTTP client.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- This is the designated initializer.
-
- @param url The base URL for the HTTP client.
- @param configuration The configuration used to create the managed session.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url
- sessionConfiguration:(NSURLSessionConfiguration *)configuration;
-
-///---------------------------
-/// @name Making HTTP Requests
-///---------------------------
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `GET` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `HEAD` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the data task.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PUT` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PATCH` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `DELETE` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m
deleted file mode 100644
index 6413297d72..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m
+++ /dev/null
@@ -1,321 +0,0 @@
-// AFHTTPSessionManager.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFHTTPSessionManager.h"
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
-
-#import <Availability.h>
-#import <Security/Security.h>
-
-#ifdef _SYSTEMCONFIGURATION_H
-#import <netinet/in.h>
-#import <netinet6/in6.h>
-#import <arpa/inet.h>
-#import <ifaddrs.h>
-#import <netdb.h>
-#endif
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-@interface AFHTTPSessionManager ()
-@property (readwrite, nonatomic, strong) NSURL *baseURL;
-@end
-
-@implementation AFHTTPSessionManager
-
-+ (instancetype)manager {
- return [[[self class] alloc] initWithBaseURL:nil];
-}
-
-- (instancetype)init {
- return [self initWithBaseURL:nil];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url {
- return [self initWithBaseURL:url sessionConfiguration:nil];
-}
-
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {
- return [self initWithBaseURL:nil sessionConfiguration:configuration];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url
- sessionConfiguration:(NSURLSessionConfiguration *)configuration
-{
- self = [super initWithSessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
- if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
- url = [url URLByAppendingPathComponent:@""];
- }
-
- self.baseURL = url;
-
- self.requestSerializer = [AFHTTPRequestSerializer serializer];
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- return self;
-}
-
-#pragma mark -
-
-#ifdef _SYSTEMCONFIGURATION_H
-#endif
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- NSParameterAssert(requestSerializer);
-
- _requestSerializer = requestSerializer;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- [super setResponseSerializer:responseSerializer];
-}
-
-#pragma mark -
-
-- (NSURLSessionDataTask *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"GET" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"HEAD" URLString:URLString parameters:parameters success:^(NSURLSessionDataTask *task, __unused id responseObject) {
- if (success) {
- success(task);
- }
- } failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"POST" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSError *serializationError = nil;
- NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:&serializationError];
- if (serializationError) {
- if (failure) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(nil, serializationError);
- });
-#pragma clang diagnostic pop
- }
-
- return nil;
- }
-
- __block NSURLSessionDataTask *task = [self uploadTaskWithStreamedRequest:request progress:nil completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
- if (error) {
- if (failure) {
- failure(task, error);
- }
- } else {
- if (success) {
- success(task, responseObject);
- }
- }
- }];
-
- [task resume];
-
- return task;
-}
-
-- (NSURLSessionDataTask *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PUT" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PATCH" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"DELETE" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)dataTaskWithHTTPMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *, id))success
- failure:(void (^)(NSURLSessionDataTask *, NSError *))failure
-{
- NSError *serializationError = nil;
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:method URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:&serializationError];
- if (serializationError) {
- if (failure) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(nil, serializationError);
- });
-#pragma clang diagnostic pop
- }
-
- return nil;
- }
-
- __block NSURLSessionDataTask *dataTask = nil;
- dataTask = [self dataTaskWithRequest:request completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
- if (error) {
- if (failure) {
- failure(dataTask, error);
- }
- } else {
- if (success) {
- success(dataTask, responseObject);
- }
- }
- }];
-
- return dataTask;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, baseURL: %@, session: %@, operationQueue: %@>", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.session, self.operationQueue];
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURL *baseURL = [decoder decodeObjectOfClass:[NSURL class] forKey:NSStringFromSelector(@selector(baseURL))];
- NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@"sessionConfiguration"];
- if (!configuration) {
- NSString *configurationIdentifier = [decoder decodeObjectOfClass:[NSString class] forKey:@"identifier"];
- if (configurationIdentifier) {
-#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1100)
- configuration = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:configurationIdentifier];
-#else
- configuration = [NSURLSessionConfiguration backgroundSessionConfiguration:configurationIdentifier];
-#endif
- }
- }
-
- self = [self initWithBaseURL:baseURL sessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
- if ([self.session.configuration conformsToProtocol:@protocol(NSCoding)]) {
- [coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
- } else {
- [coder encodeObject:self.session.configuration.identifier forKey:@"identifier"];
- }
- [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPSessionManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL sessionConfiguration:self.session.configuration];
-
- HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
- HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
-
- return HTTPClient;
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 100644
index 5e610d887f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1,193 +0,0 @@
-// AFNetworkReachabilityManager.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-
-typedef NS_ENUM(NSInteger, AFNetworkReachabilityStatus) {
- AFNetworkReachabilityStatusUnknown = -1,
- AFNetworkReachabilityStatusNotReachable = 0,
- AFNetworkReachabilityStatusReachableViaWWAN = 1,
- AFNetworkReachabilityStatusReachableViaWiFi = 2,
-};
-
-/**
- `AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
- Reachability can be used to determine background information about why a network operation failed, or to trigger a network operation retrying when a connection is established. It should not be used to prevent a user from initiating a network request, as it's possible that an initial request may be required to establish reachability.
-
- See Apple's Reachability Sample Code (https://developer.apple.com/library/ios/samplecode/reachability/)
-
- @warning Instances of `AFNetworkReachabilityManager` must be started with `-startMonitoring` before reachability status can be determined.
- */
-@interface AFNetworkReachabilityManager : NSObject
-
-/**
- The current network reachability status.
- */
-@property (readonly, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
-
-/**
- Whether or not the network is currently reachable.
- */
-@property (readonly, nonatomic, assign, getter = isReachable) BOOL reachable;
-
-/**
- Whether or not the network is currently reachable via WWAN.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWWAN) BOOL reachableViaWWAN;
-
-/**
- Whether or not the network is currently reachable via WiFi.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWiFi) BOOL reachableViaWiFi;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Returns the shared network reachability manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Creates and returns a network reachability manager for the specified domain.
-
- @param domain The domain used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified domain.
- */
-+ (instancetype)managerForDomain:(NSString *)domain;
-
-/**
- Creates and returns a network reachability manager for the socket address.
-
- @param address The socket address (`sockaddr_in`) used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified socket address.
- */
-+ (instancetype)managerForAddress:(const void *)address;
-
-/**
- Initializes an instance of a network reachability manager from the specified reachability object.
-
- @param reachability The reachability object to monitor.
-
- @return An initialized network reachability manager, actively monitoring the specified reachability.
- */
-- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability;
-
-///--------------------------------------------------
-/// @name Starting & Stopping Reachability Monitoring
-///--------------------------------------------------
-
-/**
- Starts monitoring for changes in network reachability status.
- */
-- (void)startMonitoring;
-
-/**
- Stops monitoring for changes in network reachability status.
- */
-- (void)stopMonitoring;
-
-///-------------------------------------------------
-/// @name Getting Localized Reachability Description
-///-------------------------------------------------
-
-/**
- Returns a localized string representation of the current network reachability status.
- */
-- (NSString *)localizedNetworkReachabilityStatusString;
-
-///---------------------------------------------------
-/// @name Setting Network Reachability Change Callback
-///---------------------------------------------------
-
-/**
- Sets a callback to be executed when the network availability of the `baseURL` host changes.
-
- @param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument which represents the various reachability states from the device to the `baseURL`.
- */
-- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Network Reachability
-
- The following constants are provided by `AFNetworkReachabilityManager` as possible network reachability statuses.
-
- enum {
- AFNetworkReachabilityStatusUnknown,
- AFNetworkReachabilityStatusNotReachable,
- AFNetworkReachabilityStatusReachableViaWWAN,
- AFNetworkReachabilityStatusReachableViaWiFi,
- }
-
- `AFNetworkReachabilityStatusUnknown`
- The `baseURL` host reachability is not known.
-
- `AFNetworkReachabilityStatusNotReachable`
- The `baseURL` host cannot be reached.
-
- `AFNetworkReachabilityStatusReachableViaWWAN`
- The `baseURL` host can be reached via a cellular connection, such as EDGE or GPRS.
-
- `AFNetworkReachabilityStatusReachableViaWiFi`
- The `baseURL` host can be reached via a Wi-Fi connection.
-
- ### Keys for Notification UserInfo Dictionary
-
- Strings that are used as keys in a `userInfo` dictionary in a network reachability status change notification.
-
- `AFNetworkingReachabilityNotificationStatusItem`
- A key in the userInfo dictionary in a `AFNetworkingReachabilityDidChangeNotification` notification.
- The corresponding value is an `NSNumber` object representing the `AFNetworkReachabilityStatus` value for the current reachability status.
- */
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when network reachability changes.
- This notification assigns no notification object. The `userInfo` dictionary contains an `NSNumber` object under the `AFNetworkingReachabilityNotificationStatusItem` key, representing the `AFNetworkReachabilityStatus` value for the current network reachability.
-
- @warning In order for network reachability to be monitored, include the `SystemConfiguration` framework in the active target's "Link Binary With Library" build phase, and add `#import <SystemConfiguration/SystemConfiguration.h>` to the header prefix of the project (`Prefix.pch`).
- */
-extern NSString * const AFNetworkingReachabilityDidChangeNotification;
-extern NSString * const AFNetworkingReachabilityNotificationStatusItem;
-
-///--------------------
-/// @name Functions
-///--------------------
-
-/**
- Returns a localized string representation of an `AFNetworkReachabilityStatus` value.
- */
-extern NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status);
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m
deleted file mode 100644
index 1da148282d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m
+++ /dev/null
@@ -1,259 +0,0 @@
-// AFNetworkReachabilityManager.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFNetworkReachabilityManager.h"
-
-#import <netinet/in.h>
-#import <netinet6/in6.h>
-#import <arpa/inet.h>
-#import <ifaddrs.h>
-#import <netdb.h>
-
-NSString * const AFNetworkingReachabilityDidChangeNotification = @"com.alamofire.networking.reachability.change";
-NSString * const AFNetworkingReachabilityNotificationStatusItem = @"AFNetworkingReachabilityNotificationStatusItem";
-
-typedef void (^AFNetworkReachabilityStatusBlock)(AFNetworkReachabilityStatus status);
-
-typedef NS_ENUM(NSUInteger, AFNetworkReachabilityAssociation) {
- AFNetworkReachabilityForAddress = 1,
- AFNetworkReachabilityForAddressPair = 2,
- AFNetworkReachabilityForName = 3,
-};
-
-NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status) {
- switch (status) {
- case AFNetworkReachabilityStatusNotReachable:
- return NSLocalizedStringFromTable(@"Not Reachable", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusReachableViaWWAN:
- return NSLocalizedStringFromTable(@"Reachable via WWAN", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusReachableViaWiFi:
- return NSLocalizedStringFromTable(@"Reachable via WiFi", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusUnknown:
- default:
- return NSLocalizedStringFromTable(@"Unknown", @"AFNetworking", nil);
- }
-}
-
-static AFNetworkReachabilityStatus AFNetworkReachabilityStatusForFlags(SCNetworkReachabilityFlags flags) {
- BOOL isReachable = ((flags & kSCNetworkReachabilityFlagsReachable) != 0);
- BOOL needsConnection = ((flags & kSCNetworkReachabilityFlagsConnectionRequired) != 0);
- BOOL canConnectionAutomatically = (((flags & kSCNetworkReachabilityFlagsConnectionOnDemand ) != 0) || ((flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0));
- BOOL canConnectWithoutUserInteraction = (canConnectionAutomatically && (flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0);
- BOOL isNetworkReachable = (isReachable && (!needsConnection || canConnectWithoutUserInteraction));
-
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown;
- if (isNetworkReachable == NO) {
- status = AFNetworkReachabilityStatusNotReachable;
- }
-#if TARGET_OS_IPHONE
- else if ((flags & kSCNetworkReachabilityFlagsIsWWAN) != 0) {
- status = AFNetworkReachabilityStatusReachableViaWWAN;
- }
-#endif
- else {
- status = AFNetworkReachabilityStatusReachableViaWiFi;
- }
-
- return status;
-}
-
-static void AFNetworkReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNetworkReachabilityFlags flags, void *info) {
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
- AFNetworkReachabilityStatusBlock block = (__bridge AFNetworkReachabilityStatusBlock)info;
- if (block) {
- block(status);
- }
-
-
- dispatch_async(dispatch_get_main_queue(), ^{
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:@{ AFNetworkingReachabilityNotificationStatusItem: @(status) }];
- });
-
-}
-
-static const void * AFNetworkReachabilityRetainCallback(const void *info) {
- return Block_copy(info);
-}
-
-static void AFNetworkReachabilityReleaseCallback(const void *info) {
- if (info) {
- Block_release(info);
- }
-}
-
-@interface AFNetworkReachabilityManager ()
-@property (readwrite, nonatomic, assign) SCNetworkReachabilityRef networkReachability;
-@property (readwrite, nonatomic, assign) AFNetworkReachabilityAssociation networkReachabilityAssociation;
-@property (readwrite, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
-@property (readwrite, nonatomic, copy) AFNetworkReachabilityStatusBlock networkReachabilityStatusBlock;
-@end
-
-@implementation AFNetworkReachabilityManager
-
-+ (instancetype)sharedManager {
- static AFNetworkReachabilityManager *_sharedManager = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- struct sockaddr_in address;
- bzero(&address, sizeof(address));
- address.sin_len = sizeof(address);
- address.sin_family = AF_INET;
-
- _sharedManager = [self managerForAddress:&address];
- });
-
- return _sharedManager;
-}
-
-+ (instancetype)managerForDomain:(NSString *)domain {
- SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, [domain UTF8String]);
-
- AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
- manager.networkReachabilityAssociation = AFNetworkReachabilityForName;
-
- return manager;
-}
-
-+ (instancetype)managerForAddress:(const void *)address {
- SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr *)address);
-
- AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
- manager.networkReachabilityAssociation = AFNetworkReachabilityForAddress;
-
- return manager;
-}
-
-- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.networkReachability = reachability;
- self.networkReachabilityStatus = AFNetworkReachabilityStatusUnknown;
-
- return self;
-}
-
-- (void)dealloc {
- [self stopMonitoring];
-
- if (_networkReachability) {
- CFRelease(_networkReachability);
- _networkReachability = NULL;
- }
-}
-
-#pragma mark -
-
-- (BOOL)isReachable {
- return [self isReachableViaWWAN] || [self isReachableViaWiFi];
-}
-
-- (BOOL)isReachableViaWWAN {
- return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN;
-}
-
-- (BOOL)isReachableViaWiFi {
- return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWiFi;
-}
-
-#pragma mark -
-
-- (void)startMonitoring {
- [self stopMonitoring];
-
- if (!self.networkReachability) {
- return;
- }
-
- __weak __typeof(self)weakSelf = self;
- AFNetworkReachabilityStatusBlock callback = ^(AFNetworkReachabilityStatus status) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
- strongSelf.networkReachabilityStatus = status;
- if (strongSelf.networkReachabilityStatusBlock) {
- strongSelf.networkReachabilityStatusBlock(status);
- }
-
- };
-
- SCNetworkReachabilityContext context = {0, (__bridge void *)callback, AFNetworkReachabilityRetainCallback, AFNetworkReachabilityReleaseCallback, NULL};
- SCNetworkReachabilitySetCallback(self.networkReachability, AFNetworkReachabilityCallback, &context);
- SCNetworkReachabilityScheduleWithRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
-
- switch (self.networkReachabilityAssociation) {
- case AFNetworkReachabilityForName:
- break;
- case AFNetworkReachabilityForAddress:
- case AFNetworkReachabilityForAddressPair:
- default: {
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0),^{
- SCNetworkReachabilityFlags flags;
- SCNetworkReachabilityGetFlags(self.networkReachability, &flags);
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
- dispatch_async(dispatch_get_main_queue(), ^{
- callback(status);
-
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:@{ AFNetworkingReachabilityNotificationStatusItem: @(status) }];
-
-
- });
- });
- }
- break;
- }
-}
-
-- (void)stopMonitoring {
- if (!self.networkReachability) {
- return;
- }
-
- SCNetworkReachabilityUnscheduleFromRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
-}
-
-#pragma mark -
-
-- (NSString *)localizedNetworkReachabilityStatusString {
- return AFStringFromNetworkReachabilityStatus(self.networkReachabilityStatus);
-}
-
-#pragma mark -
-
-- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block {
- self.networkReachabilityStatusBlock = block;
-}
-
-#pragma mark - NSKeyValueObserving
-
-+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {
- if ([key isEqualToString:@"reachable"] || [key isEqualToString:@"reachableViaWWAN"] || [key isEqualToString:@"reachableViaWiFi"]) {
- return [NSSet setWithObject:@"networkReachabilityStatus"];
- }
-
- return [super keyPathsForValuesAffectingValueForKey:key];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h
deleted file mode 100644
index 68273da58e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// AFNetworking.h
-//
-// Copyright (c) 2013 AFNetworking (http://afnetworking.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <Availability.h>
-
-#ifndef _AFNETWORKING_
- #define _AFNETWORKING_
-
- #import "AFURLRequestSerialization.h"
- #import "AFURLResponseSerialization.h"
- #import "AFSecurityPolicy.h"
- #import "AFNetworkReachabilityManager.h"
-
- #import "AFURLConnectionOperation.h"
- #import "AFHTTPRequestOperation.h"
- #import "AFHTTPRequestOperationManager.h"
-
-#if ( ( defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090) || \
- ( defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 ) )
- #import "AFURLSessionManager.h"
- #import "AFHTTPSessionManager.h"
-#endif
-
-#endif /* _AFNETWORKING_ */
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h
deleted file mode 100644
index a880d75191..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1,143 +0,0 @@
-// AFSecurity.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <Security/Security.h>
-
-typedef NS_ENUM(NSUInteger, AFSSLPinningMode) {
- AFSSLPinningModeNone,
- AFSSLPinningModePublicKey,
- AFSSLPinningModeCertificate,
-};
-
-/**
- `AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
- Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
- */
-@interface AFSecurityPolicy : NSObject
-
-/**
- The criteria by which server trust should be evaluated against the pinned SSL certificates. Defaults to `AFSSLPinningModeNone`.
- */
-@property (readonly, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
-
-/**
- Whether to evaluate an entire SSL certificate chain, or just the leaf certificate. Defaults to `YES`.
- */
-@property (nonatomic, assign) BOOL validatesCertificateChain;
-
-/**
- The certificates used to evaluate server trust according to the SSL pinning mode. By default, this property is set to any (`.cer`) certificates included in the app bundle.
- */
-@property (nonatomic, strong) NSArray *pinnedCertificates;
-
-/**
- Whether or not to trust servers with an invalid or expired SSL certificates. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL allowInvalidCertificates;
-
-/**
- Whether or not to validate the domain name in the certificate's CN field. Defaults to `YES` for `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate`, otherwise `NO`.
- */
-@property (nonatomic, assign) BOOL validatesDomainName;
-
-///-----------------------------------------
-/// @name Getting Specific Security Policies
-///-----------------------------------------
-
-/**
- Returns the shared default security policy, which does not allow invalid certificates, does not validate domain name, and does not validate against pinned certificates or public keys.
-
- @return The default security policy.
- */
-+ (instancetype)defaultPolicy;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a security policy with the specified pinning mode.
-
- @param pinningMode The SSL pinning mode.
-
- @return A new security policy.
- */
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode;
-
-///------------------------------
-/// @name Evaluating Server Trust
-///------------------------------
-
-/**
- Whether or not the specified server trust should be accepted, based on the security policy.
-
- This method should be used when responding to an authentication challenge from a server.
-
- @param serverTrust The X.509 certificate trust of the server.
-
- @return Whether or not to trust the server.
-
- @warning This method has been deprecated in favor of `-evaluateServerTrust:forDomain:`.
- */
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust DEPRECATED_ATTRIBUTE;
-
-/**
- Whether or not the specified server trust should be accepted, based on the security policy.
-
- This method should be used when responding to an authentication challenge from a server.
-
- @param serverTrust The X.509 certificate trust of the server.
- @param domain The domain of serverTrust. If `nil`, the domain will not be validated.
-
- @return Whether or not to trust the server.
- */
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
- forDomain:(NSString *)domain;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## SSL Pinning Modes
-
- The following constants are provided by `AFSSLPinningMode` as possible SSL pinning modes.
-
- enum {
- AFSSLPinningModeNone,
- AFSSLPinningModePublicKey,
- AFSSLPinningModeCertificate,
- }
-
- `AFSSLPinningModeNone`
- Do not used pinned certificates to validate servers.
-
- `AFSSLPinningModePublicKey`
- Validate host certificates against public keys of pinned certificates.
-
- `AFSSLPinningModeCertificate`
- Validate host certificates against pinned certificates.
-*/
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m
deleted file mode 100644
index 1f97f914f3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m
+++ /dev/null
@@ -1,335 +0,0 @@
-// AFSecurity.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFSecurityPolicy.h"
-
-// Equivalent of macro in <AssertMacros.h>, without causing compiler warning:
-// "'DebugAssert' is deprecated: first deprecated in OS X 10.8"
-#ifndef AF_Require
- #define AF_Require(assertion, exceptionLabel) \
- do { \
- if (__builtin_expect(!(assertion), 0)) { \
- goto exceptionLabel; \
- } \
- } while (0)
-#endif
-
-#ifndef AF_Require_noErr
- #define AF_Require_noErr(errorCode, exceptionLabel) \
- do { \
- if (__builtin_expect(0 != (errorCode), 0)) { \
- goto exceptionLabel; \
- } \
- } while (0)
-#endif
-
-#if !defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-static NSData * AFSecKeyGetData(SecKeyRef key) {
- CFDataRef data = NULL;
-
- AF_Require_noErr(SecItemExport(key, kSecFormatUnknown, kSecItemPemArmour, NULL, &data), _out);
-
- return (__bridge_transfer NSData *)data;
-
-_out:
- if (data) {
- CFRelease(data);
- }
-
- return nil;
-}
-#endif
-
-static BOOL AFSecKeyIsEqualToKey(SecKeyRef key1, SecKeyRef key2) {
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- return [(__bridge id)key1 isEqual:(__bridge id)key2];
-#else
- return [AFSecKeyGetData(key1) isEqual:AFSecKeyGetData(key2)];
-#endif
-}
-
-static id AFPublicKeyForCertificate(NSData *certificate) {
- id allowedPublicKey = nil;
- SecCertificateRef allowedCertificate;
- SecCertificateRef allowedCertificates[1];
- CFArrayRef tempCertificates = nil;
- SecPolicyRef policy = nil;
- SecTrustRef allowedTrust = nil;
- SecTrustResultType result;
-
- allowedCertificate = SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificate);
- AF_Require(allowedCertificate != NULL, _out);
-
- allowedCertificates[0] = allowedCertificate;
- tempCertificates = CFArrayCreate(NULL, (const void **)allowedCertificates, 1, NULL);
-
- policy = SecPolicyCreateBasicX509();
- AF_Require_noErr(SecTrustCreateWithCertificates(tempCertificates, policy, &allowedTrust), _out);
- AF_Require_noErr(SecTrustEvaluate(allowedTrust, &result), _out);
-
- allowedPublicKey = (__bridge_transfer id)SecTrustCopyPublicKey(allowedTrust);
-
-_out:
- if (allowedTrust) {
- CFRelease(allowedTrust);
- }
-
- if (policy) {
- CFRelease(policy);
- }
-
- if (tempCertificates) {
- CFRelease(tempCertificates);
- }
-
- if (allowedCertificate) {
- CFRelease(allowedCertificate);
- }
-
- return allowedPublicKey;
-}
-
-static BOOL AFServerTrustIsValid(SecTrustRef serverTrust) {
- BOOL isValid = NO;
- SecTrustResultType result;
- AF_Require_noErr(SecTrustEvaluate(serverTrust, &result), _out);
-
- isValid = (result == kSecTrustResultUnspecified || result == kSecTrustResultProceed);
-
-_out:
- return isValid;
-}
-
-static NSArray * AFCertificateTrustChainForServerTrust(SecTrustRef serverTrust) {
- CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
- NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
-
- for (CFIndex i = 0; i < certificateCount; i++) {
- SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
- [trustChain addObject:(__bridge_transfer NSData *)SecCertificateCopyData(certificate)];
- }
-
- return [NSArray arrayWithArray:trustChain];
-}
-
-static NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {
- SecPolicyRef policy = SecPolicyCreateBasicX509();
- CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
- NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
- for (CFIndex i = 0; i < certificateCount; i++) {
- SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
-
- SecCertificateRef someCertificates[] = {certificate};
- CFArrayRef certificates = CFArrayCreate(NULL, (const void **)someCertificates, 1, NULL);
-
- SecTrustRef trust;
- AF_Require_noErr(SecTrustCreateWithCertificates(certificates, policy, &trust), _out);
-
- SecTrustResultType result;
- AF_Require_noErr(SecTrustEvaluate(trust, &result), _out);
-
- [trustChain addObject:(__bridge_transfer id)SecTrustCopyPublicKey(trust)];
-
- _out:
- if (trust) {
- CFRelease(trust);
- }
-
- if (certificates) {
- CFRelease(certificates);
- }
-
- continue;
- }
- CFRelease(policy);
-
- return [NSArray arrayWithArray:trustChain];
-}
-
-#pragma mark -
-
-@interface AFSecurityPolicy()
-@property (readwrite, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
-@property (readwrite, nonatomic, strong) NSArray *pinnedPublicKeys;
-@end
-
-@implementation AFSecurityPolicy
-
-+ (NSArray *)defaultPinnedCertificates {
- static NSArray *_defaultPinnedCertificates = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- NSBundle *bundle = [NSBundle bundleForClass:[self class]];
- NSArray *paths = [bundle pathsForResourcesOfType:@"cer" inDirectory:@"."];
-
- NSMutableArray *certificates = [NSMutableArray arrayWithCapacity:[paths count]];
- for (NSString *path in paths) {
- NSData *certificateData = [NSData dataWithContentsOfFile:path];
- [certificates addObject:certificateData];
- }
-
- _defaultPinnedCertificates = [[NSArray alloc] initWithArray:certificates];
- });
-
- return _defaultPinnedCertificates;
-}
-
-+ (instancetype)defaultPolicy {
- AFSecurityPolicy *securityPolicy = [[self alloc] init];
- securityPolicy.SSLPinningMode = AFSSLPinningModeNone;
-
- return securityPolicy;
-}
-
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode {
- AFSecurityPolicy *securityPolicy = [[self alloc] init];
- securityPolicy.SSLPinningMode = pinningMode;
-
- [securityPolicy setPinnedCertificates:[self defaultPinnedCertificates]];
-
- return securityPolicy;
-}
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.validatesCertificateChain = YES;
-
- return self;
-}
-
-#pragma mark -
-
-- (void)setSSLPinningMode:(AFSSLPinningMode)SSLPinningMode {
- _SSLPinningMode = SSLPinningMode;
-
- switch (self.SSLPinningMode) {
- case AFSSLPinningModePublicKey:
- case AFSSLPinningModeCertificate:
- self.validatesDomainName = YES;
- break;
- default:
- self.validatesDomainName = NO;
- break;
- }
-}
-
-- (void)setPinnedCertificates:(NSArray *)pinnedCertificates {
- _pinnedCertificates = pinnedCertificates;
-
- if (self.pinnedCertificates) {
- NSMutableArray *mutablePinnedPublicKeys = [NSMutableArray arrayWithCapacity:[self.pinnedCertificates count]];
- for (NSData *certificate in self.pinnedCertificates) {
- id publicKey = AFPublicKeyForCertificate(certificate);
- if (!publicKey) {
- continue;
- }
- [mutablePinnedPublicKeys addObject:publicKey];
- }
- self.pinnedPublicKeys = [NSArray arrayWithArray:mutablePinnedPublicKeys];
- } else {
- self.pinnedPublicKeys = nil;
- }
-}
-
-#pragma mark -
-
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust {
- return [self evaluateServerTrust:serverTrust forDomain:nil];
-}
-
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
- forDomain:(NSString *)domain
-{
- NSMutableArray *policies = [NSMutableArray array];
- if (self.validatesDomainName) {
- [policies addObject:(__bridge_transfer id)SecPolicyCreateSSL(true, (__bridge CFStringRef)domain)];
- } else {
- [policies addObject:(__bridge_transfer id)SecPolicyCreateBasicX509()];
- }
-
- SecTrustSetPolicies(serverTrust, (__bridge CFArrayRef)policies);
-
- if (!AFServerTrustIsValid(serverTrust) && !self.allowInvalidCertificates) {
- return NO;
- }
-
- NSArray *serverCertificates = AFCertificateTrustChainForServerTrust(serverTrust);
- switch (self.SSLPinningMode) {
- case AFSSLPinningModeNone:
- return YES;
- case AFSSLPinningModeCertificate: {
- NSMutableArray *pinnedCertificates = [NSMutableArray array];
- for (NSData *certificateData in self.pinnedCertificates) {
- [pinnedCertificates addObject:(__bridge_transfer id)SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificateData)];
- }
- SecTrustSetAnchorCertificates(serverTrust, (__bridge CFArrayRef)pinnedCertificates);
-
- if (!AFServerTrustIsValid(serverTrust)) {
- return NO;
- }
-
- if (!self.validatesCertificateChain) {
- return YES;
- }
-
- NSUInteger trustedCertificateCount = 0;
- for (NSData *trustChainCertificate in serverCertificates) {
- if ([self.pinnedCertificates containsObject:trustChainCertificate]) {
- trustedCertificateCount++;
- }
- }
-
- return trustedCertificateCount == [serverCertificates count];
- }
- case AFSSLPinningModePublicKey: {
- NSUInteger trustedPublicKeyCount = 0;
- NSArray *publicKeys = AFPublicKeyTrustChainForServerTrust(serverTrust);
- if (!self.validatesCertificateChain && [publicKeys count] > 0) {
- publicKeys = @[[publicKeys firstObject]];
- }
-
- for (id trustChainPublicKey in publicKeys) {
- for (id pinnedPublicKey in self.pinnedPublicKeys) {
- if (AFSecKeyIsEqualToKey((__bridge SecKeyRef)trustChainPublicKey, (__bridge SecKeyRef)pinnedPublicKey)) {
- trustedPublicKeyCount += 1;
- }
- }
- }
-
- return trustedPublicKeyCount > 0 && ((self.validatesCertificateChain && trustedPublicKeyCount == [serverCertificates count]) || (!self.validatesCertificateChain && trustedPublicKeyCount >= 1));
- }
- }
-
- return NO;
-}
-
-#pragma mark - NSKeyValueObserving
-
-+ (NSSet *)keyPathsForValuesAffectingPinnedPublicKeys {
- return [NSSet setWithObject:@"pinnedCertificates"];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
deleted file mode 100644
index 85435564c3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1,328 +0,0 @@
-// AFURLConnectionOperation.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
-#import "AFSecurityPolicy.h"
-
-/**
- `AFURLConnectionOperation` is a subclass of `NSOperation` that implements `NSURLConnection` delegate methods.
-
- ## Subclassing Notes
-
- This is the base class of all network request operations. You may wish to create your own subclass in order to implement additional `NSURLConnection` delegate methods (see "`NSURLConnection` Delegate Methods" below), or to provide additional properties and/or class constructors.
-
- If you are creating a subclass that communicates over the HTTP or HTTPS protocols, you may want to consider subclassing `AFHTTPRequestOperation` instead, as it supports specifying acceptable content types or status codes.
-
- ## NSURLConnection Delegate Methods
-
- `AFURLConnectionOperation` implements the following `NSURLConnection` delegate methods:
-
- - `connection:didReceiveResponse:`
- - `connection:didReceiveData:`
- - `connectionDidFinishLoading:`
- - `connection:didFailWithError:`
- - `connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:`
- - `connection:willCacheResponse:`
- - `connectionShouldUseCredentialStorage:`
- - `connection:needNewBodyStream:`
- - `connection:willSendRequestForAuthenticationChallenge:`
-
- If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.
-
- ## Callbacks and Completion Blocks
-
- The built-in `completionBlock` provided by `NSOperation` allows for custom behavior to be executed after the request finishes. It is a common pattern for class constructors in subclasses to take callback block parameters, and execute them conditionally in the body of its `completionBlock`. Make sure to handle cancelled operations appropriately when setting a `completionBlock` (i.e. returning early before parsing response data). See the implementation of any of the `AFHTTPRequestOperation` subclasses for an example of this.
-
- Subclasses are strongly discouraged from overriding `setCompletionBlock:`, as `AFURLConnectionOperation`'s implementation includes a workaround to mitigate retain cycles, and what Apple rather ominously refers to as ["The Deallocation Problem"](http://developer.apple.com/library/ios/#technotes/tn2109/).
-
- ## SSL Pinning
-
- Relying on the CA trust model to validate SSL certificates exposes your app to security vulnerabilities, such as man-in-the-middle attacks. For applications that connect to known servers, SSL certificate pinning provides an increased level of security, by checking server certificate validity against those specified in the app bundle.
-
- SSL with certificate pinning is strongly recommended for any application that transmits sensitive information to an external webservice.
-
- Connections will be validated on all matching certificates with a `.cer` extension in the bundle root.
-
- ## App Extensions
-
- When using AFNetworking in an App Extension, `#define AF_APP_EXTENSIONS` to avoid using unavailable APIs.
-
- ## NSCoding & NSCopying Conformance
-
- `AFURLConnectionOperation` conforms to the `NSCoding` and `NSCopying` protocols, allowing operations to be archived to disk, and copied in memory, respectively. However, because of the intrinsic limitations of capturing the exact state of an operation at a particular moment, there are some important caveats to keep in mind:
-
- ### NSCoding Caveats
-
- - Encoded operations do not include any block or stream properties. Be sure to set `completionBlock`, `outputStream`, and any callback blocks as necessary when using `-initWithCoder:` or `NSKeyedUnarchiver`.
- - Operations are paused on `encodeWithCoder:`. If the operation was encoded while paused or still executing, its archived state will return `YES` for `isReady`. Otherwise, the state of an operation when encoding will remain unchanged.
-
- ### NSCopying Caveats
-
- - `-copy` and `-copyWithZone:` return a new operation with the `NSURLRequest` of the original. So rather than an exact copy of the operation at that particular instant, the copying mechanism returns a completely new instance, which can be useful for retrying operations.
- - A copy of an operation will not include the `outputStream` of the original.
- - Operation copies do not include `completionBlock`, as it often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ operation when copied.
- */
-
-@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate, NSURLConnectionDataDelegate, NSSecureCoding, NSCopying>
-
-///-------------------------------
-/// @name Accessing Run Loop Modes
-///-------------------------------
-
-/**
- The run loop modes in which the operation will run on the network thread. By default, this is a single-member set containing `NSRunLoopCommonModes`.
- */
-@property (nonatomic, strong) NSSet *runLoopModes;
-
-///-----------------------------------------
-/// @name Getting URL Connection Information
-///-----------------------------------------
-
-/**
- The request used by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSURLRequest *request;
-
-/**
- The last response received by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSURLResponse *response;
-
-/**
- The error, if any, that occurred in the lifecycle of the request.
- */
-@property (readonly, nonatomic, strong) NSError *error;
-
-///----------------------------
-/// @name Getting Response Data
-///----------------------------
-
-/**
- The data received during the request.
- */
-@property (readonly, nonatomic, strong) NSData *responseData;
-
-/**
- The string representation of the response data.
- */
-@property (readonly, nonatomic, copy) NSString *responseString;
-
-/**
- The string encoding of the response.
-
- If the response does not specify a valid string encoding, `responseStringEncoding` will return `NSUTF8StringEncoding`.
- */
-@property (readonly, nonatomic, assign) NSStringEncoding responseStringEncoding;
-
-///-------------------------------
-/// @name Managing URL Credentials
-///-------------------------------
-
-/**
- Whether the URL connection should consult the credential storage for authenticating the connection. `YES` by default.
-
- This is the value that is returned in the `NSURLConnectionDelegate` method `-connectionShouldUseCredentialStorage:`.
- */
-@property (nonatomic, assign) BOOL shouldUseCredentialStorage;
-
-/**
- The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`.
-
- This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.
- */
-@property (nonatomic, strong) NSURLCredential *credential;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used to evaluate server trust for secure connections.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///------------------------
-/// @name Accessing Streams
-///------------------------
-
-/**
- The input stream used to read data to be sent during the request.
-
- This property acts as a proxy to the `HTTPBodyStream` property of `request`.
- */
-@property (nonatomic, strong) NSInputStream *inputStream;
-
-/**
- The output stream that is used to write data received until the request is finished.
-
- By default, data is accumulated into a buffer that is stored into `responseData` upon completion of the request, with the intermediary `outputStream` property set to `nil`. When `outputStream` is set, the data will not be accumulated into an internal buffer, and as a result, the `responseData` property of the completed request will be `nil`. The output stream will be scheduled in the network thread runloop upon being set.
- */
-@property (nonatomic, strong) NSOutputStream *outputStream;
-
-///---------------------------------
-/// @name Managing Callback Queues
-///---------------------------------
-
-/**
- The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------------------
-/// @name Managing Request Operation Information
-///---------------------------------------------
-
-/**
- The user info dictionary for the receiver.
- */
-@property (nonatomic, strong) NSDictionary *userInfo;
-
-///------------------------------------------------------
-/// @name Initializing an AFURLConnectionOperation Object
-///------------------------------------------------------
-
-/**
- Initializes and returns a newly allocated operation object with a url connection configured with the specified url request.
-
- This is the designated initializer.
-
- @param urlRequest The request object to be used by the operation connection.
- */
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest;
-
-///----------------------------------
-/// @name Pausing / Resuming Requests
-///----------------------------------
-
-/**
- Pauses the execution of the request operation.
-
- A paused operation returns `NO` for `-isReady`, `-isExecuting`, and `-isFinished`. As such, it will remain in an `NSOperationQueue` until it is either cancelled or resumed. Pausing a finished, cancelled, or paused operation has no effect.
- */
-- (void)pause;
-
-/**
- Whether the request operation is currently paused.
-
- @return `YES` if the operation is currently paused, otherwise `NO`.
- */
-- (BOOL)isPaused;
-
-/**
- Resumes the execution of the paused request operation.
-
- Pause/Resume behavior varies depending on the underlying implementation for the operation class. In its base implementation, resuming a paused requests restarts the original request. However, since HTTP defines a specification for how to request a specific content range, `AFHTTPRequestOperation` will resume downloading the request from where it left off, instead of restarting the original request.
- */
-- (void)resume;
-
-///----------------------------------------------
-/// @name Configuring Backgrounding Task Behavior
-///----------------------------------------------
-
-/**
- Specifies that the operation should continue execution after the app has entered the background, and the expiration handler for that background task.
-
- @param handler A handler to be called shortly before the application’s remaining background time reaches 0. The handler is wrapped in a block that cancels the operation, and cleans up and marks the end of execution, unlike the `handler` parameter in `UIApplication -beginBackgroundTaskWithExpirationHandler:`, which expects this to be done in the handler itself. The handler is called synchronously on the main thread, thus blocking the application’s suspension momentarily while the application is notified.
- */
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-- (void)setShouldExecuteAsBackgroundTaskWithExpirationHandler:(void (^)(void))handler;
-#endif
-
-///---------------------------------
-/// @name Setting Progress Callbacks
-///---------------------------------
-
-/**
- Sets a callback to be called when an undetermined number of bytes have been uploaded to the server.
-
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes three arguments: the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setUploadProgressBlock:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))block;
-
-/**
- Sets a callback to be called when an undetermined number of bytes have been downloaded from the server.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setDownloadProgressBlock:(void (^)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead))block;
-
-///-------------------------------------------------
-/// @name Setting NSURLConnection Delegate Callbacks
-///-------------------------------------------------
-
-/**
- Sets a block to be executed when the connection will authenticate a challenge in order to download its request, as handled by the `NSURLConnectionDelegate` method `connection:willSendRequestForAuthenticationChallenge:`.
-
- @param block A block object to be executed when the connection will authenticate a challenge in order to download its request. The block has no return type and takes two arguments: the URL connection object, and the challenge that must be authenticated. This block must invoke one of the challenge-responder methods (NSURLAuthenticationChallengeSender protocol).
-
- If `allowsInvalidSSLCertificate` is set to YES, `connection:willSendRequestForAuthenticationChallenge:` will attempt to have the challenge sender use credentials with invalid SSL certificates.
- */
-- (void)setWillSendRequestForAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block;
-
-/**
- Sets a block to be executed when the server redirects the request from one URL to another URL, or when the request URL changed by the `NSURLProtocol` subclass handling the request in order to standardize its format, as handled by the `NSURLConnectionDataDelegate` method `connection:willSendRequest:redirectResponse:`.
-
- @param block A block object to be executed when the request URL was changed. The block returns an `NSURLRequest` object, the URL request to redirect, and takes three arguments: the URL connection object, the the proposed redirected request, and the URL response that caused the redirect.
- */
-- (void)setRedirectResponseBlock:(NSURLRequest * (^)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse))block;
-
-
-/**
- Sets a block to be executed to modify the response a connection will cache, if any, as handled by the `NSURLConnectionDelegate` method `connection:willCacheResponse:`.
-
- @param block A block object to be executed to determine what response a connection will cache, if any. The block returns an `NSCachedURLResponse` object, the cached response to store in memory or `nil` to prevent the response from being cached, and takes two arguments: the URL connection object, and the cached response provided for the request.
- */
-- (void)setCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse))block;
-
-///
-
-/**
-
- */
-+ (NSArray *)batchOfRequestOperations:(NSArray *)operations
- progressBlock:(void (^)(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations))progressBlock
- completionBlock:(void (^)(NSArray *operations))completionBlock;
-
-@end
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when an operation begins executing.
- */
-extern NSString * const AFNetworkingOperationDidStartNotification;
-
-/**
- Posted when an operation finishes.
- */
-extern NSString * const AFNetworkingOperationDidFinishNotification;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
deleted file mode 100644
index cfe609a2de..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
+++ /dev/null
@@ -1,789 +0,0 @@
-// AFURLConnectionOperation.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFURLConnectionOperation.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-#if !__has_feature(objc_arc)
-#error AFNetworking must be built with ARC.
-// You can turn on ARC for only AFNetworking files by adding -fobjc-arc to the build phase for each of its files.
-#endif
-
-typedef NS_ENUM(NSInteger, AFOperationState) {
- AFOperationPausedState = -1,
- AFOperationReadyState = 1,
- AFOperationExecutingState = 2,
- AFOperationFinishedState = 3,
-};
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-typedef UIBackgroundTaskIdentifier AFBackgroundTaskIdentifier;
-#else
-typedef id AFBackgroundTaskIdentifier;
-#endif
-
-static dispatch_group_t url_request_operation_completion_group() {
- static dispatch_group_t af_url_request_operation_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_request_operation_completion_group = dispatch_group_create();
- });
-
- return af_url_request_operation_completion_group;
-}
-
-static dispatch_queue_t url_request_operation_completion_queue() {
- static dispatch_queue_t af_url_request_operation_completion_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_request_operation_completion_queue = dispatch_queue_create("com.alamofire.networking.operation.queue", DISPATCH_QUEUE_CONCURRENT );
- });
-
- return af_url_request_operation_completion_queue;
-}
-
-static NSString * const kAFNetworkingLockName = @"com.alamofire.networking.operation.lock";
-
-NSString * const AFNetworkingOperationDidStartNotification = @"com.alamofire.networking.operation.start";
-NSString * const AFNetworkingOperationDidFinishNotification = @"com.alamofire.networking.operation.finish";
-
-typedef void (^AFURLConnectionOperationProgressBlock)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-typedef void (^AFURLConnectionOperationAuthenticationChallengeBlock)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge);
-typedef NSCachedURLResponse * (^AFURLConnectionOperationCacheResponseBlock)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse);
-typedef NSURLRequest * (^AFURLConnectionOperationRedirectResponseBlock)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse);
-
-static inline NSString * AFKeyPathFromOperationState(AFOperationState state) {
- switch (state) {
- case AFOperationReadyState:
- return @"isReady";
- case AFOperationExecutingState:
- return @"isExecuting";
- case AFOperationFinishedState:
- return @"isFinished";
- case AFOperationPausedState:
- return @"isPaused";
- default: {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code"
- return @"state";
-#pragma clang diagnostic pop
- }
- }
-}
-
-static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperationState toState, BOOL isCancelled) {
- switch (fromState) {
- case AFOperationReadyState:
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationExecutingState:
- return YES;
- case AFOperationFinishedState:
- return isCancelled;
- default:
- return NO;
- }
- case AFOperationExecutingState:
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationFinishedState:
- return YES;
- default:
- return NO;
- }
- case AFOperationFinishedState:
- return NO;
- case AFOperationPausedState:
- return toState == AFOperationReadyState;
- default: {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code"
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationReadyState:
- case AFOperationExecutingState:
- case AFOperationFinishedState:
- return YES;
- default:
- return NO;
- }
- }
-#pragma clang diagnostic pop
- }
-}
-
-@interface AFURLConnectionOperation ()
-@property (readwrite, nonatomic, assign) AFOperationState state;
-@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
-@property (readwrite, nonatomic, strong) NSURLConnection *connection;
-@property (readwrite, nonatomic, strong) NSURLRequest *request;
-@property (readwrite, nonatomic, strong) NSURLResponse *response;
-@property (readwrite, nonatomic, strong) NSError *error;
-@property (readwrite, nonatomic, strong) NSData *responseData;
-@property (readwrite, nonatomic, copy) NSString *responseString;
-@property (readwrite, nonatomic, assign) NSStringEncoding responseStringEncoding;
-@property (readwrite, nonatomic, assign) long long totalBytesRead;
-@property (readwrite, nonatomic, assign) AFBackgroundTaskIdentifier backgroundTaskIdentifier;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationProgressBlock uploadProgress;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationProgressBlock downloadProgress;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationAuthenticationChallengeBlock authenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationCacheResponseBlock cacheResponse;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationRedirectResponseBlock redirectResponse;
-
-- (void)operationDidStart;
-- (void)finish;
-- (void)cancelConnection;
-@end
-
-@implementation AFURLConnectionOperation
-@synthesize outputStream = _outputStream;
-
-+ (void)networkRequestThreadEntryPoint:(id)__unused object {
- @autoreleasepool {
- [[NSThread currentThread] setName:@"AFNetworking"];
-
- NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
- [runLoop addPort:[NSMachPort port] forMode:NSDefaultRunLoopMode];
- [runLoop run];
- }
-}
-
-+ (NSThread *)networkRequestThread {
- static NSThread *_networkRequestThread = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _networkRequestThread = [[NSThread alloc] initWithTarget:self selector:@selector(networkRequestThreadEntryPoint:) object:nil];
- [_networkRequestThread start];
- });
-
- return _networkRequestThread;
-}
-
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest {
- NSParameterAssert(urlRequest);
-
- self = [super init];
- if (!self) {
- return nil;
- }
-
- _state = AFOperationReadyState;
-
- self.lock = [[NSRecursiveLock alloc] init];
- self.lock.name = kAFNetworkingLockName;
-
- self.runLoopModes = [NSSet setWithObject:NSRunLoopCommonModes];
-
- self.request = urlRequest;
-
- self.shouldUseCredentialStorage = YES;
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- return self;
-}
-
-- (void)dealloc {
- if (_outputStream) {
- [_outputStream close];
- _outputStream = nil;
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
- if (_backgroundTaskIdentifier) {
- [[UIApplication sharedApplication] endBackgroundTask:_backgroundTaskIdentifier];
- _backgroundTaskIdentifier = UIBackgroundTaskInvalid;
- }
-#endif
-}
-
-#pragma mark -
-
-- (void)setResponseData:(NSData *)responseData {
- [self.lock lock];
- if (!responseData) {
- _responseData = nil;
- } else {
- _responseData = [NSData dataWithBytes:responseData.bytes length:responseData.length];
- }
- [self.lock unlock];
-}
-
-- (NSString *)responseString {
- [self.lock lock];
- if (!_responseString && self.response && self.responseData) {
- self.responseString = [[NSString alloc] initWithData:self.responseData encoding:self.responseStringEncoding];
- }
- [self.lock unlock];
-
- return _responseString;
-}
-
-- (NSStringEncoding)responseStringEncoding {
- [self.lock lock];
- if (!_responseStringEncoding && self.response) {
- NSStringEncoding stringEncoding = NSUTF8StringEncoding;
- if (self.response.textEncodingName) {
- CFStringEncoding IANAEncoding = CFStringConvertIANACharSetNameToEncoding((__bridge CFStringRef)self.response.textEncodingName);
- if (IANAEncoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(IANAEncoding);
- }
- }
-
- self.responseStringEncoding = stringEncoding;
- }
- [self.lock unlock];
-
- return _responseStringEncoding;
-}
-
-- (NSInputStream *)inputStream {
- return self.request.HTTPBodyStream;
-}
-
-- (void)setInputStream:(NSInputStream *)inputStream {
- NSMutableURLRequest *mutableRequest = [self.request mutableCopy];
- mutableRequest.HTTPBodyStream = inputStream;
- self.request = mutableRequest;
-}
-
-- (NSOutputStream *)outputStream {
- if (!_outputStream) {
- self.outputStream = [NSOutputStream outputStreamToMemory];
- }
-
- return _outputStream;
-}
-
-- (void)setOutputStream:(NSOutputStream *)outputStream {
- [self.lock lock];
- if (outputStream != _outputStream) {
- if (_outputStream) {
- [_outputStream close];
- }
-
- _outputStream = outputStream;
- }
- [self.lock unlock];
-}
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-- (void)setShouldExecuteAsBackgroundTaskWithExpirationHandler:(void (^)(void))handler {
- [self.lock lock];
- if (!self.backgroundTaskIdentifier) {
- UIApplication *application = [UIApplication sharedApplication];
- __weak __typeof(self)weakSelf = self;
- self.backgroundTaskIdentifier = [application beginBackgroundTaskWithExpirationHandler:^{
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
- if (handler) {
- handler();
- }
-
- if (strongSelf) {
- [strongSelf cancel];
-
- [application endBackgroundTask:strongSelf.backgroundTaskIdentifier];
- strongSelf.backgroundTaskIdentifier = UIBackgroundTaskInvalid;
- }
- }];
- }
- [self.lock unlock];
-}
-#endif
-
-#pragma mark -
-
-- (void)setState:(AFOperationState)state {
- if (!AFStateTransitionIsValid(self.state, state, [self isCancelled])) {
- return;
- }
-
- [self.lock lock];
- NSString *oldStateKey = AFKeyPathFromOperationState(self.state);
- NSString *newStateKey = AFKeyPathFromOperationState(state);
-
- [self willChangeValueForKey:newStateKey];
- [self willChangeValueForKey:oldStateKey];
- _state = state;
- [self didChangeValueForKey:oldStateKey];
- [self didChangeValueForKey:newStateKey];
- [self.lock unlock];
-}
-
-- (void)pause {
- if ([self isPaused] || [self isFinished] || [self isCancelled]) {
- return;
- }
-
- [self.lock lock];
- if ([self isExecuting]) {
- [self performSelector:@selector(operationDidPause) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingOperationDidFinishNotification object:self];
- });
- }
-
- self.state = AFOperationPausedState;
- [self.lock unlock];
-}
-
-- (void)operationDidPause {
- [self.lock lock];
- [self.connection cancel];
- [self.lock unlock];
-}
-
-- (BOOL)isPaused {
- return self.state == AFOperationPausedState;
-}
-
-- (void)resume {
- if (![self isPaused]) {
- return;
- }
-
- [self.lock lock];
- self.state = AFOperationReadyState;
-
- [self start];
- [self.lock unlock];
-}
-
-#pragma mark -
-
-- (void)setUploadProgressBlock:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))block {
- self.uploadProgress = block;
-}
-
-- (void)setDownloadProgressBlock:(void (^)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead))block {
- self.downloadProgress = block;
-}
-
-- (void)setWillSendRequestForAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block {
- self.authenticationChallenge = block;
-}
-
-- (void)setCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse))block {
- self.cacheResponse = block;
-}
-
-- (void)setRedirectResponseBlock:(NSURLRequest * (^)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse))block {
- self.redirectResponse = block;
-}
-
-#pragma mark - NSOperation
-
-- (void)setCompletionBlock:(void (^)(void))block {
- [self.lock lock];
- if (!block) {
- [super setCompletionBlock:nil];
- } else {
- __weak __typeof(self)weakSelf = self;
- [super setCompletionBlock:^ {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_group_t group = strongSelf.completionGroup ?: url_request_operation_completion_group();
- dispatch_queue_t queue = strongSelf.completionQueue ?: dispatch_get_main_queue();
-#pragma clang diagnostic pop
-
- dispatch_group_async(group, queue, ^{
- block();
- });
-
- dispatch_group_notify(group, url_request_operation_completion_queue(), ^{
- [strongSelf setCompletionBlock:nil];
- });
- }];
- }
- [self.lock unlock];
-}
-
-- (BOOL)isReady {
- return self.state == AFOperationReadyState && [super isReady];
-}
-
-- (BOOL)isExecuting {
- return self.state == AFOperationExecutingState;
-}
-
-- (BOOL)isFinished {
- return self.state == AFOperationFinishedState;
-}
-
-- (BOOL)isConcurrent {
- return YES;
-}
-
-- (void)start {
- [self.lock lock];
- if ([self isCancelled]) {
- [self performSelector:@selector(cancelConnection) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- } else if ([self isReady]) {
- self.state = AFOperationExecutingState;
-
- [self performSelector:@selector(operationDidStart) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- }
- [self.lock unlock];
-}
-
-- (void)operationDidStart {
- [self.lock lock];
- if (![self isCancelled]) {
- self.connection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:NO];
-
- NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
- for (NSString *runLoopMode in self.runLoopModes) {
- [self.connection scheduleInRunLoop:runLoop forMode:runLoopMode];
- [self.outputStream scheduleInRunLoop:runLoop forMode:runLoopMode];
- }
-
- [self.outputStream open];
- [self.connection start];
- }
- [self.lock unlock];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingOperationDidStartNotification object:self];
- });
-}
-
-- (void)finish {
- [self.lock lock];
- self.state = AFOperationFinishedState;
- [self.lock unlock];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingOperationDidFinishNotification object:self];
- });
-}
-
-- (void)cancel {
- [self.lock lock];
- if (![self isFinished] && ![self isCancelled]) {
- [super cancel];
-
- if ([self isExecuting]) {
- [self performSelector:@selector(cancelConnection) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- }
- }
- [self.lock unlock];
-}
-
-- (void)cancelConnection {
- NSDictionary *userInfo = nil;
- if ([self.request URL]) {
- userInfo = [NSDictionary dictionaryWithObject:[self.request URL] forKey:NSURLErrorFailingURLErrorKey];
- }
- NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:userInfo];
-
- if (![self isFinished]) {
- if (self.connection) {
- [self.connection cancel];
- [self performSelector:@selector(connection:didFailWithError:) withObject:self.connection withObject:error];
- } else {
- // Accomodate race condition where `self.connection` has not yet been set before cancellation
- self.error = error;
- [self finish];
- }
- }
-}
-
-#pragma mark -
-
-+ (NSArray *)batchOfRequestOperations:(NSArray *)operations
- progressBlock:(void (^)(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations))progressBlock
- completionBlock:(void (^)(NSArray *operations))completionBlock
-{
- if (!operations || [operations count] == 0) {
- return @[[NSBlockOperation blockOperationWithBlock:^{
- dispatch_async(dispatch_get_main_queue(), ^{
- if (completionBlock) {
- completionBlock(@[]);
- }
- });
- }]];
- }
-
- __block dispatch_group_t group = dispatch_group_create();
- NSBlockOperation *batchedOperation = [NSBlockOperation blockOperationWithBlock:^{
- dispatch_group_notify(group, dispatch_get_main_queue(), ^{
- if (completionBlock) {
- completionBlock(operations);
- }
- });
- }];
-
- for (AFURLConnectionOperation *operation in operations) {
- operation.completionGroup = group;
- void (^originalCompletionBlock)(void) = [operation.completionBlock copy];
- __weak __typeof(operation)weakOperation = operation;
- operation.completionBlock = ^{
- __strong __typeof(weakOperation)strongOperation = weakOperation;
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_queue_t queue = strongOperation.completionQueue ?: dispatch_get_main_queue();
-#pragma clang diagnostic pop
- dispatch_group_async(group, queue, ^{
- if (originalCompletionBlock) {
- originalCompletionBlock();
- }
-
- NSUInteger numberOfFinishedOperations = [[operations indexesOfObjectsPassingTest:^BOOL(id op, NSUInteger __unused idx, BOOL __unused *stop) {
- return [op isFinished];
- }] count];
-
- if (progressBlock) {
- progressBlock(numberOfFinishedOperations, [operations count]);
- }
-
- dispatch_group_leave(group);
- });
- };
-
- dispatch_group_enter(group);
- [batchedOperation addDependency:operation];
- }
-
- return [operations arrayByAddingObject:batchedOperation];
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- [self.lock lock];
- NSString *description = [NSString stringWithFormat:@"<%@: %p, state: %@, cancelled: %@ request: %@, response: %@>", NSStringFromClass([self class]), self, AFKeyPathFromOperationState(self.state), ([self isCancelled] ? @"YES" : @"NO"), self.request, self.response];
- [self.lock unlock];
- return description;
-}
-
-#pragma mark - NSURLConnectionDelegate
-
-- (void)connection:(NSURLConnection *)connection
-willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
-{
- if (self.authenticationChallenge) {
- self.authenticationChallenge(connection, challenge);
- return;
- }
-
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
- } else {
- [[challenge sender] cancelAuthenticationChallenge:challenge];
- }
- } else {
- if ([challenge previousFailureCount] == 0) {
- if (self.credential) {
- [[challenge sender] useCredential:self.credential forAuthenticationChallenge:challenge];
- } else {
- [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];
- }
- } else {
- [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];
- }
- }
-}
-
-- (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection __unused *)connection {
- return self.shouldUseCredentialStorage;
-}
-
-- (NSURLRequest *)connection:(NSURLConnection *)connection
- willSendRequest:(NSURLRequest *)request
- redirectResponse:(NSURLResponse *)redirectResponse
-{
- if (self.redirectResponse) {
- return self.redirectResponse(connection, request, redirectResponse);
- } else {
- return request;
- }
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didSendBodyData:(NSInteger)bytesWritten
- totalBytesWritten:(NSInteger)totalBytesWritten
-totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
-{
- dispatch_async(dispatch_get_main_queue(), ^{
- if (self.uploadProgress) {
- self.uploadProgress((NSUInteger)bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
- });
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
-didReceiveResponse:(NSURLResponse *)response
-{
- self.response = response;
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didReceiveData:(NSData *)data
-{
- NSUInteger length = [data length];
- while (YES) {
- NSInteger totalNumberOfBytesWritten = 0;
- if ([self.outputStream hasSpaceAvailable]) {
- const uint8_t *dataBuffer = (uint8_t *)[data bytes];
-
- NSInteger numberOfBytesWritten = 0;
- while (totalNumberOfBytesWritten < (NSInteger)length) {
- numberOfBytesWritten = [self.outputStream write:&dataBuffer[(NSUInteger)totalNumberOfBytesWritten] maxLength:(length - (NSUInteger)totalNumberOfBytesWritten)];
- if (numberOfBytesWritten == -1) {
- break;
- }
-
- totalNumberOfBytesWritten += numberOfBytesWritten;
- }
-
- break;
- }
-
- if (self.outputStream.streamError) {
- [self.connection cancel];
- [self performSelector:@selector(connection:didFailWithError:) withObject:self.connection withObject:self.outputStream.streamError];
- return;
- }
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- self.totalBytesRead += (long long)length;
-
- if (self.downloadProgress) {
- self.downloadProgress(length, self.totalBytesRead, self.response.expectedContentLength);
- }
- });
-}
-
-- (void)connectionDidFinishLoading:(NSURLConnection __unused *)connection {
- self.responseData = [self.outputStream propertyForKey:NSStreamDataWrittenToMemoryStreamKey];
-
- [self.outputStream close];
- if (self.responseData) {
- self.outputStream = nil;
- }
-
- self.connection = nil;
-
- [self finish];
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didFailWithError:(NSError *)error
-{
- self.error = error;
-
- [self.outputStream close];
- if (self.responseData) {
- self.outputStream = nil;
- }
-
- self.connection = nil;
-
- [self finish];
-}
-
-- (NSCachedURLResponse *)connection:(NSURLConnection *)connection
- willCacheResponse:(NSCachedURLResponse *)cachedResponse
-{
- if (self.cacheResponse) {
- return self.cacheResponse(connection, cachedResponse);
- } else {
- if ([self isCancelled]) {
- return nil;
- }
-
- return cachedResponse;
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURLRequest *request = [decoder decodeObjectOfClass:[NSURLRequest class] forKey:NSStringFromSelector(@selector(request))];
-
- self = [self initWithRequest:request];
- if (!self) {
- return nil;
- }
-
- self.state = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(state))] integerValue];
- self.response = [decoder decodeObjectOfClass:[NSHTTPURLResponse class] forKey:NSStringFromSelector(@selector(response))];
- self.error = [decoder decodeObjectOfClass:[NSError class] forKey:NSStringFromSelector(@selector(error))];
- self.responseData = [decoder decodeObjectOfClass:[NSData class] forKey:NSStringFromSelector(@selector(responseData))];
- self.totalBytesRead = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(totalBytesRead))] longLongValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [self pause];
-
- [coder encodeObject:self.request forKey:NSStringFromSelector(@selector(request))];
-
- switch (self.state) {
- case AFOperationExecutingState:
- case AFOperationPausedState:
- [coder encodeInteger:AFOperationReadyState forKey:NSStringFromSelector(@selector(state))];
- break;
- default:
- [coder encodeInteger:self.state forKey:NSStringFromSelector(@selector(state))];
- break;
- }
-
- [coder encodeObject:self.response forKey:NSStringFromSelector(@selector(response))];
- [coder encodeObject:self.error forKey:NSStringFromSelector(@selector(error))];
- [coder encodeObject:self.responseData forKey:NSStringFromSelector(@selector(responseData))];
- [coder encodeInt64:self.totalBytesRead forKey:NSStringFromSelector(@selector(totalBytesRead))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFURLConnectionOperation *operation = [(AFURLConnectionOperation *)[[self class] allocWithZone:zone] initWithRequest:self.request];
-
- operation.uploadProgress = self.uploadProgress;
- operation.downloadProgress = self.downloadProgress;
- operation.authenticationChallenge = self.authenticationChallenge;
- operation.cacheResponse = self.cacheResponse;
- operation.redirectResponse = self.redirectResponse;
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h
deleted file mode 100644
index aed4549815..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1,463 +0,0 @@
-// AFSerialization.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-/**
- The `AFURLRequestSerialization` protocol is adopted by an object that encodes parameters for a specified HTTP requests. Request serializers may encode parameters as query strings, HTTP bodies, setting the appropriate HTTP header fields as necessary.
-
- For example, a JSON request serializer may set the HTTP body of the request to a JSON representation, and set the `Content-Type` HTTP header field value to `application/json`.
- */
-@protocol AFURLRequestSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- Returns a request with the specified parameters encoded into a copy of the original request.
-
- @param request The original request.
- @param parameters The parameters to be encoded.
- @param error The error that occurred while attempting to encode the request parameters.
-
- @return A serialized request.
- */
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError * __autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-/**
-
- */
-typedef NS_ENUM(NSUInteger, AFHTTPRequestQueryStringSerializationStyle) {
- AFHTTPRequestQueryStringDefaultStyle = 0,
-};
-
-@protocol AFMultipartFormData;
-
-/**
- `AFHTTPRequestSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPRequestSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPRequestSerializer : NSObject <AFURLRequestSerialization>
-
-/**
- The string encoding used to serialize parameters. `NSUTF8StringEncoding` by default.
- */
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-
-/**
- Whether created requests can use the device’s cellular radio (if present). `YES` by default.
-
- @see NSMutableURLRequest -setAllowsCellularAccess:
- */
-@property (nonatomic, assign) BOOL allowsCellularAccess;
-
-/**
- The cache policy of created requests. `NSURLRequestUseProtocolCachePolicy` by default.
-
- @see NSMutableURLRequest -setCachePolicy:
- */
-@property (nonatomic, assign) NSURLRequestCachePolicy cachePolicy;
-
-/**
- Whether created requests should use the default cookie handling. `YES` by default.
-
- @see NSMutableURLRequest -setHTTPShouldHandleCookies:
- */
-@property (nonatomic, assign) BOOL HTTPShouldHandleCookies;
-
-/**
- Whether created requests can continue transmitting data before receiving a response from an earlier transmission. `NO` by default
-
- @see NSMutableURLRequest -setHTTPShouldUsePipelining:
- */
-@property (nonatomic, assign) BOOL HTTPShouldUsePipelining;
-
-/**
- The network service type for created requests. `NSURLNetworkServiceTypeDefault` by default.
-
- @see NSMutableURLRequest -setNetworkServiceType:
- */
-@property (nonatomic, assign) NSURLRequestNetworkServiceType networkServiceType;
-
-/**
- The timeout interval, in seconds, for created requests. The default timeout interval is 60 seconds.
-
- @see NSMutableURLRequest -setTimeoutInterval:
- */
-@property (nonatomic, assign) NSTimeInterval timeoutInterval;
-
-///---------------------------------------
-/// @name Configuring HTTP Request Headers
-///---------------------------------------
-
-/**
- Default HTTP header field values to be applied to serialized requests.
- */
-@property (readonly, nonatomic, strong) NSDictionary *HTTPRequestHeaders;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-/**
- Sets the value for the HTTP headers set in request objects made by the HTTP client. If `nil`, removes the existing value for that header.
-
- @param field The HTTP header to set a default value for
- @param value The value set as default for the specified header, or `nil`
- */
-- (void)setValue:(NSString *)value
-forHTTPHeaderField:(NSString *)field;
-
-/**
- Returns the value for the HTTP headers set in the request serializer.
-
- @param field The HTTP header to retrieve the default value for
-
- @return The value set as default for the specified header, or `nil`
- */
-- (NSString *)valueForHTTPHeaderField:(NSString *)field;
-
-/**
- Sets the "Authorization" HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
-
- @param username The HTTP basic auth username
- @param password The HTTP basic auth password
- */
-- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
- password:(NSString *)password;
-
-/**
- @deprecated This method has been deprecated. Use -setValue:forHTTPHeaderField: instead.
- */
-- (void)setAuthorizationHeaderFieldWithToken:(NSString *)token DEPRECATED_ATTRIBUTE;
-
-
-/**
- Clears any existing value for the "Authorization" HTTP header.
- */
-- (void)clearAuthorizationHeader;
-
-///-------------------------------------------------------
-/// @name Configuring Query String Parameter Serialization
-///-------------------------------------------------------
-
-/**
- HTTP methods for which serialized requests will encode parameters as a query string. `GET`, `HEAD`, and `DELETE` by default.
- */
-@property (nonatomic, strong) NSSet *HTTPMethodsEncodingParametersInURI;
-
-/**
- Set the method of query string serialization according to one of the pre-defined styles.
-
- @param style The serialization style.
-
- @see AFHTTPRequestQueryStringSerializationStyle
- */
-- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style;
-
-/**
- Set the a custom method of query string serialization according to the specified block.
-
- @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request.
- */
-- (void)setQueryStringSerializationWithBlock:(NSString * (^)(NSURLRequest *request, NSDictionary *parameters, NSError * __autoreleasing *error))block;
-
-///-------------------------------
-/// @name Creating Request Objects
-///-------------------------------
-
-/**
- @deprecated This method has been deprecated. Use -requestWithMethod:URLString:parameters:error: instead.
- */
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters DEPRECATED_ATTRIBUTE;
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URL string.
-
- If the HTTP method is `GET`, `HEAD`, or `DELETE`, the parameters will be used to construct a url-encoded query string that is appended to the request's URL. Otherwise, the parameters will be encoded according to the value of the `parameterEncoding` property, and set as the request body.
-
- @param method The HTTP method for the request, such as `GET`, `POST`, `PUT`, or `DELETE`. This parameter must not be `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be either set as a query string for `GET` requests, or the request HTTP body.
- @param error The error that occured while constructing the request.
-
- @return An `NSMutableURLRequest` object.
- */
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- error:(NSError * __autoreleasing *)error;
-
-/**
- @deprecated This method has been deprecated. Use -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error: instead.
- */
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block DEPRECATED_ATTRIBUTE;
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2
-
- Multipart form requests are automatically streamed, reading files directly from disk along with in-memory data in a single HTTP body. The resulting `NSMutableURLRequest` object has an `HTTPBodyStream` property, so refrain from setting `HTTPBodyStream` or `HTTPBody` on this request object, as it will clear out the multipart form body stream.
-
- @param method The HTTP method for the request. This parameter must not be `GET` or `HEAD`, or `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded and set in the request HTTP body.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param error The error that occured while constructing the request.
-
- @return An `NSMutableURLRequest` object
- */
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- error:(NSError * __autoreleasing *)error;
-
-/**
- Creates an `NSMutableURLRequest` by removing the `HTTPBodyStream` from a request, and asynchronously writing its contents into the specified file, invoking the completion handler when finished.
-
- @param request The multipart form request.
- @param fileURL The file URL to write multipart form contents to.
- @param handler A handler block to execute.
-
- @discussion There is a bug in `NSURLSessionTask` that causes requests to not send a `Content-Length` header when streaming contents from an HTTP body, which is notably problematic when interacting with the Amazon S3 webservice. As a workaround, this method takes a request constructed with `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:`, or any other request with an `HTTPBodyStream`, writes the contents to the specified file and returns a copy of the original request with the `HTTPBodyStream` property set to `nil`. From here, the file can either be passed to `AFURLSessionManager -uploadTaskWithRequest:fromFile:progress:completionHandler:`, or have its contents read into an `NSData` that's assigned to the `HTTPBody` property of the request.
-
- @see https://github.com/AFNetworking/AFNetworking/issues/1398
- */
-- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
- writingStreamContentsToFile:(NSURL *)fileURL
- completionHandler:(void (^)(NSError *error))handler;
-
-@end
-
-#pragma mark -
-
-/**
- The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPRequestSerializer -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:`.
- */
-@protocol AFMultipartFormData
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{generated filename}; name=#{name}"` and `Content-Type: #{generated mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended, otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- error:(NSError * __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The file name to be used in the `Content-Disposition` header. This parameter must not be `nil`.
- @param mimeType The declared MIME type of the file data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
- error:(NSError * __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the data from the input stream and the multipart form boundary.
-
- @param inputStream The input stream to be appended to the form data
- @param name The name to be associated with the specified input stream. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified input stream. This parameter must not be `nil`.
- @param length The length of the specified input stream in bytes.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithInputStream:(NSInputStream *)inputStream
- name:(NSString *)name
- fileName:(NSString *)fileName
- length:(int64_t)length
- mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified data. This parameter must not be `nil`.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithFileData:(NSData *)data
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP headers `Content-Disposition: form-data; name=#{name}"`, followed by the encoded data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- */
-
-- (void)appendPartWithFormData:(NSData *)data
- name:(NSString *)name;
-
-
-/**
- Appends HTTP headers, followed by the encoded data and the multipart form boundary.
-
- @param headers The HTTP headers to be appended to the form data.
- @param body The data to be encoded and appended to the form data. This parameter must not be `nil`.
- */
-- (void)appendPartWithHeaders:(NSDictionary *)headers
- body:(NSData *)body;
-
-/**
- Throttles request bandwidth by limiting the packet size and adding a delay for each chunk read from the upload stream.
-
- When uploading over a 3G or EDGE connection, requests may fail with "request body stream exhausted". Setting a maximum packet size and delay according to the recommended values (`kAFUploadStream3GSuggestedPacketSize` and `kAFUploadStream3GSuggestedDelay`) lowers the risk of the input stream exceeding its allocated bandwidth. Unfortunately, there is no definite way to distinguish between a 3G, EDGE, or LTE connection over `NSURLConnection`. As such, it is not recommended that you throttle bandwidth based solely on network reachability. Instead, you should consider checking for the "request body stream exhausted" in a failure block, and then retrying the request with throttled bandwidth.
-
- @param numberOfBytes Maximum packet size, in number of bytes. The default packet size for an input stream is 16kb.
- @param delay Duration of delay each time a packet is read. By default, no delay is set.
- */
-- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
- delay:(NSTimeInterval)delay;
-
-@end
-
-#pragma mark -
-
-/**
- `AFJSONRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSJSONSerialization`, setting the `Content-Type` of the encoded request to `application/json`.
- */
-@interface AFJSONRequestSerializer : AFHTTPRequestSerializer
-
-/**
- Options for writing the request JSON data from Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONWritingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONWritingOptions writingOptions;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param writingOptions The specified JSON writing options.
- */
-+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFPropertyListRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSPropertyListSerializer`, setting the `Content-Type` of the encoded request to `application/x-plist`.
- */
-@interface AFPropertyListRequestSerializer : AFHTTPRequestSerializer
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- @warning The `writeOptions` property is currently unused.
- */
-@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param writeOptions The property list write options.
-
- @warning The `writeOptions` property is currently unused.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- writeOptions:(NSPropertyListWriteOptions)writeOptions;
-
-@end
-
-#pragma mark -
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLRequestSerializationErrorDomain`
-
- ### Constants
-
- `AFURLRequestSerializationErrorDomain`
- AFURLRequestSerializer errors. Error codes for `AFURLRequestSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-extern NSString * const AFURLRequestSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLRequestErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLRequestErrorKey`
- The corresponding value is an `NSURLRequest` containing the request of the operation associated with an error. This key is only present in the `AFURLRequestSerializationErrorDomain`.
- */
-extern NSString * const AFNetworkingOperationFailingURLRequestErrorKey;
-
-/**
- ## Throttling Bandwidth for HTTP Request Input Streams
-
- @see -throttleBandwidthWithPacketSize:delay:
-
- ### Constants
-
- `kAFUploadStream3GSuggestedPacketSize`
- Maximum packet size, in number of bytes. Equal to 16kb.
-
- `kAFUploadStream3GSuggestedDelay`
- Duration of delay each time a packet is read. Equal to 0.2 seconds.
- */
-extern NSUInteger const kAFUploadStream3GSuggestedPacketSize;
-extern NSTimeInterval const kAFUploadStream3GSuggestedDelay;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m
deleted file mode 100644
index a56e8542e1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m
+++ /dev/null
@@ -1,1339 +0,0 @@
-// AFSerialization.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFURLRequestSerialization.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-NSString * const AFURLRequestSerializationErrorDomain = @"com.alamofire.error.serialization.request";
-NSString * const AFNetworkingOperationFailingURLRequestErrorKey = @"com.alamofire.serialization.request.error.response";
-
-typedef NSString * (^AFQueryStringSerializationBlock)(NSURLRequest *request, NSDictionary *parameters, NSError *__autoreleasing *error);
-
-static NSString * AFBase64EncodedStringFromString(NSString *string) {
- NSData *data = [NSData dataWithBytes:[string UTF8String] length:[string lengthOfBytesUsingEncoding:NSUTF8StringEncoding]];
- NSUInteger length = [data length];
- NSMutableData *mutableData = [NSMutableData dataWithLength:((length + 2) / 3) * 4];
-
- uint8_t *input = (uint8_t *)[data bytes];
- uint8_t *output = (uint8_t *)[mutableData mutableBytes];
-
- for (NSUInteger i = 0; i < length; i += 3) {
- NSUInteger value = 0;
- for (NSUInteger j = i; j < (i + 3); j++) {
- value <<= 8;
- if (j < length) {
- value |= (0xFF & input[j]);
- }
- }
-
- static uint8_t const kAFBase64EncodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-
- NSUInteger idx = (i / 3) * 4;
- output[idx + 0] = kAFBase64EncodingTable[(value >> 18) & 0x3F];
- output[idx + 1] = kAFBase64EncodingTable[(value >> 12) & 0x3F];
- output[idx + 2] = (i + 1) < length ? kAFBase64EncodingTable[(value >> 6) & 0x3F] : '=';
- output[idx + 3] = (i + 2) < length ? kAFBase64EncodingTable[(value >> 0) & 0x3F] : '=';
- }
-
- return [[NSString alloc] initWithData:mutableData encoding:NSASCIIStringEncoding];
-}
-
-static NSString * const kAFCharactersToBeEscapedInQueryString = @":/?&=;+!@#$()',*";
-
-static NSString * AFPercentEscapedQueryStringKeyFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
- static NSString * const kAFCharactersToLeaveUnescapedInQueryStringPairKey = @"[].";
-
- return (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (__bridge CFStringRef)string, (__bridge CFStringRef)kAFCharactersToLeaveUnescapedInQueryStringPairKey, (__bridge CFStringRef)kAFCharactersToBeEscapedInQueryString, CFStringConvertNSStringEncodingToEncoding(encoding));
-}
-
-static NSString * AFPercentEscapedQueryStringValueFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
- return (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (__bridge CFStringRef)string, NULL, (__bridge CFStringRef)kAFCharactersToBeEscapedInQueryString, CFStringConvertNSStringEncodingToEncoding(encoding));
-}
-
-#pragma mark -
-
-@interface AFQueryStringPair : NSObject
-@property (readwrite, nonatomic, strong) id field;
-@property (readwrite, nonatomic, strong) id value;
-
-- (id)initWithField:(id)field value:(id)value;
-
-- (NSString *)URLEncodedStringValueWithEncoding:(NSStringEncoding)stringEncoding;
-@end
-
-@implementation AFQueryStringPair
-
-- (id)initWithField:(id)field value:(id)value {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.field = field;
- self.value = value;
-
- return self;
-}
-
-- (NSString *)URLEncodedStringValueWithEncoding:(NSStringEncoding)stringEncoding {
- if (!self.value || [self.value isEqual:[NSNull null]]) {
- return AFPercentEscapedQueryStringKeyFromStringWithEncoding([self.field description], stringEncoding);
- } else {
- return [NSString stringWithFormat:@"%@=%@", AFPercentEscapedQueryStringKeyFromStringWithEncoding([self.field description], stringEncoding), AFPercentEscapedQueryStringValueFromStringWithEncoding([self.value description], stringEncoding)];
- }
-}
-
-@end
-
-#pragma mark -
-
-extern NSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary);
-extern NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value);
-
-static NSString * AFQueryStringFromParametersWithEncoding(NSDictionary *parameters, NSStringEncoding stringEncoding) {
- NSMutableArray *mutablePairs = [NSMutableArray array];
- for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {
- [mutablePairs addObject:[pair URLEncodedStringValueWithEncoding:stringEncoding]];
- }
-
- return [mutablePairs componentsJoinedByString:@"&"];
-}
-
-NSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary) {
- return AFQueryStringPairsFromKeyAndValue(nil, dictionary);
-}
-
-NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value) {
- NSMutableArray *mutableQueryStringComponents = [NSMutableArray array];
-
- NSSortDescriptor *sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:@"description" ascending:YES selector:@selector(compare:)];
-
- if ([value isKindOfClass:[NSDictionary class]]) {
- NSDictionary *dictionary = value;
- // Sort dictionary keys to ensure consistent ordering in query string, which is important when deserializing potentially ambiguous sequences, such as an array of dictionaries
- for (id nestedKey in [dictionary.allKeys sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {
- id nestedValue = [dictionary objectForKey:nestedKey];
- if (nestedValue) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue((key ? [NSString stringWithFormat:@"%@[%@]", key, nestedKey] : nestedKey), nestedValue)];
- }
- }
- } else if ([value isKindOfClass:[NSArray class]]) {
- NSArray *array = value;
- for (id nestedValue in array) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue([NSString stringWithFormat:@"%@[]", key], nestedValue)];
- }
- } else if ([value isKindOfClass:[NSSet class]]) {
- NSSet *set = value;
- for (id obj in [set sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue(key, obj)];
- }
- } else {
- [mutableQueryStringComponents addObject:[[AFQueryStringPair alloc] initWithField:key value:value]];
- }
-
- return mutableQueryStringComponents;
-}
-
-#pragma mark -
-
-@interface AFStreamingMultipartFormData : NSObject <AFMultipartFormData>
-- (instancetype)initWithURLRequest:(NSMutableURLRequest *)urlRequest
- stringEncoding:(NSStringEncoding)encoding;
-
-- (NSMutableURLRequest *)requestByFinalizingMultipartFormData;
-@end
-
-#pragma mark -
-
-static NSArray * AFHTTPRequestSerializerObservedKeyPaths() {
- static NSArray *_AFHTTPRequestSerializerObservedKeyPaths = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _AFHTTPRequestSerializerObservedKeyPaths = @[NSStringFromSelector(@selector(allowsCellularAccess)), NSStringFromSelector(@selector(cachePolicy)), NSStringFromSelector(@selector(HTTPShouldHandleCookies)), NSStringFromSelector(@selector(HTTPShouldUsePipelining)), NSStringFromSelector(@selector(networkServiceType)), NSStringFromSelector(@selector(timeoutInterval))];
- });
-
- return _AFHTTPRequestSerializerObservedKeyPaths;
-}
-
-static void *AFHTTPRequestSerializerObserverContext = &AFHTTPRequestSerializerObserverContext;
-
-@interface AFHTTPRequestSerializer ()
-@property (readwrite, nonatomic, strong) NSMutableSet *mutableObservedChangedKeyPaths;
-@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableHTTPRequestHeaders;
-@property (readwrite, nonatomic, assign) AFHTTPRequestQueryStringSerializationStyle queryStringSerializationStyle;
-@property (readwrite, nonatomic, copy) AFQueryStringSerializationBlock queryStringSerialization;
-@end
-
-@implementation AFHTTPRequestSerializer
-
-+ (instancetype)serializer {
- return [[self alloc] init];
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = NSUTF8StringEncoding;
-
- self.mutableHTTPRequestHeaders = [NSMutableDictionary dictionary];
-
- // Accept-Language HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
- NSMutableArray *acceptLanguagesComponents = [NSMutableArray array];
- [[NSLocale preferredLanguages] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
- float q = 1.0f - (idx * 0.1f);
- [acceptLanguagesComponents addObject:[NSString stringWithFormat:@"%@;q=%0.1g", obj, q]];
- *stop = q <= 0.5f;
- }];
- [self setValue:[acceptLanguagesComponents componentsJoinedByString:@", "] forHTTPHeaderField:@"Accept-Language"];
-
- NSString *userAgent = nil;
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- // User-Agent Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43
- userAgent = [NSString stringWithFormat:@"%@/%@ (%@; iOS %@; Scale/%0.2f)", [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleExecutableKey] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleIdentifierKey], [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleVersionKey], [[UIDevice currentDevice] model], [[UIDevice currentDevice] systemVersion], [[UIScreen mainScreen] scale]];
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
- userAgent = [NSString stringWithFormat:@"%@/%@ (Mac OS X %@)", [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleExecutableKey] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleIdentifierKey], [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleVersionKey], [[NSProcessInfo processInfo] operatingSystemVersionString]];
-#endif
-#pragma clang diagnostic pop
- if (userAgent) {
- if (![userAgent canBeConvertedToEncoding:NSASCIIStringEncoding]) {
- NSMutableString *mutableUserAgent = [userAgent mutableCopy];
- if (CFStringTransform((__bridge CFMutableStringRef)(mutableUserAgent), NULL, (__bridge CFStringRef)@"Any-Latin; Latin-ASCII; [:^ASCII:] Remove", false)) {
- userAgent = mutableUserAgent;
- }
- }
- [self setValue:userAgent forHTTPHeaderField:@"User-Agent"];
- }
-
- // HTTP Method Definitions; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
- self.HTTPMethodsEncodingParametersInURI = [NSSet setWithObjects:@"GET", @"HEAD", @"DELETE", nil];
-
- self.mutableObservedChangedKeyPaths = [NSMutableSet set];
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {
- [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:AFHTTPRequestSerializerObserverContext];
- }
- }
-
- return self;
-}
-
-- (void)dealloc {
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {
- [self removeObserver:self forKeyPath:keyPath context:AFHTTPRequestSerializerObserverContext];
- }
- }
-}
-
-#pragma mark -
-
-- (NSDictionary *)HTTPRequestHeaders {
- return [NSDictionary dictionaryWithDictionary:self.mutableHTTPRequestHeaders];
-}
-
-- (void)setValue:(NSString *)value
-forHTTPHeaderField:(NSString *)field
-{
- [self.mutableHTTPRequestHeaders setValue:value forKey:field];
-}
-
-- (NSString *)valueForHTTPHeaderField:(NSString *)field {
- return [self.mutableHTTPRequestHeaders valueForKey:field];
-}
-
-- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
- password:(NSString *)password
-{
- NSString *basicAuthCredentials = [NSString stringWithFormat:@"%@:%@", username, password];
- [self setValue:[NSString stringWithFormat:@"Basic %@", AFBase64EncodedStringFromString(basicAuthCredentials)] forHTTPHeaderField:@"Authorization"];
-}
-
-- (void)setAuthorizationHeaderFieldWithToken:(NSString *)token {
- [self setValue:[NSString stringWithFormat:@"Token token=\"%@\"", token] forHTTPHeaderField:@"Authorization"];
-}
-
-- (void)clearAuthorizationHeader {
- [self.mutableHTTPRequestHeaders removeObjectForKey:@"Authorization"];
-}
-
-#pragma mark -
-
-- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style {
- self.queryStringSerializationStyle = style;
- self.queryStringSerialization = nil;
-}
-
-- (void)setQueryStringSerializationWithBlock:(NSString *(^)(NSURLRequest *, NSDictionary *, NSError *__autoreleasing *))block {
- self.queryStringSerialization = block;
-}
-
-#pragma mark -
-
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
-{
- return [self requestWithMethod:method URLString:URLString parameters:parameters error:nil];
-}
-
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(method);
- NSParameterAssert(URLString);
-
- NSURL *url = [NSURL URLWithString:URLString];
-
- NSParameterAssert(url);
-
- NSMutableURLRequest *mutableRequest = [[NSMutableURLRequest alloc] initWithURL:url];
- mutableRequest.HTTPMethod = method;
-
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self.mutableObservedChangedKeyPaths containsObject:keyPath]) {
- [mutableRequest setValue:[self valueForKeyPath:keyPath] forKey:keyPath];
- }
- }
-
- mutableRequest = [[self requestBySerializingRequest:mutableRequest withParameters:parameters error:error] mutableCopy];
-
- return mutableRequest;
-}
-
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
-{
- return [self multipartFormRequestWithMethod:method URLString:URLString parameters:parameters constructingBodyWithBlock:block error:nil];
-}
-
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(method);
- NSParameterAssert(![method isEqualToString:@"GET"] && ![method isEqualToString:@"HEAD"]);
-
- NSMutableURLRequest *mutableRequest = [self requestWithMethod:method URLString:URLString parameters:nil error:error];
-
- __block AFStreamingMultipartFormData *formData = [[AFStreamingMultipartFormData alloc] initWithURLRequest:mutableRequest stringEncoding:NSUTF8StringEncoding];
-
- if (parameters) {
- for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {
- NSData *data = nil;
- if ([pair.value isKindOfClass:[NSData class]]) {
- data = pair.value;
- } else if ([pair.value isEqual:[NSNull null]]) {
- data = [NSData data];
- } else {
- data = [[pair.value description] dataUsingEncoding:self.stringEncoding];
- }
-
- if (data) {
- [formData appendPartWithFormData:data name:[pair.field description]];
- }
- }
- }
-
- if (block) {
- block(formData);
- }
-
- return [formData requestByFinalizingMultipartFormData];
-}
-
-- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
- writingStreamContentsToFile:(NSURL *)fileURL
- completionHandler:(void (^)(NSError *error))handler
-{
- if (!request.HTTPBodyStream) {
- return [request mutableCopy];
- }
-
- NSParameterAssert([fileURL isFileURL]);
-
- NSInputStream *inputStream = request.HTTPBodyStream;
- NSOutputStream *outputStream = [[NSOutputStream alloc] initWithURL:fileURL append:NO];
- __block NSError *error = nil;
-
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
- [inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
- [outputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
-
- [inputStream open];
- [outputStream open];
-
- while ([inputStream hasBytesAvailable] && [outputStream hasSpaceAvailable]) {
- uint8_t buffer[1024];
-
- NSInteger bytesRead = [inputStream read:buffer maxLength:1024];
- if (inputStream.streamError || bytesRead < 0) {
- error = inputStream.streamError;
- break;
- }
-
- NSInteger bytesWritten = [outputStream write:buffer maxLength:(NSUInteger)bytesRead];
- if (outputStream.streamError || bytesWritten < 0) {
- error = outputStream.streamError;
- break;
- }
-
- if (bytesRead == 0 && bytesWritten == 0) {
- break;
- }
- }
-
- [outputStream close];
- [inputStream close];
-
- if (handler) {
- dispatch_async(dispatch_get_main_queue(), ^{
- handler(error);
- });
- }
- });
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
- mutableRequest.HTTPBodyStream = nil;
-
- return mutableRequest;
-}
-
-#pragma mark - AFURLRequestSerialization
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- NSString *query = nil;
- if (self.queryStringSerialization) {
- NSError *serializationError;
- query = self.queryStringSerialization(request, parameters, &serializationError);
-
- if (serializationError) {
- if (error) {
- *error = serializationError;
- }
-
- return nil;
- }
- } else {
- switch (self.queryStringSerializationStyle) {
- case AFHTTPRequestQueryStringDefaultStyle:
- query = AFQueryStringFromParametersWithEncoding(parameters, self.stringEncoding);
- break;
- }
- }
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- mutableRequest.URL = [NSURL URLWithString:[[mutableRequest.URL absoluteString] stringByAppendingFormat:mutableRequest.URL.query ? @"&%@" : @"?%@", query]];
- } else {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
- }
- [mutableRequest setHTTPBody:[query dataUsingEncoding:self.stringEncoding]];
- }
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSKeyValueObserving
-
-- (void)observeValueForKeyPath:(NSString *)keyPath
- ofObject:(__unused id)object
- change:(NSDictionary *)change
- context:(void *)context
-{
- if (context == AFHTTPRequestSerializerObserverContext) {
- if ([change[NSKeyValueChangeNewKey] isEqual:[NSNull null]]) {
- [self.mutableObservedChangedKeyPaths removeObject:keyPath];
- } else {
- [self.mutableObservedChangedKeyPaths addObject:keyPath];
- }
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [self init];
- if (!self) {
- return nil;
- }
-
- self.mutableHTTPRequestHeaders = [[decoder decodeObjectOfClass:[NSDictionary class] forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))] mutableCopy];
- self.queryStringSerializationStyle = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.mutableHTTPRequestHeaders forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))];
- [coder encodeInteger:self.queryStringSerializationStyle forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.mutableHTTPRequestHeaders = [self.mutableHTTPRequestHeaders mutableCopyWithZone:zone];
- serializer.queryStringSerializationStyle = self.queryStringSerializationStyle;
- serializer.queryStringSerialization = self.queryStringSerialization;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-static NSString * AFCreateMultipartFormBoundary() {
- return [NSString stringWithFormat:@"Boundary+%08X%08X", arc4random(), arc4random()];
-}
-
-static NSString * const kAFMultipartFormCRLF = @"\r\n";
-
-static inline NSString * AFMultipartFormInitialBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"--%@%@", boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFMultipartFormEncapsulationBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"%@--%@%@", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFMultipartFormFinalBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"%@--%@--%@", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFContentTypeForPathExtension(NSString *extension) {
-#ifdef __UTTYPE__
- NSString *UTI = (__bridge_transfer NSString *)UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, (__bridge CFStringRef)extension, NULL);
- NSString *contentType = (__bridge_transfer NSString *)UTTypeCopyPreferredTagWithClass((__bridge CFStringRef)UTI, kUTTagClassMIMEType);
- if (!contentType) {
- return @"application/octet-stream";
- } else {
- return contentType;
- }
-#else
-#pragma unused (extension)
- return @"application/octet-stream";
-#endif
-}
-
-NSUInteger const kAFUploadStream3GSuggestedPacketSize = 1024 * 16;
-NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2;
-
-@interface AFHTTPBodyPart : NSObject
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-@property (nonatomic, strong) NSDictionary *headers;
-@property (nonatomic, copy) NSString *boundary;
-@property (nonatomic, strong) id body;
-@property (nonatomic, assign) unsigned long long bodyContentLength;
-@property (nonatomic, strong) NSInputStream *inputStream;
-
-@property (nonatomic, assign) BOOL hasInitialBoundary;
-@property (nonatomic, assign) BOOL hasFinalBoundary;
-
-@property (readonly, nonatomic, assign, getter = hasBytesAvailable) BOOL bytesAvailable;
-@property (readonly, nonatomic, assign) unsigned long long contentLength;
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length;
-@end
-
-@interface AFMultipartBodyStream : NSInputStream <NSStreamDelegate>
-@property (nonatomic, assign) NSUInteger numberOfBytesInPacket;
-@property (nonatomic, assign) NSTimeInterval delay;
-@property (nonatomic, strong) NSInputStream *inputStream;
-@property (readonly, nonatomic, assign) unsigned long long contentLength;
-@property (readonly, nonatomic, assign, getter = isEmpty) BOOL empty;
-
-- (id)initWithStringEncoding:(NSStringEncoding)encoding;
-- (void)setInitialAndFinalBoundaries;
-- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart;
-@end
-
-#pragma mark -
-
-@interface AFStreamingMultipartFormData ()
-@property (readwrite, nonatomic, copy) NSMutableURLRequest *request;
-@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;
-@property (readwrite, nonatomic, copy) NSString *boundary;
-@property (readwrite, nonatomic, strong) AFMultipartBodyStream *bodyStream;
-@end
-
-@implementation AFStreamingMultipartFormData
-
-- (id)initWithURLRequest:(NSMutableURLRequest *)urlRequest
- stringEncoding:(NSStringEncoding)encoding
-{
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.request = urlRequest;
- self.stringEncoding = encoding;
- self.boundary = AFCreateMultipartFormBoundary();
- self.bodyStream = [[AFMultipartBodyStream alloc] initWithStringEncoding:encoding];
-
- return self;
-}
-
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- error:(NSError * __autoreleasing *)error
-{
- NSParameterAssert(fileURL);
- NSParameterAssert(name);
-
- NSString *fileName = [fileURL lastPathComponent];
- NSString *mimeType = AFContentTypeForPathExtension([fileURL pathExtension]);
-
- return [self appendPartWithFileURL:fileURL name:name fileName:fileName mimeType:mimeType error:error];
-}
-
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
- error:(NSError * __autoreleasing *)error
-{
- NSParameterAssert(fileURL);
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- if (![fileURL isFileURL]) {
- NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@"Expected URL to be a file URL", @"AFNetworking", nil)};
- if (error) {
- *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];
- }
-
- return NO;
- } else if ([fileURL checkResourceIsReachableAndReturnError:error] == NO) {
- NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@"File URL not reachable.", @"AFNetworking", nil)};
- if (error) {
- *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];
- }
-
- return NO;
- }
-
- NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:[fileURL path] error:error];
- if (!fileAttributes) {
- return NO;
- }
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = mutableHeaders;
- bodyPart.boundary = self.boundary;
- bodyPart.body = fileURL;
- bodyPart.bodyContentLength = [[fileAttributes objectForKey:NSFileSize] unsignedLongLongValue];
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-
- return YES;
-}
-
-- (void)appendPartWithInputStream:(NSInputStream *)inputStream
- name:(NSString *)name
- fileName:(NSString *)fileName
- length:(int64_t)length
- mimeType:(NSString *)mimeType
-{
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = mutableHeaders;
- bodyPart.boundary = self.boundary;
- bodyPart.body = inputStream;
-
- bodyPart.bodyContentLength = (unsigned long long)length;
-
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-}
-
-- (void)appendPartWithFileData:(NSData *)data
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
-{
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- [self appendPartWithHeaders:mutableHeaders body:data];
-}
-
-- (void)appendPartWithFormData:(NSData *)data
- name:(NSString *)name
-{
- NSParameterAssert(name);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"", name] forKey:@"Content-Disposition"];
-
- [self appendPartWithHeaders:mutableHeaders body:data];
-}
-
-- (void)appendPartWithHeaders:(NSDictionary *)headers
- body:(NSData *)body
-{
- NSParameterAssert(body);
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = headers;
- bodyPart.boundary = self.boundary;
- bodyPart.bodyContentLength = [body length];
- bodyPart.body = body;
-
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-}
-
-- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
- delay:(NSTimeInterval)delay
-{
- self.bodyStream.numberOfBytesInPacket = numberOfBytes;
- self.bodyStream.delay = delay;
-}
-
-- (NSMutableURLRequest *)requestByFinalizingMultipartFormData {
- if ([self.bodyStream isEmpty]) {
- return self.request;
- }
-
- // Reset the initial and final boundaries to ensure correct Content-Length
- [self.bodyStream setInitialAndFinalBoundaries];
- [self.request setHTTPBodyStream:self.bodyStream];
-
- [self.request setValue:[NSString stringWithFormat:@"multipart/form-data; boundary=%@", self.boundary] forHTTPHeaderField:@"Content-Type"];
- [self.request setValue:[NSString stringWithFormat:@"%llu", [self.bodyStream contentLength]] forHTTPHeaderField:@"Content-Length"];
-
- return self.request;
-}
-
-@end
-
-#pragma mark -
-
-@interface NSStream ()
-@property (readwrite) NSStreamStatus streamStatus;
-@property (readwrite, copy) NSError *streamError;
-@end
-
-@interface AFMultipartBodyStream () <NSCopying>
-@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;
-@property (readwrite, nonatomic, strong) NSMutableArray *HTTPBodyParts;
-@property (readwrite, nonatomic, strong) NSEnumerator *HTTPBodyPartEnumerator;
-@property (readwrite, nonatomic, strong) AFHTTPBodyPart *currentHTTPBodyPart;
-@property (readwrite, nonatomic, strong) NSOutputStream *outputStream;
-@property (readwrite, nonatomic, strong) NSMutableData *buffer;
-@end
-
-@implementation AFMultipartBodyStream
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wimplicit-atomic-properties"
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1100)
-@synthesize delegate;
-#endif
-@synthesize streamStatus;
-@synthesize streamError;
-#pragma clang diagnostic pop
-
-- (id)initWithStringEncoding:(NSStringEncoding)encoding {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = encoding;
- self.HTTPBodyParts = [NSMutableArray array];
- self.numberOfBytesInPacket = NSIntegerMax;
-
- return self;
-}
-
-- (void)setInitialAndFinalBoundaries {
- if ([self.HTTPBodyParts count] > 0) {
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- bodyPart.hasInitialBoundary = NO;
- bodyPart.hasFinalBoundary = NO;
- }
-
- [[self.HTTPBodyParts objectAtIndex:0] setHasInitialBoundary:YES];
- [[self.HTTPBodyParts lastObject] setHasFinalBoundary:YES];
- }
-}
-
-- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart {
- [self.HTTPBodyParts addObject:bodyPart];
-}
-
-- (BOOL)isEmpty {
- return [self.HTTPBodyParts count] == 0;
-}
-
-#pragma mark - NSInputStream
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
- if ([self streamStatus] == NSStreamStatusClosed) {
- return 0;
- }
-
- NSInteger totalNumberOfBytesRead = 0;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- while ((NSUInteger)totalNumberOfBytesRead < MIN(length, self.numberOfBytesInPacket)) {
- if (!self.currentHTTPBodyPart || ![self.currentHTTPBodyPart hasBytesAvailable]) {
- if (!(self.currentHTTPBodyPart = [self.HTTPBodyPartEnumerator nextObject])) {
- break;
- }
- } else {
- NSUInteger maxLength = length - (NSUInteger)totalNumberOfBytesRead;
- NSInteger numberOfBytesRead = [self.currentHTTPBodyPart read:&buffer[totalNumberOfBytesRead] maxLength:maxLength];
- if (numberOfBytesRead == -1) {
- self.streamError = self.currentHTTPBodyPart.inputStream.streamError;
- break;
- } else {
- totalNumberOfBytesRead += numberOfBytesRead;
-
- if (self.delay > 0.0f) {
- [NSThread sleepForTimeInterval:self.delay];
- }
- }
- }
- }
-#pragma clang diagnostic pop
-
- return totalNumberOfBytesRead;
-}
-
-- (BOOL)getBuffer:(__unused uint8_t **)buffer
- length:(__unused NSUInteger *)len
-{
- return NO;
-}
-
-- (BOOL)hasBytesAvailable {
- return [self streamStatus] == NSStreamStatusOpen;
-}
-
-#pragma mark - NSStream
-
-- (void)open {
- if (self.streamStatus == NSStreamStatusOpen) {
- return;
- }
-
- self.streamStatus = NSStreamStatusOpen;
-
- [self setInitialAndFinalBoundaries];
- self.HTTPBodyPartEnumerator = [self.HTTPBodyParts objectEnumerator];
-}
-
-- (void)close {
- self.streamStatus = NSStreamStatusClosed;
-}
-
-- (id)propertyForKey:(__unused NSString *)key {
- return nil;
-}
-
-- (BOOL)setProperty:(__unused id)property
- forKey:(__unused NSString *)key
-{
- return NO;
-}
-
-- (void)scheduleInRunLoop:(__unused NSRunLoop *)aRunLoop
- forMode:(__unused NSString *)mode
-{}
-
-- (void)removeFromRunLoop:(__unused NSRunLoop *)aRunLoop
- forMode:(__unused NSString *)mode
-{}
-
-- (unsigned long long)contentLength {
- unsigned long long length = 0;
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- length += [bodyPart contentLength];
- }
-
- return length;
-}
-
-#pragma mark - Undocumented CFReadStream Bridged Methods
-
-- (void)_scheduleInCFRunLoop:(__unused CFRunLoopRef)aRunLoop
- forMode:(__unused CFStringRef)aMode
-{}
-
-- (void)_unscheduleFromCFRunLoop:(__unused CFRunLoopRef)aRunLoop
- forMode:(__unused CFStringRef)aMode
-{}
-
-- (BOOL)_setCFClientFlags:(__unused CFOptionFlags)inFlags
- callback:(__unused CFReadStreamClientCallBack)inCallback
- context:(__unused CFStreamClientContext *)inContext {
- return NO;
-}
-
-#pragma mark - NSCopying
-
--(id)copyWithZone:(NSZone *)zone {
- AFMultipartBodyStream *bodyStreamCopy = [[[self class] allocWithZone:zone] initWithStringEncoding:self.stringEncoding];
-
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- [bodyStreamCopy appendHTTPBodyPart:[bodyPart copy]];
- }
-
- [bodyStreamCopy setInitialAndFinalBoundaries];
-
- return bodyStreamCopy;
-}
-
-@end
-
-#pragma mark -
-
-typedef enum {
- AFEncapsulationBoundaryPhase = 1,
- AFHeaderPhase = 2,
- AFBodyPhase = 3,
- AFFinalBoundaryPhase = 4,
-} AFHTTPBodyPartReadPhase;
-
-@interface AFHTTPBodyPart () <NSCopying> {
- AFHTTPBodyPartReadPhase _phase;
- NSInputStream *_inputStream;
- unsigned long long _phaseReadOffset;
-}
-
-- (BOOL)transitionToNextPhase;
-- (NSInteger)readData:(NSData *)data
- intoBuffer:(uint8_t *)buffer
- maxLength:(NSUInteger)length;
-@end
-
-@implementation AFHTTPBodyPart
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- [self transitionToNextPhase];
-
- return self;
-}
-
-- (void)dealloc {
- if (_inputStream) {
- [_inputStream close];
- _inputStream = nil;
- }
-}
-
-- (NSInputStream *)inputStream {
- if (!_inputStream) {
- if ([self.body isKindOfClass:[NSData class]]) {
- _inputStream = [NSInputStream inputStreamWithData:self.body];
- } else if ([self.body isKindOfClass:[NSURL class]]) {
- _inputStream = [NSInputStream inputStreamWithURL:self.body];
- } else if ([self.body isKindOfClass:[NSInputStream class]]) {
- _inputStream = self.body;
- } else {
- _inputStream = [NSInputStream inputStreamWithData:[NSData data]];
- }
- }
-
- return _inputStream;
-}
-
-- (NSString *)stringForHeaders {
- NSMutableString *headerString = [NSMutableString string];
- for (NSString *field in [self.headers allKeys]) {
- [headerString appendString:[NSString stringWithFormat:@"%@: %@%@", field, [self.headers valueForKey:field], kAFMultipartFormCRLF]];
- }
- [headerString appendString:kAFMultipartFormCRLF];
-
- return [NSString stringWithString:headerString];
-}
-
-- (unsigned long long)contentLength {
- unsigned long long length = 0;
-
- NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];
- length += [encapsulationBoundaryData length];
-
- NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];
- length += [headersData length];
-
- length += _bodyContentLength;
-
- NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);
- length += [closingBoundaryData length];
-
- return length;
-}
-
-- (BOOL)hasBytesAvailable {
- // Allows `read:maxLength:` to be called again if `AFMultipartFormFinalBoundary` doesn't fit into the available buffer
- if (_phase == AFFinalBoundaryPhase) {
- return YES;
- }
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wcovered-switch-default"
- switch (self.inputStream.streamStatus) {
- case NSStreamStatusNotOpen:
- case NSStreamStatusOpening:
- case NSStreamStatusOpen:
- case NSStreamStatusReading:
- case NSStreamStatusWriting:
- return YES;
- case NSStreamStatusAtEnd:
- case NSStreamStatusClosed:
- case NSStreamStatusError:
- default:
- return NO;
- }
-#pragma clang diagnostic pop
-}
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
- NSInteger totalNumberOfBytesRead = 0;
-
- if (_phase == AFEncapsulationBoundaryPhase) {
- NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];
- totalNumberOfBytesRead += [self readData:encapsulationBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- if (_phase == AFHeaderPhase) {
- NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];
- totalNumberOfBytesRead += [self readData:headersData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- if (_phase == AFBodyPhase) {
- NSInteger numberOfBytesRead = 0;
-
- numberOfBytesRead = [self.inputStream read:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- if (numberOfBytesRead == -1) {
- return -1;
- } else {
- totalNumberOfBytesRead += numberOfBytesRead;
-
- if ([self.inputStream streamStatus] >= NSStreamStatusAtEnd) {
- [self transitionToNextPhase];
- }
- }
- }
-
- if (_phase == AFFinalBoundaryPhase) {
- NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);
- totalNumberOfBytesRead += [self readData:closingBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- return totalNumberOfBytesRead;
-}
-
-- (NSInteger)readData:(NSData *)data
- intoBuffer:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- NSRange range = NSMakeRange((NSUInteger)_phaseReadOffset, MIN([data length] - ((NSUInteger)_phaseReadOffset), length));
- [data getBytes:buffer range:range];
-#pragma clang diagnostic pop
-
- _phaseReadOffset += range.length;
-
- if (((NSUInteger)_phaseReadOffset) >= [data length]) {
- [self transitionToNextPhase];
- }
-
- return (NSInteger)range.length;
-}
-
-- (BOOL)transitionToNextPhase {
- if (![[NSThread currentThread] isMainThread]) {
- dispatch_sync(dispatch_get_main_queue(), ^{
- [self transitionToNextPhase];
- });
- return YES;
- }
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wcovered-switch-default"
- switch (_phase) {
- case AFEncapsulationBoundaryPhase:
- _phase = AFHeaderPhase;
- break;
- case AFHeaderPhase:
- [self.inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
- [self.inputStream open];
- _phase = AFBodyPhase;
- break;
- case AFBodyPhase:
- [self.inputStream close];
- _phase = AFFinalBoundaryPhase;
- break;
- case AFFinalBoundaryPhase:
- default:
- _phase = AFEncapsulationBoundaryPhase;
- break;
- }
- _phaseReadOffset = 0;
-#pragma clang diagnostic pop
-
- return YES;
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPBodyPart *bodyPart = [[[self class] allocWithZone:zone] init];
-
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = self.headers;
- bodyPart.bodyContentLength = self.bodyContentLength;
- bodyPart.body = self.body;
- bodyPart.boundary = self.boundary;
-
- return bodyPart;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFJSONRequestSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithWritingOptions:(NSJSONWritingOptions)0];
-}
-
-+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions
-{
- AFJSONRequestSerializer *serializer = [[self alloc] init];
- serializer.writingOptions = writingOptions;
-
- return serializer;
-}
-
-#pragma mark - AFURLRequestSerialization
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- return [super requestBySerializingRequest:request withParameters:parameters error:error];
- }
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- }
-
- [mutableRequest setHTTPBody:[NSJSONSerialization dataWithJSONObject:parameters options:self.writingOptions error:error]];
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.writingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writingOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeInteger:self.writingOptions forKey:NSStringFromSelector(@selector(writingOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFJSONRequestSerializer *serializer = [super copyWithZone:zone];
- serializer.writingOptions = self.writingOptions;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFPropertyListRequestSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 writeOptions:0];
-}
-
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- writeOptions:(NSPropertyListWriteOptions)writeOptions
-{
- AFPropertyListRequestSerializer *serializer = [[self alloc] init];
- serializer.format = format;
- serializer.writeOptions = writeOptions;
-
- return serializer;
-}
-
-#pragma mark - AFURLRequestSerializer
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- return [super requestBySerializingRequest:request withParameters:parameters error:error];
- }
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/x-plist" forHTTPHeaderField:@"Content-Type"];
- }
-
- [mutableRequest setHTTPBody:[NSPropertyListSerialization dataWithPropertyList:parameters format:self.format options:self.writeOptions error:error]];
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.format = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];
- self.writeOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writeOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeInteger:self.format forKey:NSStringFromSelector(@selector(format))];
- [coder encodeObject:@(self.writeOptions) forKey:NSStringFromSelector(@selector(writeOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFPropertyListRequestSerializer *serializer = [super copyWithZone:zone];
- serializer.format = self.format;
- serializer.writeOptions = self.writeOptions;
-
- return serializer;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h
deleted file mode 100644
index 030e8faed7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1,310 +0,0 @@
-// AFSerialization.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <CoreGraphics/CoreGraphics.h>
-
-/**
- The `AFURLResponseSerialization` protocol is adopted by an object that decodes data into a more useful object representation, according to details in the server response. Response serializers may additionally perform validation on the incoming response and data.
-
- For example, a JSON response serializer may check for an acceptable status code (`2XX` range) and content type (`application/json`), decoding a valid JSON response into an object.
- */
-@protocol AFURLResponseSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- The response object decoded from the data associated with a specified response.
-
- @param response The response to be processed.
- @param data The response data to be decoded.
- @param error The error that occurred while attempting to decode the response data.
-
- @return The object decoded from the specified response data.
- */
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-/**
- `AFHTTPResponseSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPResponseSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPResponseSerializer : NSObject <AFURLResponseSerialization>
-
-- (instancetype) init;
-
-/**
- The string encoding used to serialize parameters.
- */
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-///-----------------------------------------
-/// @name Configuring Response Serialization
-///-----------------------------------------
-
-/**
- The acceptable HTTP status codes for responses. When non-`nil`, responses with status codes not contained by the set will result in an error during validation.
-
- See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
- */
-@property (nonatomic, copy) NSIndexSet *acceptableStatusCodes;
-
-/**
- The acceptable MIME types for responses. When non-`nil`, responses with a `Content-Type` with MIME types that do not intersect with the set will result in an error during validation.
- */
-@property (nonatomic, copy) NSSet *acceptableContentTypes;
-
-/**
- Validates the specified response and data.
-
- In its base implementation, this method checks for an acceptable status code and content type. Subclasses may wish to add other domain-specific checks.
-
- @param response The response to be validated.
- @param data The data associated with the response.
- @param error The error that occurred while attempting to validate the response.
-
- @return `YES` if the response is valid, otherwise `NO`.
- */
-- (BOOL)validateResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-
-/**
- `AFJSONResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes JSON responses.
-
- By default, `AFJSONResponseSerializer` accepts the following MIME types, which includes the official standard, `application/json`, as well as other commonly-used types:
-
- - `application/json`
- - `text/json`
- - `text/javascript`
- */
-@interface AFJSONResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- Options for reading the response JSON data and creating the Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONReadingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONReadingOptions readingOptions;
-
-/**
- Whether to remove keys with `NSNull` values from response JSON. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL removesKeysWithNullValues;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param readingOptions The specified JSON reading options.
- */
-+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFXMLParserResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLParser` objects.
-
- By default, `AFXMLParserResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLParserResponseSerializer : AFHTTPResponseSerializer
-
-@end
-
-#pragma mark -
-
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-/**
- `AFXMLDocumentResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFXMLDocumentResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLDocumentResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- Input and output options specifically intended for `NSXMLDocument` objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONReadingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSUInteger options;
-
-/**
- Creates and returns an XML document serializer with the specified options.
-
- @param mask The XML document options.
- */
-+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask;
-
-@end
-
-#endif
-
-#pragma mark -
-
-/**
- `AFPropertyListResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFPropertyListResponseSerializer` accepts the following MIME types:
-
- - `application/x-plist`
- */
-@interface AFPropertyListResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- The property list reading options. Possible values are described in "NSPropertyListMutabilityOptions."
- */
-@property (nonatomic, assign) NSPropertyListReadOptions readOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param readOptions The property list reading options.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- readOptions:(NSPropertyListReadOptions)readOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFImageResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes image responses.
-
- By default, `AFImageResponseSerializer` accepts the following MIME types, which correspond to the image formats supported by UIImage or NSImage:
-
- - `image/tiff`
- - `image/jpeg`
- - `image/gif`
- - `image/png`
- - `image/ico`
- - `image/x-icon`
- - `image/bmp`
- - `image/x-bmp`
- - `image/x-xbitmap`
- - `image/x-win-bitmap`
- */
-@interface AFImageResponseSerializer : AFHTTPResponseSerializer
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-/**
- The scale factor used when interpreting the image data to construct `responseImage`. Specifying a scale factor of 1.0 results in an image whose size matches the pixel-based dimensions of the image. Applying a different scale factor changes the size of the image as reported by the size property. This is set to the value of scale of the main screen by default, which automatically scales images for retina displays, for instance.
- */
-@property (nonatomic, assign) CGFloat imageScale;
-
-/**
- Whether to automatically inflate response image data for compressed formats (such as PNG or JPEG). Enabling this can significantly improve drawing performance on iOS when used with `setCompletionBlockWithSuccess:failure:`, as it allows a bitmap representation to be constructed in the background rather than on the main thread. `YES` by default.
- */
-@property (nonatomic, assign) BOOL automaticallyInflatesResponseImage;
-#endif
-
-@end
-
-#pragma mark -
-
-/**
- `AFCompoundSerializer` is a subclass of `AFHTTPResponseSerializer` that delegates the response serialization to the first `AFHTTPResponseSerializer` object that returns an object for `responseObjectForResponse:data:error:`, falling back on the default behavior of `AFHTTPResponseSerializer`. This is useful for supporting multiple potential types and structures of server responses with a single serializer.
- */
-@interface AFCompoundResponseSerializer : AFHTTPResponseSerializer
-
-/**
- The component response serializers.
- */
-@property (readonly, nonatomic, copy) NSArray *responseSerializers;
-
-/**
- Creates and returns a compound serializer comprised of the specified response serializers.
-
- @warning Each response serializer specified must be a subclass of `AFHTTPResponseSerializer`, and response to `-validateResponse:data:error:`.
- */
-+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLResponseSerializationErrorDomain`
-
- ### Constants
-
- `AFURLResponseSerializationErrorDomain`
- AFURLResponseSerializer errors. Error codes for `AFURLResponseSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-extern NSString * const AFURLResponseSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLResponseErrorKey`
- - `NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLResponseErrorKey`
- The corresponding value is an `NSURLResponse` containing the response of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
-
- `AFNetworkingOperationFailingURLResponseDataErrorKey`
- The corresponding value is an `NSData` containing the original data of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
- */
-extern NSString * const AFNetworkingOperationFailingURLResponseErrorKey;
-
-extern NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey;
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m
deleted file mode 100644
index 083d30c266..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m
+++ /dev/null
@@ -1,793 +0,0 @@
-// AFSerialization.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFURLResponseSerialization.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
-#import <Cocoa/Cocoa.h>
-#endif
-
-NSString * const AFURLResponseSerializationErrorDomain = @"com.alamofire.error.serialization.response";
-NSString * const AFNetworkingOperationFailingURLResponseErrorKey = @"com.alamofire.serialization.response.error.response";
-NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey = @"com.alamofire.serialization.response.error.data";
-
-static NSError * AFErrorWithUnderlyingError(NSError *error, NSError *underlyingError) {
- if (!error) {
- return underlyingError;
- }
-
- if (!underlyingError || error.userInfo[NSUnderlyingErrorKey]) {
- return error;
- }
-
- NSMutableDictionary *mutableUserInfo = [error.userInfo mutableCopy];
- mutableUserInfo[NSUnderlyingErrorKey] = underlyingError;
-
- return [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:mutableUserInfo];
-}
-
-static BOOL AFErrorOrUnderlyingErrorHasCodeInDomain(NSError *error, NSInteger code, NSString *domain) {
- if ([error.domain isEqualToString:domain] && error.code == code) {
- return YES;
- } else if (error.userInfo[NSUnderlyingErrorKey]) {
- return AFErrorOrUnderlyingErrorHasCodeInDomain(error.userInfo[NSUnderlyingErrorKey], code, domain);
- }
-
- return NO;
-}
-
-static id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions) {
- if ([JSONObject isKindOfClass:[NSArray class]]) {
- NSMutableArray *mutableArray = [NSMutableArray arrayWithCapacity:[(NSArray *)JSONObject count]];
- for (id value in (NSArray *)JSONObject) {
- [mutableArray addObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions)];
- }
-
- return (readingOptions & NSJSONReadingMutableContainers) ? mutableArray : [NSArray arrayWithArray:mutableArray];
- } else if ([JSONObject isKindOfClass:[NSDictionary class]]) {
- NSMutableDictionary *mutableDictionary = [NSMutableDictionary dictionaryWithDictionary:JSONObject];
- for (id <NSCopying> key in [(NSDictionary *)JSONObject allKeys]) {
- id value = [(NSDictionary *)JSONObject objectForKey:key];
- if (!value || [value isEqual:[NSNull null]]) {
- [mutableDictionary removeObjectForKey:key];
- } else if ([value isKindOfClass:[NSArray class]] || [value isKindOfClass:[NSDictionary class]]) {
- [mutableDictionary setObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions) forKey:key];
- }
- }
-
- return (readingOptions & NSJSONReadingMutableContainers) ? mutableDictionary : [NSDictionary dictionaryWithDictionary:mutableDictionary];
- }
-
- return JSONObject;
-}
-
-@implementation AFHTTPResponseSerializer
-
-+ (instancetype)serializer {
- return [[self alloc] init];
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = NSUTF8StringEncoding;
-
- self.acceptableStatusCodes = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 100)];
- self.acceptableContentTypes = nil;
-
- return self;
-}
-
-#pragma mark -
-
-- (BOOL)validateResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError * __autoreleasing *)error
-{
- BOOL responseIsValid = YES;
- NSError *validationError = nil;
-
- if (response && [response isKindOfClass:[NSHTTPURLResponse class]]) {
- if (self.acceptableContentTypes && ![self.acceptableContentTypes containsObject:[response MIMEType]]) {
- if ([data length] > 0 && [response URL]) {
- NSMutableDictionary *mutableUserInfo = [@{
- NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: unacceptable content-type: %@", @"AFNetworking", nil), [response MIMEType]],
- NSURLErrorFailingURLErrorKey:[response URL],
- AFNetworkingOperationFailingURLResponseErrorKey: response,
- } mutableCopy];
- if (data) {
- mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
- }
-
- validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:mutableUserInfo], validationError);
- }
-
- responseIsValid = NO;
- }
-
- if (self.acceptableStatusCodes && ![self.acceptableStatusCodes containsIndex:(NSUInteger)response.statusCode] && [response URL]) {
- NSMutableDictionary *mutableUserInfo = [@{
- NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: %@ (%ld)", @"AFNetworking", nil), [NSHTTPURLResponse localizedStringForStatusCode:response.statusCode], (long)response.statusCode],
- NSURLErrorFailingURLErrorKey:[response URL],
- AFNetworkingOperationFailingURLResponseErrorKey: response,
- } mutableCopy];
-
- if (data) {
- mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
- }
-
- validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorBadServerResponse userInfo:mutableUserInfo], validationError);
-
- responseIsValid = NO;
- }
- }
-
- if (error && !responseIsValid) {
- *error = validationError;
- }
-
- return responseIsValid;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- [self validateResponse:(NSHTTPURLResponse *)response data:data error:error];
-
- return data;
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [self init];
- if (!self) {
- return nil;
- }
-
- self.acceptableStatusCodes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
- self.acceptableContentTypes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.acceptableStatusCodes forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
- [coder encodeObject:self.acceptableContentTypes forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.acceptableStatusCodes = [self.acceptableStatusCodes copyWithZone:zone];
- serializer.acceptableContentTypes = [self.acceptableContentTypes copyWithZone:zone];
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFJSONResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithReadingOptions:(NSJSONReadingOptions)0];
-}
-
-+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions {
- AFJSONResponseSerializer *serializer = [[self alloc] init];
- serializer.readingOptions = readingOptions;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- // Workaround for behavior of Rails to return a single space for `head :ok` (a workaround for a bug in Safari), which is not interpreted as valid input by NSJSONSerialization.
- // See https://github.com/rails/rails/issues/1742
- NSStringEncoding stringEncoding = self.stringEncoding;
- if (response.textEncodingName) {
- CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding((CFStringRef)response.textEncodingName);
- if (encoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(encoding);
- }
- }
-
- id responseObject = nil;
- NSError *serializationError = nil;
- @autoreleasepool {
- NSString *responseString = [[NSString alloc] initWithData:data encoding:stringEncoding];
- if (responseString && ![responseString isEqualToString:@" "]) {
- // Workaround for a bug in NSJSONSerialization when Unicode character escape codes are used instead of the actual character
- // See http://stackoverflow.com/a/12843465/157142
- data = [responseString dataUsingEncoding:NSUTF8StringEncoding];
-
- if (data) {
- if ([data length] > 0) {
- responseObject = [NSJSONSerialization JSONObjectWithData:data options:self.readingOptions error:&serializationError];
- } else {
- return nil;
- }
- } else {
- NSDictionary *userInfo = @{
- NSLocalizedDescriptionKey: NSLocalizedStringFromTable(@"Data failed decoding as a UTF-8 string", @"AFNetworking", nil),
- NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Could not decode string: %@", @"AFNetworking", nil), responseString]
- };
-
- serializationError = [NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:userInfo];
- }
- }
- }
-
- if (self.removesKeysWithNullValues && responseObject) {
- responseObject = AFJSONObjectByRemovingKeysWithNullValues(responseObject, self.readingOptions);
- }
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return responseObject;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.readingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readingOptions))] unsignedIntegerValue];
- self.removesKeysWithNullValues = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))] boolValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.readingOptions) forKey:NSStringFromSelector(@selector(readingOptions))];
- [coder encodeObject:@(self.removesKeysWithNullValues) forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFJSONResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.readingOptions = self.readingOptions;
- serializer.removesKeysWithNullValues = self.removesKeysWithNullValues;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFXMLParserResponseSerializer
-
-+ (instancetype)serializer {
- AFXMLParserResponseSerializer *serializer = [[self alloc] init];
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- return [[NSXMLParser alloc] initWithData:data];
-}
-
-@end
-
-#pragma mark -
-
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-@implementation AFXMLDocumentResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithXMLDocumentOptions:0];
-}
-
-+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask {
- AFXMLDocumentResponseSerializer *serializer = [[self alloc] init];
- serializer.options = mask;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- NSError *serializationError = nil;
- NSXMLDocument *document = [[NSXMLDocument alloc] initWithData:data options:self.options error:&serializationError];
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return document;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.options = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(options))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.options) forKey:NSStringFromSelector(@selector(options))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFXMLDocumentResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.options = self.options;
-
- return serializer;
-}
-
-@end
-
-#endif
-
-#pragma mark -
-
-@implementation AFPropertyListResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 readOptions:0];
-}
-
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- readOptions:(NSPropertyListReadOptions)readOptions
-{
- AFPropertyListResponseSerializer *serializer = [[self alloc] init];
- serializer.format = format;
- serializer.readOptions = readOptions;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/x-plist", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- id responseObject;
- NSError *serializationError = nil;
-
- if (data) {
- responseObject = [NSPropertyListSerialization propertyListWithData:data options:self.readOptions format:NULL error:&serializationError];
- }
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return responseObject;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.format = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];
- self.readOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.format) forKey:NSStringFromSelector(@selector(format))];
- [coder encodeObject:@(self.readOptions) forKey:NSStringFromSelector(@selector(readOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFPropertyListResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.format = self.format;
- serializer.readOptions = self.readOptions;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <CoreGraphics/CoreGraphics.h>
-
-static UIImage * AFImageWithDataAtScale(NSData *data, CGFloat scale) {
- UIImage *image = [[UIImage alloc] initWithData:data];
-
- return [[UIImage alloc] initWithCGImage:[image CGImage] scale:scale orientation:image.imageOrientation];
-}
-
-static UIImage * AFInflatedImageFromResponseWithDataAtScale(NSHTTPURLResponse *response, NSData *data, CGFloat scale) {
- if (!data || [data length] == 0) {
- return nil;
- }
-
- CGImageRef imageRef = NULL;
- CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)data);
-
- if ([response.MIMEType isEqualToString:@"image/png"]) {
- imageRef = CGImageCreateWithPNGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
- } else if ([response.MIMEType isEqualToString:@"image/jpeg"]) {
- imageRef = CGImageCreateWithJPEGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
-
- // CGImageCreateWithJPEGDataProvider does not properly handle CMKY, so if so, fall back to AFImageWithDataAtScale
- if (imageRef) {
- CGColorSpaceRef imageColorSpace = CGImageGetColorSpace(imageRef);
- CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(imageColorSpace);
- if (imageColorSpaceModel == kCGColorSpaceModelCMYK) {
- CGImageRelease(imageRef);
- imageRef = NULL;
- }
- }
- }
-
- CGDataProviderRelease(dataProvider);
-
- UIImage *image = AFImageWithDataAtScale(data, scale);
- if (!imageRef) {
- if (image.images || !image) {
- return image;
- }
-
- imageRef = CGImageCreateCopy([image CGImage]);
- if (!imageRef) {
- return nil;
- }
- }
-
- size_t width = CGImageGetWidth(imageRef);
- size_t height = CGImageGetHeight(imageRef);
- size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);
-
- if (width * height > 1024 * 1024 || bitsPerComponent > 8) {
- CGImageRelease(imageRef);
-
- return image;
- }
-
- size_t bytesPerRow = 0; // CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate
- CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
- CGColorSpaceModel colorSpaceModel = CGColorSpaceGetModel(colorSpace);
- CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
-
- if (colorSpaceModel == kCGColorSpaceModelRGB) {
- uint32_t alpha = (bitmapInfo & kCGBitmapAlphaInfoMask);
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wassign-enum"
- if (alpha == kCGImageAlphaNone) {
- bitmapInfo &= ~kCGBitmapAlphaInfoMask;
- bitmapInfo |= kCGImageAlphaNoneSkipFirst;
- } else if (!(alpha == kCGImageAlphaNoneSkipFirst || alpha == kCGImageAlphaNoneSkipLast)) {
- bitmapInfo &= ~kCGBitmapAlphaInfoMask;
- bitmapInfo |= kCGImageAlphaPremultipliedFirst;
- }
-#pragma clang diagnostic pop
- }
-
- CGContextRef context = CGBitmapContextCreate(NULL, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
-
- CGColorSpaceRelease(colorSpace);
-
- if (!context) {
- CGImageRelease(imageRef);
-
- return image;
- }
-
- CGContextDrawImage(context, CGRectMake(0.0f, 0.0f, width, height), imageRef);
- CGImageRef inflatedImageRef = CGBitmapContextCreateImage(context);
-
- CGContextRelease(context);
-
- UIImage *inflatedImage = [[UIImage alloc] initWithCGImage:inflatedImageRef scale:scale orientation:image.imageOrientation];
-
- CGImageRelease(inflatedImageRef);
- CGImageRelease(imageRef);
-
- return inflatedImage;
-}
-#endif
-
-
-@implementation AFImageResponseSerializer
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"image/tiff", @"image/jpeg", @"image/gif", @"image/png", @"image/ico", @"image/x-icon", @"image/bmp", @"image/x-bmp", @"image/x-xbitmap", @"image/x-win-bitmap", nil];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- self.imageScale = [[UIScreen mainScreen] scale];
- self.automaticallyInflatesResponseImage = YES;
-#endif
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerializer
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- if (self.automaticallyInflatesResponseImage) {
- return AFInflatedImageFromResponseWithDataAtScale((NSHTTPURLResponse *)response, data, self.imageScale);
- } else {
- return AFImageWithDataAtScale(data, self.imageScale);
- }
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
- // Ensure that the image is set to it's correct pixel width and height
- NSBitmapImageRep *bitimage = [[NSBitmapImageRep alloc] initWithData:data];
- NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize([bitimage pixelsWide], [bitimage pixelsHigh])];
- [image addRepresentation:bitimage];
-
- return image;
-#endif
-
- return nil;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- NSNumber *imageScale = [decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(imageScale))];
-#if CGFLOAT_IS_DOUBLE
- self.imageScale = [imageScale doubleValue];
-#else
- self.imageScale = [imageScale floatValue];
-#endif
-
- self.automaticallyInflatesResponseImage = [decoder decodeBoolForKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
-#endif
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- [coder encodeObject:@(self.imageScale) forKey:NSStringFromSelector(@selector(imageScale))];
- [coder encodeBool:self.automaticallyInflatesResponseImage forKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
-#endif
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFImageResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- serializer.imageScale = self.imageScale;
- serializer.automaticallyInflatesResponseImage = self.automaticallyInflatesResponseImage;
-#endif
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@interface AFCompoundResponseSerializer ()
-@property (readwrite, nonatomic, copy) NSArray *responseSerializers;
-@end
-
-@implementation AFCompoundResponseSerializer
-
-+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers {
- AFCompoundResponseSerializer *serializer = [[self alloc] init];
- serializer.responseSerializers = responseSerializers;
-
- return serializer;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- for (id <AFURLResponseSerialization> serializer in self.responseSerializers) {
- if (![serializer isKindOfClass:[AFHTTPResponseSerializer class]]) {
- continue;
- }
-
- NSError *serializerError = nil;
- id responseObject = [serializer responseObjectForResponse:response data:data error:&serializerError];
- if (responseObject) {
- if (error) {
- *error = AFErrorWithUnderlyingError(serializerError, *error);
- }
-
- return responseObject;
- }
- }
-
- return [super responseObjectForResponse:response data:data error:error];
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.responseSerializers = [decoder decodeObjectOfClass:[NSArray class] forKey:NSStringFromSelector(@selector(responseSerializers))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.responseSerializers forKey:NSStringFromSelector(@selector(responseSerializers))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFCompoundResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.responseSerializers = self.responseSerializers;
-
- return serializer;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h
deleted file mode 100644
index f475773d02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1,531 +0,0 @@
-// AFURLSessionManager.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-#import "AFSecurityPolicy.h"
-#import "AFNetworkReachabilityManager.h"
-
-/**
- `AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
- ## Subclassing Notes
-
- This is the base class for `AFHTTPSessionManager`, which adds functionality specific to making HTTP requests. If you are looking to extend `AFURLSessionManager` specifically for HTTP, consider subclassing `AFHTTPSessionManager` instead.
-
- ## NSURLSession & NSURLSessionTask Delegate Methods
-
- `AFURLSessionManager` implements the following delegate methods:
-
- ### `NSURLSessionDelegate`
-
- - `URLSession:didBecomeInvalidWithError:`
- - `URLSession:didReceiveChallenge:completionHandler:`
- - `URLSessionDidFinishEventsForBackgroundURLSession:`
-
- ### `NSURLSessionTaskDelegate`
-
- - `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`
- - `URLSession:task:didReceiveChallenge:completionHandler:`
- - `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`
- - `URLSession:task:didCompleteWithError:`
-
- ### `NSURLSessionDataDelegate`
-
- - `URLSession:dataTask:didReceiveResponse:completionHandler:`
- - `URLSession:dataTask:didBecomeDownloadTask:`
- - `URLSession:dataTask:didReceiveData:`
- - `URLSession:dataTask:willCacheResponse:completionHandler:`
-
- ### `NSURLSessionDownloadDelegate`
-
- - `URLSession:downloadTask:didFinishDownloadingToURL:`
- - `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`
- - `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`
-
- If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.
-
- ## Network Reachability Monitoring
-
- Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.
-
- ## NSCoding Caveats
-
- - Encoded managers do not include any block properties. Be sure to set delegate callback blocks when using `-initWithCoder:` or `NSKeyedUnarchiver`.
-
- ## NSCopying Caveats
-
- - `-copy` and `-copyWithZone:` return a new manager with a new `NSURLSession` created from the configuration of the original.
- - Operation copies do not include any delegate callback blocks, as they often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ session manager when copied.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-@interface AFURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate, NSSecureCoding, NSCopying>
-
-/**
- The managed session.
- */
-@property (readonly, nonatomic, strong) NSURLSession *session;
-
-/**
- The operation queue on which delegate callbacks are run.
- */
-@property (readonly, nonatomic, strong) NSOperationQueue *operationQueue;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> responseSerializer;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created request operations to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///--------------------------------------
-/// @name Monitoring Network Reachability
-///--------------------------------------
-
-/**
- The network reachability manager. `AFURLSessionManager` uses the `sharedManager` by default.
- */
-@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;
-
-///----------------------------
-/// @name Getting Session Tasks
-///----------------------------
-
-/**
- The data, upload, and download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *tasks;
-
-/**
- The data tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *dataTasks;
-
-/**
- The upload tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *uploadTasks;
-
-/**
- The download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *downloadTasks;
-
-///-------------------------------
-/// @name Managing Callback Queues
-///-------------------------------
-
-/**
- The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------
-/// @name Working Around System Bugs
-///---------------------------------
-
-/**
- Whether to attempt to retry creation of upload tasks for background sessions when initial call returns `nil`. `NO` by default.
-
- @bug As of iOS 7.0, there is a bug where upload tasks created for background tasks are sometimes `nil`. As a workaround, if this property is `YES`, AFNetworking will follow Apple's recommendation to try creating the task again.
-
- @see https://github.com/AFNetworking/AFNetworking/issues/1675
- */
-@property (nonatomic, assign) BOOL attemptsToRecreateUploadTasksForBackgroundSessions;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a manager for a session created with the specified configuration. This is the designated initializer.
-
- @param configuration The configuration used to create the managed session.
-
- @return A manager for a newly-created session.
- */
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration;
-
-/**
- Invalidates the managed session, optionally canceling pending tasks.
-
- @param cancelPendingTasks Whether or not to cancel pending tasks.
- */
-- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks;
-
-///-------------------------
-/// @name Running Data Tasks
-///-------------------------
-
-/**
- Creates an `NSURLSessionDataTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-///---------------------------
-/// @name Running Upload Tasks
-///---------------------------
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for a local file.
-
- @param request The HTTP request for the request.
- @param fileURL A URL to the local file to be uploaded.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
-
- @see `attemptsToRecreateUploadTasksForBackgroundSessions`
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromFile:(NSURL *)fileURL
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for an HTTP body.
-
- @param request The HTTP request for the request.
- @param bodyData A data object containing the HTTP body to be uploaded.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromData:(NSData *)bodyData
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified streaming request.
-
- @param request The HTTP request for the request.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-///-----------------------------
-/// @name Running Download Tasks
-///-----------------------------
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param progress A progress object monitoring the current download progress.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
-
- @warning If using a background `NSURLSessionConfiguration` on iOS, these blocks will be lost when the app is terminated. Background sessions may prefer to use `-setDownloadTaskDidFinishDownloadingBlock:` to specify the URL for saving the downloaded file, rather than the destination block of this method.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified resume data.
-
- @param resumeData The data used to resume downloading.
- @param progress A progress object monitoring the current download progress.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
-
-///---------------------------------
-/// @name Getting Progress for Tasks
-///---------------------------------
-
-/**
- Returns the upload progress of the specified task.
-
- @param uploadTask The session upload task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the upload progress of a task, or `nil` if the progress is unavailable.
- */
-- (NSProgress *)uploadProgressForTask:(NSURLSessionUploadTask *)uploadTask;
-
-/**
- Returns the download progress of the specified task.
-
- @param downloadTask The session download task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the download progress of a task, or `nil` if the progress is unavailable.
- */
-- (NSProgress *)downloadProgressForTask:(NSURLSessionDownloadTask *)downloadTask;
-
-///-----------------------------------------
-/// @name Setting Session Delegate Callbacks
-///-----------------------------------------
-
-/**
- Sets a block to be executed when the managed session becomes invalid, as handled by the `NSURLSessionDelegate` method `URLSession:didBecomeInvalidWithError:`.
-
- @param block A block object to be executed when the managed session becomes invalid. The block has no return value, and takes two arguments: the session, and the error related to the cause of invalidation.
- */
-- (void)setSessionDidBecomeInvalidBlock:(void (^)(NSURLSession *session, NSError *error))block;
-
-/**
- Sets a block to be executed when a connection level authentication challenge has occurred, as handled by the `NSURLSessionDelegate` method `URLSession:didReceiveChallenge:completionHandler:`.
-
- @param block A block object to be executed when a connection level authentication challenge has occurred. The block returns the disposition of the authentication challenge, and takes three arguments: the session, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.
- */
-- (void)setSessionDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block;
-
-///--------------------------------------
-/// @name Setting Task Delegate Callbacks
-///--------------------------------------
-
-/**
- Sets a block to be executed when a task requires a new request body stream to send to the remote server, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:needNewBodyStream:`.
-
- @param block A block object to be executed when a task requires a new request body stream.
- */
-- (void)setTaskNeedNewBodyStreamBlock:(NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block;
-
-/**
- Sets a block to be executed when an HTTP request is attempting to perform a redirection to a different URL, as handled by the `NSURLSessionTaskDelegate` method `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`.
-
- @param block A block object to be executed when an HTTP request is attempting to perform a redirection to a different URL. The block returns the request to be made for the redirection, and takes four arguments: the session, the task, the redirection response, and the request corresponding to the redirection response.
- */
-- (void)setTaskWillPerformHTTPRedirectionBlock:(NSURLRequest * (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block;
-
-/**
- Sets a block to be executed when a session task has received a request specific authentication challenge, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didReceiveChallenge:completionHandler:`.
-
- @param block A block object to be executed when a session task has received a request specific authentication challenge. The block returns the disposition of the authentication challenge, and takes four arguments: the session, the task, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.
- */
-- (void)setTaskDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block;
-
-/**
- Sets a block to be executed periodically to track upload progress, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.
-
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes five arguments: the session, the task, the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setTaskDidSendBodyDataBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block;
-
-/**
- Sets a block to be executed as the last message related to a specific task, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didCompleteWithError:`.
-
- @param block A block object to be executed when a session task is completed. The block has no return value, and takes three arguments: the session, the task, and any error that occurred in the process of executing the task.
- */
-- (void)setTaskDidCompleteBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, NSError *error))block;
-
-///-------------------------------------------
-/// @name Setting Data Task Delegate Callbacks
-///-------------------------------------------
-
-/**
- Sets a block to be executed when a data task has received a response, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveResponse:completionHandler:`.
-
- @param block A block object to be executed when a data task has received a response. The block returns the disposition of the session response, and takes three arguments: the session, the data task, and the received response.
- */
-- (void)setDataTaskDidReceiveResponseBlock:(NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block;
-
-/**
- Sets a block to be executed when a data task has become a download task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didBecomeDownloadTask:`.
-
- @param block A block object to be executed when a data task has become a download task. The block has no return value, and takes three arguments: the session, the data task, and the download task it has become.
- */
-- (void)setDataTaskDidBecomeDownloadTaskBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block;
-
-/**
- Sets a block to be executed when a data task receives data, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveData:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the session, the data task, and the data received. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDataTaskDidReceiveDataBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block;
-
-/**
- Sets a block to be executed to determine the caching behavior of a data task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:willCacheResponse:completionHandler:`.
-
- @param block A block object to be executed to determine the caching behavior of a data task. The block returns the response to cache, and takes three arguments: the session, the data task, and the proposed cached URL response.
- */
-- (void)setDataTaskWillCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block;
-
-/**
- Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDataDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.
-
- @param block A block object to be executed once all messages enqueued for a session have been delivered. The block has no return value and takes a single argument: the session.
- */
-- (void)setDidFinishEventsForBackgroundURLSessionBlock:(void (^)(NSURLSession *session))block;
-
-///-----------------------------------------------
-/// @name Setting Download Task Delegate Callbacks
-///-----------------------------------------------
-
-/**
- Sets a block to be executed when a download task has completed a download, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didFinishDownloadingToURL:`.
-
- @param block A block object to be executed when a download task has completed. The block returns the URL the download should be moved to, and takes three arguments: the session, the download task, and the temporary location of the downloaded file. If the file manager encounters an error while attempting to move the temporary file to the destination, an `AFURLSessionDownloadTaskDidFailToMoveFileNotification` will be posted, with the download task as its object, and the user info of the error.
- */
-- (void)setDownloadTaskDidFinishDownloadingBlock:(NSURL * (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block;
-
-/**
- Sets a block to be executed periodically to track download progress, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes five arguments: the session, the download task, the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDownloadTaskDidWriteDataBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block;
-
-/**
- Sets a block to be executed when a download task has been resumed, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.
-
- @param block A block object to be executed when a download task has been resumed. The block has no return value and takes four arguments: the session, the download task, the file offset of the resumed download, and the total number of bytes expected to be downloaded.
- */
-- (void)setDownloadTaskDidResumeBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block;
-
-@end
-
-#endif
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when a task begins executing.
-
- @deprecated Use `AFNetworkingTaskDidResumeNotification` instead.
- */
-extern NSString * const AFNetworkingTaskDidStartNotification DEPRECATED_ATTRIBUTE;
-
-/**
- Posted when a task resumes.
- */
-extern NSString * const AFNetworkingTaskDidResumeNotification;
-
-/**
- Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.
-
- @deprecated Use `AFNetworkingTaskDidCompleteNotification` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishNotification DEPRECATED_ATTRIBUTE;
-
-/**
- Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.
- */
-extern NSString * const AFNetworkingTaskDidCompleteNotification;
-
-/**
- Posted when a task suspends its execution.
- */
-extern NSString * const AFNetworkingTaskDidSuspendNotification;
-
-/**
- Posted when a session is invalidated.
- */
-extern NSString * const AFURLSessionDidInvalidateNotification;
-
-/**
- Posted when a session download task encountered an error when moving the temporary download file to a specified destination.
- */
-extern NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification;
-
-/**
- The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if response data exists for the task.
-
- @deprecated Use `AFNetworkingTaskDidCompleteResponseDataKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishResponseDataKey DEPRECATED_ATTRIBUTE;
-
-/**
- The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if response data exists for the task.
- */
-extern NSString * const AFNetworkingTaskDidCompleteResponseDataKey;
-
-/**
- The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the response was serialized.
-
- @deprecated Use `AFNetworkingTaskDidCompleteSerializedResponseKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishSerializedResponseKey DEPRECATED_ATTRIBUTE;
-
-/**
- The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the response was serialized.
- */
-extern NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey;
-
-/**
- The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the task has an associated response serializer.
-
- @deprecated Use `AFNetworkingTaskDidCompleteResponseSerializerKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishResponseSerializerKey DEPRECATED_ATTRIBUTE;
-
-/**
- The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the task has an associated response serializer.
- */
-extern NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey;
-
-/**
- The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an the response data has been stored directly to disk.
-
- @deprecated Use `AFNetworkingTaskDidCompleteAssetPathKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishAssetPathKey DEPRECATED_ATTRIBUTE;
-
-/**
- The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an the response data has been stored directly to disk.
- */
-extern NSString * const AFNetworkingTaskDidCompleteAssetPathKey;
-
-/**
- Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an error exists.
-
- @deprecated Use `AFNetworkingTaskDidCompleteErrorKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishErrorKey DEPRECATED_ATTRIBUTE;
-
-/**
- Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an error exists.
- */
-extern NSString * const AFNetworkingTaskDidCompleteErrorKey;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m
deleted file mode 100644
index d53e6ec2db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m
+++ /dev/null
@@ -1,1079 +0,0 @@
-// AFURLSessionManager.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFURLSessionManager.h"
-#import <objc/runtime.h>
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-static dispatch_queue_t url_session_manager_creation_queue() {
- static dispatch_queue_t af_url_session_manager_creation_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_creation_queue = dispatch_queue_create("com.alamofire.networking.session.manager.creation", DISPATCH_QUEUE_SERIAL);
- });
-
- return af_url_session_manager_creation_queue;
-}
-
-static dispatch_queue_t url_session_manager_processing_queue() {
- static dispatch_queue_t af_url_session_manager_processing_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_processing_queue = dispatch_queue_create("com.alamofire.networking.session.manager.processing", DISPATCH_QUEUE_CONCURRENT);
- });
-
- return af_url_session_manager_processing_queue;
-}
-
-static dispatch_group_t url_session_manager_completion_group() {
- static dispatch_group_t af_url_session_manager_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_completion_group = dispatch_group_create();
- });
-
- return af_url_session_manager_completion_group;
-}
-
-NSString * const AFNetworkingTaskDidResumeNotification = @"com.alamofire.networking.task.resume";
-NSString * const AFNetworkingTaskDidCompleteNotification = @"com.alamofire.networking.task.complete";
-NSString * const AFNetworkingTaskDidSuspendNotification = @"com.alamofire.networking.task.suspend";
-NSString * const AFURLSessionDidInvalidateNotification = @"com.alamofire.networking.session.invalidate";
-NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification = @"com.alamofire.networking.session.download.file-manager-error";
-
-NSString * const AFNetworkingTaskDidStartNotification = @"com.alamofire.networking.task.resume"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishNotification = @"com.alamofire.networking.task.complete"; // Deprecated
-
-NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey = @"com.alamofire.networking.task.complete.serializedresponse";
-NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey = @"com.alamofire.networking.task.complete.responseserializer";
-NSString * const AFNetworkingTaskDidCompleteResponseDataKey = @"com.alamofire.networking.complete.finish.responsedata";
-NSString * const AFNetworkingTaskDidCompleteErrorKey = @"com.alamofire.networking.task.complete.error";
-NSString * const AFNetworkingTaskDidCompleteAssetPathKey = @"com.alamofire.networking.task.complete.assetpath";
-
-NSString * const AFNetworkingTaskDidFinishSerializedResponseKey = @"com.alamofire.networking.task.complete.serializedresponse"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishResponseSerializerKey = @"com.alamofire.networking.task.complete.responseserializer"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishResponseDataKey = @"com.alamofire.networking.complete.finish.responsedata"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishErrorKey = @"com.alamofire.networking.task.complete.error"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishAssetPathKey = @"com.alamofire.networking.task.complete.assetpath"; // Deprecated
-
-static NSString * const AFURLSessionManagerLockName = @"com.alamofire.networking.session.manager.lock";
-
-static NSUInteger const AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask = 3;
-
-static void * AFTaskStateChangedContext = &AFTaskStateChangedContext;
-
-typedef void (^AFURLSessionDidBecomeInvalidBlock)(NSURLSession *session, NSError *error);
-typedef NSURLSessionAuthChallengeDisposition (^AFURLSessionDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);
-
-typedef NSURLRequest * (^AFURLSessionTaskWillPerformHTTPRedirectionBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request);
-typedef NSURLSessionAuthChallengeDisposition (^AFURLSessionTaskDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);
-typedef void (^AFURLSessionDidFinishEventsForBackgroundURLSessionBlock)(NSURLSession *session);
-
-typedef NSInputStream * (^AFURLSessionTaskNeedNewBodyStreamBlock)(NSURLSession *session, NSURLSessionTask *task);
-typedef void (^AFURLSessionTaskDidSendBodyDataBlock)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend);
-typedef void (^AFURLSessionTaskDidCompleteBlock)(NSURLSession *session, NSURLSessionTask *task, NSError *error);
-
-typedef NSURLSessionResponseDisposition (^AFURLSessionDataTaskDidReceiveResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response);
-typedef void (^AFURLSessionDataTaskDidBecomeDownloadTaskBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask);
-typedef void (^AFURLSessionDataTaskDidReceiveDataBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data);
-typedef NSCachedURLResponse * (^AFURLSessionDataTaskWillCacheResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse);
-
-typedef NSURL * (^AFURLSessionDownloadTaskDidFinishDownloadingBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location);
-typedef void (^AFURLSessionDownloadTaskDidWriteDataBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite);
-typedef void (^AFURLSessionDownloadTaskDidResumeBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes);
-
-typedef void (^AFURLSessionTaskCompletionHandler)(NSURLResponse *response, id responseObject, NSError *error);
-
-#pragma mark -
-
-@interface AFURLSessionManagerTaskDelegate : NSObject <NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate>
-@property (nonatomic, weak) AFURLSessionManager *manager;
-@property (nonatomic, strong) NSMutableData *mutableData;
-@property (nonatomic, strong) NSProgress *progress;
-@property (nonatomic, copy) NSURL *downloadFileURL;
-@property (nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;
-@property (nonatomic, copy) AFURLSessionTaskCompletionHandler completionHandler;
-@end
-
-@implementation AFURLSessionManagerTaskDelegate
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.mutableData = [NSMutableData data];
-
- self.progress = [NSProgress progressWithTotalUnitCount:0];
-
- return self;
-}
-
-#pragma mark - NSURLSessionTaskDelegate
-
-- (void)URLSession:(__unused NSURLSession *)session
- task:(__unused NSURLSessionTask *)task
- didSendBodyData:(__unused int64_t)bytesSent
- totalBytesSent:(int64_t)totalBytesSent
-totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend
-{
- self.progress.totalUnitCount = totalBytesExpectedToSend;
- self.progress.completedUnitCount = totalBytesSent;
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- task:(NSURLSessionTask *)task
-didCompleteWithError:(NSError *)error
-{
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- __strong AFURLSessionManager *manager = self.manager;
-
- __block id responseObject = nil;
-
- __block NSMutableDictionary *userInfo = [NSMutableDictionary dictionary];
- userInfo[AFNetworkingTaskDidCompleteResponseSerializerKey] = manager.responseSerializer;
-
- if (self.downloadFileURL) {
- userInfo[AFNetworkingTaskDidCompleteAssetPathKey] = self.downloadFileURL;
- } else if (self.mutableData) {
- userInfo[AFNetworkingTaskDidCompleteResponseDataKey] = [NSData dataWithData:self.mutableData];
- }
-
- if (error) {
- userInfo[AFNetworkingTaskDidCompleteErrorKey] = error;
-
- dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{
- if (self.completionHandler) {
- self.completionHandler(task.response, responseObject, error);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];
- });
- });
- } else {
- dispatch_async(url_session_manager_processing_queue(), ^{
- NSError *serializationError = nil;
- responseObject = [manager.responseSerializer responseObjectForResponse:task.response data:[NSData dataWithData:self.mutableData] error:&serializationError];
-
- if (self.downloadFileURL) {
- responseObject = self.downloadFileURL;
- }
-
- if (responseObject) {
- userInfo[AFNetworkingTaskDidCompleteSerializedResponseKey] = responseObject;
- }
-
- if (serializationError) {
- userInfo[AFNetworkingTaskDidCompleteErrorKey] = serializationError;
- }
-
- dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{
- if (self.completionHandler) {
- self.completionHandler(task.response, responseObject, serializationError);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];
- });
- });
- });
- }
-#pragma clang diagnostic pop
-}
-
-#pragma mark - NSURLSessionDataTaskDelegate
-
-- (void)URLSession:(__unused NSURLSession *)session
- dataTask:(__unused NSURLSessionDataTask *)dataTask
- didReceiveData:(NSData *)data
-{
- [self.mutableData appendData:data];
-}
-
-#pragma mark - NSURLSessionDownloadTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
-didFinishDownloadingToURL:(NSURL *)location
-{
- NSError *fileManagerError = nil;
- self.downloadFileURL = nil;
-
- if (self.downloadTaskDidFinishDownloading) {
- self.downloadFileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);
- if (self.downloadFileURL) {
- [[NSFileManager defaultManager] moveItemAtURL:location toURL:self.downloadFileURL error:&fileManagerError];
-
- if (fileManagerError) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:fileManagerError.userInfo];
- }
- }
- }
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- downloadTask:(__unused NSURLSessionDownloadTask *)downloadTask
- didWriteData:(__unused int64_t)bytesWritten
- totalBytesWritten:(int64_t)totalBytesWritten
-totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite
-{
- self.progress.totalUnitCount = totalBytesExpectedToWrite;
- self.progress.completedUnitCount = totalBytesWritten;
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- downloadTask:(__unused NSURLSessionDownloadTask *)downloadTask
- didResumeAtOffset:(int64_t)fileOffset
-expectedTotalBytes:(int64_t)expectedTotalBytes {
- self.progress.totalUnitCount = expectedTotalBytes;
- self.progress.completedUnitCount = fileOffset;
-}
-
-@end
-
-#pragma mark -
-
-/*
- A workaround for issues related to key-value observing the `state` of an `NSURLSessionTask`.
-
- See https://github.com/AFNetworking/AFNetworking/issues/1477
- */
-
-static inline void af_swizzleSelector(Class class, SEL originalSelector, SEL swizzledSelector) {
- Method originalMethod = class_getInstanceMethod(class, originalSelector);
- Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);
- if (class_addMethod(class, originalSelector, method_getImplementation(swizzledMethod), method_getTypeEncoding(swizzledMethod))) {
- class_replaceMethod(class, swizzledSelector, method_getImplementation(originalMethod), method_getTypeEncoding(originalMethod));
- } else {
- method_exchangeImplementations(originalMethod, swizzledMethod);
- }
-}
-
-static NSString * const AFNSURLSessionTaskDidResumeNotification = @"com.alamofire.networking.nsurlsessiontask.resume";
-static NSString * const AFNSURLSessionTaskDidSuspendNotification = @"com.alamofire.networking.nsurlsessiontask.suspend";
-
-@interface NSURLSessionTask (_AFStateObserving)
-@end
-
-@implementation NSURLSessionTask (_AFStateObserving)
-
-+ (void)load {
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_swizzleSelector([self class], @selector(resume), @selector(af_resume));
- af_swizzleSelector([self class], @selector(suspend), @selector(af_suspend));
- });
-}
-
-#pragma mark -
-
-- (void)af_resume {
- NSURLSessionTaskState state = self.state;
- [self af_resume];
-
- if (state != NSURLSessionTaskStateRunning) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidResumeNotification object:self];
- }
-}
-
-- (void)af_suspend {
- NSURLSessionTaskState state = self.state;
- [self af_suspend];
-
- if (state != NSURLSessionTaskStateSuspended) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidSuspendNotification object:self];
- }
-}
-
-@end
-
-#pragma mark -
-
-@interface AFURLSessionManager ()
-@property (readwrite, nonatomic, strong) NSURLSessionConfiguration *sessionConfiguration;
-@property (readwrite, nonatomic, strong) NSOperationQueue *operationQueue;
-@property (readwrite, nonatomic, strong) NSURLSession *session;
-@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableTaskDelegatesKeyedByTaskIdentifier;
-@property (readwrite, nonatomic, strong) NSLock *lock;
-@property (readwrite, nonatomic, copy) AFURLSessionDidBecomeInvalidBlock sessionDidBecomeInvalid;
-@property (readwrite, nonatomic, copy) AFURLSessionDidReceiveAuthenticationChallengeBlock sessionDidReceiveAuthenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLSessionDidFinishEventsForBackgroundURLSessionBlock didFinishEventsForBackgroundURLSession;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskWillPerformHTTPRedirectionBlock taskWillPerformHTTPRedirection;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidReceiveAuthenticationChallengeBlock taskDidReceiveAuthenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskNeedNewBodyStreamBlock taskNeedNewBodyStream;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidSendBodyDataBlock taskDidSendBodyData;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidCompleteBlock taskDidComplete;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveResponseBlock dataTaskDidReceiveResponse;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidBecomeDownloadTaskBlock dataTaskDidBecomeDownloadTask;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveDataBlock dataTaskDidReceiveData;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskWillCacheResponseBlock dataTaskWillCacheResponse;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidWriteDataBlock downloadTaskDidWriteData;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidResumeBlock downloadTaskDidResume;
-@end
-
-@implementation AFURLSessionManager
-
-- (instancetype)init {
- return [self initWithSessionConfiguration:nil];
-}
-
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- if (!configuration) {
- configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
- }
-
- self.sessionConfiguration = configuration;
-
- self.operationQueue = [[NSOperationQueue alloc] init];
- self.operationQueue.maxConcurrentOperationCount = 1;
-
- self.session = [NSURLSession sessionWithConfiguration:self.sessionConfiguration delegate:self delegateQueue:self.operationQueue];
-
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- self.reachabilityManager = [AFNetworkReachabilityManager sharedManager];
-
- self.mutableTaskDelegatesKeyedByTaskIdentifier = [[NSMutableDictionary alloc] init];
-
- self.lock = [[NSLock alloc] init];
- self.lock.name = AFURLSessionManagerLockName;
-
- [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {
- for (NSURLSessionDataTask *task in dataTasks) {
- [self addDelegateForDataTask:task completionHandler:nil];
- }
-
- for (NSURLSessionUploadTask *uploadTask in uploadTasks) {
- [self addDelegateForUploadTask:uploadTask progress:nil completionHandler:nil];
- }
-
- for (NSURLSessionDownloadTask *downloadTask in downloadTasks) {
- [self addDelegateForDownloadTask:downloadTask progress:nil destination:nil completionHandler:nil];
- }
- }];
-
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidResume:) name:AFNSURLSessionTaskDidResumeNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidSuspend:) name:AFNSURLSessionTaskDidSuspendNotification object:nil];
-
- return self;
-}
-
-- (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-}
-
-- (void)taskDidResume:(NSNotification *)notification {
- NSURLSessionTask *task = notification.object;
- if ([task isKindOfClass:[NSURLSessionTask class]]) {
- AFURLSessionManager *manager = [self delegateForTask:task].manager;
- if ([manager isEqual:self]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidResumeNotification object:task];
- });
- }
- }
-}
-
-- (void)taskDidSuspend:(NSNotification *)notification {
- NSURLSessionTask *task = notification.object;
- if ([task isKindOfClass:[NSURLSessionTask class]]) {
- AFURLSessionManager *manager = [self delegateForTask:task].manager;
- if ([manager isEqual:self]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidSuspendNotification object:task];
- });
- }
- }
-}
-
-#pragma mark -
-
-- (AFURLSessionManagerTaskDelegate *)delegateForTask:(NSURLSessionTask *)task {
- NSParameterAssert(task);
-
- AFURLSessionManagerTaskDelegate *delegate = nil;
- [self.lock lock];
- delegate = self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)];
- [self.lock unlock];
-
- return delegate;
-}
-
-- (void)setDelegate:(AFURLSessionManagerTaskDelegate *)delegate
- forTask:(NSURLSessionTask *)task
-{
- NSParameterAssert(task);
- NSParameterAssert(delegate);
-
- [self.lock lock];
- self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)] = delegate;
- [self.lock unlock];
-}
-
-- (void)addDelegateForDataTask:(NSURLSessionDataTask *)dataTask
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- [self setDelegate:delegate forTask:dataTask];
-}
-
-- (void)addDelegateForUploadTask:(NSURLSessionUploadTask *)uploadTask
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- int64_t totalUnitCount = uploadTask.countOfBytesExpectedToSend;
- if(totalUnitCount == NSURLSessionTransferSizeUnknown) {
- NSString *contentLength = [uploadTask.originalRequest valueForHTTPHeaderField:@"Content-Length"];
- if(contentLength) {
- totalUnitCount = (int64_t) [contentLength longLongValue];
- }
- }
-
- delegate.progress = [NSProgress progressWithTotalUnitCount:totalUnitCount];
- delegate.progress.pausingHandler = ^{
- [uploadTask suspend];
- };
- delegate.progress.cancellationHandler = ^{
- [uploadTask cancel];
- };
-
- if (progress) {
- *progress = delegate.progress;
- }
-
- [self setDelegate:delegate forTask:uploadTask];
-}
-
-- (void)addDelegateForDownloadTask:(NSURLSessionDownloadTask *)downloadTask
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- if (destination) {
- delegate.downloadTaskDidFinishDownloading = ^NSURL * (NSURLSession * __unused session, NSURLSessionDownloadTask *task, NSURL *location) {
- return destination(location, task.response);
- };
- }
-
- if (progress) {
- *progress = delegate.progress;
- }
-
- [self setDelegate:delegate forTask:downloadTask];
-}
-
-- (void)removeDelegateForTask:(NSURLSessionTask *)task {
- NSParameterAssert(task);
-
- [self.lock lock];
- [self.mutableTaskDelegatesKeyedByTaskIdentifier removeObjectForKey:@(task.taskIdentifier)];
- [self.lock unlock];
-}
-
-- (void)removeAllDelegates {
- [self.lock lock];
- [self.mutableTaskDelegatesKeyedByTaskIdentifier removeAllObjects];
- [self.lock unlock];
-}
-
-#pragma mark -
-
-- (NSArray *)tasksForKeyPath:(NSString *)keyPath {
- __block NSArray *tasks = nil;
- dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
- [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(dataTasks))]) {
- tasks = dataTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(uploadTasks))]) {
- tasks = uploadTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(downloadTasks))]) {
- tasks = downloadTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(tasks))]) {
- tasks = [@[dataTasks, uploadTasks, downloadTasks] valueForKeyPath:@"@unionOfArrays.self"];
- }
-
- dispatch_semaphore_signal(semaphore);
- }];
-
- dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
-
- return tasks;
-}
-
-- (NSArray *)tasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)dataTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)uploadTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)downloadTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-#pragma mark -
-
-- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks {
- dispatch_async(dispatch_get_main_queue(), ^{
- if (cancelPendingTasks) {
- [self.session invalidateAndCancel];
- } else {
- [self.session finishTasksAndInvalidate];
- }
- });
-}
-
-#pragma mark -
-
-- (void)setResponseSerializer:(id <AFURLResponseSerialization>)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- _responseSerializer = responseSerializer;
-}
-
-#pragma mark -
-
-- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionDataTask *dataTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- dataTask = [self.session dataTaskWithRequest:request];
- });
-
- [self addDelegateForDataTask:dataTask completionHandler:completionHandler];
-
- return dataTask;
-}
-
-#pragma mark -
-
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromFile:(NSURL *)fileURL
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];
- });
-
- if (!uploadTask && self.attemptsToRecreateUploadTasksForBackgroundSessions && self.session.configuration.identifier) {
- for (NSUInteger attempts = 0; !uploadTask && attempts < AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask; attempts++) {
- uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];
- }
- }
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromData:(NSData *)bodyData
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithRequest:request fromData:bodyData];
- });
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithStreamedRequest:request];
- });
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-#pragma mark -
-
-- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- __block NSURLSessionDownloadTask *downloadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- downloadTask = [self.session downloadTaskWithRequest:request];
- });
-
- [self addDelegateForDownloadTask:downloadTask progress:progress destination:destination completionHandler:completionHandler];
-
- return downloadTask;
-}
-
-- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- __block NSURLSessionDownloadTask *downloadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- downloadTask = [self.session downloadTaskWithResumeData:resumeData];
- });
-
- [self addDelegateForDownloadTask:downloadTask progress:progress destination:destination completionHandler:completionHandler];
-
- return downloadTask;
-}
-
-#pragma mark -
-
-- (NSProgress *)uploadProgressForTask:(NSURLSessionUploadTask *)uploadTask {
- return [[self delegateForTask:uploadTask] progress];
-}
-
-- (NSProgress *)downloadProgressForTask:(NSURLSessionDownloadTask *)downloadTask {
- return [[self delegateForTask:downloadTask] progress];
-}
-
-#pragma mark -
-
-- (void)setSessionDidBecomeInvalidBlock:(void (^)(NSURLSession *session, NSError *error))block {
- self.sessionDidBecomeInvalid = block;
-}
-
-- (void)setSessionDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {
- self.sessionDidReceiveAuthenticationChallenge = block;
-}
-
-- (void)setDidFinishEventsForBackgroundURLSessionBlock:(void (^)(NSURLSession *session))block {
- self.didFinishEventsForBackgroundURLSession = block;
-}
-
-#pragma mark -
-
-- (void)setTaskNeedNewBodyStreamBlock:(NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block {
- self.taskNeedNewBodyStream = block;
-}
-
-- (void)setTaskWillPerformHTTPRedirectionBlock:(NSURLRequest * (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block {
- self.taskWillPerformHTTPRedirection = block;
-}
-
-- (void)setTaskDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {
- self.taskDidReceiveAuthenticationChallenge = block;
-}
-
-- (void)setTaskDidSendBodyDataBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block {
- self.taskDidSendBodyData = block;
-}
-
-- (void)setTaskDidCompleteBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, NSError *error))block {
- self.taskDidComplete = block;
-}
-
-#pragma mark -
-
-- (void)setDataTaskDidReceiveResponseBlock:(NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block {
- self.dataTaskDidReceiveResponse = block;
-}
-
-- (void)setDataTaskDidBecomeDownloadTaskBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block {
- self.dataTaskDidBecomeDownloadTask = block;
-}
-
-- (void)setDataTaskDidReceiveDataBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block {
- self.dataTaskDidReceiveData = block;
-}
-
-- (void)setDataTaskWillCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block {
- self.dataTaskWillCacheResponse = block;
-}
-
-#pragma mark -
-
-- (void)setDownloadTaskDidFinishDownloadingBlock:(NSURL * (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block {
- self.downloadTaskDidFinishDownloading = block;
-}
-
-- (void)setDownloadTaskDidWriteDataBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block {
- self.downloadTaskDidWriteData = block;
-}
-
-- (void)setDownloadTaskDidResumeBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block {
- self.downloadTaskDidResume = block;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, session: %@, operationQueue: %@>", NSStringFromClass([self class]), self, self.session, self.operationQueue];
-}
-
-- (BOOL)respondsToSelector:(SEL)selector {
- if (selector == @selector(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)) {
- return self.taskWillPerformHTTPRedirection != nil;
- } else if (selector == @selector(URLSession:dataTask:didReceiveResponse:completionHandler:)) {
- return self.dataTaskDidReceiveResponse != nil;
- } else if (selector == @selector(URLSession:dataTask:willCacheResponse:completionHandler:)) {
- return self.dataTaskWillCacheResponse != nil;
- } else if (selector == @selector(URLSessionDidFinishEventsForBackgroundURLSession:)) {
- return self.didFinishEventsForBackgroundURLSession != nil;
- }
-
- return [[self class] instancesRespondToSelector:selector];
-}
-
-#pragma mark - NSURLSessionDelegate
-
-- (void)URLSession:(NSURLSession *)session
-didBecomeInvalidWithError:(NSError *)error
-{
- if (self.sessionDidBecomeInvalid) {
- self.sessionDidBecomeInvalid(session, error);
- }
-
- [self removeAllDelegates];
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDidInvalidateNotification object:session];
-}
-
-- (void)URLSession:(NSURLSession *)session
-didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge
- completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler
-{
- NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- __block NSURLCredential *credential = nil;
-
- if (self.sessionDidReceiveAuthenticationChallenge) {
- disposition = self.sessionDidReceiveAuthenticationChallenge(session, challenge, &credential);
- } else {
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- if (credential) {
- disposition = NSURLSessionAuthChallengeUseCredential;
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- }
-
- if (completionHandler) {
- completionHandler(disposition, credential);
- }
-}
-
-#pragma mark - NSURLSessionTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-willPerformHTTPRedirection:(NSHTTPURLResponse *)response
- newRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLRequest *))completionHandler
-{
- NSURLRequest *redirectRequest = request;
-
- if (self.taskWillPerformHTTPRedirection) {
- redirectRequest = self.taskWillPerformHTTPRedirection(session, task, response, request);
- }
-
- if (completionHandler) {
- completionHandler(redirectRequest);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge
- completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler
-{
- NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- __block NSURLCredential *credential = nil;
-
- if (self.taskDidReceiveAuthenticationChallenge) {
- disposition = self.taskDidReceiveAuthenticationChallenge(session, task, challenge, &credential);
- } else {
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- disposition = NSURLSessionAuthChallengeUseCredential;
- credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- }
-
- if (completionHandler) {
- completionHandler(disposition, credential);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
- needNewBodyStream:(void (^)(NSInputStream *bodyStream))completionHandler
-{
- NSInputStream *inputStream = nil;
-
- if (self.taskNeedNewBodyStream) {
- inputStream = self.taskNeedNewBodyStream(session, task);
- } else if (task.originalRequest.HTTPBodyStream && [task.originalRequest.HTTPBodyStream conformsToProtocol:@protocol(NSCopying)]) {
- inputStream = [task.originalRequest.HTTPBodyStream copy];
- }
-
- if (completionHandler) {
- completionHandler(inputStream);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
- didSendBodyData:(int64_t)bytesSent
- totalBytesSent:(int64_t)totalBytesSent
-totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend
-{
-
- int64_t totalUnitCount = totalBytesExpectedToSend;
- if(totalUnitCount == NSURLSessionTransferSizeUnknown) {
- NSString *contentLength = [task.originalRequest valueForHTTPHeaderField:@"Content-Length"];
- if(contentLength) {
- totalUnitCount = (int64_t) [contentLength longLongValue];
- }
- }
-
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];
- [delegate URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent totalBytesExpectedToSend:totalUnitCount];
-
- if (self.taskDidSendBodyData) {
- self.taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalUnitCount);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-didCompleteWithError:(NSError *)error
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];
-
- // delegate may be nil when completing a task in the background
- if (delegate) {
- [delegate URLSession:session task:task didCompleteWithError:error];
-
- [self removeDelegateForTask:task];
- }
-
- if (self.taskDidComplete) {
- self.taskDidComplete(session, task, error);
- }
-
-}
-
-#pragma mark - NSURLSessionDataDelegate
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didReceiveResponse:(NSURLResponse *)response
- completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler
-{
- NSURLSessionResponseDisposition disposition = NSURLSessionResponseAllow;
-
- if (self.dataTaskDidReceiveResponse) {
- disposition = self.dataTaskDidReceiveResponse(session, dataTask, response);
- }
-
- if (completionHandler) {
- completionHandler(disposition);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didBecomeDownloadTask:(NSURLSessionDownloadTask *)downloadTask
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];
- if (delegate) {
- [self removeDelegateForTask:dataTask];
- [self setDelegate:delegate forTask:downloadTask];
- }
-
- if (self.dataTaskDidBecomeDownloadTask) {
- self.dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- didReceiveData:(NSData *)data
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];
- [delegate URLSession:session dataTask:dataTask didReceiveData:data];
-
- if (self.dataTaskDidReceiveData) {
- self.dataTaskDidReceiveData(session, dataTask, data);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- willCacheResponse:(NSCachedURLResponse *)proposedResponse
- completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler
-{
- NSCachedURLResponse *cachedResponse = proposedResponse;
-
- if (self.dataTaskWillCacheResponse) {
- cachedResponse = self.dataTaskWillCacheResponse(session, dataTask, proposedResponse);
- }
-
- if (completionHandler) {
- completionHandler(cachedResponse);
- }
-}
-
-- (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session {
- if (self.didFinishEventsForBackgroundURLSession) {
- dispatch_async(dispatch_get_main_queue(), ^{
- self.didFinishEventsForBackgroundURLSession(session);
- });
- }
-}
-
-#pragma mark - NSURLSessionDownloadDelegate
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
-didFinishDownloadingToURL:(NSURL *)location
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- if (self.downloadTaskDidFinishDownloading) {
- NSURL *fileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);
- if (fileURL) {
- delegate.downloadFileURL = fileURL;
- NSError *error = nil;
- [[NSFileManager defaultManager] moveItemAtURL:location toURL:fileURL error:&error];
- if (error) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:error.userInfo];
- }
-
- return;
- }
- }
-
- if (delegate) {
- [delegate URLSession:session downloadTask:downloadTask didFinishDownloadingToURL:location];
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
- didWriteData:(int64_t)bytesWritten
- totalBytesWritten:(int64_t)totalBytesWritten
-totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- [delegate URLSession:session downloadTask:downloadTask didWriteData:bytesWritten totalBytesWritten:totalBytesWritten totalBytesExpectedToWrite:totalBytesExpectedToWrite];
-
- if (self.downloadTaskDidWriteData) {
- self.downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
- didResumeAtOffset:(int64_t)fileOffset
-expectedTotalBytes:(int64_t)expectedTotalBytes
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- [delegate URLSession:session downloadTask:downloadTask didResumeAtOffset:fileOffset expectedTotalBytes:expectedTotalBytes];
-
- if (self.downloadTaskDidResume) {
- self.downloadTaskDidResume(session, downloadTask, fileOffset, expectedTotalBytes);
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@"sessionConfiguration"];
-
- self = [self initWithSessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- return [[[self class] allocWithZone:zone] initWithSessionConfiguration:self.session.configuration];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE
deleted file mode 100644
index 0616192d00..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md
deleted file mode 100644
index 13e080c096..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md
+++ /dev/null
@@ -1,383 +0,0 @@
-<p align="center" >
- <img src="https://raw.github.com/AFNetworking/AFNetworking/assets/afnetworking-logo.png" alt="AFNetworking" title="AFNetworking">
-</p>
-
-[![Build Status](https://travis-ci.org/AFNetworking/AFNetworking.svg)](https://travis-ci.org/AFNetworking/AFNetworking)
-
-AFNetworking is a delightful networking library for iOS and Mac OS X. It's built on top of the [Foundation URL Loading System](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html), extending the powerful high-level networking abstractions built into Cocoa. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.
-
-Perhaps the most important feature of all, however, is the amazing community of developers who use and contribute to AFNetworking every day. AFNetworking powers some of the most popular and critically-acclaimed apps on the iPhone, iPad, and Mac.
-
-Choose AFNetworking for your next project, or migrate over your existing projects—you'll be happy you did!
-
-## How To Get Started
-
-- [Download AFNetworking](https://github.com/AFNetworking/AFNetworking/archive/master.zip) and try out the included Mac and iPhone example apps
-- Read the ["Getting Started" guide](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking), [FAQ](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ), or [other articles on the Wiki](https://github.com/AFNetworking/AFNetworking/wiki)
-- Check out the [documentation](http://cocoadocs.org/docsets/AFNetworking/) for a comprehensive look at all of the APIs available in AFNetworking
-- Read the [AFNetworking 2.0 Migration Guide](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-2.0-Migration-Guide) for an overview of the architectural changes from 1.0.
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking). (Tag 'afnetworking')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking).
-- If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-### Installation with CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the ["Getting Started" guide for more information](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking).
-
-#### Podfile
-
-```ruby
-platform :ios, '7.0'
-pod "AFNetworking", "~> 2.0"
-```
-
-## Requirements
-
-| AFNetworking Version | Minimum iOS Target | Minimum OS X Target | Notes |
-|:--------------------:|:---------------------------:|:----------------------------:|:-------------------------------------------------------------------------:|
-| 2.x | iOS 6 | OS X 10.8 | Xcode 5 is required. `AFHTTPSessionManager` requires iOS 7 or OS X 10.9. |
-| [1.x](https://github.com/AFNetworking/AFNetworking/tree/1.x) | iOS 5 | Mac OS X 10.7 | |
-| [0.10.x](https://github.com/AFNetworking/AFNetworking/tree/0.10.x) | iOS 4 | Mac OS X 10.6 | |
-
-(OS X projects must support [64-bit with modern Cocoa runtime](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtVersionsPlatforms.html)).
-
-## Architecture
-
-### NSURLConnection
-
-- `AFURLConnectionOperation`
-- `AFHTTPRequestOperation`
-- `AFHTTPRequestOperationManager`
-
-### NSURLSession _(iOS 7 / Mac OS X 10.9)_
-
-- `AFURLSessionManager`
-- `AFHTTPSessionManager`
-
-### Serialization
-
-* `<AFURLRequestSerialization>`
- - `AFHTTPRequestSerializer`
- - `AFJSONRequestSerializer`
- - `AFPropertyListRequestSerializer`
-* `<AFURLResponseSerialization>`
- - `AFHTTPResponseSerializer`
- - `AFJSONResponseSerializer`
- - `AFXMLParserResponseSerializer`
- - `AFXMLDocumentResponseSerializer` _(Mac OS X)_
- - `AFPropertyListResponseSerializer`
- - `AFImageResponseSerializer`
- - `AFCompoundResponseSerializer`
-
-### Additional Functionality
-
-- `AFSecurityPolicy`
-- `AFNetworkReachabilityManager`
-
-## Usage
-
-### HTTP Request Operation Manager
-
-`AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with a web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as request operation management.
-
-#### `GET` Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-[manager GET:@"http://example.com/resources.json" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
-#### `POST` URL-Form-Encoded Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-NSDictionary *parameters = @{@"foo": @"bar"};
-[manager POST:@"http://example.com/resources.json" parameters:parameters success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
-#### `POST` Multi-Part Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-NSDictionary *parameters = @{@"foo": @"bar"};
-NSURL *filePath = [NSURL fileURLWithPath:@"file://path/to/image.png"];
-[manager POST:@"http://example.com/resources.json" parameters:parameters constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:filePath name:@"image" error:nil];
-} success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"Success: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
----
-
-### AFURLSessionManager
-
-`AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
-#### Creating a Download Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/download.zip"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDownloadTask *downloadTask = [manager downloadTaskWithRequest:request progress:nil destination:^NSURL *(NSURL *targetPath, NSURLResponse *response) {
- NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil];
- return [documentsDirectoryURL URLByAppendingPathComponent:[response suggestedFilename]];
-} completionHandler:^(NSURLResponse *response, NSURL *filePath, NSError *error) {
- NSLog(@"File downloaded to: %@", filePath);
-}];
-[downloadTask resume];
-```
-
-#### Creating an Upload Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/upload"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURL *filePath = [NSURL fileURLWithPath:@"file://path/to/image.png"];
-NSURLSessionUploadTask *uploadTask = [manager uploadTaskWithRequest:request fromFile:filePath progress:nil completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"Success: %@ %@", response, responseObject);
- }
-}];
-[uploadTask resume];
-```
-
-#### Creating an Upload Task for a Multi-Part Request, with Progress
-
-```objective-c
-NSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:@"http://example.com/upload" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:[NSURL fileURLWithPath:@"file://path/to/image.jpg"] name:@"file" fileName:@"filename.jpg" mimeType:@"image/jpeg" error:nil];
- } error:nil];
-
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
-NSProgress *progress = nil;
-
-NSURLSessionUploadTask *uploadTask = [manager uploadTaskWithStreamedRequest:request progress:&progress completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"%@ %@", response, responseObject);
- }
-}];
-
-[uploadTask resume];
-```
-
-#### Creating a Data Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/upload"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDataTask *dataTask = [manager dataTaskWithRequest:request completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"%@ %@", response, responseObject);
- }
-}];
-[dataTask resume];
-```
-
----
-
-### Request Serialization
-
-Request serializers create requests from URL strings, encoding parameters as either a query string or HTTP body.
-
-```objective-c
-NSString *URLString = @"http://example.com";
-NSDictionary *parameters = @{@"foo": @"bar", @"baz": @[@1, @2, @3]};
-```
-
-#### Query String Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"GET" URLString:URLString parameters:parameters error:nil];
-```
-
- GET http://example.com?foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### URL Form Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters];
-```
-
- POST http://example.com/
- Content-Type: application/x-www-form-urlencoded
-
- foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### JSON Parameter Encoding
-
-```objective-c
-[[AFJSONRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters];
-```
-
- POST http://example.com/
- Content-Type: application/json
-
- {"foo": "bar", "baz": [1,2,3]}
-
----
-
-### Network Reachability Manager
-
-`AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
-#### Shared Network Reachability
-
-```objective-c
-[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
- NSLog(@"Reachability: %@", AFStringFromNetworkReachabilityStatus(status));
-}];
-```
-
-#### HTTP Manager Reachability
-
-```objective-c
-NSURL *baseURL = [NSURL URLWithString:@"http://example.com/"];
-AFHTTPRequestOperationManager *manager = [[AFHTTPRequestOperationManager alloc] initWithBaseURL:baseURL];
-
-NSOperationQueue *operationQueue = manager.operationQueue;
-[manager.reachabilityManager setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
- switch (status) {
- case AFNetworkReachabilityStatusReachableViaWWAN:
- case AFNetworkReachabilityStatusReachableViaWiFi:
- [operationQueue setSuspended:NO];
- break;
- case AFNetworkReachabilityStatusNotReachable:
- default:
- [operationQueue setSuspended:YES];
- break;
- }
-}];
-
-[manager.reachabilityManager startMonitoring];
-```
-
----
-
-### Security Policy
-
-`AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
-Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
-
-#### Allowing Invalid SSL Certificates
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-manager.securityPolicy.allowInvalidCertificates = YES; // not recommended for production
-```
-
----
-
-### AFHTTPRequestOperation
-
-`AFHTTPRequestOperation` is a subclass of `AFURLConnectionOperation` for requests using the HTTP or HTTPS protocols. It encapsulates the concept of acceptable status codes and content types, which determine the success or failure of a request.
-
-Although `AFHTTPRequestOperationManager` is usually the best way to go about making requests, `AFHTTPRequestOperation` can be used by itself.
-
-#### `GET` with `AFHTTPRequestOperation`
-
-```objective-c
-NSURL *URL = [NSURL URLWithString:@"http://example.com/resources/123.json"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-AFHTTPRequestOperation *op = [[AFHTTPRequestOperation alloc] initWithRequest:request];
-op.responseSerializer = [AFJSONResponseSerializer serializer];
-[op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-[[NSOperationQueue mainQueue] addOperation:op];
-```
-
-#### Batch of Operations
-
-```objective-c
-NSMutableArray *mutableOperations = [NSMutableArray array];
-for (NSURL *fileURL in filesToUpload) {
- NSURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:@"http://example.com/upload" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:fileURL name:@"images[]" error:nil];
- }];
-
- AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
-
- [mutableOperations addObject:operation];
-}
-
-NSArray *operations = [AFURLConnectionOperation batchOfRequestOperations:@[...] progressBlock:^(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations) {
- NSLog(@"%lu of %lu complete", numberOfFinishedOperations, totalNumberOfOperations);
-} completionBlock:^(NSArray *operations) {
- NSLog(@"All operations in batch complete");
-}];
-[[NSOperationQueue mainQueue] addOperations:operations waitUntilFinished:NO];
-```
-
-## Unit Tests
-
-AFNetworking includes a suite of unit tests within the Tests subdirectory. In order to run the unit tests, you must install the testing dependencies via [CocoaPods](http://cocoapods.org/):
-
- $ cd Tests
- $ pod install
-
-Once testing dependencies are installed, you can execute the test suite via the 'iOS Tests' and 'OS X Tests' schemes within Xcode.
-
-### Running Tests from the Command Line
-
-Tests can also be run from the command line or within a continuous integration environment. The [`xcpretty`](https://github.com/mneorr/xcpretty) utility needs to be installed before running the tests from the command line:
-
- $ gem install xcpretty
-
-Once `xcpretty` is installed, you can execute the suite via `rake test`.
-
-## Credits
-
-AFNetworking was originally created by [Scott Raymond](https://github.com/sco/) and [Mattt Thompson](https://github.com/mattt/) in the development of [Gowalla for iPhone](http://en.wikipedia.org/wiki/Gowalla).
-
-AFNetworking's logo was designed by [Alan Defibaugh](http://www.alandefibaugh.com/).
-
-And most of all, thanks to AFNetworking's [growing list of contributors](https://github.com/AFNetworking/AFNetworking/contributors).
-
-## Contact
-
-Follow AFNetworking on Twitter ([@AFNetworking](https://twitter.com/AFNetworking))
-
-### Maintainers
-
-- [Mattt Thompson](http://github.com/mattt) ([@mattt](https://twitter.com/mattt))
-
-## License
-
-AFNetworking is available under the MIT license. See the LICENSE file for more info.
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 100644
index 312d680e0d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// AFNetworkActivityIndicatorManager.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-/**
- `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a network request operation has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero.
-
- You should enable the shared instance of `AFNetworkActivityIndicatorManager` when your application finishes launching. In `AppDelegate application:didFinishLaunchingWithOptions:` you can do so with the following code:
-
- [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
-
- By setting `isNetworkActivityIndicatorVisible` to `YES` for `sharedManager`, the network activity indicator will show and hide automatically as requests start and finish. You should not ever need to call `incrementActivityCount` or `decrementActivityCount` yourself.
-
- See the Apple Human Interface Guidelines section about the Network Activity Indicator for more information:
- http://developer.apple.com/library/iOS/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW44
- */
-@interface AFNetworkActivityIndicatorManager : NSObject
-
-/**
- A Boolean value indicating whether the manager is enabled.
-
- If YES, the manager will change status bar network activity indicator according to network operation notifications it receives. The default value is NO.
- */
-@property (nonatomic, assign, getter = isEnabled) BOOL enabled;
-
-/**
- A Boolean value indicating whether the network activity indicator is currently displayed in the status bar.
- */
-@property (readonly, nonatomic, assign) BOOL isNetworkActivityIndicatorVisible;
-
-/**
- Returns the shared network activity indicator manager object for the system.
-
- @return The systemwide network activity indicator manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Increments the number of active network requests. If this number was zero before incrementing, this will start animating the status bar network activity indicator.
- */
-- (void)incrementActivityCount;
-
-/**
- Decrements the number of active network requests. If this number becomes zero after decrementing, this will stop animating the status bar network activity indicator.
- */
-- (void)decrementActivityCount;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m
deleted file mode 100644
index c2d855a59c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m
+++ /dev/null
@@ -1,171 +0,0 @@
-// AFNetworkActivityIndicatorManager.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFNetworkActivityIndicatorManager.h"
-
-#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static NSTimeInterval const kAFNetworkActivityIndicatorInvisibilityDelay = 0.17;
-
-static NSURLRequest * AFNetworkRequestFromNotification(NSNotification *notification) {
- if ([[notification object] isKindOfClass:[AFURLConnectionOperation class]]) {
- return [(AFURLConnectionOperation *)[notification object] request];
- }
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
- if ([[notification object] respondsToSelector:@selector(originalRequest)]) {
- return [(NSURLSessionTask *)[notification object] originalRequest];
- }
-#endif
-
- return nil;
-}
-
-@interface AFNetworkActivityIndicatorManager ()
-@property (readwrite, nonatomic, assign) NSInteger activityCount;
-@property (readwrite, nonatomic, strong) NSTimer *activityIndicatorVisibilityTimer;
-@property (readonly, nonatomic, getter = isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;
-
-- (void)updateNetworkActivityIndicatorVisibility;
-- (void)updateNetworkActivityIndicatorVisibilityDelayed;
-@end
-
-@implementation AFNetworkActivityIndicatorManager
-@dynamic networkActivityIndicatorVisible;
-
-+ (instancetype)sharedManager {
- static AFNetworkActivityIndicatorManager *_sharedManager = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _sharedManager = [[self alloc] init];
- });
-
- return _sharedManager;
-}
-
-+ (NSSet *)keyPathsForValuesAffectingIsNetworkActivityIndicatorVisible {
- return [NSSet setWithObject:@"activityCount"];
-}
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingOperationDidStartNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingOperationDidFinishNotification object:nil];
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingTaskDidResumeNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidSuspendNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidCompleteNotification object:nil];
-#endif
-
- return self;
-}
-
-- (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-
- [_activityIndicatorVisibilityTimer invalidate];
-}
-
-- (void)updateNetworkActivityIndicatorVisibilityDelayed {
- if (self.enabled) {
- // Delay hiding of activity indicator for a short interval, to avoid flickering
- if (![self isNetworkActivityIndicatorVisible]) {
- [self.activityIndicatorVisibilityTimer invalidate];
- self.activityIndicatorVisibilityTimer = [NSTimer timerWithTimeInterval:kAFNetworkActivityIndicatorInvisibilityDelay target:self selector:@selector(updateNetworkActivityIndicatorVisibility) userInfo:nil repeats:NO];
- [[NSRunLoop mainRunLoop] addTimer:self.activityIndicatorVisibilityTimer forMode:NSRunLoopCommonModes];
- } else {
- [self performSelectorOnMainThread:@selector(updateNetworkActivityIndicatorVisibility) withObject:nil waitUntilDone:NO modes:@[NSRunLoopCommonModes]];
- }
- }
-}
-
-- (BOOL)isNetworkActivityIndicatorVisible {
- return self.activityCount > 0;
-}
-
-- (void)updateNetworkActivityIndicatorVisibility {
- [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:[self isNetworkActivityIndicatorVisible]];
-}
-
-- (void)setActivityCount:(NSInteger)activityCount {
- @synchronized(self) {
- _activityCount = activityCount;
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)incrementActivityCount {
- [self willChangeValueForKey:@"activityCount"];
- @synchronized(self) {
- _activityCount++;
- }
- [self didChangeValueForKey:@"activityCount"];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)decrementActivityCount {
- [self willChangeValueForKey:@"activityCount"];
- @synchronized(self) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- _activityCount = MAX(_activityCount - 1, 0);
-#pragma clang diagnostic pop
- }
- [self didChangeValueForKey:@"activityCount"];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)networkRequestDidStart:(NSNotification *)notification {
- if ([AFNetworkRequestFromNotification(notification) URL]) {
- [self incrementActivityCount];
- }
-}
-
-- (void)networkRequestDidFinish:(NSNotification *)notification {
- if ([AFNetworkRequestFromNotification(notification) URL]) {
- [self decrementActivityCount];
- }
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 100644
index 1c1f8dd6f8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// UIActivityIndicatorView+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIActivityIndicatorView` class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a request operation or session task.
- */
-@interface UIActivityIndicatorView (AFNetworking)
-
-///----------------------------------
-/// @name Animating for Session Tasks
-///----------------------------------
-
-/**
- Binds the animating state to the state of the specified task.
-
- @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task;
-#endif
-
-///---------------------------------------
-/// @name Animating for Request Operations
-///---------------------------------------
-
-/**
- Binds the animating state to the execution state of the specified operation.
-
- @param operation The operation. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setAnimatingWithStateOfOperation:(AFURLConnectionOperation *)operation;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m
deleted file mode 100644
index 6627dbb1b8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m
+++ /dev/null
@@ -1,97 +0,0 @@
-// UIActivityIndicatorView+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIActivityIndicatorView+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-@implementation UIActivityIndicatorView (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
-
- if (task) {
- if (task.state != NSURLSessionTaskStateCompleted) {
- if (task.state == NSURLSessionTaskStateRunning) {
- [self startAnimating];
- } else {
- [self stopAnimating];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_startAnimating) name:AFNetworkingTaskDidResumeNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidCompleteNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidSuspendNotification object:task];
- }
- }
-}
-#endif
-
-#pragma mark -
-
-- (void)setAnimatingWithStateOfOperation:(AFURLConnectionOperation *)operation {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidStartNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidFinishNotification object:nil];
-
- if (operation) {
- if (![operation isFinished]) {
- if ([operation isExecuting]) {
- [self startAnimating];
- } else {
- [self stopAnimating];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_startAnimating) name:AFNetworkingOperationDidStartNotification object:operation];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingOperationDidFinishNotification object:operation];
- }
- }
-}
-
-#pragma mark -
-
-- (void)af_startAnimating {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self startAnimating];
- });
-}
-
-- (void)af_stopAnimating {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self stopAnimating];
- });
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 100644
index b94f1cb8e0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1,96 +0,0 @@
-// UIAlertView+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIAlertView` class. The methods in this category provide support for automatically showing an alert if a session task or request operation finishes with an error. Alert title and message are filled from the corresponding `localizedDescription` & `localizedRecoverySuggestion` or `localizedFailureReason` of the error.
- */
-@interface UIAlertView (AFNetworking)
-
-///-------------------------------------
-/// @name Showing Alert for Session Task
-///-------------------------------------
-
-/**
- Shows an alert view with the error of the specified session task, if any.
-
- @param task The session task.
- @param delegate The alert view delegate.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate;
-#endif
-
-/**
- Shows an alert view with the error of the specified session task, if any, with a custom cancel button title and other button titles.
-
- @param task The session task.
- @param delegate The alert view delegate.
- @param cancelButtonTitle The title of the cancel button or nil if there is no cancel button. Using this argument is equivalent to setting the cancel button index to the value returned by invoking addButtonWithTitle: specifying this title.
- @param otherButtonTitles The title of another button. Using this argument is equivalent to invoking addButtonWithTitle: with this title to add more buttons. Too many buttons can cause the alert view to scroll. For guidelines on the best ways to use an alert in an app, see "Temporary Views". Titles of additional buttons to add to the receiver, terminated with `nil`.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
-#endif
-
-///------------------------------------------
-/// @name Showing Alert for Request Operation
-///------------------------------------------
-
-/**
- Shows an alert view with the error of the specified request operation, if any.
-
- @param operation The request operation.
- @param delegate The alert view delegate.
- */
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate;
-
-/**
- Shows an alert view with the error of the specified request operation, if any, with a custom cancel button title and other button titles.
-
- @param operation The request operation.
- @param delegate The alert view delegate.
- @param cancelButtonTitle The title of the cancel button or nil if there is no cancel button. Using this argument is equivalent to setting the cancel button index to the value returned by invoking addButtonWithTitle: specifying this title.
- @param otherButtonTitles The title of another button. Using this argument is equivalent to invoking addButtonWithTitle: with this title to add more buttons. Too many buttons can cause the alert view to scroll. For guidelines on the best ways to use an alert in an app, see "Temporary Views". Titles of additional buttons to add to the receiver, terminated with `nil`.
- */
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m
deleted file mode 100644
index b7e2a26cb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m
+++ /dev/null
@@ -1,111 +0,0 @@
-// UIAlertView+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIAlertView+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLConnectionOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static void AFGetAlertViewTitleAndMessageFromError(NSError *error, NSString * __autoreleasing *title, NSString * __autoreleasing *message) {
- if (error.localizedDescription && (error.localizedRecoverySuggestion || error.localizedFailureReason)) {
- *title = error.localizedDescription;
-
- if (error.localizedRecoverySuggestion) {
- *message = error.localizedRecoverySuggestion;
- } else {
- *message = error.localizedFailureReason;
- }
- } else if (error.localizedDescription) {
- *title = NSLocalizedStringFromTable(@"Error", @"AFNetworking", @"Fallback Error Description");
- *message = error.localizedDescription;
- } else {
- *title = NSLocalizedStringFromTable(@"Error", @"AFNetworking", @"Fallback Error Description");
- *message = [NSString stringWithFormat:NSLocalizedStringFromTable(@"%@ Error: %ld", @"AFNetworking", @"Fallback Error Failure Reason Format"), error.domain, (long)error.code];
- }
-}
-
-@implementation UIAlertView (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
-{
- [self showAlertViewForTaskWithErrorOnCompletion:task delegate:delegate cancelButtonTitle:NSLocalizedStringFromTable(@"Dismiss", @"AFNetworking", @"UIAlertView Cancel Button Title") otherButtonTitles:nil, nil];
-}
-
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION
-{
- __block id observer = [[NSNotificationCenter defaultCenter] addObserverForName:AFNetworkingTaskDidCompleteNotification object:task queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notification) {
-
- NSError *error = notification.userInfo[AFNetworkingTaskDidCompleteErrorKey];
- if (error) {
- NSString *title, *message;
- AFGetAlertViewTitleAndMessageFromError(error, &title, &message);
-
- [[[UIAlertView alloc] initWithTitle:title message:message delegate:delegate cancelButtonTitle:cancelButtonTitle otherButtonTitles:otherButtonTitles, nil] show];
- }
-
- [[NSNotificationCenter defaultCenter] removeObserver:observer name:AFNetworkingTaskDidCompleteNotification object:notification.object];
- }];
-}
-#endif
-
-#pragma mark -
-
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
-{
- [self showAlertViewForRequestOperationWithErrorOnCompletion:operation delegate:delegate cancelButtonTitle:NSLocalizedStringFromTable(@"Dismiss", @"AFNetworking", @"UIAlert View Cancel Button Title") otherButtonTitles:nil, nil];
-}
-
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION
-{
- __block id observer = [[NSNotificationCenter defaultCenter] addObserverForName:AFNetworkingOperationDidFinishNotification object:operation queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notification) {
-
- if (notification.object && [notification.object isKindOfClass:[AFURLConnectionOperation class]]) {
- NSError *error = [(AFURLConnectionOperation *)notification.object error];
- if (error) {
- NSString *title, *message;
- AFGetAlertViewTitleAndMessageFromError(error, &title, &message);
-
- [[[UIAlertView alloc] initWithTitle:title message:message delegate:delegate cancelButtonTitle:cancelButtonTitle otherButtonTitles:otherButtonTitles, nil] show];
- }
- }
-
- [[NSNotificationCenter defaultCenter] removeObserver:observer name:AFNetworkingOperationDidFinishNotification object:notification.object];
- }];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h
deleted file mode 100644
index e6ed6de04c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1,181 +0,0 @@
-// UIButton+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@protocol AFURLResponseSerialization, AFImageCache;
-
-/**
- This category adds methods to the UIKit framework's `UIButton` class. The methods in this category provide support for loading remote images and background images asynchronously from a URL.
-
- @warning Compound values for control `state` (such as `UIControlStateHighlighted | UIControlStateDisabled`) are unsupported.
- */
-@interface UIButton (AFNetworking)
-
-///----------------------------
-/// @name Accessing Image Cache
-///----------------------------
-
-/**
- The image cache used to improve image loadiing performance on scroll views. By default, `UIButton` will use the `sharedImageCache` of `UIImageView`.
- */
-+ (id <AFImageCache>)sharedImageCache;
-
-/**
- Set the cache used for image loading.
-
- @param imageCache The image cache.
- */
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache;
-
-///------------------------------------
-/// @name Accessing Response Serializer
-///------------------------------------
-
-/**
- The response serializer used to create an image representation from the server response and response data. By default, this is an instance of `AFImageResponseSerializer`.
-
- @discussion Subclasses of `AFImageResponseSerializer` could be used to perform post-processing, such as color correction, face detection, or other effects. See https://github.com/AFNetworking/AFCoreImageSerializer
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> imageResponseSerializer;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- */
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- */
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- @param success A block to be executed when the image request operation finishes successfully. This block has no return value and takes two arguments: the server response and the image. If the image was returned from cache, the request and response parameters will be `nil`.
- @param failure A block object to be executed when the image request operation finishes unsuccessfully, or that finishes successfully. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)setImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure;
-
-
-///-------------------------------
-/// @name Setting Background Image
-///-------------------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous background image request for the receiver will be cancelled.
-
- If the background image is cached locally, the background image is set immediately, otherwise the specified placeholder background image will be set immediately, and then the remote background image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setBackgroundImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure;
-
-
-///------------------------------
-/// @name Canceling Image Loading
-///------------------------------
-
-/**
- Cancels any executing image operation for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelImageRequestOperationForState:(UIControlState)state;
-
-/**
- Cancels any executing background image operation for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelBackgroundImageRequestOperationForState:(UIControlState)state;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m
deleted file mode 100644
index a225290a25..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m
+++ /dev/null
@@ -1,293 +0,0 @@
-// UIButton+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIButton+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLResponseSerialization.h"
-#import "AFHTTPRequestOperation.h"
-
-#import "UIImageView+AFNetworking.h"
-
-@interface UIButton (_AFNetworking)
-@end
-
-@implementation UIButton (_AFNetworking)
-
-+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
- static NSOperationQueue *_af_sharedImageRequestOperationQueue = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_sharedImageRequestOperationQueue = [[NSOperationQueue alloc] init];
- _af_sharedImageRequestOperationQueue.maxConcurrentOperationCount = NSOperationQueueDefaultMaxConcurrentOperationCount;
- });
-
- return _af_sharedImageRequestOperationQueue;
-}
-
-#pragma mark -
-
-static char AFImageRequestOperationNormal;
-static char AFImageRequestOperationHighlighted;
-static char AFImageRequestOperationSelected;
-static char AFImageRequestOperationDisabled;
-
-static const char * af_imageRequestOperationKeyForState(UIControlState state) {
- switch (state) {
- case UIControlStateHighlighted:
- return &AFImageRequestOperationHighlighted;
- case UIControlStateSelected:
- return &AFImageRequestOperationSelected;
- case UIControlStateDisabled:
- return &AFImageRequestOperationDisabled;
- case UIControlStateNormal:
- default:
- return &AFImageRequestOperationNormal;
- }
-}
-
-- (AFHTTPRequestOperation *)af_imageRequestOperationForState:(UIControlState)state {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, af_imageRequestOperationKeyForState(state));
-}
-
-- (void)af_setImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation
- forState:(UIControlState)state
-{
- objc_setAssociatedObject(self, af_imageRequestOperationKeyForState(state), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-static char AFBackgroundImageRequestOperationNormal;
-static char AFBackgroundImageRequestOperationHighlighted;
-static char AFBackgroundImageRequestOperationSelected;
-static char AFBackgroundImageRequestOperationDisabled;
-
-static const char * af_backgroundImageRequestOperationKeyForState(UIControlState state) {
- switch (state) {
- case UIControlStateHighlighted:
- return &AFBackgroundImageRequestOperationHighlighted;
- case UIControlStateSelected:
- return &AFBackgroundImageRequestOperationSelected;
- case UIControlStateDisabled:
- return &AFBackgroundImageRequestOperationDisabled;
- case UIControlStateNormal:
- default:
- return &AFBackgroundImageRequestOperationNormal;
- }
-}
-
-- (AFHTTPRequestOperation *)af_backgroundImageRequestOperationForState:(UIControlState)state {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, af_backgroundImageRequestOperationKeyForState(state));
-}
-
-- (void)af_setBackgroundImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation
- forState:(UIControlState)state
-{
- objc_setAssociatedObject(self, af_backgroundImageRequestOperationKeyForState(state), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIButton (AFNetworking)
-
-+ (id <AFImageCache>)sharedImageCache {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(sharedImageCache)) ?: [UIImageView sharedImageCache];
-#pragma clang diagnostic pop
-}
-
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache {
- objc_setAssociatedObject(self, @selector(sharedImageCache), imageCache, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (id <AFURLResponseSerialization>)imageResponseSerializer {
- static id <AFURLResponseSerialization> _af_defaultImageResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultImageResponseSerializer = [AFImageResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(imageResponseSerializer)) ?: _af_defaultImageResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setImageResponseSerializer:(id <AFURLResponseSerialization>)serializer {
- objc_setAssociatedObject(self, @selector(imageResponseSerializer), serializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
-{
- [self setImageForState:state withURL:url placeholderImage:nil];
-}
-
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure
-{
- [self cancelImageRequestOperationForState:state];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- [self setImage:cachedImage forState:state];
- }
-
- [self af_setImageRequestOperation:nil forState:state];
- } else {
- if (placeholderImage) {
- [self setImage:placeholderImage forState:state];
- }
-
- __weak __typeof(self)weakSelf = self;
- AFHTTPRequestOperation *imageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- imageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [imageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[operation.request URL]]) {
- if (success) {
- success(operation.request, operation.response, responseObject);
- } else if (responseObject) {
- [strongSelf setImage:responseObject forState:state];
- }
- }
- [[[strongSelf class] sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- if ([[urlRequest URL] isEqual:[operation.response URL]]) {
- if (failure) {
- failure(error);
- }
- }
- }];
-
- [self af_setImageRequestOperation:imageRequestOperation forState:state];
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:imageRequestOperation];
- }
-}
-
-#pragma mark -
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
-{
- [self setBackgroundImageForState:state withURL:url placeholderImage:nil];
-}
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setBackgroundImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure
-{
- [self cancelBackgroundImageRequestOperationForState:state];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- [self setBackgroundImage:cachedImage forState:state];
- }
-
- [self af_setBackgroundImageRequestOperation:nil forState:state];
- } else {
- if (placeholderImage) {
- [self setBackgroundImage:placeholderImage forState:state];
- }
-
- __weak __typeof(self)weakSelf = self;
- AFHTTPRequestOperation *backgroundImageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- backgroundImageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [backgroundImageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[operation.request URL]]) {
- if (success) {
- success(operation.request, operation.response, responseObject);
- } else if (responseObject) {
- [strongSelf setBackgroundImage:responseObject forState:state];
- }
- }
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- if ([[urlRequest URL] isEqual:[operation.response URL]]) {
- if (failure) {
- failure(error);
- }
- }
- }];
-
- [self af_setBackgroundImageRequestOperation:backgroundImageRequestOperation forState:state];
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:backgroundImageRequestOperation];
- }
-}
-
-#pragma mark -
-
-- (void)cancelImageRequestOperationForState:(UIControlState)state {
- [[self af_imageRequestOperationForState:state] cancel];
- [self af_setImageRequestOperation:nil forState:state];
-}
-
-- (void)cancelBackgroundImageRequestOperationForState:(UIControlState)state {
- [[self af_backgroundImageRequestOperationForState:state] cancel];
- [self af_setBackgroundImageRequestOperation:nil forState:state];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h
deleted file mode 100644
index 5d523636e8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1,143 +0,0 @@
-// UIImageView+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@protocol AFURLResponseSerialization, AFImageCache;
-
-/**
- This category adds methods to the UIKit framework's `UIImageView` class. The methods in this category provide support for loading remote images asynchronously from a URL.
- */
-@interface UIImageView (AFNetworking)
-
-///----------------------------
-/// @name Accessing Image Cache
-///----------------------------
-
-/**
- The image cache used to improve image loadiing performance on scroll views. By default, this is an `NSCache` subclass conforming to the `AFImageCache` protocol, which listens for notification warnings and evicts objects accordingly.
-*/
-+ (id <AFImageCache>)sharedImageCache;
-
-/**
- Set the cache used for image loading.
-
- @param imageCache The image cache.
- */
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache;
-
-///------------------------------------
-/// @name Accessing Response Serializer
-///------------------------------------
-
-/**
- The response serializer used to create an image representation from the server response and response data. By default, this is an instance of `AFImageResponseSerializer`.
-
- @discussion Subclasses of `AFImageResponseSerializer` could be used to perform post-processing, such as color correction, face detection, or other effects. See https://github.com/AFNetworking/AFCoreImageSerializer
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> imageResponseSerializer;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- */
-- (void)setImageWithURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- */
-- (void)setImageWithURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with `self.image = image` is applied.
-
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- @param success A block to be executed when the image request operation finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the request and response parameters will be `nil`.
- @param failure A block object to be executed when the image request operation finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
- */
-- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure;
-
-/**
- Cancels any executing image operation for the receiver, if one exists.
- */
-- (void)cancelImageRequestOperation;
-
-@end
-
-#pragma mark -
-
-/**
- The `AFImageCache` protocol is adopted by an object used to cache images loaded by the AFNetworking category on `UIImageView`.
- */
-@protocol AFImageCache <NSObject>
-
-/**
- Returns a cached image for the specififed request, if available.
-
- @param request The image request.
-
- @return The cached image.
- */
-- (UIImage *)cachedImageForRequest:(NSURLRequest *)request;
-
-/**
- Caches a particular image for the specified request.
-
- @param image The image to cache.
- @param request The request to be used as a cache key.
- */
-- (void)cacheImage:(UIImage *)image
- forRequest:(NSURLRequest *)request;
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m
deleted file mode 100644
index c06aa9ca4c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m
+++ /dev/null
@@ -1,216 +0,0 @@
-// UIImageView+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIImageView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-@interface AFImageCache : NSCache <AFImageCache>
-@end
-
-#pragma mark -
-
-@interface UIImageView (_AFNetworking)
-@property (readwrite, nonatomic, strong, setter = af_setImageRequestOperation:) AFHTTPRequestOperation *af_imageRequestOperation;
-@end
-
-@implementation UIImageView (_AFNetworking)
-
-+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
- static NSOperationQueue *_af_sharedImageRequestOperationQueue = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_sharedImageRequestOperationQueue = [[NSOperationQueue alloc] init];
- _af_sharedImageRequestOperationQueue.maxConcurrentOperationCount = NSOperationQueueDefaultMaxConcurrentOperationCount;
- });
-
- return _af_sharedImageRequestOperationQueue;
-}
-
-- (AFHTTPRequestOperation *)af_imageRequestOperation {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, @selector(af_imageRequestOperation));
-}
-
-- (void)af_setImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation {
- objc_setAssociatedObject(self, @selector(af_imageRequestOperation), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIImageView (AFNetworking)
-@dynamic imageResponseSerializer;
-
-+ (id <AFImageCache>)sharedImageCache {
- static AFImageCache *_af_defaultImageCache = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _af_defaultImageCache = [[AFImageCache alloc] init];
-
- [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidReceiveMemoryWarningNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification * __unused notification) {
- [_af_defaultImageCache removeAllObjects];
- }];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(sharedImageCache)) ?: _af_defaultImageCache;
-#pragma clang diagnostic pop
-}
-
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache {
- objc_setAssociatedObject(self, @selector(sharedImageCache), imageCache, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (id <AFURLResponseSerialization>)imageResponseSerializer {
- static id <AFURLResponseSerialization> _af_defaultImageResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultImageResponseSerializer = [AFImageResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(imageResponseSerializer)) ?: _af_defaultImageResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setImageResponseSerializer:(id <AFURLResponseSerialization>)serializer {
- objc_setAssociatedObject(self, @selector(imageResponseSerializer), serializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)setImageWithURL:(NSURL *)url {
- [self setImageWithURL:url placeholderImage:nil];
-}
-
-- (void)setImageWithURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setImageWithURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure
-{
- [self cancelImageRequestOperation];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- self.image = cachedImage;
- }
-
- self.af_imageRequestOperation = nil;
- } else {
- if (placeholderImage) {
- self.image = placeholderImage;
- }
-
- __weak __typeof(self)weakSelf = self;
- self.af_imageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- self.af_imageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [self.af_imageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[strongSelf.af_imageRequestOperation.request URL]]) {
- if (success) {
- success(urlRequest, operation.response, responseObject);
- } else if (responseObject) {
- strongSelf.image = responseObject;
- }
-
- if (operation == strongSelf.af_imageRequestOperation){
- strongSelf.af_imageRequestOperation = nil;
- }
- }
-
- [[[strongSelf class] sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[strongSelf.af_imageRequestOperation.request URL]]) {
- if (failure) {
- failure(urlRequest, operation.response, error);
- }
-
- if (operation == strongSelf.af_imageRequestOperation){
- strongSelf.af_imageRequestOperation = nil;
- }
- }
- }];
-
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:self.af_imageRequestOperation];
- }
-}
-
-- (void)cancelImageRequestOperation {
- [self.af_imageRequestOperation cancel];
- self.af_imageRequestOperation = nil;
-}
-
-@end
-
-#pragma mark -
-
-static inline NSString * AFImageCacheKeyFromURLRequest(NSURLRequest *request) {
- return [[request URL] absoluteString];
-}
-
-@implementation AFImageCache
-
-- (UIImage *)cachedImageForRequest:(NSURLRequest *)request {
- switch ([request cachePolicy]) {
- case NSURLRequestReloadIgnoringCacheData:
- case NSURLRequestReloadIgnoringLocalAndRemoteCacheData:
- return nil;
- default:
- break;
- }
-
- return [self objectForKey:AFImageCacheKeyFromURLRequest(request)];
-}
-
-- (void)cacheImage:(UIImage *)image
- forRequest:(NSURLRequest *)request
-{
- if (image && request) {
- [self setObject:image forKey:AFImageCacheKeyFromURLRequest(request)];
- }
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h
deleted file mode 100644
index 94082f6cb5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// UIKit+AFNetworking.h
-//
-// Copyright (c) 2013 AFNetworking (http://afnetworking.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <UIKit/UIKit.h>
-
-#ifndef _UIKIT_AFNETWORKING_
- #define _UIKIT_AFNETWORKING_
-
- #import "AFNetworkActivityIndicatorManager.h"
-
- #import "UIActivityIndicatorView+AFNetworking.h"
- #import "UIAlertView+AFNetworking.h"
- #import "UIButton+AFNetworking.h"
- #import "UIImageView+AFNetworking.h"
- #import "UIKit+AFNetworking.h"
- #import "UIProgressView+AFNetworking.h"
- #import "UIRefreshControl+AFNetworking.h"
- #import "UIWebView+AFNetworking.h"
-#endif /* _UIKIT_AFNETWORKING_ */
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 100644
index 3f1bc086f5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1,88 +0,0 @@
-// UIProgressView+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task or request operation.
- */
-@interface UIProgressView (AFNetworking)
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
- animated:(BOOL)animated;
-#endif
-
-/**
- Binds the progress to the download progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
- animated:(BOOL)animated;
-#endif
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated;
-
-/**
- Binds the progress to the download progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m
deleted file mode 100644
index 927f56d843..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m
+++ /dev/null
@@ -1,183 +0,0 @@
-// UIProgressView+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIProgressView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLConnectionOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static void * AFTaskCountOfBytesSentContext = &AFTaskCountOfBytesSentContext;
-static void * AFTaskCountOfBytesReceivedContext = &AFTaskCountOfBytesReceivedContext;
-
-@interface AFURLConnectionOperation (_UIProgressView)
-@property (readwrite, nonatomic, copy) void (^uploadProgress)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-@property (readwrite, nonatomic, assign, setter = af_setUploadProgressAnimated:) BOOL af_uploadProgressAnimated;
-
-@property (readwrite, nonatomic, copy) void (^downloadProgress)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-@property (readwrite, nonatomic, assign, setter = af_setDownloadProgressAnimated:) BOOL af_downloadProgressAnimated;
-@end
-
-@implementation AFURLConnectionOperation (_UIProgressView)
-@dynamic uploadProgress; // Implemented in AFURLConnectionOperation
-@dynamic af_uploadProgressAnimated;
-
-@dynamic downloadProgress; // Implemented in AFURLConnectionOperation
-@dynamic af_downloadProgressAnimated;
-@end
-
-#pragma mark -
-
-@implementation UIProgressView (AFNetworking)
-
-- (BOOL)af_uploadProgressAnimated {
- return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_uploadProgressAnimated)) boolValue];
-}
-
-- (void)af_setUploadProgressAnimated:(BOOL)animated {
- objc_setAssociatedObject(self, @selector(af_uploadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-- (BOOL)af_downloadProgressAnimated {
- return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_downloadProgressAnimated)) boolValue];
-}
-
-- (void)af_setDownloadProgressAnimated:(BOOL)animated {
- objc_setAssociatedObject(self, @selector(af_downloadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
- animated:(BOOL)animated
-{
- [task addObserver:self forKeyPath:@"state" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];
- [task addObserver:self forKeyPath:@"countOfBytesSent" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];
-
- [self af_setUploadProgressAnimated:animated];
-}
-
-- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
- animated:(BOOL)animated
-{
- [task addObserver:self forKeyPath:@"state" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];
- [task addObserver:self forKeyPath:@"countOfBytesReceived" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];
-
- [self af_setDownloadProgressAnimated:animated];
-}
-#endif
-
-#pragma mark -
-
-- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated
-{
- __weak __typeof(self)weakSelf = self;
- void (^original)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) = [operation.uploadProgress copy];
- [operation setUploadProgressBlock:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
- if (original) {
- original(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- if (totalBytesExpectedToWrite > 0) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- [strongSelf setProgress:(totalBytesWritten / (totalBytesExpectedToWrite * 1.0f)) animated:animated];
- }
- });
- }];
-}
-
-- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated
-{
- __weak __typeof(self)weakSelf = self;
- void (^original)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead) = [operation.downloadProgress copy];
- [operation setDownloadProgressBlock:^(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead) {
- if (original) {
- original(bytesRead, totalBytesRead, totalBytesExpectedToRead);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- if (totalBytesExpectedToRead > 0) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- [strongSelf setProgress:(totalBytesRead / (totalBytesExpectedToRead * 1.0f)) animated:animated];
- }
- });
- }];
-}
-
-#pragma mark - NSKeyValueObserving
-
-- (void)observeValueForKeyPath:(NSString *)keyPath
- ofObject:(id)object
- change:(__unused NSDictionary *)change
- context:(void *)context
-{
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
- if (context == AFTaskCountOfBytesSentContext || context == AFTaskCountOfBytesReceivedContext) {
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesSent))]) {
- if ([object countOfBytesExpectedToSend] > 0) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self setProgress:[object countOfBytesSent] / ([object countOfBytesExpectedToSend] * 1.0f) animated:self.af_uploadProgressAnimated];
- });
- }
- }
-
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesReceived))]) {
- if ([object countOfBytesExpectedToReceive] > 0) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self setProgress:[object countOfBytesReceived] / ([object countOfBytesExpectedToReceive] * 1.0f) animated:self.af_downloadProgressAnimated];
- });
- }
- }
-
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(state))]) {
- if ([(NSURLSessionTask *)object state] == NSURLSessionTaskStateCompleted) {
- @try {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(state))];
-
- if (context == AFTaskCountOfBytesSentContext) {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesSent))];
- }
-
- if (context == AFTaskCountOfBytesReceivedContext) {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesReceived))];
- }
- }
- @catch (NSException * __unused exception) {}
- }
- }
- }
-#endif
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 100644
index 37ce772de0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// UIRefreshControl+AFNetworking.m
-//
-// Copyright (c) 2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIRefreshControl` class. The methods in this category provide support for automatically begining and ending refreshing depending on the loading state of a request operation or session task.
- */
-@interface UIRefreshControl (AFNetworking)
-
-///-----------------------------------
-/// @name Refreshing for Session Tasks
-///-----------------------------------
-
-/**
- Binds the refreshing state to the state of the specified task.
-
- @param task The task. If `nil`, automatic updating from any previously specified operation will be diabled.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task;
-#endif
-
-///----------------------------------------
-/// @name Refreshing for Request Operations
-///----------------------------------------
-
-/**
- Binds the refreshing state to the execution state of the specified operation.
-
- @param operation The operation. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m
deleted file mode 100644
index e266451fe5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m
+++ /dev/null
@@ -1,93 +0,0 @@
-// UIRefreshControl+AFNetworking.m
-//
-// Copyright (c) 2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIRefreshControl+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-@implementation UIRefreshControl (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
-
- if (task) {
- if (task.state == NSURLSessionTaskStateRunning) {
- [self beginRefreshing];
-
- [notificationCenter addObserver:self selector:@selector(af_beginRefreshing) name:AFNetworkingTaskDidResumeNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidCompleteNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidSuspendNotification object:task];
- } else {
- [self endRefreshing];
- }
- }
-}
-#endif
-
-- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidStartNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidFinishNotification object:nil];
-
- if (operation) {
- if (![operation isFinished]) {
- if ([operation isExecuting]) {
- [self beginRefreshing];
- } else {
- [self endRefreshing];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_beginRefreshing) name:AFNetworkingOperationDidStartNotification object:operation];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingOperationDidFinishNotification object:operation];
- }
- }
-}
-
-#pragma mark -
-
-- (void)af_beginRefreshing {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self beginRefreshing];
- });
-}
-
-- (void)af_endRefreshing {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self endRefreshing];
- });
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h
deleted file mode 100644
index 202e8f4ea2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// UIWebView+AFNetworking.h
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFHTTPRequestSerializer, AFHTTPResponseSerializer;
-@protocol AFURLRequestSerialization, AFURLResponseSerialization;
-
-/**
- This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
-
- @discussion When using these category methods, make sure to assign `delegate` for the web view, which implements `–webView:shouldStartLoadWithRequest:navigationType:` appropriately. This allows for tapped links to be loaded through AFNetworking, and can ensure that `canGoBack` & `canGoForward` update their values correctly.
- */
-@interface UIWebView (AFNetworking)
-
-/**
- The request serializer used to serialize requests made with the `-loadRequest:...` category methods. By default, this is an instance of `AFHTTPRequestSerializer`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- The response serializer used to serialize responses made with the `-loadRequest:...` category methods. By default, this is an instance of `AFHTTPResponseSerializer`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- Asynchronously loads the specified request.
-
- @param request A URL request identifying the location of the content to load. This must not be `nil`.
- @param progress A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- @param success A block object to be executed when the request finishes loading successfully. This block returns the HTML string to be loaded by the web view, and takes two arguments: the response, and the response string.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)loadRequest:(NSURLRequest *)request
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success
- failure:(void (^)(NSError *error))failure;
-
-/**
- Asynchronously loads the data associated with a particular request with a specified MIME type and text encoding.
-
- @param request A URL request identifying the location of the content to load. This must not be `nil`.
- @param MIMEType The MIME type of the content. Defaults to the content type of the response if not specified.
- @param textEncodingName The IANA encoding name, as in `utf-8` or `utf-16`. Defaults to the response text encoding if not specified.
- @param progress A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- @param success A block object to be executed when the request finishes loading successfully. This block returns the data to be loaded by the web view and takes two arguments: the response, and the downloaded data.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)loadRequest:(NSURLRequest *)request
- MIMEType:(NSString *)MIMEType
- textEncodingName:(NSString *)textEncodingName
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSData * (^)(NSHTTPURLResponse *response, NSData *data))success
- failure:(void (^)(NSError *error))failure;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m
deleted file mode 100644
index 525d02aead..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m
+++ /dev/null
@@ -1,151 +0,0 @@
-// UIWebView+AFNetworking.m
-//
-// Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "UIWebView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-
-@interface UIWebView (_AFNetworking)
-@property (readwrite, nonatomic, strong, setter = af_setHTTPRequestOperation:) AFHTTPRequestOperation *af_HTTPRequestOperation;
-@end
-
-@implementation UIWebView (_AFNetworking)
-
-- (AFHTTPRequestOperation *)af_HTTPRequestOperation {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, @selector(af_HTTPRequestOperation));
-}
-
-- (void)af_setHTTPRequestOperation:(AFHTTPRequestOperation *)operation {
- objc_setAssociatedObject(self, @selector(af_HTTPRequestOperation), operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIWebView (AFNetworking)
-
-- (AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- static AFHTTPRequestSerializer <AFURLRequestSerialization> *_af_defaultRequestSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultRequestSerializer = [AFHTTPRequestSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(requestSerializer)) ?: _af_defaultRequestSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer<AFURLRequestSerialization> *)requestSerializer {
- objc_setAssociatedObject(self, @selector(requestSerializer), requestSerializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-- (AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- static AFHTTPResponseSerializer <AFURLResponseSerialization> *_af_defaultResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultResponseSerializer = [AFHTTPResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(responseSerializer)) ?: _af_defaultResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer<AFURLResponseSerialization> *)responseSerializer {
- objc_setAssociatedObject(self, @selector(responseSerializer), responseSerializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)loadRequest:(NSURLRequest *)request
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success
- failure:(void (^)(NSError *error))failure
-{
- [self loadRequest:request MIMEType:nil textEncodingName:nil progress:progress success:^NSData *(NSHTTPURLResponse *response, NSData *data) {
- NSStringEncoding stringEncoding = NSUTF8StringEncoding;
- if (response.textEncodingName) {
- CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding((CFStringRef)response.textEncodingName);
- if (encoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(encoding);
- }
- }
-
- NSString *string = [[NSString alloc] initWithData:data encoding:stringEncoding];
- if (success) {
- string = success(response, string);
- }
-
- return [string dataUsingEncoding:stringEncoding];
- } failure:failure];
-}
-
-- (void)loadRequest:(NSURLRequest *)request
- MIMEType:(NSString *)MIMEType
- textEncodingName:(NSString *)textEncodingName
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSData * (^)(NSHTTPURLResponse *response, NSData *data))success
- failure:(void (^)(NSError *error))failure
-{
- NSParameterAssert(request);
-
- if (self.af_HTTPRequestOperation) {
- [self.af_HTTPRequestOperation cancel];
- }
-
- request = [self.requestSerializer requestBySerializingRequest:request withParameters:nil error:nil];
-
- self.af_HTTPRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
- self.af_HTTPRequestOperation.responseSerializer = self.responseSerializer;
-
- __weak __typeof(self)weakSelf = self;
- [self.af_HTTPRequestOperation setDownloadProgressBlock:progress];
- [self.af_HTTPRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id __unused responseObject) {
- NSData *data = success ? success(operation.response, operation.responseData) : operation.responseData;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- __strong __typeof(weakSelf) strongSelf = weakSelf;
- [strongSelf loadData:data MIMEType:(MIMEType ?: [operation.response MIMEType]) textEncodingName:(textEncodingName ?: [operation.response textEncodingName]) baseURL:[operation.response URL]];
-#pragma clang diagnostic pop
- } failure:^(AFHTTPRequestOperation * __unused operation, NSError *error) {
- if (failure) {
- failure(error);
- }
- }];
-
- [self.af_HTTPRequestOperation start];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 120000
index ac762c8238..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 120000
index 9dcc623c63..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h
deleted file mode 120000
index 56feb9fb85..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 120000
index 67519d9848..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 120000
index 68fc7744f2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h
deleted file mode 120000
index a5a38da7dc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h
deleted file mode 120000
index fd1322db9c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFSecurityPolicy.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h
deleted file mode 120000
index d9b35fb754..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h
deleted file mode 120000
index ca8209b81f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h
deleted file mode 120000
index e36a765d82..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h
deleted file mode 120000
index 835101de7b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 120000
index c534ebfb02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 120000
index f992813385..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h
deleted file mode 120000
index 8f2e221939..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h
deleted file mode 120000
index a95d67380f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h
deleted file mode 120000
index 95017cce57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 120000
index 730b167dcd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 120000
index 8efd826209..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h
deleted file mode 120000
index c8df6ef17b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 120000
index ac762c8238..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 120000
index 9dcc623c63..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h
deleted file mode 120000
index 56feb9fb85..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 120000
index 67519d9848..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 120000
index 68fc7744f2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h
deleted file mode 120000
index a5a38da7dc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h
deleted file mode 120000
index fd1322db9c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFSecurityPolicy.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h
deleted file mode 120000
index d9b35fb754..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h
deleted file mode 120000
index ca8209b81f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h
deleted file mode 120000
index e36a765d82..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h
deleted file mode 120000
index 835101de7b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 120000
index c534ebfb02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 120000
index f992813385..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h
deleted file mode 120000
index 8f2e221939..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h
deleted file mode 120000
index a95d67380f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h
deleted file mode 120000
index 95017cce57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 120000
index 730b167dcd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 120000
index 8efd826209..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h
deleted file mode 120000
index c8df6ef17b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock
deleted file mode 100644
index 5896b3b3b0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock
+++ /dev/null
@@ -1,30 +0,0 @@
-PODS:
- - AFNetworking (2.5.0):
- - AFNetworking/NSURLConnection (= 2.5.0)
- - AFNetworking/NSURLSession (= 2.5.0)
- - AFNetworking/Reachability (= 2.5.0)
- - AFNetworking/Security (= 2.5.0)
- - AFNetworking/Serialization (= 2.5.0)
- - AFNetworking/UIKit (= 2.5.0)
- - AFNetworking/NSURLConnection (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/NSURLSession (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/Reachability (2.5.0)
- - AFNetworking/Security (2.5.0)
- - AFNetworking/Serialization (2.5.0)
- - AFNetworking/UIKit (2.5.0):
- - AFNetworking/NSURLConnection
- - AFNetworking/NSURLSession
-
-DEPENDENCIES:
- - AFNetworking (= 2.5.0)
-
-SPEC CHECKSUMS:
- AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 7c52607f05..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1190 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 00E62B847EA2F65FC90029021AE728D7 /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */; };
- 062627F8F11F3D335F1463F776CC6D7B /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- 0844ADE509A938C41B0727E30A322FDF /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 09036FF02007A01FDD1BD0A574F0B2DE /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */; };
- 0BAFE9A085FC34B4B93E5898BA006719 /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */; };
- 1021F23677C382672D1DB2D99077D141 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */; };
- 10C3A789560233FF8783D60EE2CB545C /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */; };
- 18BEFCC98B3B58EB4829B46666F5907B /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- 19471BDEE2BC7C9817B53A97AF653CEA /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1C932875CECF31CA7C2B6A26E1E5A3E0 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1CE3CB5854CF50C2262FA219012F2974 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1E647A46F885F867103C065ED7F71966 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- 1F532A0E0B95E91A62F03407927CB325 /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- 1FF3796AACEDD051A3AB350183208907 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- 28F3B4D89EA1C8A014676F1D386D396C /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */; };
- 2B29F1FA99E275DEDD61A5F688D5C9C1 /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */; };
- 2BB369B883084E0B565E67BD8EC608A2 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 2F147644DB7277F011A038925519E9D0 /* Pods-OHHTTPStubs Mac Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */; };
- 303776F53A80420B45EA0A3BBFEAAF97 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 3B3BA8884C3AD01EE86D9A9FEC915F5E /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 437ECFC28F231AB22E9202E864FA8F8B /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 438968EC789E0F717C25C550274AB650 /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 45AD375FBF85A2BF93A637B148CB59F7 /* UIAlertView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */; };
- 46E2B7C3ADDF592950118FAE3C17FB17 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 48F0FCD4CD27D827CD2C8B805A3673AD /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 491471648F137C917DF4BAE1E349297E /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */; };
- 4C339FF668B3A25065E5368D3609C5C3 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 4C6003B6AAB41183728B539576F798C9 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 4FF4FC4E9DA5EE77D00B35B9CD82F41D /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- 504905DA5DC2A16ADDD1AD52124932D8 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 5C72659A6B26B9815CA33E73D9DC24BF /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */; };
- 5D7EA100025E4F6FF0D6A55B4BD9997D /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */; };
- 5DB9E56F532D487F5E2629951ADBDFEA /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 600A82D91491C069768FCD6A2010BCB3 /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- 60AAAC807EA458A49273DB6F55E2F936 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 61EC95BBC175B1AF91C3EA5650C764FA /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- 649EADE3D5751F8F6999B5B38770BEE1 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */; };
- 65FAA62D88B42F6BEBA606AF270104E3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5588981C316302A690A0F11429C14EEF /* Security.framework */; };
- 6703E45579332EB0B6979235783E5B14 /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 69EF57311C170DC1DF039E247250C088 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 6E4BDF75676CC9BBA0BC140AA2253C11 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 738FDD277AE8A94CF23B0DED04FE1BB1 /* UIAlertView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 753A5C45559ADFB2540B64D59872BFD2 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */; };
- 759A9B1F3FFC9108F24E43E61B4A9062 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */; };
- 7638217928A9C4691B389C2B12CDB5C3 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 7676169F7841532A395931C3E17F66C9 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 7745D34FD7B95A486807E20F16E5ACB2 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */; };
- 7C95483A4097B18335A8BF7642DDC73B /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- 82C3E6B636B783C0B311392BBD9BF5CE /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 82EAF220DAEF2E4F0D70A89DDFECA712 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */; };
- 8875AB1428DA5D9168F3559A3D1CCB90 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */; };
- 8AF9F36D21A64B89909D700B64FACE0D /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 8E55AA32CB5BFB88BF1BE7B661D0D473 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 8F82ED27312CCDF4694204B19CE76BB3 /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- 92B11B96FF7836B2596D0B8B10EFFF65 /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */; };
- 93AC19524F986400E92144DBE3319157 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 94050A36404DA05CD02F403CE1DD1906 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 94A5736A0EC38CA01652B849EF60F84B /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 96B9F0D329D99B07D4B86F4689B63C29 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 99346425C623513B94D6C3BE0F164219 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */; };
- 9A2F99D9A65589AA07E6459435AA1C0D /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 9AC12B669B09AB75BC0B7B42A05ADD21 /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- 9CEC4434EE320A3C3503F66A56B3612E /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- 9F9729959DD97A6E0868F319B96693CD /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- A027F9B7ADCA44C6A3A979078DC45E88 /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- A4727C9657EEAB1477812E3013A7033A /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- A6436F219B1CCA5985A688509EF6060D /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */; };
- A7C74D13A199C4367A5599A40B0D1E1D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */; };
- A8AF6A9C783460F89650597A17BF55CA /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */; };
- AB495171DED382DFC1D70601A0A338C6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- AB4B8331259A23DF5CC3A4212E7415AC /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AC1BE0DB30DF879464CC83953A7185A1 /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */; };
- AD45C703CCC77BAE5329D20FF96D48F1 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AD9902747B7FC4F71295996DC7860EB8 /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- ADFCEAFAC1424E9CFAA4EBDD0B8AEE48 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AEAD6D6409316FC1F334D4C9DBEA7D8D /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */; };
- B2F8321C37874E4E230F60AE522DAAFD /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */; };
- B614CCAB66BC6044A90A4AD98F539263 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- B6E5A5FD952689780B3BE34B718416D2 /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- BC8C8771E348826A0E001F36418C3273 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- BCEB37494E804EFF38A42EB7CFB411F1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */; };
- BD930F37304AB0B2F6954C115D4A3526 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */; };
- BE04EBD99F23E05DD57CFDDC543DEAB9 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- BEC6D92DC480B498A524C26EE26CA27B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */; };
- BEEC23C8BDC4DBBC2F558BDDB9C5281A /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- C10947C431063D940DDF1B026BD1CC46 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- C3A9FB02E7B742CE99B363D81626D356 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */; };
- C9F5F78994EF37121A691BFFC78B0487 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- CB8DC139D7E210F046BCFB2E5F6CB1D0 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */; };
- CBBB8FAAD7621035F9E6BD17EBFABE14 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */; };
- CFE236DC8EE5333C1F6F9ABF62B3535C /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- CFF91447C78D216352D482A31C9F5A81 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- D2D1AFA8C46D5353FE9C3899C5A7A459 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- D6C88C216B01055BC5CFD8A8FEB813B6 /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- DA92ED909F56C8D4177A2C83BBE60769 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- DB59017FB5CF57B9C999FC168F67553E /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- DC25BB10F0BBA01FF19EE93657F136E9 /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- DD7D6461C4656587A76BF366CF7F778C /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- DE6B6686329084122345FBFFA4A5251F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */; };
- E0F0FF6AEE4479CCDF53AF74F688BA55 /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- E37EAD95E243E027EE7E873D8EB9581D /* UIAlertView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E41E538DA6814FA77B07A3E031AAA15C /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- E5809CB7E9B80EC02904EBF072207B15 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E68FC8E49E7D5E684944923270FC58DF /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- EDB8AFAEF1221D5E9509F6D3DD2399D5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- EE0E642DC896F9C3644FFC0086DD2A60 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */; };
- EEC219A28F8AF94DCB4E2B7835BEA5EC /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- F0771CF11B589C897EB15E969C8A66AA /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- F15585CD2CF41FAAA08BB23E33AA9EA3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5588981C316302A690A0F11429C14EEF /* Security.framework */; };
- F23EFC6928775AF24E0FFFEAB5B96144 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F496D859E44DA30DD6DF9942B8BC37BE /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F4D2060AFE160CDA0AEA7D4E9C841A56 /* UIAlertView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */; };
- FBD776460ABA96AFD8E6BE6F89A10D37 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- FC4CDC3A0E5E0DCE40E38A32485221BC /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 012E086A02A43D7180DDBBF2313657B3 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 83C48F685E760798451C190B67532DD6;
- remoteInfo = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- };
- 068A702EE4FA7CE77E385567A04864DA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 3CD6B8D1922BB8AF8A0A0C0A940E21B8;
- remoteInfo = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- };
- B8528B1299280339BD414B62FA73C91D /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = F218F9E6DFDEE3DC92EC9A3BF47E6B54;
- remoteInfo = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework; sourceTree = DEVELOPER_DIR; };
- 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLConnectionOperation.m; path = AFNetworking/AFURLConnectionOperation.m; sourceTree = "<group>"; };
- 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworking.h; path = AFNetworking/AFNetworking.h; sourceTree = "<group>"; };
- 05A55AB049CECEC06EAEF70A771CDF09 /* Pods-OHHTTPStubs Mac Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs Mac Tests-resources.sh"; sourceTree = "<group>"; };
- 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIActivityIndicatorView+AFNetworking.m"; path = "UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m"; sourceTree = "<group>"; };
- 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPRequestOperationManager.m; path = AFNetworking/AFHTTPRequestOperationManager.m; sourceTree = "<group>"; };
- 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPRequestOperation.h; path = AFNetworking/AFHTTPRequestOperation.h; sourceTree = "<group>"; };
- 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkReachabilityManager.m; path = AFNetworking/AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
- 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIProgressView+AFNetworking.h"; path = "UIKit+AFNetworking/UIProgressView+AFNetworking.h"; sourceTree = "<group>"; };
- 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- 2581C843D784C7210E0F1F28CC1D8B7E /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPRequestOperation.m; path = AFNetworking/AFHTTPRequestOperation.m; sourceTree = "<group>"; };
- 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkReachabilityManager.h; path = AFNetworking/AFNetworkReachabilityManager.h; sourceTree = "<group>"; };
- 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+AFNetworking.h"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
- 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; sourceTree = "<group>"; };
- 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- 37E0F4E141348926FBC92D88EFA6AFB8 /* Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; };
- 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkActivityIndicatorManager.h; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h"; sourceTree = "<group>"; };
- 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPSessionManager.h; path = AFNetworking/AFHTTPSessionManager.h; sourceTree = "<group>"; };
- 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIButton+AFNetworking.h"; path = "UIKit+AFNetworking/UIButton+AFNetworking.h"; sourceTree = "<group>"; };
- 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; sourceTree = "<group>"; };
- 4E318CCFBD5D073E639E811F8F9A6C5C /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist"; sourceTree = "<group>"; };
- 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIRefreshControl+AFNetworking.h"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.h"; sourceTree = "<group>"; };
- 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLSessionManager.h; path = AFNetworking/AFURLSessionManager.h; sourceTree = "<group>"; };
- 5588981C316302A690A0F11429C14EEF /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
- 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs Mac Tests-dummy.m"; sourceTree = "<group>"; };
- 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIActivityIndicatorView+AFNetworking.h"; path = "UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h"; sourceTree = "<group>"; };
- 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIWebView+AFNetworking.h"; path = "UIKit+AFNetworking/UIWebView+AFNetworking.h"; sourceTree = "<group>"; };
- 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFSecurityPolicy.m; path = AFNetworking/AFSecurityPolicy.m; sourceTree = "<group>"; };
- 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
- 6AA2C003357ABD3DA8301DF251E8DF07 /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- 6CF2B059BA1AB95373E84725C32C15AA /* Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs iOS Fmk Tests-dummy.m"; sourceTree = "<group>"; };
- 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLRequestSerialization.m; path = AFNetworking/AFURLRequestSerialization.m; sourceTree = "<group>"; };
- 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIProgressView+AFNetworking.m"; path = "UIKit+AFNetworking/UIProgressView+AFNetworking.m"; sourceTree = "<group>"; };
- 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPRequestOperationManager.h; path = AFNetworking/AFHTTPRequestOperationManager.h; sourceTree = "<group>"; };
- 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLResponseSerialization.h; path = AFNetworking/AFURLResponseSerialization.h; sourceTree = "<group>"; };
- 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLSessionManager.m; path = AFNetworking/AFURLSessionManager.m; sourceTree = "<group>"; };
- 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests.release.xcconfig"; sourceTree = "<group>"; };
- 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIWebView+AFNetworking.m"; path = "UIKit+AFNetworking/UIWebView+AFNetworking.m"; sourceTree = "<group>"; };
- 8E1A7DDB7C4021CE287CFDF5A2E4E620 /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
- 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIButton+AFNetworking.m"; path = "UIKit+AFNetworking/UIButton+AFNetworking.m"; sourceTree = "<group>"; };
- 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIRefreshControl+AFNetworking.m"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
- A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIAlertView+AFNetworking.m"; path = "UIKit+AFNetworking/UIAlertView+AFNetworking.m"; sourceTree = "<group>"; };
- AA15E5980230D104177F5D221A1440F5 /* Pods-OHHTTPStubs iOS Lib Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs iOS Lib Tests-resources.sh"; sourceTree = "<group>"; };
- AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };
- B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIKit+AFNetworking.h"; path = "UIKit+AFNetworking/UIKit+AFNetworking.h"; sourceTree = "<group>"; };
- B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLRequestSerialization.h; path = AFNetworking/AFURLRequestSerialization.h; sourceTree = "<group>"; };
- BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFSecurityPolicy.h; path = AFNetworking/AFSecurityPolicy.h; sourceTree = "<group>"; };
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs iOS Lib Tests-dummy.m"; sourceTree = "<group>"; };
- C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
- C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLConnectionOperation.h; path = AFNetworking/AFURLConnectionOperation.h; sourceTree = "<group>"; };
- CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIAlertView+AFNetworking.h"; path = "UIKit+AFNetworking/UIAlertView+AFNetworking.h"; sourceTree = "<group>"; };
- CEEDB64D3C641DE539BCB8F56E8F7B37 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m"; sourceTree = "<group>"; };
- D2E827C02742E7F76DD1338985938B4D /* Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPSessionManager.m; path = AFNetworking/AFHTTPSessionManager.m; sourceTree = "<group>"; };
- DBD4BB4B0B29CF374A8EDD63D4345E03 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLResponseSerialization.m; path = AFNetworking/AFURLResponseSerialization.m; sourceTree = "<group>"; };
- DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
- E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- E3F0B7C281209551AE420DD52232E7C8 /* Pods-OHHTTPStubs iOS Fmk Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs iOS Fmk Tests-resources.sh"; sourceTree = "<group>"; };
- E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+AFNetworking.m"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
- E6F21C21892A686AB280180FD4969498 /* Pods-OHHTTPStubs Mac Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs Mac Tests-acknowledgements.plist"; sourceTree = "<group>"; };
- EC1C2CAE3AE61850A30DD027DF10505B /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- FAA9A928A7FA702CDB4425640009C9ED /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 653C8A4D5BA2EC877700840BEF53ACDD /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A7C74D13A199C4367A5599A40B0D1E1D /* Cocoa.framework in Frameworks */,
- 7745D34FD7B95A486807E20F16E5ACB2 /* CoreServices.framework in Frameworks */,
- 82EAF220DAEF2E4F0D70A89DDFECA712 /* Security.framework in Frameworks */,
- BCEB37494E804EFF38A42EB7CFB411F1 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 8B3227DF02C2C27253B1AC2FBFF1464D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1FF3796AACEDD051A3AB350183208907 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- AAF9EA44D5832F6AB94A30AF7F26B112 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- BEC6D92DC480B498A524C26EE26CA27B /* CoreGraphics.framework in Frameworks */,
- EDB8AFAEF1221D5E9509F6D3DD2399D5 /* Foundation.framework in Frameworks */,
- 1021F23677C382672D1DB2D99077D141 /* MobileCoreServices.framework in Frameworks */,
- 65FAA62D88B42F6BEBA606AF270104E3 /* Security.framework in Frameworks */,
- C3A9FB02E7B742CE99B363D81626D356 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- B6EE4ED62BC7CEBDED396BFB546553FC /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- DE6B6686329084122345FBFFA4A5251F /* Cocoa.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D783A3B6252B0810C97C37D485DADB47 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1E647A46F885F867103C065ED7F71966 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- F8FC83EF19D48CD791486910BEBE2B9F /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A8AF6A9C783460F89650597A17BF55CA /* CoreGraphics.framework in Frameworks */,
- AB495171DED382DFC1D70601A0A338C6 /* Foundation.framework in Frameworks */,
- AEAD6D6409316FC1F334D4C9DBEA7D8D /* MobileCoreServices.framework in Frameworks */,
- F15585CD2CF41FAAA08BB23E33AA9EA3 /* Security.framework in Frameworks */,
- EE0E642DC896F9C3644FFC0086DD2A60 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 0E3744EA9D5891D6AA568F3B7281445C /* Pods-OHHTTPStubs iOS Fmk Tests */ = {
- isa = PBXGroup;
- children = (
- 6AA2C003357ABD3DA8301DF251E8DF07 /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown */,
- FAA9A928A7FA702CDB4425640009C9ED /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist */,
- 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */,
- E3F0B7C281209551AE420DD52232E7C8 /* Pods-OHHTTPStubs iOS Fmk Tests-resources.sh */,
- 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */,
- 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests";
- path = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests";
- sourceTree = "<group>";
- };
- 11DF502A4D9A15542CF481C74DE6D9A3 /* Pods-OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXGroup;
- children = (
- 8E1A7DDB7C4021CE287CFDF5A2E4E620 /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown */,
- 4E318CCFBD5D073E639E811F8F9A6C5C /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist */,
- BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */,
- AA15E5980230D104177F5D221A1440F5 /* Pods-OHHTTPStubs iOS Lib Tests-resources.sh */,
- 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */,
- 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests";
- path = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests";
- sourceTree = "<group>";
- };
- 18EFE38F7F8B278AEDE0D27B44CB04C7 /* Pods-OHHTTPStubs Mac Tests */ = {
- isa = PBXGroup;
- children = (
- D2E827C02742E7F76DD1338985938B4D /* Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown */,
- E6F21C21892A686AB280180FD4969498 /* Pods-OHHTTPStubs Mac Tests-acknowledgements.plist */,
- 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */,
- 05A55AB049CECEC06EAEF70A771CDF09 /* Pods-OHHTTPStubs Mac Tests-resources.sh */,
- 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */,
- 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs Mac Tests";
- path = "Target Support Files/Pods-OHHTTPStubs Mac Tests";
- sourceTree = "<group>";
- };
- 230E86A8BD9B83601E52F747B7DB6E4D /* iOS */ = {
- isa = PBXGroup;
- children = (
- 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */,
- 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */,
- AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */,
- 5588981C316302A690A0F11429C14EEF /* Security.framework */,
- DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */,
- );
- name = iOS;
- sourceTree = "<group>";
- };
- 3C5E87403580D550C0D70F60C7DF80E4 /* Serialization */ = {
- isa = PBXGroup;
- children = (
- B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */,
- 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */,
- 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */,
- DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */,
- );
- name = Serialization;
- sourceTree = "<group>";
- };
- 5CC8F5917FB3FA7D911485C4E1C49EBA /* Security */ = {
- isa = PBXGroup;
- children = (
- BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */,
- 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */,
- );
- name = Security;
- sourceTree = "<group>";
- };
- 5FE77AFBE70240C52D658B27BACFDE5B /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F74F9A7D3453616153A9A2C1226CB17F /* OS X */,
- 230E86A8BD9B83601E52F747B7DB6E4D /* iOS */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 7288B3837DDAA790C66E9E1141F0EEE1 /* NSURLConnection */ = {
- isa = PBXGroup;
- children = (
- 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */,
- 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */,
- 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */,
- 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */,
- C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */,
- 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */,
- );
- name = NSURLConnection;
- sourceTree = "<group>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- 5FE77AFBE70240C52D658B27BACFDE5B /* Frameworks */,
- 844675680397CCEFD68E9BBC63ED25F2 /* Pods */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- F47946A07A0E626A63A3B595A3600C90 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 844675680397CCEFD68E9BBC63ED25F2 /* Pods */ = {
- isa = PBXGroup;
- children = (
- A765C4E2B4592079927FF623452E2BE2 /* AFNetworking */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
- A765C4E2B4592079927FF623452E2BE2 /* AFNetworking */ = {
- isa = PBXGroup;
- children = (
- 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */,
- 7288B3837DDAA790C66E9E1141F0EEE1 /* NSURLConnection */,
- EA2A03667CAA2933609D336B51464B11 /* NSURLSession */,
- DAAEAD53FECAE4569CB4FCEFDBCE121C /* Reachability */,
- 5CC8F5917FB3FA7D911485C4E1C49EBA /* Security */,
- 3C5E87403580D550C0D70F60C7DF80E4 /* Serialization */,
- FE8DA249328BADB4CDB572F85FFCEDD2 /* Support Files */,
- F4F22F5E6E75C5FBDCAF5F59E286C5D3 /* UIKit */,
- );
- path = AFNetworking;
- sourceTree = "<group>";
- };
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
- isa = PBXGroup;
- children = (
- C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */,
- C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */,
- 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */,
- 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */,
- 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */,
- 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- DAAEAD53FECAE4569CB4FCEFDBCE121C /* Reachability */ = {
- isa = PBXGroup;
- children = (
- 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */,
- 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */,
- );
- name = Reachability;
- sourceTree = "<group>";
- };
- EA2A03667CAA2933609D336B51464B11 /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */,
- DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */,
- 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */,
- 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */,
- );
- name = NSURLSession;
- sourceTree = "<group>";
- };
- F47946A07A0E626A63A3B595A3600C90 /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- 18EFE38F7F8B278AEDE0D27B44CB04C7 /* Pods-OHHTTPStubs Mac Tests */,
- 0E3744EA9D5891D6AA568F3B7281445C /* Pods-OHHTTPStubs iOS Fmk Tests */,
- 11DF502A4D9A15542CF481C74DE6D9A3 /* Pods-OHHTTPStubs iOS Lib Tests */,
- );
- name = "Targets Support Files";
- sourceTree = "<group>";
- };
- F4F22F5E6E75C5FBDCAF5F59E286C5D3 /* UIKit */ = {
- isa = PBXGroup;
- children = (
- 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */,
- D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */,
- 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */,
- 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */,
- CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */,
- A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */,
- 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */,
- 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */,
- 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */,
- E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */,
- B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */,
- 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */,
- 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */,
- 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */,
- A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */,
- 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */,
- 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */,
- );
- name = UIKit;
- sourceTree = "<group>";
- };
- F74F9A7D3453616153A9A2C1226CB17F /* OS X */ = {
- isa = PBXGroup;
- children = (
- 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */,
- 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */,
- C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */,
- 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */,
- );
- name = "OS X";
- sourceTree = "<group>";
- };
- FE8DA249328BADB4CDB572F85FFCEDD2 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 37E0F4E141348926FBC92D88EFA6AFB8 /* Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig */,
- E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */,
- 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */,
- 6CF2B059BA1AB95373E84725C32C15AA /* Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch */,
- 2581C843D784C7210E0F1F28CC1D8B7E /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig */,
- 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */,
- A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */,
- DBD4BB4B0B29CF374A8EDD63D4345E03 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch */,
- EC1C2CAE3AE61850A30DD027DF10505B /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig */,
- 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */,
- 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */,
- CEEDB64D3C641DE539BCB8F56E8F7B37 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch */,
- );
- name = "Support Files";
- path = "../Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking";
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 6883E216DD36E4F8570DB44B7C788DB9 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 600A82D91491C069768FCD6A2010BCB3 /* AFHTTPRequestOperation.h in Headers */,
- A027F9B7ADCA44C6A3A979078DC45E88 /* AFHTTPRequestOperationManager.h in Headers */,
- 4FF4FC4E9DA5EE77D00B35B9CD82F41D /* AFHTTPSessionManager.h in Headers */,
- 5C72659A6B26B9815CA33E73D9DC24BF /* AFNetworkActivityIndicatorManager.h in Headers */,
- 9A2F99D9A65589AA07E6459435AA1C0D /* AFNetworkReachabilityManager.h in Headers */,
- CFE236DC8EE5333C1F6F9ABF62B3535C /* AFNetworking.h in Headers */,
- AD9902747B7FC4F71295996DC7860EB8 /* AFSecurityPolicy.h in Headers */,
- E0F0FF6AEE4479CCDF53AF74F688BA55 /* AFURLConnectionOperation.h in Headers */,
- 7C95483A4097B18335A8BF7642DDC73B /* AFURLRequestSerialization.h in Headers */,
- 7676169F7841532A395931C3E17F66C9 /* AFURLResponseSerialization.h in Headers */,
- B6E5A5FD952689780B3BE34B718416D2 /* AFURLSessionManager.h in Headers */,
- AC1BE0DB30DF879464CC83953A7185A1 /* UIActivityIndicatorView+AFNetworking.h in Headers */,
- 45AD375FBF85A2BF93A637B148CB59F7 /* UIAlertView+AFNetworking.h in Headers */,
- 491471648F137C917DF4BAE1E349297E /* UIButton+AFNetworking.h in Headers */,
- 649EADE3D5751F8F6999B5B38770BEE1 /* UIImageView+AFNetworking.h in Headers */,
- 759A9B1F3FFC9108F24E43E61B4A9062 /* UIKit+AFNetworking.h in Headers */,
- B2F8321C37874E4E230F60AE522DAAFD /* UIProgressView+AFNetworking.h in Headers */,
- 0BAFE9A085FC34B4B93E5898BA006719 /* UIRefreshControl+AFNetworking.h in Headers */,
- CB8DC139D7E210F046BCFB2E5F6CB1D0 /* UIWebView+AFNetworking.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- C92A81659CDC1B3BFF22046015F5FD5D /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F0771CF11B589C897EB15E969C8A66AA /* AFHTTPRequestOperation.h in Headers */,
- 8F82ED27312CCDF4694204B19CE76BB3 /* AFHTTPRequestOperationManager.h in Headers */,
- 18BEFCC98B3B58EB4829B46666F5907B /* AFHTTPSessionManager.h in Headers */,
- 5DB9E56F532D487F5E2629951ADBDFEA /* AFNetworkReachabilityManager.h in Headers */,
- BEEC23C8BDC4DBBC2F558BDDB9C5281A /* AFNetworking.h in Headers */,
- EEC219A28F8AF94DCB4E2B7835BEA5EC /* AFSecurityPolicy.h in Headers */,
- 9CEC4434EE320A3C3503F66A56B3612E /* AFURLConnectionOperation.h in Headers */,
- E41E538DA6814FA77B07A3E031AAA15C /* AFURLRequestSerialization.h in Headers */,
- 4C339FF668B3A25065E5368D3609C5C3 /* AFURLResponseSerialization.h in Headers */,
- 062627F8F11F3D335F1463F776CC6D7B /* AFURLSessionManager.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- EAEE25A4AC7B3F5AE51F1039D63D8711 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1F532A0E0B95E91A62F03407927CB325 /* AFHTTPRequestOperation.h in Headers */,
- A4727C9657EEAB1477812E3013A7033A /* AFHTTPRequestOperationManager.h in Headers */,
- DC25BB10F0BBA01FF19EE93657F136E9 /* AFHTTPSessionManager.h in Headers */,
- 2B29F1FA99E275DEDD61A5F688D5C9C1 /* AFNetworkActivityIndicatorManager.h in Headers */,
- 438968EC789E0F717C25C550274AB650 /* AFNetworkReachabilityManager.h in Headers */,
- E68FC8E49E7D5E684944923270FC58DF /* AFNetworking.h in Headers */,
- 61EC95BBC175B1AF91C3EA5650C764FA /* AFSecurityPolicy.h in Headers */,
- D6C88C216B01055BC5CFD8A8FEB813B6 /* AFURLConnectionOperation.h in Headers */,
- 9AC12B669B09AB75BC0B7B42A05ADD21 /* AFURLRequestSerialization.h in Headers */,
- 0844ADE509A938C41B0727E30A322FDF /* AFURLResponseSerialization.h in Headers */,
- DD7D6461C4656587A76BF366CF7F778C /* AFURLSessionManager.h in Headers */,
- 09036FF02007A01FDD1BD0A574F0B2DE /* UIActivityIndicatorView+AFNetworking.h in Headers */,
- F4D2060AFE160CDA0AEA7D4E9C841A56 /* UIAlertView+AFNetworking.h in Headers */,
- 5D7EA100025E4F6FF0D6A55B4BD9997D /* UIButton+AFNetworking.h in Headers */,
- BD930F37304AB0B2F6954C115D4A3526 /* UIImageView+AFNetworking.h in Headers */,
- 99346425C623513B94D6C3BE0F164219 /* UIKit+AFNetworking.h in Headers */,
- 00E62B847EA2F65FC90029021AE728D7 /* UIProgressView+AFNetworking.h in Headers */,
- 10C3A789560233FF8783D60EE2CB545C /* UIRefreshControl+AFNetworking.h in Headers */,
- 753A5C45559ADFB2540B64D59872BFD2 /* UIWebView+AFNetworking.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 157F1424FCDD6A681FFF7347052EA6C2 /* Pods-OHHTTPStubs Mac Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 521A53173F1B21285588B948571426FF /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests" */;
- buildPhases = (
- 735E62236F218501FA26FCD0E87A3015 /* Sources */,
- B6EE4ED62BC7CEBDED396BFB546553FC /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- AD45BAECEA69C860F646AFEC2C3CF4AE /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs Mac Tests";
- productName = "Pods-OHHTTPStubs Mac Tests";
- productReference = C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 7FDEE8A3220C557F6DD160C8406AFF4A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" */;
- buildPhases = (
- 515FFA8BF2EBBAAEAE6DDCCC9BB3932D /* Sources */,
- AAF9EA44D5832F6AB94A30AF7F26B112 /* Frameworks */,
- EAEE25A4AC7B3F5AE51F1039D63D8711 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- productReference = 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
- 74560771C5D43FDFF6DF28750244E5F1 /* Pods-OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = B12DF62DD2149E5FE75B382ED3E34975 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests" */;
- buildPhases = (
- 7543F87B5A0696A715941E7C0863FF7E /* Sources */,
- 8B3227DF02C2C27253B1AC2FBFF1464D /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- DB6F4DE2679832E4191FE8E1C0F92703 /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests";
- productName = "Pods-OHHTTPStubs iOS Lib Tests";
- productReference = 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 77F13D6AF7E34D95E0F727C84EA960FF /* Pods-OHHTTPStubs iOS Fmk Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E3C8EE1527BC4D52D6A97B1E8B25164B /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests" */;
- buildPhases = (
- EEE264F3140235BB9CA2397DB8C3C06D /* Sources */,
- D783A3B6252B0810C97C37D485DADB47 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- EAAEFE275FC3C4C145BC5662021E8C5E /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests";
- productName = "Pods-OHHTTPStubs iOS Fmk Tests";
- productReference = 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 036698FA4899F2D024A129276F6FAE71 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests-AFNetworking" */;
- buildPhases = (
- A9D0A19C4251495563034B7ACB740544 /* Sources */,
- 653C8A4D5BA2EC877700840BEF53ACDD /* Frameworks */,
- C92A81659CDC1B3BFF22046015F5FD5D /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- productReference = C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
- F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 2595B7D5FBEA53F263C198F65D9BA7A2 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" */;
- buildPhases = (
- 10158E66693E5903992F21A3C17FB236 /* Sources */,
- F8FC83EF19D48CD791486910BEBE2B9F /* Frameworks */,
- 6883E216DD36E4F8570DB44B7C788DB9 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- productReference = 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 157F1424FCDD6A681FFF7347052EA6C2 /* Pods-OHHTTPStubs Mac Tests */,
- 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */,
- 77F13D6AF7E34D95E0F727C84EA960FF /* Pods-OHHTTPStubs iOS Fmk Tests */,
- F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */,
- 74560771C5D43FDFF6DF28750244E5F1 /* Pods-OHHTTPStubs iOS Lib Tests */,
- 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 10158E66693E5903992F21A3C17FB236 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E5809CB7E9B80EC02904EBF072207B15 /* AFHTTPRequestOperation.m in Sources */,
- BC8C8771E348826A0E001F36418C3273 /* AFHTTPRequestOperationManager.m in Sources */,
- 1C932875CECF31CA7C2B6A26E1E5A3E0 /* AFHTTPSessionManager.m in Sources */,
- ADFCEAFAC1424E9CFAA4EBDD0B8AEE48 /* AFNetworkActivityIndicatorManager.m in Sources */,
- 8AF9F36D21A64B89909D700B64FACE0D /* AFNetworkReachabilityManager.m in Sources */,
- AD45C703CCC77BAE5329D20FF96D48F1 /* AFSecurityPolicy.m in Sources */,
- 8E55AA32CB5BFB88BF1BE7B661D0D473 /* AFURLConnectionOperation.m in Sources */,
- 1CE3CB5854CF50C2262FA219012F2974 /* AFURLRequestSerialization.m in Sources */,
- 437ECFC28F231AB22E9202E864FA8F8B /* AFURLResponseSerialization.m in Sources */,
- DB59017FB5CF57B9C999FC168F67553E /* AFURLSessionManager.m in Sources */,
- 28F3B4D89EA1C8A014676F1D386D396C /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m in Sources */,
- 6703E45579332EB0B6979235783E5B14 /* UIActivityIndicatorView+AFNetworking.m in Sources */,
- E37EAD95E243E027EE7E873D8EB9581D /* UIAlertView+AFNetworking.m in Sources */,
- 19471BDEE2BC7C9817B53A97AF653CEA /* UIButton+AFNetworking.m in Sources */,
- 93AC19524F986400E92144DBE3319157 /* UIImageView+AFNetworking.m in Sources */,
- 46E2B7C3ADDF592950118FAE3C17FB17 /* UIProgressView+AFNetworking.m in Sources */,
- 48F0FCD4CD27D827CD2C8B805A3673AD /* UIRefreshControl+AFNetworking.m in Sources */,
- FC4CDC3A0E5E0DCE40E38A32485221BC /* UIWebView+AFNetworking.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 515FFA8BF2EBBAAEAE6DDCCC9BB3932D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- BE04EBD99F23E05DD57CFDDC543DEAB9 /* AFHTTPRequestOperation.m in Sources */,
- DA92ED909F56C8D4177A2C83BBE60769 /* AFHTTPRequestOperationManager.m in Sources */,
- 94A5736A0EC38CA01652B849EF60F84B /* AFHTTPSessionManager.m in Sources */,
- 82C3E6B636B783C0B311392BBD9BF5CE /* AFNetworkActivityIndicatorManager.m in Sources */,
- CFF91447C78D216352D482A31C9F5A81 /* AFNetworkReachabilityManager.m in Sources */,
- 60AAAC807EA458A49273DB6F55E2F936 /* AFSecurityPolicy.m in Sources */,
- C9F5F78994EF37121A691BFFC78B0487 /* AFURLConnectionOperation.m in Sources */,
- 69EF57311C170DC1DF039E247250C088 /* AFURLRequestSerialization.m in Sources */,
- AB4B8331259A23DF5CC3A4212E7415AC /* AFURLResponseSerialization.m in Sources */,
- D2D1AFA8C46D5353FE9C3899C5A7A459 /* AFURLSessionManager.m in Sources */,
- 8875AB1428DA5D9168F3559A3D1CCB90 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m in Sources */,
- 9F9729959DD97A6E0868F319B96693CD /* UIActivityIndicatorView+AFNetworking.m in Sources */,
- 738FDD277AE8A94CF23B0DED04FE1BB1 /* UIAlertView+AFNetworking.m in Sources */,
- 7638217928A9C4691B389C2B12CDB5C3 /* UIButton+AFNetworking.m in Sources */,
- FBD776460ABA96AFD8E6BE6F89A10D37 /* UIImageView+AFNetworking.m in Sources */,
- F23EFC6928775AF24E0FFFEAB5B96144 /* UIProgressView+AFNetworking.m in Sources */,
- 6E4BDF75676CC9BBA0BC140AA2253C11 /* UIRefreshControl+AFNetworking.m in Sources */,
- B614CCAB66BC6044A90A4AD98F539263 /* UIWebView+AFNetworking.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 735E62236F218501FA26FCD0E87A3015 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 2F147644DB7277F011A038925519E9D0 /* Pods-OHHTTPStubs Mac Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 7543F87B5A0696A715941E7C0863FF7E /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CBBB8FAAD7621035F9E6BD17EBFABE14 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- A9D0A19C4251495563034B7ACB740544 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 96B9F0D329D99B07D4B86F4689B63C29 /* AFHTTPRequestOperation.m in Sources */,
- 94050A36404DA05CD02F403CE1DD1906 /* AFHTTPRequestOperationManager.m in Sources */,
- F496D859E44DA30DD6DF9942B8BC37BE /* AFHTTPSessionManager.m in Sources */,
- 2BB369B883084E0B565E67BD8EC608A2 /* AFNetworkReachabilityManager.m in Sources */,
- 4C6003B6AAB41183728B539576F798C9 /* AFSecurityPolicy.m in Sources */,
- 303776F53A80420B45EA0A3BBFEAAF97 /* AFURLConnectionOperation.m in Sources */,
- 3B3BA8884C3AD01EE86D9A9FEC915F5E /* AFURLRequestSerialization.m in Sources */,
- C10947C431063D940DDF1B026BD1CC46 /* AFURLResponseSerialization.m in Sources */,
- 504905DA5DC2A16ADDD1AD52124932D8 /* AFURLSessionManager.m in Sources */,
- 92B11B96FF7836B2596D0B8B10EFFF65 /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- EEE264F3140235BB9CA2397DB8C3C06D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A6436F219B1CCA5985A688509EF6060D /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- AD45BAECEA69C860F646AFEC2C3CF4AE /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- target = 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */;
- targetProxy = 012E086A02A43D7180DDBBF2313657B3 /* PBXContainerItemProxy */;
- };
- DB6F4DE2679832E4191FE8E1C0F92703 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- target = 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */;
- targetProxy = 068A702EE4FA7CE77E385567A04864DA /* PBXContainerItemProxy */;
- };
- EAAEFE275FC3C4C145BC5662021E8C5E /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- target = F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */;
- targetProxy = B8528B1299280339BD414B62FA73C91D /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 000765ED7A617EDF39ED16D88FAB7CC0 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 00764BAC345100435E81503F6E7E2B96 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 0F297BAB6F2A99DFEF4EC61E632E4AC3 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 239B7571F6F685801FA90AE632DF8D26 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 438510157A46B4077B687146E492AFAA /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 53BE91774E58F8980F954A1766B4ACDC /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 5920F8CF02DB42ECD6586B192E6E0240 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- };
- name = Release;
- };
- 6B542E22CC067FA7370EB37EC163AA3E /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 6C5F39221353F2C163E8B174F9BD7CAE /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */;
- buildSettings = {
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 75CA8C1B0D1ACE528DE9E8E74B8F4BBC /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- D18B1DFEAC9D133F4905B83BC2F96F86 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1";
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- DC86D2190DA43941590EDA9A6CC84B2F /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- E1CD03C1F14EBDBD72653081713D69E3 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- };
- name = Debug;
- };
- E7D1FABA061D2376CEFDAF2C67DC72B5 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 036698FA4899F2D024A129276F6FAE71 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E1CD03C1F14EBDBD72653081713D69E3 /* Debug */,
- 5920F8CF02DB42ECD6586B192E6E0240 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2595B7D5FBEA53F263C198F65D9BA7A2 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 6B542E22CC067FA7370EB37EC163AA3E /* Debug */,
- E7D1FABA061D2376CEFDAF2C67DC72B5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 75CA8C1B0D1ACE528DE9E8E74B8F4BBC /* Debug */,
- D18B1DFEAC9D133F4905B83BC2F96F86 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 521A53173F1B21285588B948571426FF /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 00764BAC345100435E81503F6E7E2B96 /* Debug */,
- 6C5F39221353F2C163E8B174F9BD7CAE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 7FDEE8A3220C557F6DD160C8406AFF4A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- DC86D2190DA43941590EDA9A6CC84B2F /* Debug */,
- 000765ED7A617EDF39ED16D88FAB7CC0 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- B12DF62DD2149E5FE75B382ED3E34975 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 0F297BAB6F2A99DFEF4EC61E632E4AC3 /* Debug */,
- 438510157A46B4077B687146E492AFAA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E3C8EE1527BC4D52D6A97B1E8B25164B /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 53BE91774E58F8980F954A1766B4ACDC /* Debug */,
- 239B7571F6F685801FA90AE632DF8D26 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 3487d75ca9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_MAC_TESTS_AFNETWORKING_OTHER_LDFLAGS}
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m
deleted file mode 100644
index 2de591a2e2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_Mac_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_Mac_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch
deleted file mode 100644
index b9c163b498..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <Cocoa/Cocoa.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig
deleted file mode 100644
index 1fb0c387d4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_MAC_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## AFNetworking
-
-Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
- <key>Title</key>
- <string>AFNetworking</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m
deleted file mode 100644
index f124d0bf53..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_Mac_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_Mac_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h
deleted file mode 100644
index 42c1cb9116..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// AFNetworking
-#define COCOAPODS_POD_AVAILABLE_AFNetworking
-#define COCOAPODS_VERSION_MAJOR_AFNetworking 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking 0
-
-// AFNetworking/NSURLConnection
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLConnection
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLConnection 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLConnection 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLConnection 0
-
-// AFNetworking/NSURLSession
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLSession
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLSession 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLSession 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLSession 0
-
-// AFNetworking/Reachability
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Reachability
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Reachability 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Reachability 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Reachability 0
-
-// AFNetworking/Security
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Security
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Security 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Security 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Security 0
-
-// AFNetworking/Serialization
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Serialization
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Serialization 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Serialization 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Serialization 0
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY="$(cd "${1%/*}" && pwd)"
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig
deleted file mode 100644
index 6514eaa721..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs Mac Tests-AFNetworking" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig
deleted file mode 100644
index 6514eaa721..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs Mac Tests-AFNetworking" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 8eb1a3989e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_IOS_FMK_TESTS_AFNETWORKING_OTHER_LDFLAGS}
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m
deleted file mode 100644
index 8fb666b3d8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig
deleted file mode 100644
index 7f67782003..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_FMK_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## AFNetworking
-
-Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
- <key>Title</key>
- <string>AFNetworking</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m
deleted file mode 100644
index dbb179ac46..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY="$(cd "${1%/*}" && pwd)"
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig
deleted file mode 100644
index 72ec462315..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig
deleted file mode 100644
index 72ec462315..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 927eecdfe5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_IOS_LIB_TESTS_AFNETWORKING_OTHER_LDFLAGS}
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m
deleted file mode 100644
index 174408f7fa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig
deleted file mode 100644
index 758125c1eb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_LIB_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## AFNetworking
-
-Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
- <key>Title</key>
- <string>AFNetworking</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m
deleted file mode 100644
index 391f5bc28d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY="$(cd "${1%/*}" && pwd)"
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig
deleted file mode 100644
index 19fb024a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig
deleted file mode 100644
index 19fb024a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 6f43611720..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = ${PODS_OHHTTPSTUBS_IOS_TESTS_AFNETWORKING_OTHER_LDFLAGS} -ObjC
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m
deleted file mode 100644
index 8aa49d1389..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch
deleted file mode 100644
index 80fbb8dc3c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-OHHTTPStubs iOS Tests-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig
deleted file mode 100644
index b8aeea85b3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## AFNetworking
-
-Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
- <key>Title</key>
- <string>AFNetworking</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Generated by CocoaPods - http://cocoapods.org</string>
- <key>Title</key>
- <string></string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- </array>
- <key>StringsTable</key>
- <string>Acknowledgements</string>
- <key>Title</key>
- <string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m
deleted file mode 100644
index 0fb6509a93..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h
deleted file mode 100644
index e1a5d47d3b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// AFNetworking
-#define COCOAPODS_POD_AVAILABLE_AFNetworking
-#define COCOAPODS_VERSION_MAJOR_AFNetworking 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking 0
-
-// AFNetworking/NSURLConnection
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLConnection
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLConnection 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLConnection 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLConnection 0
-
-// AFNetworking/NSURLSession
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLSession
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLSession 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLSession 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLSession 0
-
-// AFNetworking/Reachability
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Reachability
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Reachability 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Reachability 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Reachability 0
-
-// AFNetworking/Security
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Security
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Security 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Security 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Security 0
-
-// AFNetworking/Serialization
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Serialization
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Serialization 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Serialization 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Serialization 0
-
-// AFNetworking/UIKit
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_UIKit
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_UIKit 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_UIKit 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_UIKit 0
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh
deleted file mode 100755
index 43f08523e1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-realpath() {
- DIRECTORY=$(cd "${1%/*}" && pwd)
- FILENAME="${1##*/}"
- echo "$DIRECTORY/$FILENAME"
-}
-
-install_resource()
-{
- case $1 in
- *.storyboard)
- 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}"
- 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}"
- ;;
- *.xib)
- 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}"
- 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}"
- ;;
- *.framework)
- echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
- xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
- xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- /*)
- echo "$1"
- echo "$1" >> "$RESOURCES_TO_COPY"
- ;;
- *)
- echo "${PODS_ROOT}/$1"
- echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
- esac
-
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun 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}"
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig
deleted file mode 100644
index 89450f5b6a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig
deleted file mode 100644
index 89450f5b6a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-OHHTTPStubs iOS Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h
deleted file mode 100644
index b41ddda60f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-/*
- * This file allows to keep compatibility with older SDKs which didn't have
- * the latest features and associated macros yet.
- */
-
-
-#ifndef NS_DESIGNATED_INITIALIZER
- #if __has_attribute(objc_designated_initializer)
- #define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
- #else
- #define NS_DESIGNATED_INITIALIZER
- #endif
-#endif
-
-// Allow to use nullability macros and keywords even if not supported yet
-#if ! __has_feature(nullability)
- #define NS_ASSUME_NONNULL_BEGIN
- #define NS_ASSUME_NONNULL_END
- #define nullable
- #define __nullable
- #define __nonnull
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 100644
index 2776a4f3b7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-/* This category is not available on watchOS because CFNetwork is needed for its implementation but isn't available on Nano */
-#if __has_include(<CFNetwork/CFNetwork.h>)
-
-#import <OHHTTPStubs/OHHTTPStubsResponse.h>
-#import <OHHTTPStubs/Compatibility.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * Adds support for building stubs from "HTTP Messages" conforming to
- * the format output by `curl -is`
- *
- * @note This category is not available on watchOS
- */
-@interface OHHTTPStubsResponse (HTTPMessage)
-
-/*! @name Building a response from HTTP Message data */
-
-// TODO: Try to implement it using NSInputStream someday?
-
-/**
- * Builds a response given a message data as returned by `curl -is [url]`, that is containing both the headers and the body.
- *
- * This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
- *
- * @param responseData The NSData containing the whole HTTP response, including the headers and the body
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
-
-/**
- * Builds a response given the name of a `"*.response"` file containing both the headers and the body.
- *
- * The response file is expected to be in the specified bundle (or the application bundle if nil).
- * This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
- *
- * @param responseName The name of the `"*.response"` file (without extension) containing the whole
- * HTTP response (including the headers and the body)
- * @param bundleOrNil The bundle in which the `"*.response"` file is located. If `nil`, the
- * `[NSBundle bundleForClass:self.class]` will be used.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-
-+(instancetype)responseNamed:(NSString*)responseName
- inBundle:(nullable NSBundle*)bundleOrNil;
-
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m
deleted file mode 100644
index 06d7363f23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m
+++ /dev/null
@@ -1,76 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#if __has_include(<CFNetwork/CFNetwork.h>)
-#import <CFNetwork/CFNetwork.h>
-
-#import <OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h>
-
-@implementation OHHTTPStubsResponse (HTTPMessage)
-
-#pragma mark Building response from HTTP Message Data (dump from "curl -is")
-
-+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
-{
- NSData *data = [NSData data];
- NSInteger statusCode = 200;
- NSDictionary *headers = @{};
-
- CFHTTPMessageRef httpMessage = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, FALSE);
- if (httpMessage)
- {
- CFHTTPMessageAppendBytes(httpMessage, responseData.bytes, responseData.length);
-
- data = responseData; // By default
-
- if (CFHTTPMessageIsHeaderComplete(httpMessage))
- {
- statusCode = (NSInteger)CFHTTPMessageGetResponseStatusCode(httpMessage);
- headers = (__bridge_transfer NSDictionary *)CFHTTPMessageCopyAllHeaderFields(httpMessage);
- data = (__bridge_transfer NSData *)CFHTTPMessageCopyBody(httpMessage);
- }
- CFRelease(httpMessage);
- }
-
- return [self responseWithData:data
- statusCode:(int)statusCode
- headers:headers];
-}
-
-+(instancetype)responseNamed:(NSString*)responseName
- inBundle:(nullable NSBundle*)responsesBundle
-{
- NSURL *responseURL = [responsesBundle?:[NSBundle bundleForClass:self.class] URLForResource:responseName
- withExtension:@"response"];
-
- NSData *responseData = [NSData dataWithContentsOfURL:responseURL];
- NSAssert(responseData, @"Could not find HTTP response named '%@' in bundle '%@'", responseName, responsesBundle);
-
- return [self responseWithHTTPMessageData:responseData];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h
deleted file mode 100644
index 3069ff32ec..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <OHHTTPStubs/OHHTTPStubsResponse.h>
-#import <OHHTTPStubs/Compatibility.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * Adds convenience methods to manipulate JSON objects directly.
- * Pass in an `NSDictionary` or `NSArray` to generate a corresponding JSON output.
- */
-@interface OHHTTPStubsResponse (JSON)
-
-/**
- * Builds a response given a JSON object for the response body, status code, and headers.
- *
- * @param jsonObject Object representing the response body.
- * Typically a `NSDictionary`; may be any object accepted by `+[NSJSONSerialization dataWithJSONObject:options:error:]`
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- * If a "Content-Type" header is not included, "Content-Type: application/json" will be added.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note This method typically calls `responseWithData:statusCode:headers:`, passing the serialized JSON
- * object as the data parameter and adding the Content-Type header if necessary.
- */
-+ (instancetype)responseWithJSONObject:(id)jsonObject
- statusCode:(int)statusCode
- headers:(nullable NSDictionary *)httpHeaders;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m
deleted file mode 100644
index d88fee9bdd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m
+++ /dev/null
@@ -1,48 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <OHHTTPStubs/OHHTTPStubsResponse+JSON.h>
-
-@implementation OHHTTPStubsResponse (JSON)
-
-/*! @name Building a response from JSON objects */
-
-+ (instancetype)responseWithJSONObject:(id)jsonObject
- statusCode:(int)statusCode
- headers:(nullable NSDictionary *)httpHeaders
-{
- if (!httpHeaders[@"Content-Type"])
- {
- NSMutableDictionary* mutableHeaders = [NSMutableDictionary dictionaryWithDictionary:httpHeaders];
- mutableHeaders[@"Content-Type"] = @"application/json";
- httpHeaders = [NSDictionary dictionaryWithDictionary:mutableHeaders]; // make immutable again
- }
-
- return [self responseWithData:[NSJSONSerialization dataWithJSONObject:jsonObject options:0 error:nil]
- statusCode:statusCode
- headers:httpHeaders];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h
deleted file mode 100644
index 77fe65e892..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2015 Jinlian (Sunny) Wang
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-
-#import <OHHTTPStubs/OHHTTPStubs.h>
-#import <OHHTTPStubs/Compatibility.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * Error codes for the OHHTTPStubs Mocktail category
- */
-typedef NS_ENUM(NSInteger, OHHTTPStubsMocktailError) {
- /** The specified path does not exist */
- OHHTTPStubsMocktailErrorPathDoesNotExist = 1,
- /** The specified path was not readable */
- OHHTTPStubsMocktailErrorPathFailedToRead,
- /** The specified path is not a directory */
- OHHTTPStubsMocktailErrorPathIsNotFolder,
- /** The specified file is not a valid Mocktail file */
- OHHTTPStubsMocktailErrorInvalidFileFormat,
- /** The specified Mocktail file has invalid headers */
- OHHTTPStubsMocktailErrorInvalidFileHeader,
- /** An unexpected internal error occured */
- OHHTTPStubsMocktailErrorInternalError
-};
-
-extern NSString* const MocktailErrorDomain;
-
-@interface OHHTTPStubs (Mocktail)
-
-/**
- * Add a stub given a file in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
- *
- * This method will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and
- * response body, and use them to add a stub.
- *
- * @param fileName The name of the mocktail file (without extension of '.tail') in the Mocktail format.
- * @param bundleOrNil The bundle in which the mocktail file is located. If `nil`, the `[NSBundle bundleForClass:self.class]` will be used.
- * @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
- *
- * @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with
- * `removeStub:`.
- */
-+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktailNamed:(NSString *)fileName inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error;
-
-/**
- * Add a stub given a file URL in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
- *
- * This method will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and
- * response body, and use them to add a stub.
- *
- * @param fileURL The URL pointing to the file in the Mocktail format.
- * @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
- *
- * @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with
- * `removeStub:`.
- */
-+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktail:(NSURL *)fileURL error:(NSError **)error;
-
-/**
- * Add stubs using files under a folder in the format of Mocktail as defined at https://github.com/square/objc-mocktail.
- *
- * This method will retrieve all the files under the folder; for each file with surfix of ".tail", it will split the HTTP method Regex, the absolute URL Regex, the headers, the HTTP status code and response body, and use them to add a stub.
- *
- * @param path The name of the folder containing files in the Mocktail format.
- * @param bundleOrNil The bundle in which the path is located. If `nil`, the `[NSBundle bundleForClass:self.class]` will be used.
- * @param error An out value that returns any error encountered during stubbing. Returns an NSError object if any error; otherwise returns nil.
- *
- * @return an array of stub descriptor that uniquely identifies the stub and can be later used to remove it with
- * `removeStub:`.
- */
-+(NSArray *)stubRequestsUsingMocktailsAtPath:(NSString *)path inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m
deleted file mode 100644
index 4de8996ae0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m
+++ /dev/null
@@ -1,238 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2015 Jinlian (Sunny) Wang
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-
-#import <OHHTTPStubs/OHHTTPStubs+Mocktail.h>
-
-NSString* const MocktailErrorDomain = @"Mocktail";
-
-@implementation OHHTTPStubs (Mocktail)
-
-
-+(NSArray *)stubRequestsUsingMocktailsAtPath:(NSString *)path inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error
-{
- NSURL *dirURL = [bundleOrNil?:[NSBundle bundleForClass:self.class] URLForResource:path withExtension:nil];
- if (!dirURL)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathDoesNotExist userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Path '%@' does not exist.", path]}];
- }
- return nil;
- }
-
- // Make sure path points to a directory
- NSNumber *isDirectory;
- BOOL success = [dirURL getResourceValue:&isDirectory forKey:NSURLIsDirectoryKey error:nil];
- BOOL isDir = (success && [isDirectory boolValue]);
-
- if (!isDir)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathIsNotFolder userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Path '%@' is not a folder.", path]}];
- }
- return nil;
- }
-
- // Read the content of the directory
- NSError *bError = nil;
- NSFileManager *fileManager = [NSFileManager defaultManager];
- NSArray *fileURLs = [fileManager contentsOfDirectoryAtURL:dirURL includingPropertiesForKeys:nil options:0 error:&bError];
-
- if (bError)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathFailedToRead userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Error reading path '%@'.", dirURL.absoluteString]}];
- }
- return nil;
- }
-
- //stub the Mocktail-formatted requests
- NSMutableArray *descriptorArray = [[NSMutableArray alloc] initWithCapacity:fileURLs.count];
- for (NSURL *fileURL in fileURLs)
- {
- if (![fileURL.absoluteString hasSuffix:@".tail"])
- {
- continue;
- }
- id<OHHTTPStubsDescriptor> descriptor = [[self class] stubRequestsUsingMocktail:fileURL error: &bError];
- if (descriptor && !bError)
- {
- [descriptorArray addObject:descriptor];
- }
- }
-
- return descriptorArray;
-}
-
-+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktailNamed:(NSString *)fileName inBundle:(nullable NSBundle*)bundleOrNil error:(NSError **)error
-{
- NSURL *responseURL = [bundleOrNil?:[NSBundle bundleForClass:self.class] URLForResource:fileName withExtension:@"tail"];
-
- if (!responseURL)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathDoesNotExist userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' does not exist.", fileName]}];
- }
- return nil;
- }
- else
- {
- return [[self class] stubRequestsUsingMocktail:responseURL error:error];
- }
-}
-
-+(id<OHHTTPStubsDescriptor>)stubRequestsUsingMocktail:(NSURL *)fileURL error:(NSError **)error
-{
- NSError *bError = nil;
- NSStringEncoding originalEncoding;
- NSString *contentsOfFile = [NSString stringWithContentsOfURL:fileURL usedEncoding:&originalEncoding error:&bError];
-
- if (!contentsOfFile || bError)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorPathFailedToRead userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' does not read.", fileURL.absoluteString]}];
- }
- return nil;
- }
-
- NSScanner *scanner = [NSScanner scannerWithString:contentsOfFile];
- NSString *headerMatter = nil;
- [scanner scanUpToString:@"\n\n" intoString:&headerMatter];
- NSArray *lines = [headerMatter componentsSeparatedByString:@"\n"];
- if (lines.count < 4)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid amount of lines:%u.", fileURL.absoluteString, (unsigned)lines.count]}];
- }
- return nil;
- }
-
- /* Handle Mocktail format, adapted from Mocktail implementation
- For more details on the file format, check out: https://github.com/square/objc-Mocktail */
- NSRegularExpression *methodRegex = [NSRegularExpression regularExpressionWithPattern:lines[0] options:NSRegularExpressionCaseInsensitive error:&bError];
-
- if (bError)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid method regular expression pattern: %@.", fileURL.absoluteString, lines[0]]}];
- }
- return nil;
- }
-
- NSRegularExpression *absoluteURLRegex = [NSRegularExpression regularExpressionWithPattern:lines[1] options:NSRegularExpressionCaseInsensitive error:&bError];
-
- if (bError)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileFormat userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid URL regular expression pattern: %@.", fileURL.absoluteString, lines[1]]}];
- }
- return nil;
- }
-
- NSInteger statusCode = [lines[2] integerValue];
-
- NSMutableDictionary *headers = @{@"Content-Type":lines[3]}.mutableCopy;
-
- // From line 5 to '\n\n', expect HTTP response headers.
- NSRegularExpression *headerPattern = [NSRegularExpression regularExpressionWithPattern:@"^([^:]+):\\s+(.*)" options:0 error:&bError];
- if (bError)
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInternalError userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"Internal error while stubbing file '%@'.", fileURL.absoluteString]}];
- }
- return nil;
- }
-
- for (NSUInteger line = 4; line < lines.count; line ++) {
- NSString *headerLine = lines[line];
- NSTextCheckingResult *match = [headerPattern firstMatchInString:headerLine options:0 range:NSMakeRange(0, headerLine.length)];
-
- if (match)
- {
- NSString *key = [headerLine substringWithRange:[match rangeAtIndex:1]];
- NSString *value = [headerLine substringWithRange:[match rangeAtIndex:2]];
- headers[key] = value;
- }
- else
- {
- if (error)
- {
- *error = [NSError errorWithDomain:MocktailErrorDomain code:OHHTTPStubsMocktailErrorInvalidFileHeader userInfo:@{NSLocalizedDescriptionKey: [NSString stringWithFormat:@"File '%@' has invalid header: %@.", fileURL.absoluteString, headerLine]}];
- }
- return nil;
- }
- }
-
- // Handle binary which is base64 encoded
- NSUInteger bodyOffset = [headerMatter dataUsingEncoding:NSUTF8StringEncoding].length + 2;
-
- return [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- NSString *absoluteURL = (request.URL).absoluteString;
- NSString *method = request.HTTPMethod;
-
- if ([absoluteURLRegex numberOfMatchesInString:absoluteURL options:0 range:NSMakeRange(0, absoluteURL.length)] > 0)
- {
- if ([methodRegex numberOfMatchesInString:method options:0 range:NSMakeRange(0, method.length)] > 0)
- {
- return YES;
- }
- }
-
- return NO;
- } withStubResponse:^OHHTTPStubsResponse*(NSURLRequest *request) {
- if([headers[@"Content-Type"] hasSuffix:@";base64"])
- {
- NSString *type = headers[@"Content-Type"];
- NSString *newType = [type substringWithRange:NSMakeRange(0, type.length - 7)];
- headers[@"Content-Type"] = newType;
-
- NSData *body = [NSData dataWithContentsOfURL:fileURL];
- body = [body subdataWithRange:NSMakeRange(bodyOffset, body.length - bodyOffset)];
- body = [[NSData alloc] initWithBase64EncodedData:body options:NSDataBase64DecodingIgnoreUnknownCharacters];
-
- OHHTTPStubsResponse *response = [OHHTTPStubsResponse responseWithData:body statusCode:(int)statusCode headers:headers];
- return response;
- }
- else
- {
- OHHTTPStubsResponse *response = [OHHTTPStubsResponse responseWithFileAtPath:fileURL.path
- statusCode:(int)statusCode headers:headers];
- [response.inputStream setProperty:@(bodyOffset) forKey:NSStreamFileCurrentOffsetKey];
- return response;
- }
- }];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m
deleted file mode 100644
index b0e14a093c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m
+++ /dev/null
@@ -1,88 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <Foundation/Foundation.h>
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-
-#import <objc/runtime.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- * This helper is used to swizzle NSURLSessionConfiguration constructor methods
- * defaultSessionConfiguration and ephemeralSessionConfiguration to insert the private
- * OHHTTPStubsProtocol into their protocolClasses array so that OHHTTPStubs is automagically
- * supported when you create a new NSURLSession based on one of there configurations.
- */
-
-typedef NSURLSessionConfiguration*(*SessionConfigConstructor)(id,SEL);
-static SessionConfigConstructor orig_defaultSessionConfiguration;
-static SessionConfigConstructor orig_ephemeralSessionConfiguration;
-
-static SessionConfigConstructor OHHTTPStubsSwizzle(SEL selector, SessionConfigConstructor newImpl)
-{
- Class cls = NSURLSessionConfiguration.class;
- Class metaClass = object_getClass(cls);
-
- Method origMethod = class_getClassMethod(cls, selector);
- SessionConfigConstructor origImpl = (SessionConfigConstructor)method_getImplementation(origMethod);
- if (!class_addMethod(metaClass, selector, (IMP)newImpl, method_getTypeEncoding(origMethod)))
- {
- method_setImplementation(origMethod, (IMP)newImpl);
- }
- return origImpl;
-}
-
-static NSURLSessionConfiguration* OHHTTPStubs_defaultSessionConfiguration(id self, SEL _cmd)
-{
- NSURLSessionConfiguration* config = orig_defaultSessionConfiguration(self,_cmd); // call original method
- [OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
- return config;
-}
-
-static NSURLSessionConfiguration* OHHTTPStubs_ephemeralSessionConfiguration(id self, SEL _cmd)
-{
- NSURLSessionConfiguration* config = orig_ephemeralSessionConfiguration(self,_cmd); // call original method
- [OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
- return config;
-}
-
-@interface NSURLSessionConfiguration(OHHTTPStubsSupport) @end
-@implementation NSURLSessionConfiguration(OHHTTPStubsSupport)
-+(void)load
-{
- orig_defaultSessionConfiguration = OHHTTPStubsSwizzle(@selector(defaultSessionConfiguration),
- OHHTTPStubs_defaultSessionConfiguration);
- orig_ephemeralSessionConfiguration = OHHTTPStubsSwizzle(@selector(ephemeralSessionConfiguration),
- OHHTTPStubs_ephemeralSessionConfiguration);
-}
-@end
-
-#endif
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m
deleted file mode 100644
index 1184dcad1f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// NSURLSessionConfiguration+OHHTTPStubs.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 06/10/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-
-#import <objc/runtime.h>
-#import "OHHTTPStubs.h"
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- * This helper is used to swizzle NSURLSessionConfiguration constructor methods
- * defaultSessionConfiguration and ephemeralSessionConfiguration to insert the private
- * OHHTTPStubsProtocol into their protocolClasses array so that OHHTTPStubs is automagically
- * supported when you create a new NSURLSession based on one of there configurations.
- */
-
-typedef NSURLSessionConfiguration*(*SessionConfigConstructor)(id,SEL);
-static SessionConfigConstructor orig_defaultSessionConfiguration;
-static SessionConfigConstructor orig_ephemeralSessionConfiguration;
-
-static SessionConfigConstructor OHHTTPStubsSwizzle(SEL selector, SessionConfigConstructor newImpl)
-{
- Class cls = NSURLSessionConfiguration.class;
- Class metaClass = object_getClass(cls);
-
- Method origMethod = class_getClassMethod(cls, selector);
- SessionConfigConstructor origImpl = (SessionConfigConstructor)method_getImplementation(origMethod);
- if (!class_addMethod(metaClass, selector, (IMP)newImpl, method_getTypeEncoding(origMethod)))
- {
- method_setImplementation(origMethod, (IMP)newImpl);
- }
- return origImpl;
-}
-
-static NSURLSessionConfiguration* OHHTTPStubs_defaultSessionConfiguration(id self, SEL _cmd)
-{
- NSURLSessionConfiguration* config = orig_defaultSessionConfiguration(self,_cmd); // call original method
- [OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
- return config;
-}
-
-static NSURLSessionConfiguration* OHHTTPStubs_ephemeralSessionConfiguration(id self, SEL _cmd)
-{
- NSURLSessionConfiguration* config = orig_ephemeralSessionConfiguration(self,_cmd); // call original method
- [OHHTTPStubs setEnabled:YES forSessionConfiguration:config]; //OHHTTPStubsAddProtocolClassToNSURLSessionConfiguration(config);
- return config;
-}
-
-@interface NSURLSessionConfiguration(OHHTTPStubsSupport) @end
-@implementation NSURLSessionConfiguration(OHHTTPStubsSupport)
-+(void)load
-{
- orig_defaultSessionConfiguration = OHHTTPStubsSwizzle(@selector(defaultSessionConfiguration),
- OHHTTPStubs_defaultSessionConfiguration);
- orig_ephemeralSessionConfiguration = OHHTTPStubsSwizzle(@selector(ephemeralSessionConfiguration),
- OHHTTPStubs_ephemeralSessionConfiguration);
-}
-@end
-
-#endif
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h
deleted file mode 100644
index f4c2a07a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h
+++ /dev/null
@@ -1,199 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import <Foundation/Foundation.h>
-
-#import "Compatibility.h"
-#import "OHHTTPStubsResponse.h"
-
-
-NS_ASSUME_NONNULL_BEGIN
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Types
-
-typedef BOOL(^OHHTTPStubsTestBlock)(NSURLRequest* request);
-typedef OHHTTPStubsResponse* __nonnull (^OHHTTPStubsResponseBlock)( NSURLRequest* request);
-
-/**
- * This opaque type represents an installed stub and is used to uniquely
- * identify a stub once it has been created.
- *
- * This type is returned by the `stubRequestsPassingTest:withStubResponse:` method
- * so that you can later reference it and use this reference to remove the stub later.
- *
- * This type also let you add arbitrary metadata to a stub to differenciate it
- * more easily when debugging.
- */
-@protocol OHHTTPStubsDescriptor <NSObject>
-/**
- * An arbitrary name that you can set and get to describe your stub.
- * Use it as your own convenience.
- *
- * This is especially useful if you dump all installed stubs using `allStubs`
- * or if you want to log which stubs are being triggered using `onStubActivation:`.
- */
-@property(nonatomic, strong, nullable) NSString* name;
-@end
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Interface
-
-/**
- * Stubs Manager. Use this class to add and remove stubs and stub your network requests.
- */
-@interface OHHTTPStubs : NSObject
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Adding & Removing stubs
-
-
-
-/**
- * Dedicated method to add a stub
- *
- * @param testBlock Block that should return `YES` if the request passed as parameter
- * should be stubbed with the response block, and `NO` if it should
- * hit the real world (or be managed by another stub).
- * @param responseBlock Block that will return the `OHHTTPStubsResponse` (response to
- * use for stubbing) corresponding to the given request
- *
- * @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with `removeStub:`.
- *
- * @note The returned stub descriptor is retained (`__strong` reference) by `OHHTTPStubs`
- * until it is removed (with one of the `removeStub:` / `removeAllStubs`
- * methods); it is thus recommended to keep it in a `__weak` storage (and not `__strong`)
- * in your app code, to let the stub descriptor be destroyed and let the variable go
- * back to `nil` automatically when the stub is removed.
- */
-+(id<OHHTTPStubsDescriptor>)stubRequestsPassingTest:(OHHTTPStubsTestBlock)testBlock
- withStubResponse:(OHHTTPStubsResponseBlock)responseBlock;
-
-/**
- * Remove a stub from the list of stubs
- *
- * @param stubDesc The stub descriptor that has been returned when adding the stub
- * using `stubRequestsPassingTest:withStubResponse:`
- *
- * @return `YES` if the stub has been successfully removed, `NO` if the parameter was
- * not a valid stub identifier
- */
-+(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc;
-
-/**
- * Remove all the stubs from the stubs list.
- */
-+(void)removeAllStubs;
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Disabling & Re-Enabling stubs
-
-/**
- * Enable or disable the stubs for the shared session or for `NSURLConnection`
- *
- * @param enabled If `YES`, enables the stubs. If `NO`, disable all the
- * stubs and let all the requests hit the real world.
- *
- * @note OHHTTPStubs are enabled by default, so there is no need to call
- * this method with `YES` for stubs to work, except if you explicitely
- * disabled the stubs before.
- *
- * @note This only affects requests that are further made using `NSURLConnection`
- * or using `[NSURLSession sharedSession]`. This does not affect requests
- * sent on an `NSURLSession` created using an `NSURLSessionConfiguration`.
- */
-+(void)setEnabled:(BOOL)enabled;
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-/**
- * Enable or disable the stubs on a given `NSURLSessionConfiguration`.
- *
- * @param enabled If `YES`, enables the stubs for this `NSURLSessionConfiguration`.
- * If `NO`, disable the stubs and let all the requests hit the real world
- * @param sessionConfig The NSURLSessionConfiguration on which to enabled/disable the stubs
- *
- * @note OHHTTPStubs are enabled by default on newly created `defaultSessionConfiguration`
- * and `ephemeralSessionConfiguration`, so there is no need to call this method with
- * `YES` for stubs to work. You generally only use this if you want to disable
- * `OHTTPStubs` per `NSURLSession` by calling it before building the `NSURLSession`
- * with the `NSURLSessionConfiguration`.
- *
- * @note Important: As usual according to the way `NSURLSessionConfiguration` works, you
- * MUST set this property BEFORE creating the `NSURLSession`. Once the `NSURLSession`
- * object is created, they use a deep copy of the `NSURLSessionConfiguration` object
- * used to create them, so changing the configuration later does not affect already
- * created sessions.
- */
-+ (void)setEnabled:(BOOL)enabled forSessionConfiguration:(NSURLSessionConfiguration *)sessionConfig;
-#endif
-
-#pragma mark - Debug Methods
-
-/**
- * List all the installed stubs
- *
- * @return An array of `id<OHHTTPStubsDescriptor>` objects currently installed. Useful for debug.
- */
-+(NSArray*)allStubs;
-
-/**
- * Setup a block to be called each time a stub is triggered.
- *
- * Useful if you want to log all your requests being stubbed for example and see which stub
- * was used to respond to each request.
- *
- * @param block The block to call each time a request is being stubbed by OHHTTPStubs.
- * Set it to `nil` to do nothing. Defaults is `nil`.
- */
-+(void)onStubActivation:( void(^)(NSURLRequest* request, id<OHHTTPStubsDescriptor> stub) )block;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Umbrella Header Imports
-
-
-#if ! __has_include("OHHTTPStubs/OHHTTPStubs-umbrella.h")
- // Because this is supposed to be an umbrella header, we should also import every public headers here
- // (Except if we use already have a better umbrella header generated by CocoaPods)
- #if __has_include("OHHTTPStubs/OHHTTPStubsResponse+JSON.h")
- #import "OHHTTPStubs/OHHTTPStubsResponse+JSON.h"
- #endif
- #if __has_include("OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h")
- #import "OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h"
- #endif
- #if __has_include("OHHTTPStubs/OHHTTPStubs+Mocktail.h")
- #import "OHHTTPStubs/OHHTTPStubs+Mocktail.h"
- #endif
- #if __has_include("OHHTTPStubs/OHPathHelpers.h")
- #import "OHHTTPStubs/OHPathHelpers.h"
- #endif
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m
deleted file mode 100644
index 4fa31f907b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m
+++ /dev/null
@@ -1,530 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#if ! __has_feature(objc_arc)
-#error This file is expected to be compiled with ARC turned ON
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import "OHHTTPStubs.h"
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Types & Constants
-
-@interface OHHTTPStubsProtocol : NSURLProtocol @end
-
-static NSTimeInterval const kSlotTime = 0.25; // Must be >0. We will send a chunk of the data from the stream each 'slotTime' seconds
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private Interfaces
-
-@interface OHHTTPStubs()
-+ (instancetype)sharedInstance;
-@property(atomic, copy) NSMutableArray* stubDescriptors;
-@property(atomic, copy) void (^onStubActivationBlock)(NSURLRequest*, id<OHHTTPStubsDescriptor>);
-@end
-
-@interface OHHTTPStubsDescriptor : NSObject <OHHTTPStubsDescriptor>
-@property(atomic, copy) OHHTTPStubsTestBlock testBlock;
-@property(atomic, copy) OHHTTPStubsResponseBlock responseBlock;
-@end
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - OHHTTPStubsDescriptor Implementation
-
-@implementation OHHTTPStubsDescriptor
-
-@synthesize name = _name;
-
-+(instancetype)stubDescriptorWithTestBlock:(OHHTTPStubsTestBlock)testBlock
- responseBlock:(OHHTTPStubsResponseBlock)responseBlock
-{
- OHHTTPStubsDescriptor* stub = [OHHTTPStubsDescriptor new];
- stub.testBlock = testBlock;
- stub.responseBlock = responseBlock;
- return stub;
-}
-
--(NSString*)description
-{
- return [NSString stringWithFormat:@"<%@ %p : %@>", self.class, self, self.name];
-}
-
-@end
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - OHHTTPStubs Implementation
-
-@implementation OHHTTPStubs
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Singleton methods
-
-+ (instancetype)sharedInstance
-{
- static OHHTTPStubs *sharedInstance = nil;
-
- static dispatch_once_t predicate;
- dispatch_once(&predicate, ^{
- sharedInstance = [[self alloc] init];
- });
-
- return sharedInstance;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Setup & Teardown
-
-+ (void)initialize
-{
- if (self == [OHHTTPStubs class])
- {
- [self setEnabled:YES];
- }
-}
-- (instancetype)init
-{
- self = [super init];
- if (self)
- {
- _stubDescriptors = [NSMutableArray array];
- }
- return self;
-}
-
-- (void)dealloc
-{
- [self.class setEnabled:NO];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Public class methods
-
-#pragma mark > Adding & Removing stubs
-
-+(id<OHHTTPStubsDescriptor>)stubRequestsPassingTest:(OHHTTPStubsTestBlock)testBlock
- withStubResponse:(OHHTTPStubsResponseBlock)responseBlock
-{
- OHHTTPStubsDescriptor* stub = [OHHTTPStubsDescriptor stubDescriptorWithTestBlock:testBlock
- responseBlock:responseBlock];
- [OHHTTPStubs.sharedInstance addStub:stub];
- return stub;
-}
-
-+(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc
-{
- return [OHHTTPStubs.sharedInstance removeStub:stubDesc];
-}
-
-+(void)removeAllStubs
-{
- [OHHTTPStubs.sharedInstance removeAllStubs];
-}
-
-#pragma mark > Disabling & Re-Enabling stubs
-
-+(void)setEnabled:(BOOL)enable
-{
- static BOOL currentEnabledState = NO;
- if (enable && !currentEnabledState)
- {
- [NSURLProtocol registerClass:OHHTTPStubsProtocol.class];
- }
- else if (!enable && currentEnabledState)
- {
- [NSURLProtocol unregisterClass:OHHTTPStubsProtocol.class];
- }
- currentEnabledState = enable;
-}
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-+ (void)setEnabled:(BOOL)enable forSessionConfiguration:(NSURLSessionConfiguration*)sessionConfig
-{
- // Runtime check to make sure the API is available on this version
- if ( [sessionConfig respondsToSelector:@selector(protocolClasses)]
- && [sessionConfig respondsToSelector:@selector(setProtocolClasses:)])
- {
- NSMutableArray * urlProtocolClasses = [NSMutableArray arrayWithArray:sessionConfig.protocolClasses];
- Class protoCls = OHHTTPStubsProtocol.class;
- if (enable && ![urlProtocolClasses containsObject:protoCls])
- {
- [urlProtocolClasses insertObject:protoCls atIndex:0];
- }
- else if (!enable && [urlProtocolClasses containsObject:protoCls])
- {
- [urlProtocolClasses removeObject:protoCls];
- }
- sessionConfig.protocolClasses = urlProtocolClasses;
- }
- else
- {
- NSLog(@"[OHHTTPStubs] %@ is only available when running on iOS7+/OSX9+. "
- @"Use conditions like 'if ([NSURLSessionConfiguration class])' to only call "
- @"this method if the user is running iOS7+/OSX9+.", NSStringFromSelector(_cmd));
- }
-}
-#endif
-
-#pragma mark > Debug Methods
-
-+(NSArray*)allStubs
-{
- return [OHHTTPStubs.sharedInstance stubDescriptors];
-}
-
-+(void)onStubActivation:( void(^)(NSURLRequest* request, id<OHHTTPStubsDescriptor> stub) )block
-{
- [OHHTTPStubs.sharedInstance setOnStubActivationBlock:block];
-}
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private instance methods
-
--(void)addStub:(OHHTTPStubsDescriptor*)stubDesc
-{
- @synchronized(_stubDescriptors)
- {
- [_stubDescriptors addObject:stubDesc];
- }
-}
-
--(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc
-{
- BOOL handlerFound = NO;
- @synchronized(_stubDescriptors)
- {
- handlerFound = [_stubDescriptors containsObject:stubDesc];
- [_stubDescriptors removeObject:stubDesc];
- }
- return handlerFound;
-}
-
--(void)removeAllStubs
-{
- @synchronized(_stubDescriptors)
- {
- [_stubDescriptors removeAllObjects];
- }
-}
-
-- (OHHTTPStubsDescriptor*)firstStubPassingTestForRequest:(NSURLRequest*)request
-{
- OHHTTPStubsDescriptor* foundStub = nil;
- @synchronized(_stubDescriptors)
- {
- for(OHHTTPStubsDescriptor* stub in _stubDescriptors.reverseObjectEnumerator)
- {
- if (stub.testBlock(request))
- {
- foundStub = stub;
- break;
- }
- }
- }
- return foundStub;
-}
-
-@end
-
-
-
-
-
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private Protocol Class
-
-@interface OHHTTPStubsProtocol()
-@property(assign) BOOL stopped;
-@property(strong) OHHTTPStubsDescriptor* stub;
-@property(assign) CFRunLoopRef clientRunLoop;
-- (void)executeOnClientRunLoopAfterDelay:(NSTimeInterval)delayInSeconds block:(dispatch_block_t)block;
-@end
-
-@implementation OHHTTPStubsProtocol
-
-+ (BOOL)canInitWithRequest:(NSURLRequest *)request
-{
- return ([OHHTTPStubs.sharedInstance firstStubPassingTestForRequest:request] != nil);
-}
-
-- (id)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)response client:(id<NSURLProtocolClient>)client
-{
- // Make super sure that we never use a cached response.
- OHHTTPStubsProtocol* proto = [super initWithRequest:request cachedResponse:nil client:client];
- proto.stub = [OHHTTPStubs.sharedInstance firstStubPassingTestForRequest:request];
- return proto;
-}
-
-+ (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request
-{
- return request;
-}
-
-- (NSCachedURLResponse *)cachedResponse
-{
- return nil;
-}
-
-- (void)startLoading
-{
- self.clientRunLoop = CFRunLoopGetCurrent();
- NSURLRequest* request = self.request;
- id<NSURLProtocolClient> client = self.client;
-
- if (!self.stub)
- {
- NSDictionary* userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
- @"It seems like the stub has been removed BEFORE the response had time to be sent.",
- NSLocalizedFailureReasonErrorKey,
- @"For more info, see https://github.com/AliSoftware/OHHTTPStubs/wiki/OHHTTPStubs-and-asynchronous-tests",
- NSLocalizedRecoverySuggestionErrorKey,
- request.URL, // Stop right here if request.URL is nil
- NSURLErrorFailingURLErrorKey,
- nil];
- NSError* error = [NSError errorWithDomain:@"OHHTTPStubs" code:500 userInfo:userInfo];
- [client URLProtocol:self didFailWithError:error];
- return;
- }
-
- OHHTTPStubsResponse* responseStub = self.stub.responseBlock(request);
-
- if (OHHTTPStubs.sharedInstance.onStubActivationBlock)
- {
- OHHTTPStubs.sharedInstance.onStubActivationBlock(request, self.stub);
- }
-
- if (responseStub.error == nil)
- {
- NSHTTPURLResponse* urlResponse = [[NSHTTPURLResponse alloc] initWithURL:request.URL
- statusCode:responseStub.statusCode
- HTTPVersion:@"HTTP/1.1"
- headerFields:responseStub.httpHeaders];
-
- // Cookies handling
- if (request.HTTPShouldHandleCookies && request.URL)
- {
- NSArray* cookies = [NSHTTPCookie cookiesWithResponseHeaderFields:responseStub.httpHeaders forURL:request.URL];
- if (cookies)
- {
- [NSHTTPCookieStorage.sharedHTTPCookieStorage setCookies:cookies forURL:request.URL mainDocumentURL:request.mainDocumentURL];
- }
- }
-
-
- NSString* redirectLocation = (responseStub.httpHeaders)[@"Location"];
- NSURL* redirectLocationURL;
- if (redirectLocation)
- {
- redirectLocationURL = [NSURL URLWithString:redirectLocation];
- }
- else
- {
- redirectLocationURL = nil;
- }
- if (((responseStub.statusCode > 300) && (responseStub.statusCode < 400)) && redirectLocationURL)
- {
- NSURLRequest* redirectRequest = [NSURLRequest requestWithURL:redirectLocationURL];
- [self executeOnClientRunLoopAfterDelay:responseStub.requestTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self wasRedirectedToRequest:redirectRequest redirectResponse:urlResponse];
- }
- }];
- }
- else
- {
- [self executeOnClientRunLoopAfterDelay:responseStub.requestTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self didReceiveResponse:urlResponse cacheStoragePolicy:NSURLCacheStorageNotAllowed];
- if(responseStub.inputStream.streamStatus == NSStreamStatusNotOpen)
- {
- [responseStub.inputStream open];
- }
- [self streamDataForClient:client
- withStubResponse:responseStub
- completion:^(NSError * error)
- {
- [responseStub.inputStream close];
- if (error==nil)
- {
- [client URLProtocolDidFinishLoading:self];
- }
- else
- {
- [client URLProtocol:self didFailWithError:responseStub.error];
- }
- }];
- }
- }];
- }
- } else {
- // Send the canned error
- [self executeOnClientRunLoopAfterDelay:responseStub.responseTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self didFailWithError:responseStub.error];
- }
- }];
- }
-}
-
-- (void)stopLoading
-{
- self.stopped = YES;
-}
-
-typedef struct {
- NSTimeInterval slotTime;
- double chunkSizePerSlot;
- double cumulativeChunkSize;
-} OHHTTPStubsStreamTimingInfo;
-
-- (void)streamDataForClient:(id<NSURLProtocolClient>)client
- withStubResponse:(OHHTTPStubsResponse*)stubResponse
- completion:(void(^)(NSError * error))completion
-{
- if ((stubResponse.dataSize>0) && stubResponse.inputStream.hasBytesAvailable && (!self.stopped))
- {
- // Compute timing data once and for all for this stub
-
- OHHTTPStubsStreamTimingInfo timingInfo = {
- .slotTime = kSlotTime, // Must be >0. We will send a chunk of data from the stream each 'slotTime' seconds
- .cumulativeChunkSize = 0
- };
-
- if(stubResponse.responseTime < 0)
- {
- // Bytes send each 'slotTime' seconds = Speed in KB/s * 1000 * slotTime in seconds
- timingInfo.chunkSizePerSlot = (fabs(stubResponse.responseTime) * 1000) * timingInfo.slotTime;
- }
- else if (stubResponse.responseTime < kSlotTime) // includes case when responseTime == 0
- {
- // We want to send the whole data quicker than the slotTime, so send it all in one chunk.
- timingInfo.chunkSizePerSlot = stubResponse.dataSize;
- timingInfo.slotTime = stubResponse.responseTime;
- }
- else
- {
- // Bytes send each 'slotTime' seconds = (Whole size in bytes / response time) * slotTime = speed in bps * slotTime in seconds
- timingInfo.chunkSizePerSlot = ((stubResponse.dataSize/stubResponse.responseTime) * timingInfo.slotTime);
- }
-
- [self streamDataForClient:client
- fromStream:stubResponse.inputStream
- timingInfo:timingInfo
- completion:completion];
- }
- else
- {
- if (completion)
- {
- completion(nil);
- }
- }
-}
-
-- (void) streamDataForClient:(id<NSURLProtocolClient>)client
- fromStream:(NSInputStream*)inputStream
- timingInfo:(OHHTTPStubsStreamTimingInfo)timingInfo
- completion:(void(^)(NSError * error))completion
-{
- NSParameterAssert(timingInfo.chunkSizePerSlot > 0);
-
- if (inputStream.hasBytesAvailable && (!self.stopped))
- {
- // This is needed in case we computed a non-integer chunkSizePerSlot, to avoid cumulative errors
- double cumulativeChunkSizeAfterRead = timingInfo.cumulativeChunkSize + timingInfo.chunkSizePerSlot;
- NSUInteger chunkSizeToRead = floor(cumulativeChunkSizeAfterRead) - floor(timingInfo.cumulativeChunkSize);
- timingInfo.cumulativeChunkSize = cumulativeChunkSizeAfterRead;
-
- if (chunkSizeToRead == 0)
- {
- // Nothing to read at this pass, but probably later
- [self executeOnClientRunLoopAfterDelay:timingInfo.slotTime block:^{
- [self streamDataForClient:client fromStream:inputStream
- timingInfo:timingInfo completion:completion];
- }];
- } else {
- uint8_t* buffer = (uint8_t*)malloc(sizeof(uint8_t)*chunkSizeToRead);
- NSInteger bytesRead = [inputStream read:buffer maxLength:chunkSizeToRead];
- if (bytesRead > 0)
- {
- NSData * data = [NSData dataWithBytes:buffer length:bytesRead];
- // Wait for 'slotTime' seconds before sending the chunk.
- // If bytesRead < chunkSizePerSlot (because we are near the EOF), adjust slotTime proportionally to the bytes remaining
- [self executeOnClientRunLoopAfterDelay:((double)bytesRead / (double)chunkSizeToRead) * timingInfo.slotTime block:^{
- [client URLProtocol:self didLoadData:data];
- [self streamDataForClient:client fromStream:inputStream
- timingInfo:timingInfo completion:completion];
- }];
- }
- else
- {
- if (completion)
- {
- // Note: We may also arrive here with no error if we were just at the end of the stream (EOF)
- // In that case, hasBytesAvailable did return YES (because at the limit of OEF) but nothing were read (because EOF)
- // But then in that case inputStream.streamError will be nil so that's cool, we won't return an error anyway
- completion(inputStream.streamError);
- }
- }
- free(buffer);
- }
- }
- else
- {
- if (completion)
- {
- completion(nil);
- }
- }
-}
-
-/////////////////////////////////////////////
-// Delayed execution utility methods
-/////////////////////////////////////////////
-
-- (void)executeOnClientRunLoopAfterDelay:(NSTimeInterval)delayInSeconds block:(dispatch_block_t)block
-{
- dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
- dispatch_after(popTime, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
- CFRunLoopPerformBlock(self.clientRunLoop, kCFRunLoopDefaultMode, block);
- CFRunLoopWakeUp(self.clientRunLoop);
- });
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 100644
index 0ac0f6e124..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// OHHTTPStubsResponse+HTTPMessage.h
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse.h"
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * Adds support for building stubs from "HTTP Messages" conforming to
- * the format output by `curl -is`
- */
-@interface OHHTTPStubsResponse (HTTPMessage)
-
-/*! @name Building a response from HTTP Message data */
-
-// TODO: Try to implement it using NSInputStream someday?
-
-/**
- * Builds a response given a message data as returned by `curl -is [url]`, that is containing both the headers and the body.
- *
- * This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
- *
- * @param responseData The NSData containing the whole HTTP response, including the headers and the body
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
-
-/**
- * Builds a response given the name of a `"*.response"` file containing both the headers and the body.
- *
- * The response file is expected to be in the specified bundle (or the application bundle if nil).
- * This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
- *
- * @param responseName The name of the `"*.response"` file (without extension) containing the whole
- * HTTP response (including the headers and the body)
- * @param bundleOrNil The bundle in which the `"*.response"` file is located. If `nil`, the
- * `[NSBundle bundleForClass:self.class]` will be used.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-
-+(instancetype)responseNamed:(NSString*)responseName
- inBundle:(NSBundle* _nullable_)bundleOrNil;
-
-
-@end
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m
deleted file mode 100644
index 03d0e7a6db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// OHHTTPStubsResponse+HTTPMessage.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse+HTTPMessage.h"
-
-@implementation OHHTTPStubsResponse (HTTPMessage)
-
-#pragma mark Building response from HTTP Message Data (dump from "curl -is")
-
-+(instancetype)responseWithHTTPMessageData:(NSData*)responseData;
-{
- NSData *data = [NSData data];
- NSInteger statusCode = 200;
- NSDictionary *headers = @{};
-
- CFHTTPMessageRef httpMessage = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, FALSE);
- if (httpMessage)
- {
- CFHTTPMessageAppendBytes(httpMessage, responseData.bytes, responseData.length);
-
- data = responseData; // By default
-
- if (CFHTTPMessageIsHeaderComplete(httpMessage))
- {
- statusCode = (NSInteger)CFHTTPMessageGetResponseStatusCode(httpMessage);
- headers = (__bridge_transfer NSDictionary *)CFHTTPMessageCopyAllHeaderFields(httpMessage);
- data = (__bridge_transfer NSData *)CFHTTPMessageCopyBody(httpMessage);
- }
- CFRelease(httpMessage);
- }
-
- return [self responseWithData:data
- statusCode:(int)statusCode
- headers:headers];
-}
-
-+(instancetype)responseNamed:(NSString*)responseName
- inBundle:(NSBundle*)responsesBundle
-{
- NSURL *responseURL = [responsesBundle?:[NSBundle bundleForClass:self.class] URLForResource:responseName
- withExtension:@"response"];
-
- NSData *responseData = [NSData dataWithContentsOfURL:responseURL];
- NSAssert(responseData, @"Could not find HTTP response named '%@' in bundle '%@'", responseName, responsesBundle);
-
- return [self responseWithHTTPMessageData:responseData];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
deleted file mode 100644
index fc8719df0d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// OHHTTPStubsResponse+JSON.h
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse.h"
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * Adds convenience methods to manipulate JSON objects directly.
- * Pass in an `NSDictionary` or `NSArray` to generate a corresponding JSON output.
- */
-@interface OHHTTPStubsResponse (JSON)
-
-/**
- * Builds a response given a JSON object for the response body, status code, and headers.
- *
- * @param jsonObject Object representing the response body.
- * Typically a `NSDictionary`; may be any object accepted by `+[NSJSONSerialization dataWithJSONObject:options:error:]`
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- * If a "Content-Type" header is not included, "Content-Type: application/json" will be added.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note This method typically calls `responseWithData:statusCode:headers:`, passing the serialized JSON
- * object as the data parameter and adding the Content-Type header if necessary.
- */
-+ (instancetype)responseWithJSONObject:(id)jsonObject
- statusCode:(int)statusCode
- headers:(NSDictionary * _nullable_)httpHeaders;
-
-@end
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m
deleted file mode 100644
index aebcb99080..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// OHHTTPStubsResponse+JSON.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse+JSON.h"
-
-@implementation OHHTTPStubsResponse (JSON)
-
-/*! @name Building a response from JSON objects */
-
-+ (instancetype)responseWithJSONObject:(id)jsonObject
- statusCode:(int)statusCode
- headers:(NSDictionary *)httpHeaders
-{
- if (!httpHeaders[@"Content-Type"])
- {
- NSMutableDictionary* mutableHeaders = [NSMutableDictionary dictionaryWithDictionary:httpHeaders];
- mutableHeaders[@"Content-Type"] = @"application/json";
- httpHeaders = [NSDictionary dictionaryWithDictionary:mutableHeaders]; // make immutable again
- }
-
- return [self responseWithData:[NSJSONSerialization dataWithJSONObject:jsonObject options:0 error:nil]
- statusCode:statusCode
- headers:httpHeaders];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h
deleted file mode 100644
index 27f487f9fa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1,269 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import <Foundation/Foundation.h>
-#import "Compatibility.h"
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Defines & Constants
-
-// Non-standard download speeds
-extern const double
-OHHTTPStubsDownloadSpeed1KBPS, // 1.0 KB per second
-OHHTTPStubsDownloadSpeedSLOW; // 1.5 KB per second
-
-// Standard download speeds.
-extern const double
-OHHTTPStubsDownloadSpeedGPRS,
-OHHTTPStubsDownloadSpeedEDGE,
-OHHTTPStubsDownloadSpeed3G,
-OHHTTPStubsDownloadSpeed3GPlus,
-OHHTTPStubsDownloadSpeedWifi;
-
-
-NS_ASSUME_NONNULL_BEGIN
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Interface
-
-/**
- * Stubs Response. This describes a stubbed response to be returned by the URL Loading System,
- * including its HTTP headers, body, statusCode and response time.
- */
-@interface OHHTTPStubsResponse : NSObject
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Properties
-
-/**
- * The headers to use for the fake response
- */
-@property(nonatomic, strong, nullable) NSDictionary* httpHeaders;
-/**
- * The HTTP status code to use for the fake response
- */
-@property(nonatomic, assign) int statusCode;
-/**
- * The inputStream used when sending the response.
- * @note You generally don't manipulate this directly.
- */
-@property(nonatomic, strong, nullable) NSInputStream* inputStream;
-/**
- * The size of the fake response body, in bytes.
- */
-@property(nonatomic, assign) unsigned long long dataSize;
-/**
- * The duration to wait before faking receiving the response headers.
- *
- * Defaults to 0.0.
- */
-@property(nonatomic, assign) NSTimeInterval requestTime;
-/**
- * The duration to use to send the fake response body.
- *
- * @note if responseTime<0, it is interpreted as a download speed in KBps ( -200 => 200KB/s )
- */
-@property(nonatomic, assign) NSTimeInterval responseTime;
-/**
- * The fake error to generate to simulate a network error.
- *
- * If `error` is non-`nil`, the request will result in a failure and no response will be sent.
- */
-@property(nonatomic, strong, nullable) NSError* error;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commodity Constructors
-/*! @name Commodity */
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building response from NSData
-
-/**
- * Builds a response given raw data.
- *
- * @note Internally calls `-initWithInputStream:dataSize:statusCode:headers:` with and inputStream built from the NSData.
- *
- * @param data The raw data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-+(instancetype)responseWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building response from a file
-
-/**
- * Builds a response given a file path, the status code and headers.
- *
- * @param filePath The file path that contains the response body to return.
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note It is encouraged to use the OHPathHelpers functions & macros to build
- * the filePath parameter easily
- */
-+(instancetype)responseWithFileAtPath:(NSString *)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building an error response
-
-/**
- * Builds a response that corresponds to the given error
- *
- * @param error The error to use in the stubbed response.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note For example you could use an error like `[NSError errorWithDomain:NSURLErrorDomain code:kCFURLErrorNotConnectedToInternet userInfo:nil]`
- */
-+(instancetype)responseWithError:(NSError*)error;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commotidy Setters
-
-/**
- * Set the `responseTime` of the `OHHTTPStubsResponse` and return `self`. Useful for chaining method calls.
- *
- * _Usage example:_
- * <pre>return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];</pre>
- *
- * @param responseTime If positive, the amount of time used to send the entire response.
- * If negative, the rate in KB/s at which to send the response data.
- * Useful to simulate slow networks for example. You may use the
- * _OHHTTPStubsDownloadSpeed…_ constants here.
- *
- * @return `self` (= the same `OHHTTPStubsResponse` that was the target of this method).
- * Returning `self` is useful for chaining method calls.
- */
--(instancetype)responseTime:(NSTimeInterval)responseTime;
-
-/**
- * Set both the `requestTime` and the `responseTime` of the `OHHTTPStubsResponse` at once.
- * Useful for chaining method calls.
- *
- * _Usage example:_
- * <pre>return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil]
- * requestTime:1.0 responseTime:5.0];</pre>
- *
- * @param requestTime The time to wait before the response begins to send. This value must be greater than or equal to zero.
- * @param responseTime If positive, the amount of time used to send the entire response.
- * If negative, the rate in KB/s at which to send the response data.
- * Useful to simulate slow networks for example. You may use the
- * _OHHTTPStubsDownloadSpeed…_ constants here.
- *
- * @return `self` (= the same `OHHTTPStubsResponse` that was the target of this method). Useful for chaining method calls.
- */
--(instancetype)requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Initializers
-/*! @name Initializers */
-
-/**
- * Designated empty initializer
- *
- * @return An empty `OHHTTPStubsResponse` on which you need to set either an error or a statusCode, httpHeaders, inputStream and dataSize.
- *
- * @note This is not recommended to use this method directly. You should use `initWithInputStream:dataSize:statusCode:headers:` instead.
- */
--(instancetype)init NS_DESIGNATED_INITIALIZER;
-
-/**
- * Designed initializer. Initialize a response with the given input stream, dataSize,
- * statusCode and headers.
- *
- * @param inputStream The input stream that will provide the data to return in the response
- * @param dataSize The size of the data in the stream.
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note You will probably never need to call this method yourself. Prefer the other initializers (that will call this method eventually)
- */
--(instancetype)initWithInputStream:(NSInputStream*)inputStream
- dataSize:(unsigned long long)dataSize
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders NS_DESIGNATED_INITIALIZER;
-
-
-/**
- * Initialize a response with a given file path, statusCode and headers.
- *
- * @param filePath The file path of the data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note This method simply builds the NSInputStream, compute the file size, and then call `-initWithInputStream:dataSize:statusCode:headers:`
- */
--(instancetype)initWithFileAtPath:(NSString*)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/**
- * Initialize a response with the given data, statusCode and headers.
- *
- * @param data The raw data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
--(instancetype)initWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/**
- * Designed initializer. Initialize a response with the given error.
- *
- * @param error The error to use in the stubbed response.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note For example you could use an error like `[NSError errorWithDomain:NSURLErrorDomain code:kCFURLErrorNotConnectedToInternet userInfo:nil]`
- */
--(instancetype)initWithError:(NSError*)error NS_DESIGNATED_INITIALIZER;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m
deleted file mode 100644
index db8d7efa79..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m
+++ /dev/null
@@ -1,194 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#if ! __has_feature(objc_arc)
-#error This file is expected to be compiled with ARC turned ON
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import "OHHTTPStubsResponse.h"
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Defines & Constants
-const double OHHTTPStubsDownloadSpeed1KBPS =- 8 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeedSLOW =- 12 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeedGPRS =- 56 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeedEDGE =- 128 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeed3G =- 3200 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeed3GPlus =- 7200 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Implementation
-
-@implementation OHHTTPStubsResponse
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commodity Constructors
-
-
-#pragma mark > Building response from NSData
-
-+(instancetype)responseWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithData:data
- statusCode:statusCode
- headers:httpHeaders];
- return response;
-}
-
-
-#pragma mark > Building response from a file
-
-+(instancetype)responseWithFileAtPath:(NSString *)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary *)httpHeaders
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithFileAtPath:filePath
- statusCode:statusCode
- headers:httpHeaders];
- return response;
-}
-
-
-#pragma mark > Building an error response
-
-+(instancetype)responseWithError:(NSError*)error
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithError:error];
- return response;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commotidy Setters
-
--(instancetype)responseTime:(NSTimeInterval)responseTime
-{
- _responseTime = responseTime;
- return self;
-}
-
--(instancetype)requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime
-{
- _requestTime = requestTime;
- _responseTime = responseTime;
- return self;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Initializers
-
--(instancetype)init
-{
- self = [super init];
- return self;
-}
-
--(instancetype)initWithInputStream:(NSInputStream*)inputStream
- dataSize:(unsigned long long)dataSize
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- self = [super init];
- if (self)
- {
- _inputStream = inputStream;
- _dataSize = dataSize;
- _statusCode = statusCode;
- NSMutableDictionary * headers = [NSMutableDictionary dictionaryWithDictionary:httpHeaders];
- static NSString *const ContentLengthHeader = @"Content-Length";
- if (!headers[ContentLengthHeader])
- {
- headers[ContentLengthHeader] = [NSString stringWithFormat:@"%llu",_dataSize];
- }
- _httpHeaders = [NSDictionary dictionaryWithDictionary:headers];
- }
- return self;
-}
-
--(instancetype)initWithFileAtPath:(NSString*)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- NSInputStream* inputStream;
- if (filePath)
- {
- inputStream = [NSInputStream inputStreamWithFileAtPath:filePath];
- }
- else
- {
- NSLog(@"%s: nil file path. Returning empty data", __PRETTY_FUNCTION__);
- inputStream = [NSInputStream inputStreamWithData:[NSData data]];
- }
-
- NSDictionary* attributes = [NSFileManager.defaultManager attributesOfItemAtPath:filePath error:nil];
- unsigned long long fileSize = [[attributes valueForKey:NSFileSize] unsignedLongLongValue];
- self = [self initWithInputStream:inputStream
- dataSize:fileSize
- statusCode:statusCode
- headers:httpHeaders];
- return self;
-}
-
--(instancetype)initWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- NSInputStream* inputStream = [NSInputStream inputStreamWithData:data?:[NSData data]];
- self = [self initWithInputStream:inputStream
- dataSize:data.length
- statusCode:statusCode
- headers:httpHeaders];
- return self;
-}
-
--(instancetype)initWithError:(NSError*)error
-{
- self = [super init];
- if (self) {
- _error = error;
- }
- return self;
-}
-
--(NSString*)debugDescription
-{
- return [NSString stringWithFormat:@"<%@ %p requestTime:%f responseTime:%f status:%d dataSize:%llu>",
- self.class, self, self.requestTime, self.responseTime, self.statusCode, self.dataSize];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Accessors
-
--(void)setRequestTime:(NSTimeInterval)requestTime
-{
- NSAssert(requestTime >= 0, @"Invalid Request Time (%f) for OHHTTPStubResponse. Request time must be greater than or equal to zero",requestTime);
- _requestTime = requestTime;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h
deleted file mode 100644
index aa250547b8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// OHPathHelpers.h
-// Pods
-//
-// Created by Olivier Halligon on 18/04/2015.
-//
-//
-
-#import <Foundation/Foundation.h>
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * Useful function to build a path given a file name and a class.
- *
- * @param fileName The name of the file to get the path to, including file extension
- * @param inBundleForClass The class of the caller, used to determine the current bundle
- * in which the file is supposed to be located.
- * You should typically pass `self.class` (ObjC) or
- * `self.dynamicType` (Swift) when calling this function.
- *
- * @return The path of the given file in the same bundle as the inBundleForClass class
- */
-NSString* _nullable_ OHPathForFile(NSString* fileName, Class inBundleForClass);
-
-/**
- * Useful function to build a path given a file name and a bundle.
- *
- * @param fileName The name of the file to get the path to, including file extension
- * @param bundle The bundle in which the file is supposed to be located.
- * This parameter can't be null.
- *
- * @return The path of the given file in given bundle
- *
- * @note You should avoid using `[NSBundle mainBundle]` for the `bundle` parameter,
- * as in the context of Unit Tests, this points to the Simulator's bundle,
- * not the bundle of the app under test. That's why `nil` is not an acceptable
- * value (so you won't expect it to default to the `mainBundle`).
- * You should use `[NSBundle bundleForClass:]` instead.
- */
-NSString* _nullable_ OHPathForFileInBundle(NSString* fileName, NSBundle* bundle);
-
-/**
- * Useful function to build a path to a file in the Documents's directory in the
- * app sandbox, used by iTunes File Sharing for example.
- *
- * @param fileName The name of the file to get the path to, including file extension
- *
- * @return The path of the file in the Documents directory in your App Sandbox
- */
-NSString* _nullable_ OHPathForFileInDocumentsDir(NSString* fileName);
-
-
-
-/**
- * Useful function to build an NSBundle located in the application's resources simply from its name
- *
- * @param bundleBasename The base name, without extension (extension is assumed to be ".bundle").
- * @param inBundleForClass The class of the caller, used to determine the current bundle
- * in which the file is supposed to be located.
- * You should typically pass `self.class` (ObjC) or
- * `self.dynamicType` (Swift) when calling this function.
- *
- * @return The NSBundle object representing the bundle with the given basename located in your application's resources.
- */
-NSBundle* _nullable_ OHResourceBundle(NSString* bundleBasename, Class inBundleForClass);
-
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m
deleted file mode 100644
index cac24a636a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// OHPathHelpers.m
-// Pods
-//
-// Created by Olivier Halligon on 18/04/2015.
-//
-//
-
-#import "OHPathHelpers.h"
-
-NSString* OHPathForFile(NSString* fileName, Class inBundleForClass)
-{
- NSBundle* bundle = [NSBundle bundleForClass:inBundleForClass];
- return OHPathForFileInBundle(fileName, bundle);
-}
-
-NSString* OHPathForFileInBundle(NSString* fileName, NSBundle* bundle)
-{
- return [bundle pathForResource:[fileName stringByDeletingPathExtension]
- ofType:[fileName pathExtension]];
-}
-
-NSString* OHPathForFileInDocumentsDir(NSString* fileName)
-{
- NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
- NSString *basePath = (paths.count > 0) ? [paths objectAtIndex:0] : nil;
- return [basePath stringByAppendingPathComponent:fileName];
-}
-
-NSBundle* OHResourceBundleForClass(NSString* bundleBasename, Class inBundleForClass)
-{
- NSBundle* classBundle = [NSBundle bundleForClass:inBundleForClass];
- return [NSBundle bundleWithPath:[classBundle pathForResource:bundleBasename
- ofType:@"bundle"]];
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h
deleted file mode 100644
index b3c301acdd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <Foundation/Foundation.h>
-#import <OHHTTPStubs/Compatibility.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- * Useful function to build a path given a file name and a class.
- *
- * @param fileName The name of the file to get the path to, including file extension
- * @param inBundleForClass The class of the caller, used to determine the current bundle
- * in which the file is supposed to be located.
- * You should typically pass `self.class` (ObjC) or
- * `self.dynamicType` (Swift) when calling this function.
- *
- * @return The path of the given file in the same bundle as the inBundleForClass class
- */
-NSString* __nullable OHPathForFile(NSString* fileName, Class inBundleForClass);
-
-/**
- * Useful function to build a path given a file name and a bundle.
- *
- * @param fileName The name of the file to get the path to, including file extension
- * @param bundle The bundle in which the file is supposed to be located.
- * This parameter can't be null.
- *
- * @return The path of the given file in given bundle
- *
- * @note You should avoid using `[NSBundle mainBundle]` for the `bundle` parameter,
- * as in the context of Unit Tests, this points to the Simulator's bundle,
- * not the bundle of the app under test. That's why `nil` is not an acceptable
- * value (so you won't expect it to default to the `mainBundle`).
- * You should use `[NSBundle bundleForClass:]` instead.
- */
-NSString* __nullable OHPathForFileInBundle(NSString* fileName, NSBundle* bundle);
-
-/**
- * Useful function to build a path to a file in the Documents's directory in the
- * app sandbox, used by iTunes File Sharing for example.
- *
- * @param fileName The name of the file to get the path to, including file extension
- *
- * @return The path of the file in the Documents directory in your App Sandbox
- */
-NSString* __nullable OHPathForFileInDocumentsDir(NSString* fileName);
-
-
-
-/**
- * Useful function to build an NSBundle located in the application's resources simply from its name
- *
- * @param bundleBasename The base name, without extension (extension is assumed to be ".bundle").
- * @param inBundleForClass The class of the caller, used to determine the current bundle
- * in which the file is supposed to be located.
- * You should typically pass `self.class` (ObjC) or
- * `self.dynamicType` (Swift) when calling this function.
- *
- * @return The NSBundle object representing the bundle with the given basename located in your application's resources.
- */
-NSBundle* __nullable OHResourceBundle(NSString* bundleBasename, Class inBundleForClass);
-
-NS_ASSUME_NONNULL_END
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m
deleted file mode 100644
index 18b769e45a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m
+++ /dev/null
@@ -1,52 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <OHHTTPStubs/OHPathHelpers.h>
-
-NSString* __nullable OHPathForFile(NSString* fileName, Class inBundleForClass)
-{
- NSBundle* bundle = [NSBundle bundleForClass:inBundleForClass];
- return OHPathForFileInBundle(fileName, bundle);
-}
-
-NSString* __nullable OHPathForFileInBundle(NSString* fileName, NSBundle* bundle)
-{
- return [bundle pathForResource:[fileName stringByDeletingPathExtension]
- ofType:[fileName pathExtension]];
-}
-
-NSString* __nullable OHPathForFileInDocumentsDir(NSString* fileName)
-{
- NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
- NSString *basePath = (paths.count > 0) ? paths[0] : nil;
- return [basePath stringByAppendingPathComponent:fileName];
-}
-
-NSBundle* __nullable OHResourceBundle(NSString* bundleBasename, Class inBundleForClass)
-{
- NSBundle* classBundle = [NSBundle bundleForClass:inBundleForClass];
- return [NSBundle bundleWithPath:[classBundle pathForResource:bundleBasename
- ofType:@"bundle"]];
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift
deleted file mode 100644
index 5229dcb808..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift
+++ /dev/null
@@ -1,179 +0,0 @@
-/***********************************************************************************
-*
-* Copyright (c) 2012 Olivier Halligon
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy
-* of this software and associated documentation files (the "Software"), to deal
-* in the Software without restriction, including without limitation the rights
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-* copies of the Software, and to permit persons to whom the Software is
-* furnished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in
-* all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-* THE SOFTWARE.
-*
-***********************************************************************************/
-
-/**
- * Swift Helpers
- */
-
-
-
-// MARK: Syntaxic Sugar for OHHTTPStubs
-
-/**
- * Helper to return a `OHHTTPStubsResponse` given a fixture path, status code and optional headers.
- *
- * - Parameter filePath: the path of the file fixture to use for the response
- * - Parameter status: the status code to use for the response
- * - Parameter headers: the HTTP headers to use for the response
- *
- * - Returns: The `OHHTTPStubsResponse` instance that will stub with the given status code
- * & headers, and use the file content as the response body.
- */
-public func fixture(filePath: String, status: Int32 = 200, headers: [NSObject: AnyObject]?) -> OHHTTPStubsResponse {
- return OHHTTPStubsResponse(fileAtPath: filePath, statusCode: status, headers: headers)
-}
-
-/**
- * Helper to call the stubbing function in a more concise way?
- *
- * - Parameter condition: the matcher block that determine if the request will be stubbed
- * - Parameter response: the stub reponse to use if the request is stubbed
- *
- * - Returns: The opaque `OHHTTPStubsDescriptor` that uniquely identifies the stub
- * and can be later used to remove it with `removeStub:`
- */
-public func stub(condition: OHHTTPStubsTestBlock, response: OHHTTPStubsResponseBlock) -> OHHTTPStubsDescriptor {
- return OHHTTPStubs.stubRequestsPassingTest(condition, withStubResponse: response)
-}
-
-
-
-// MARK: Create OHHTTPStubsTestBlock matchers
-
-/**
- * Matcher for testing an `NSURLRequest`'s **scheme**.
- *
- * - Parameter scheme: The scheme to match
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
- * has the given scheme
- */
-public func isScheme(scheme: String) -> OHHTTPStubsTestBlock {
- return { req in req.URL?.scheme == scheme }
-}
-
-/**
- * Matcher for testing an `NSURLRequest`'s **host**.
- *
- * - Parameter host: The host to match
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
- * has the given host
- */
-public func isHost(host: String) -> OHHTTPStubsTestBlock {
- return { req in req.URL?.host == host }
-}
-
-/**
- * Matcher for testing an `NSURLRequest`'s **path**.
- *
- * - Parameter path: The path to match
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request
- * has exactly the given path
- *
- * - Note: URL paths are usually absolute and thus starts with a '/' (which you
- * should include in the `path` parameter unless you're testing relative URLs)
- */
-public func isPath(path: String) -> OHHTTPStubsTestBlock {
- return { req in req.URL?.path == path }
-}
-
-/**
- * Matcher for testing an `NSURLRequest`'s **path extension**.
- *
- * - Parameter ext: The file extension to match (without the dot)
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds only if the request path
- * ends with the given extension
- */
-public func isExtension(ext: String) -> OHHTTPStubsTestBlock {
- return { req in req.URL?.pathExtension == ext }
-}
-
-/**
- * Matcher for testing an `NSURLRequest`'s **query parameters**.
- *
- * - Parameter params: The dictionary of query parameters to check the presence for
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that succeeds if the request contains
- * the given query parameters with the given value.
- *
- * - Note: There is a difference between:
- * (1) using `[q:""]`, which matches a query parameter "?q=" with an empty value, and
- * (2) using `[q:nil]`, which matches a query parameter "?q" without a value at all
- */
-public func containsQueryParams(params: [String:String?]) -> OHHTTPStubsTestBlock {
- return { req in
- if let url = req.URL {
- let comps = NSURLComponents(URL: url, resolvingAgainstBaseURL: true)
- if let queryItems = comps?.queryItems {
- for (k,v) in params {
- if queryItems.filter({ qi in qi.name == k && qi.value == v }).count == 0 { return false }
- }
- return true
- }
- }
- return false
- }
-}
-
-
-
-// MARK: Operators on OHHTTPStubsTestBlock
-
-/**
- * Combine different `OHHTTPStubsTestBlock` matchers with an 'OR' operation.
- *
- * - Parameter lhs: the first matcher to test
- * - Parameter rhs: the second matcher to test
- *
- * - Returns: a matcher (`OHHTTPStubsTestBlock`) that succeeds if either of the given matchers succeeds
- */
-public func || (lhs: OHHTTPStubsTestBlock, rhs: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
- return { req in lhs(req) || rhs(req) }
-}
-
-/**
- * Combine different `OHHTTPStubsTestBlock` matchers with an 'AND' operation.
- *
- * - Parameter lhs: the first matcher to test
- * - Parameter rhs: the second matcher to test
- *
- * - Returns: a matcher (`OHHTTPStubsTestBlock`) that only succeeds if both of the given matchers succeeds
- */
-public func && (lhs: OHHTTPStubsTestBlock, rhs: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
- return { req in lhs(req) && rhs(req) }
-}
-
-/**
- * Create the opposite of a given `OHHTTPStubsTestBlock` matcher.
- *
- * - Parameter expr: the matcher to negate
- *
- * - Returns: a matcher (OHHTTPStubsTestBlock) that only succeeds if the expr matcher fails
- */
-public prefix func ! (expr: OHHTTPStubsTestBlock) -> OHHTTPStubsTestBlock {
- return { req in !expr(req) }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist
deleted file mode 100644
index bcee41c04a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIconFile</key>
- <string></string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright © 2014 AliSoftware. All rights reserved.</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist
deleted file mode 100644
index d3de8eefb6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>$(CURRENT_PROJECT_VERSION)</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json
deleted file mode 100644
index e69de29bb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json
+++ /dev/null
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json
deleted file mode 100644
index e69de29bb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json
+++ /dev/null
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail
deleted file mode 100644
index 596a2ecdb4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail
+++ /dev/null
@@ -1,19 +0,0 @@
-GET
-.*/cards
-200
-application/json
-
-[
- {
- "gift_card_id": "91857d87-481a-490b-8aff-c72614094398",
- "card_number": "515676xxxxxx1234",
- "amount": "$25.28",
- "expiration_date": "2014-04"
- },
- {
- "gift_card_id": "0578ebe0-015b-11e4-9191-0800200c9a66",
- "card_number": "515676xxxxxx2345",
- "amount": "$55.38",
- "expiration_date": "2014-05"
- }
-] \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail
deleted file mode 100644
index 1755e71d57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail
+++ /dev/null
@@ -1,11 +0,0 @@
-GET|POST
-.*/users
-200
-application/json
-
-
-{
-"user_id": "happyuser1",
-"user_token": "happytoken",
-"status": "SUCCESS"
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail
deleted file mode 100755
index a21bc088c6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail
+++ /dev/null
@@ -1,6 +0,0 @@
-GET
-ebay.png
-200
-image/png;base64
-
-iVBORw0KGgoAAAANSUhEUgAAAUAAAACgCAYAAAB9o7WcAABkRklEQVR4nO19d5xkVZX/95x7X1V1nu6JPZlhGIYcJDOAggiIYsCIKCwGDLusq+6u4bfBiNldw7ImFFFRURHURVFJkoc4xCEPTOzp7ulcVe+9e87vj/tedfVMD9M9Xd1dg/X9fGqmu6vqvvvuu++8E78HqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqoIpCqTvccaqihKqAqARFHD3T87gdP9d96ftY0xqrOAjSl82BiV4x7zbKW4645ZPZrX6OqICICUIU3q0KhICUIgRikD239/VWP9d382jrT5FRhFDrpK0hQgMiF8YA5cs5bVy1sPvRW52IYY2c+9NBDb7n00ktf1tHRcfbixYuvPf/88/9jxYoVq51z1k7yvGqoYU+CAkB90PTcbRsvhYUlEA2/M0VykMCmKEN4ovevZ62Y8bLj6oKW2xRKBKo6AaggJJKZGSRFN3DUtes+/9rN+YeQ4Waj4iZn3dLrockvZDSSITOzbnHxlMUf6oECxtj6n/70pz/7whe+cOz5559/5xlnnHHN6tWrZ77lLW+56eKLL37Naaed9qeaAKyhhgRE5ADBPq0nffmIOW/++wc6r25rsDNU1U2pCqiqaAja4m1Dz9s1Xb/78NHz3nabqhgiI1M5j7HAyyCCwjHByP1bf/XxzsJTmJFZ4lRjo4bAk6S4lj+TCMYNOLWnLv6Xy5szcx8GgDVr1lxw8cUXv+zXv/718kceeeT8+++/v33//fe/7xvf+MZzF1100XUrV65cVTOBa6ihDKpiiThe13vXP3734bf+l6VMBFCAxIybkruFAFYjBdfLi5uPfOQ9B/1iFZPdBigBpFOqju4KCijEELELJX/St9e88cZNgw+5HDcagYOSgpRR0ZVLloBAUCiYDIbcABY17l+48OCr9yaxG43h4KMf/Wh3S0vLkx/72McO22+//frOPvvspmuvvRZf//rXL7722mtPyGaz/Vy5WdVQw54PInIKhyUtR31vv7ZTnspLb8Aw4n1dNDUCUAEHx1nT7J4duHv/J3tueQMAiDpGSWGpEsWFBIoYALC2+0/LNwzch6xpgMD5t3USHhvCIPilUCVAKIaEWLXgff9lKbNR4TX2DRs25A466KArAWD+/PlDf/jDH7BkyZLw+OOP//Y+++yjW7duPaMmAGuoYSQUCgNg8Pj2d38zoByEnBI4EX9Tp3kRgZ3GuHvLzz4KICCwU8KUzmGXUALDOoia2zf+5OMAgZQmfYICAUhh2GhBe+3eLcd1HjTzVd9TKKCkAGTRokUD99xzzzkA0NbW1vjhD3/4cmYeALBp9erVs+bNm3dlTQDumaiiO+BFBiUQWEQFS1uOvGJF6ynPFKJeA2JRAKxTIwRZFaqgOm6Onth287KNAw9dRMSAauA/UR1bQOEsiPF4z40XPdt357I60xwJ3OTKFQKICFADEhVHilUL3/czJn5KNTZEZAG4t7/97f965ZVXHrBmzZrlP/vZz7705je/+V8vu+yyV1133XVX3XHHHSvOO++8L9aCIHseSERJAYNJugsMkwNQdQ73yYemOp6qigXxluPbz/vh2m1//qSq8/FG8p+b9JkkWS8BBbY/2op7tv7yI/MbD/w+oD3pFKtACBKRiQG03rHlxx8RDUHUaFXd5B4UClWAmXQw7uF9W08eXNn28kugAoZVGIg4wX777ff9T37yk68855xz1p511ln3rlix4i1r1qwJrr/++plf+9rXvr1gwYK7axrgHgV/DzJTnWGCYYom4wVA9rzgmGJYMOmOb8FHVwFlQI1CDUZ5EZRBBEPGAYq9Z6z6+r6tJ3cWXL9hChQoFzs+B277wxEqIJrIW3KijrKmCQ92/W5ub7hlFpGBqqSSeGqhpX+SM3cGIKzrX/3uJ7bdPD9nW0Q0nvSJpXtT4ZxhSycuuPCnBDyi0ABEAkDZMDnn3Nlnn33+1Vdf/eb6+voH7r///pXt7e23X3PNNce+7GUv+4CI2FoUeA+AqkIBYoI6cZnv3fzsHx/fMri6LsPrRTVLCp2I24UUIAKcqGQNN1548rJft7fUP6QKJqp2TVABJR8f9WIjFUpMEPaiSOD/Z4B4F9qtEqAWUIjGlimbf7rnlg99/+FzvmKpISKigNR5DS3NTVZCkqw8KWdIZOKBuNO+Ztmnfr5q/nveIhoHTDaalIPtEpoEo0GiTplM25Vr//HWuzt+ubIhaBXRSTZ/EzBZGXBdfGjbWX85Z7//PUOhEe342CFVZZ/eVHouiaqyqjIzxzUTeA9Acl8RAFXw0p/e8PRLb75/00mmPiCnKLOGdvMGVIAY0FiixqwJXnPEwufaW+ofUigTqLoFoI8yMqlYQGPACohABAdwYosZYDhtdl+FLoVKSCMXTAGyIN4G0N0AiMlECsGyGau+umLWWe9Z233VvjluFafKkKT6AQCjdI0m6yRNwFm9t+OXbz5q7tu+nDENdyvUEGhybc1R4TNxFEJMRrcMPvamh7qvW5kzzbGq2ClJFSJSpyHluAGrFl74PwAiqFoQxdt9UolIRMSKiBKRU1XDzGDmGABqAnBPQeKcIqhm6zNAc11sGyy8BJwgiMAAIocok0EQUJULPQBeS5NEoyMFTKhAs0BayPV3x+FzF6D4zJkIn+sVt8Fo1MFwvXnE245RLSwTiI4iAIko1w3b+CdwY8A8U2Fncja3V/7ouoVzHupvgG1wZDIMtgIiB3UM53TEM4iGB6zMmapQjhvdxoFHzOPbbvrIgbNe+RaoKMhU6Ahjnonfhqn5TcAdm378D0NxD5qDmew0xlT4JQ2M9ksXHzX7bXcubjrs16LCTLy98CtNmplj5pJiOuKhUROAewQICkmKjoicE8CJjUVJJPWHTHB0IqgTOGcgRNXqGyZvbwqDTAwYBqASdx4kg3e9Mh669ZU6dM+JWlgbSbzesotpe3cZAwJCvDNNRRQtBLw5+RkAEANYHhi0PLUv1nTWUWurg61X5FoEmRaHoEFgs4mrIgbEJVHKCsoCUiIl4J7NPzv0wFmvnGyVc3SorwxUCBMZ6SqsO/yh7t8vqjNNcJr6ISZXByQQQg2lwbTyCQve8zH/t913iNYE4B4Cr6MBiaJSMugqsdV0u3+nKN13DEgDG76SQNUxyDgiAydDx2n/n1ZE2375H/HgDXVc3DjXqSr7otSAmQRsHBnylQjDZbSMZN+PdteQz3ce1iYIECGYIDSnL++g+zctxUCnQoRBMGAbIGgE6lsFDXNj1LXGsBnAiQCOS1pheR3J7miIDo5z3Oye7L9133W9d75rScvR3xONLcPE3v8rZXtkkkCpP9of674tV767v7ilqT5oi0WdJUp1xEoeUqGp4CUFwbpi3G2Pmv/ea+c2rLzB7wnebVdATQDWMIxpz6rYDqlSoc6AyIEsqfQfEXVf/slo6yWnaP7hLIuCDQTGhIEaqwSCOiTR3qRyQsYjbQhadl+ogpUxGBEOmdeNg+fNwv1bmtCUDeGUAQHCPqDQw+hZl0GuKYvG+SGaFsTI1ivUCcQlApiSgMluLoclQ33xEO7Z+suLlrQc/RMC5YFEKZts4QcgWURmsjIQdS2/e+sv3xmYeqiKLb1b8SMmoS319o/TAjcFc3Hc/Au+AiBxSe6+tl2tpk4NNcCruM74EjRGuO2X3y48dszq4roPnIb8w8awiTXICJEhKDKKiBPhV8E5kLebhWFYcPryrWAoRE3JtiZLsBkCG0F+QLH5UYtnb63DlseycJEB57xaSZKk7+0mVB3XmUZ5pPO6g7oLz76ZyKCUdDxFRco+9QW4b8svP7Ut/2wQcC6utNa3AzR5eJBxg66fjpr3tj/OzC2+XjUGwON6um2PmgCsoWqhiAOQdRp3nFF85pwt7uk3vUOLj8BYq8yBFcBCY05SVwDwhATM6HPw/lcLYCg0OLy9GwfPHUQ+ZBjSJCNEoSKesMoIMhkAkaJzLeOZ27LoXx/ABAIxaYLzbuQKEiBQWMpKX9iBe7b++vTkDVak1V+TDWWGifJx7xH3dPzircZkVXVyrcjhgAtp7Io8K7cYx7S/43/htV5DE8wHrwnAGqoT6gKiIJLBO08beuLkX0rXFXPIGBAHgIpVOBDJMB1SpRlH0nEhifPfKxqGFacv7wBAcElgStUb3FCA1f8OAmxWEeWB9asDbHkw6+doABVAVCHjENYlQaBiApPDmo5rXpGPtq1kMhFUpuQ+FhUCER7p/MM/bxx6FFluFMXkZuJI4pRlsIYyQEe1v/32lsy834g6Jpp4bXRNANZQHShjOVGNAyUThX2/PTX/xOnXcuHRQIOsU4hFqcxquwhQmrlTcT9mSvhJYFbkI8Yh7dtwwNxB5CMDTo6bKmAjRJoSrAFMBuh82mDD6izgAA48jeh4EqdTM1MJlOF61zH4eOuD2/707uQ9miwFcLjqQpnAzml05B1bLn+VZQtS4sm2vQmAIUbRDbjZ9StwzNxz/x8AEHEi+iYmwmoCsIaqQGoaqsZMZCPXf92Z0dPn/J6lB2oCkERTnfQ2KkQJWRacsXyrv/n0hY1ZTd7PZIH+DsXG1XVQR2DGuMvZVBWiAiIwscW9HT87F5DFTMZNdghYVZSI8FjXn9/9/MCa+hyaYoFUNtdnFPgqJY5DLQar2i+4tj5ovV7UVSwJvCYAa6gKkAoUzhAFIsUnzig8e96vSQesmoySxgxMkZ9/F2BSDEWMw+d3Y//ZQxiMGfyC6pfXH1UVNksY2MLYtCYLMYLxnhERgUAQFcrZxvi5vnvmPLHt1gsBQCaJtTrRUonJqEJn3bnpsnNJBWCykx78AAAyWnADdlHDIb2Hz3nTpwGAvduzIqgJwBqqA0QgNSKIqfDce79H4eYM2Hrhp4xq4sGLFQjY4bS9t0KVPDnBKBhp4XonoakX9G6w6Hk6B87tfiInw1gnRdzd8ZMPA5jtNaLJYUhQeB/jkz23nvlk3511GdukqjIl+aJKEoco4PgFF3w2Y+tuF3UBKlieWROANVQDSOGgBI06/veH0nf9fARBDFWv+ZEmUdOJ33DDEoIBMgDZ5BUk/5ffErrDN71PijAUEY5c0I39Z+UxFAdgKv90as6XpzwrID5KbQJF5xMBwh4DtmVCcDuumReCqEPOzMBj3TdlNw8+dgiRgU6OACT1kY5g9ebL3+uQh1UjWkpQr+SBRk6fyGgx7g/2ajzy2UNnve7rCiUirigJRE0A1lAFUCJYSNRxdLTlq+9ghpJ6RhagMnpfKYhKLABHkFjVRdA4TF5F/7/E8GQxJlaYkkzTZJZpi0cVRsY4nLFvB3yIYjgircMhC5SKuAGUelkwEIcOnU9aEJWJdUJ5xcquzggGQZyPu3FPxy8+BGCnmuhuQwH1dbZ4buD+Vz+67YZjcmZG7NSZ0gcqeThK2RjhGympOFLCSQsv/JLhoKgqvL2QnChqlSA1TD9UWMlI3PX9T1L4DGAzohqbSm51Xy1Aoi4mAAFl94o5d4By0A6lepBEUO2EFp6FFB6Dur6AiAVsVSFMmgizJPBJRBhMfIErZs7BE5051AeSEG8xlHaWn8uAKGwA9G8JkN8WIdfqIJFJNN0ygbkLiIrNmsb4wa7fnXHCggtf1pyZe4OqmoT+qRKLVgoDr978k08W3QAaTRvLZJHQkCZEZQSiQPKuyy5rW/XE/m2n/yKhG5Oxr87YUBOANUwz1IJMDBk4Nd7209NAcFA1lDZAqwgICsRwsUXTyXdl5vzj06bxpV8h07wWQB0N8wOSauxcuKHB9VzzSbf1G2dr8Ylm2EBBjtJ8a4UARBBl1JsYpy/vxNqtC30uoPjEaVbaSV2sL4cjA0iB0LMhQHubAGlOodCYeQ6UFRnUc3dhHdZs/e3nVy1419EKUUJlAuYqYolN3DH0xLse6rr2wBw3xoBMmswgNVCKARg4xEpkcNL89/+QyHT6umcbV9rrWDOBa5heqOdciQf+uhT5hwBjvBpQycQ2IlHnbGbOv9xRt/y604KWs97KpukeAvoJ0gF1nYDrBHQryHbb7OINmbn/cEF25S0XcOvr1iOOHGATgebTckEEA0GhyDhmYRf2mxWiEBowj6F3XKLpkBXkt1qEBQY44foZh35DqhAILNXhvs5fzY2l2MBkKkUXTZ7bBrnVW6740EC4FYYCFm8XV2D40eDZFZmMFuJes/+MU7esaD3p20nrSzcZfflqArCGaUK6kT2joev7v3/38sWYid9gaW6eQsmIRjHbmRestgu/8HICelSj7PCHOHkZAojI91lU0ihj7JxfZfe64iBuOiUvLgKRSaY9HLiIQcjaGK9YsQUxUtlgfNeyFzx7ArEiHAQKPRbGpN8dR3KJ+laZWW6INvY/tGTttuvfCwCiMmEVUKHMbNFT3Hjumq1X71dnmkUpqTiZNCouX9bmNI4t57BqwYVfBdDlyRYq7f3zqAnAGqYRqU/NQQZuFs92KArSCda2plUTRuEipszsYjD/P8+CYpAAAwTFJJUiUelIR/5sFBSE0DjDlO3JLPzMZ4hzIHXRcC2vv1kNqY8Iz9+GFa1F5GMeUaL3QnMkAkQFhS4altnjSS0mgo9mwyoUd2+54hMAZhAoHq6P3j1oQm1/T8eVJ2wrrkdAOZl8zgOChdW82xYcOOvMZ5e2HPU1UQf2jZewGxXUu0RNANYwDfAcb1C1AOAKT7xLC88shoFAlaFmQhZwyr1HxBAFuO3c9SazqJ8Qw/MJytj0LLKRagzUH/MdtLz8eXEaEBnZ/ptOGPU2wun7bIWTpCRjDJyyCoCIUehlONmdW1vAnoiBcrbJPdlzR+u6/ns+QsRQiNldS1ihzGSjwah7v3s7rnxdwPXwVA6TDCLEErl6noET51/4eQARUCGH5k5QE4A1TAu8IiUEAFp4aLFIPwjWec7ntNPGbo6dRFJV45gIsM2nfgXAIIDAq3k8VmGjALEBeoKmV2/1w+oO3zUE5CPC0Qu3Yp+ZeQxG7NM4xjQ6EOYJrjj+LD5NuQVJYdRo6Ppxz5afL0/fG1Zyx4kkgXHN1t+8ryv/TFPWNDhRmXQOaiaSvPbaw+ac/dj8xgOuVMTwPs1JPOZkDl5DDaPDMxiXTNXwKedd9wxSLdEP7C5K2Xci4MxcUG4llwSfKmg8zc2TqIStO+Jf1XIpaLP9EWNl1AUOpy/rhpOxM9MQC+KQ4IoWNE5qO6I045AhUJsxjfJI15/e3FVYdwwTx5rYx+OBQpmIXVGG9r5ryxVvYcqkCzepFjCBEEukjXYmjpt/wQ8BdEPJYJIrIGsCsIZpgXe2mQjALI2efW+yy61OUPgB3vvFnnEqUDvrWbILfuT9ixR7N9I4Iq2pAAlm5WHmQiXtsDgShoBCyDhq0VYsbysgX1YjrF6t3fn4jhDnGTRucUWlh4VCEHBOB8LNeGDr1f8PAFTGqlMq0uCLqtfKH+n6wwUbBx6enTUNsZKj8USnx3zIMjCZuOB6zeFz33TJ7Pq9v6AS2+GufpOHmgCsYVrgQ64EAPUSdswrFb2lQmMiJJcKCLFnEgkW9IEz/Z4zj3T8nrYk6GGaYUxbcuOOdtsoYgUaMzFO26cDsfgAhf+2pAUOow4voggL/vMTsfdUHQeUw30dV51WiPtPZDbON4DfFUo1LERknKjMu2vz5R9kDgCoFa1sVlL5IZPUHy1KwbZllgwcP+/vvu3foMm3uVETgDVMKwjQGHA9kzEyCABzK1WER4HrQaZpePDRPsJAPmIcs6gLy1pDDMXJHECJab8zKDQcs1/yhUYha+rdlvxa+0j3tQlLjIxRphLSvr6Pdf/pP5/tu6c+y00xEtIDqbgw8qlE4nP8JJQBHDn/rVfNyC16QDRmH2yafAlYE4A1TAu0lOvnAMk7ECKQiQg2Ak3spWwjIIgcAcwNEVABRxIZKNmdDpSEXRALodHGeMXeXXAxQ1lfmONAvSHrwiR4M8GJErGxMFjd8fPXqrqZxtcz71KSqCqzJxpYuXrzT86HOJiyCGzlRZGv9DGwWnRDZnbdXnL0vLd/059DWnM9+WwzNQFYw5RjxB2pITTuMYgRaBSWXgjDEb+P54UoDBAXA0SAKvkWmLt7LyXf82m4vFPT3Iezvd8vHwPHLuzE0rYQxYgT1uid32oKgot9as54WKJHm6uKQ9Y267q+u+uf6LnlzSBPaLDrL3ty02d675j3eO/N2ayd4QSSxJErn383vLCQSIZw7LwLrmwMZt0l6qxvH0WYCg2wVgtcwzRAfcdLBRTBgGk9+39Mw9MKyqIyQT8FyKqRwRw3rXp6+I+7gRKLDEZNgdn+uAQgFkZzLsSp+2zFd+5aiJwVXz88Wn2zl5xwovDxhwmcf8mvRiIuNvd0XPnuFa0nXQbSQfUtm3Y6ePpQumPz5Z+PJULWEomWJ3RXVhsjEEAGRRnkeY0H6JHtb/kEABCxK/ldK3rE0VETgDVMEzyrL3GuOzP/0x+YJP3C18uqgCrIIrwrpHmBJy7ownUtc7BhgJGzuypyY1TilveCVk3WNrm1PTcc2jH0+Ovn1K+4XDQmIpMkAI08jqoYJuM2DDzwhse6/3x0HTdLWgkyWVACjFIcSWiPn3/Bt7Lc+JSoM0xm0iO/5aiZwDVMOQgEqKTlbgSVAJDA/+/8z2N6ueHv6fDfFC6ASkDqAiW1NIaqjEojFkJjLsSpe3cgErtrogPlCtXYMhQKywENRttwT8fPP+TH9/rrqHMgOADmri1XXFSI+8BkIJPcZpNhtCC9dnHTof2Hz37D/wKY0ofU8DxePKCRL6XEj0oJb/nuvXYYd1IcIn9T8AEQTvhBVQkcARyBOAKM/3lMLzP8PRr5N0ISVFHEU+FM3x4pa/SqJd1Y3BKi4NLKjB0xHKbejSyd8nEA+LgqQcRRlrNY0/n7xf1hx37M1qUM2+VQFUNgdObXvfKBzt+fkDWNCf/h5G5xBSSGw0kLLvyV5cxDojFTBanux4oqEIBj3JyqBqoBRAJ16csFKi5QEQNRTe6slLmyJP5AtPuv4cKCJFvUH0dFjDoXoPwlEqhqAN1V7tXU35ATh+7k5539vvNzJIIXBpQEFyYaodjubwQaDlaM0KqUAB3WINWVveKdvKIA6gCNzfium8I5RkuuiNOWb0XRMYhSLyG2E3Q66o/jRdKgM02Npgw1xt35dW0Pdv7+Xf7st680UVJ4Gum7t/z4/YNRJwLOimA3S+h2CX/SDIOC66W9W44PD5j5qm8hYdCZDkyqDzBhcd3ujxje8ErDCaKqhlRLVZxegKWbhQDPcuswek56DsBsAJKMBYh4M8uJH0Y0qWJKLy5BYu9uYGtKf1MlsOWkTSODmKDMIE7ytPycmIh6ABS2n8hwdBPk91aaIAEiVVJOzBBCwm9GycfTW6N6lctyH1ZK95k0BmdVTYql/EPDr5WUnSFKLFfii96ICMoEKUmrUrJwUq42qumaCNcyk3F47cBI5kH+OicXn0pzBRBhVCE0PPoIkQlNaAqMIwTjkAue2LQQEY5f1Ik/PD4bm/MGOdakhlcSV8B2Q05YAyyHWMNZ3Lv1yvcdNe/cr1kO1ispEaCJrsBMxvUXO05+YOtvTs9xg3OA4UlLQEmuLruYHNlV7e+8ionvFnWWiONJOeQuMKkCcDRRpZRWcCugauEAsIDYxKBRFW+GcyIDAydJf/9LXW/fgBvoZxkYggz0sfYPDMhg/7EyMPg2DOUjKRRYwiK0EAJhBMQxSJ0XdolQLM0l9JmqFJQvA4GshRKBbQAOAmjGApksOJcFcjkx9fUBNTX+hBqbbreNTY3U1CjUWA/b2CRoaWnkpsYbuaHhJiJmlEi+y9LBFAQnga8QYIDIM92Ofv5Vg/IaXVUihbBTNYY4Zobb8RakUX9NuV4UQk40QyBHicQqq0nYiSwofQKqREQCUliFI8DGPooIbGfcEKmoSv8cdT3vUtcfQvuJ3BCcFgEtABL5c9MYqkUQUuGdZTKZvKjuq/GWksTfNRTEgHOMGXUhTl3eiR/ePR+ojwEoWMg/ZEl2XKcKQSDI2Lp4Y//DdY9t+/MnD5x5xjtFxTKZyFNx+QfHPR2/+HxX4Xk02VkUq/O6h5ZpqxWCN8gCGYy32ZVtL7t9/5mvuEBVwVNQ8rYzTK4GSGU3vIqF1whjMPuSd0KU7lPJF1ZJb0+D6+7qjTZuPi7evOkjsmlTr3R2WretJ9a+/rluaKgVxYJKMSbEDhCXqPWJVsUcKAAiToJqVGq4TUQgouSi+xuZ2Od1qQjSp17aBsH/LIkx7bVH/1cxKgoieptC30ZgkGXAWFAmUNTVkWls2mZamreY1lbLs2fHtn1+i5k/78s8d85tQWtrC82YMUjG3FLey5oVgIiFKoPZoVJ9HSqGVNsCO1E2jJjBwgRXjN2B67cNLX6+M9/5zNaBD23qGTqhazDuH8jH7NdSkAksZjdmXHtrrnmv2Y1f3HtO470L2+oHs9bcC4C8VwHGMDmUUkZeaDoSEDROyodjAqsCK1zctbdG6/IoPJ2T4pOfj6Onmrj4nFPXIeK66zQeWswaQaUIpRBQAZdZ7DtY5FRmtBgCG8Njbj6UFCUXQsKJSzrxpydnYfMQoc4AUhLwk/vIIzVG4XDvll+cf+DMM75qiB6GKiuBmUw8FPe+8Z7OK4+0tk4UYIWCUvd3BQMh3mJgCGIYtjhx/oXfBmhI4SzIxNP14J88AahqkyelUyKAOUpOco5EoXUdW1305NOfiZ5+cm7x+edDeW7DK6Vza108OAAUQsAJlNFOZHxegbWOmSMiAtXlvIZWUtWVidmUjDRJDamREQv/tCnLtVIFJVTkXoiilOs1XGTub8Q0fkbDx3QABDrsGoRzwMAAXF9vc/y8tKqLvekNAoz5is3lwK0t4Llz85lFi//PLl2cMXsv2xIsXfb/zIwWy8ydAIrwAiFhJ4YBczz9lrFSLGKYKLbM2dBJ/V1Pdp71m3s3vPnWxzsPemJL35KugVgRRYmGRCW/vvdolMWPLH+ttdHSivaWDS/db9b9r3vJwquO2GvmlYYpFpUhVTKGMcoDQFnVwROWmoiANpGhBh2653PxwF8zMnTb4cg/vlyjdaIScipHhUrTUQIi3x8JAJF/WJZiA+TdvukHUkvF++ZJyzrVjRmkiIQxI1fEy5d14of3zYeaMImveS/PpF5aFcqYRvdkz1/N8wP3z1/UeOjDCiFVAZHFms7fLe4YfAL1ttU5dcxEieuqopPwvIzMko+7+ZBZr31o7xmrLhMVIuI4bQY3HZigAEz9WyVPD6uIDzsYdkm1u4q4vaKnn70gXvtEf/jII/9aXPt4m2zYKPFgP1Mc+7B7YGKyNmYTgJqypOXOQ1WQKCsldT3JTSXe/Ek+Mvxz+Y1XPkzi/PAXN/1sid1IR/yX/kCl/0dGQ+A7zxiov2m8hmATx36gvpjbp576va6qzmnc2Q1s7giK99x3NkiBTAa2ZcbfmcVLTObAfS/NrDzgqczKfZ8MZs/+RTL5CCoGogbM4fDcJjGQkhiimsxdoaSi1rKJ8lF48K/uWv8v3/zz029b/XSXSDFmGOOQ4ZgyBiZrvPOWkgEoWb0yCipR0W0Fp3c+3jXvzkc7zvzK7x8/7cSVs7530enL//vVhyz6oCGCE7HMcKkCBggrGETWOY2sDNz+Tun99cei/uuW8NBjIqrMBFEgJiaQCQQG7ImpShcBIA3SJUypEdJeH8NCbzhYkPrpdtwfYwApSLwxUoyAE5d04bqnZqEzb5A1Cin3Xk4SFAJDhgbjPqze8rMvLGo89E8KAZONYyk0r97843+3lAUA6+8Lb5doaeNWAgRmQNRJYBr4xAUXfiJ5g5OG7iN8xVOJ3RaAmmzuxMSFigvAFBOzKACXHzo2evyJpfm7Vn8qvO++xviZdfPcQJ8/UxuAMxm29Y2xsj9tTjVGVYxWvz3aHhyhoZc7k9PNO0oAhsreH9f5lv08coyyA6umv6YpNCMPxQTKZoBs1rsC4M/VDQzY+L77EK5e/XcIAuK2tv7Mvsu/nj3iqJ/mXnLY1cHixY/CmA4FoE4MJN2cBCClZxo7B90Lg0YKfRVWhRjmulue6DjrI1es+dadj26ZS2wVdQYmYyMA1j+jPCPKjvPY7iEDgKwBB1CCjZxTc/2DHbj+wU3vP+vIha//6jmHn7f33KYbYifWcFI1TMaRKzZHvb+6Ktp6yX46dOcsuChgBsAsTFb8Cqf7yGG0mWz/hxG/juLbGxn4GR9SzYagCMWgta6AU/buxI/ub0fOxFClZI9O3sMsEeAc2Hr3aNd1h3UteP9bZ+YWXwEAD3dd+/ENg2ua60yr07Jev/4SVlYcMawbdF32yHlv/evCpkOuERXi1F9bebKtMWM3BWBJi2JVITA5MsYBaCw8+eQ/56+/4ZjinXcdEz29rkmKBXDGKmVyETe1gIisqhJEoCp2NEPnRYvUHPRbzKbPPbUWHGRARE5VBf399flbb2/K//XWD5qWpn/KrDzgjsyq4zfVr1r1LzxnFmk2B8CB4eBgypxUFUIylteqyBkm/sLvH/7Bv//8wdeHsUamsS4GxDoBuVFyy3a9Dv4mc179CYgJtsFCENA1d25cdNvjnVf+zwVHX/XGIxd+SET7iak+3vab8+Itn73IDd6zkkiViGMNMkn9mNhU4FUrGIqCI7xsSRf+/ORsbC14X6COELGVh99tgoBy1BOux4Nbr/7QSxf9wxVOooV3bb7i70AAq05qFCIhO6V6OwMnzr/wy0Ap3jeZpz4m7KYAJIITo0RKzM4V8g352+/4x6Frr/1weP+aNh0cUgQZobq62NRnOdHzAx+FTf1BiRbJL1Sh+OJGyQ2uAFSggLehbaCUzQoD6qJY8/fcfXT+ztsx+KMfva7hpBN+17p+doxcvXU2ABULIAzngE0cZQk5RBSL6Ad+ePfV3/vj2lebxlzRZDnjxNGENM7tNHNVhfPalzXNWenMR81v+q8b3nXx209u/+hp2YuGnvmHW6T7Z+1EcGysA5gUcQCNh30TVQ4iIHKM1oYCTl7WhR+vmY96W4To5Go/ifsFpEIZasQ9W399wEsXvp+e7LvtHc/03jknZ2c4ETGTOQkiI0PSySfOfv8tc+tX/EE0BpOpiqs2fgGoyqpKZDjWQmH+wJ//8vahq377kfCJta0KZ0x9g8OMGQpRQ6qkiYXvSSqB1OQlTUzUqliG6UHJKzbCT6beG+UcKQA2DDQ0OiWoDgzawd/85lUvf4xQl12C+w47Ao/NXwIRBw5DKJuKLKeqD0/HonTBd26/+qc3PPtq29oYiUhWhNJQeQWOVHbMxPR2TjnIGIqiWe6aa396xrm5S1bPnvFMm7B1xASomCQdNHFQ7jkbiKEoRISTl27Fn59qw7aCQSaY3Pn7CDdBSSkwddJRWFu3puvaHzzSfd2BTotgNJFMYhSCQIikSC22HcfPP//bAEICG99pfvqxawGYrI1CCaJEzAqi5qGb/npR/+U/eVfxsUcWaRCIaWx0RMTqnEEc+/y2Ml9SGgD8W9X2RkNpA4ziNyspNt4vakgBDQJQQ51THjTLn1+LAzY+hbVL98GNhx+LdbMWeG1QHJR31kphdHWJSg10PCRJ8/inH9975U9vePZVQWtdFIkEJb/QpFxDnyZhyCHKN9HZi282n9vvv2XbM4WW7PKMNrU4I87nzA27zPeszUQEhI7R1ljAy5d14fKH2lGHGK78eVJmIVUKaSoYVDhLDfjjus+dV4wHXNY0Q8RxxfUQ8qk03ilrpBhv41Xz372mrW7pj0UdTTXhwQthVAHoXUrJhfBxXFInlq2Nwo0bj+y75H9vyt94cx2Mcdw8IyYIq0hQGoCGY2sjx5zMU9kZtr9RtiMGKm244adgWWHCiK9WODXqBbGDOEy1LhcbAqGADEQN9n1qLZY+9zTuOeQI/OWQo5HP5kDFApR3VkUxyl8JMMpwEBIVNOaC+LvXP/GDS/7v4VeZGU1hLJIZKaQn49lNMBTDRS14/cKb8ZUDvoy8OFYx2rkupsx+jIxVqDoQGOVJpnsSmIBiRHjZsi788ZlZGCgYpD2Gy7ZgxaBl//rjW/QXtzqAmWCgk3BQ8okgIAKKOhi31i3JHNt+7n8AABGMKuKpoLsfC3a8S1LqbkpigaKsCsBa6r/uL9d0vO8fbh28/sY6amxy1FAPiLMiJd7bqgYl0VJfK0ogZs9jzgQlLj0pSf0DoFqtq1QDMgCGKAd1wAl334z3/PYKLO3cDK1vgFEZe/NHJC0ZRampLoOb13ac+NGfr3kV6uuhqpnJXwaCIQcX1ePEtgdw8f5fQ945RI4RWEdRUdG9XsFM0KRmlHi4zHDPAYGhiJzBzPo8TtmrG3nn895LD9/JnoICTIFhMuQrTCu/fkoEJQGTcVE8lDlu3nl/bc62/8ZpzASf9Fwt8oJ0u7t8RP2uExYmhXPBtm9/59dDP73iTNTVR5zNWnUusUJK+VUVD51PCP7qKqWJ2Kpek5U0jWQ4A0uTzxMzlMmBWHk4UGMAECQtWZqOCzd8XLaEq+4JsXFzERliCPy6O2ZkJA/KWPzh+FNx28rDwIWCjzK+4CYv0+pUkbWELLH2hZGQsUbTZMBJ1LaIFOosFmQH8IsjP4bZmQ0YcgYZODjy6e4aM+btC9S3CDRO66lTATiZ16R87SZ+nFQjswz0FXL4+E0r0dvLaF3ksODwIiTSyZfpk2Bmbw8CayxFmpFbMPSBg69+dS6Ycb2oMBOkKjhYEuxgApeEnyqLIehQAd2f/8I1Q9f9+TTTOiNSokBcDFbvuC7FDLVSeWgTBLMvgI8iQbFILo4sQCBDoExWOVvnKLCgjC2ZiSQKiUJIMQJFEUuUJxf7mk0yxiHIKmUyABFD3Jh6Xk8mfNRXfbKqAIDCqEPEOZgwxlk3/B4tA3249vATwVEReMFnk3fOEhRKjGKsKMIpGWsUSaw3ITWYPCigGXx83x9gUW4DuosWlh0USYEbCAJB92ZGXTOVfUsn4FcmeGfVKN/WNBO6PH9RCaAJU5akMd8wZsxuzOPUJV24/N65mAkp5dZOJtKMgRFifTTSkgkehRhx0Q0Fx8//u6/lghnXO3WBAUd+L05X2vOOGMUHqFBRJmZ1hTDo+uSnrglvvuk0O2tWLM4FJH5DjvCTJd+bHiQaALOqSqwD/YHGqmZGiw2WLVsXLN/rr8GixVlun5u1s2Y/ZZqaP625bJYyWUUSkYYoJCwSFYpFGej/t7irc2/dsrUYb9xcDJ95+oTouXVLZMtWL+vrchFlMgQRqxVo4r17SCNTZcdWgFXhyGKQDF66+kZk4iKuOfoUaDH0Jv1O+0xrSTMBAUTMqf3vxUDycCspDiXRiJJ2naxDqZIMSDnvMdpdnSpvTAIXNeHMuXfizLk3orfIsAlt07DQVrABiv2KfL9BY7ODxumxR18dLxiH14eSEi8/NyvQKFZVyw4lY9p/LjlhwnBhCBhEWSgcCClpye7ewMmIJAhjwkuXbsUf17ai6CyYgHgCI4/16NsLu0qbwQzWgusPFjQetOWwuW/6IgAY4jg9s+oQfR47CkAFASwSx9mez372qujGm06zs2ZHzsXBCBarKlD2hm9YI66/nxEYkzvs8HXZk098ou7Qwz4TzGvfStnMIxifnfShrP+fAKiK7B93dc8M1z66vHDzbZ8q3HlXu3R2GNQ3OM4EvjKjaqBeY1LGADXi+PvuhLMBfnfky8D5oTGzvKmgVBObCjgigA05RVKoI854ujDEbIigsE6QsjwjJagYLd3VC2MFgeGEkbFDuHDpLxE7hYBhKbUryr5IAJygbyujoZEgpCAZfSOmhC1pDlxJ7yISdsJOQyIKMhTM3ax1y7pMsNRSsMCpnVdvbPNjxPWfBDXUg+uFOMNKdQNge1S47p3fwODdAhPwRBOvfUSYMKcpj5cu7cUfuueAmBI+5z0cpE7i2J6w4F1fy3J933RQ3Y8VOwhAX7QM03PJd6/O/+lPp5lZbZGIC/xe0qrK3SO2cC5yNNhvsscctaHxnHMurj/00EuJOZ98hNW5IPV3kDd33Giu8zTISYAp6R6qIObHgtmzJJh9wl8bVp3w83Dz5ncMXfP7A4auuvrv3eCg44YGUee4eh4KACAgZfRTHVatvhXdDS24bf+XwOSH4MbytKeEsU8J0BhsjUok4gYj9sqQRS5j4lhAUTEO3KADDDuut6TKBBEqpaqMpqElxAgGgtg14LR5d+DglofRFzIMeX10h2ukPm6Z7xWEIRDk4POgdxYHoSSTQQkgCxURcbGYur05aHvrrdx4yq9s3QE3ws6+n7w6OyrFi0INAQ4gG5lZEK1khawXgifvvRn3FmcijhjYw0ujfNJzn13adOTzB898zY8BAU8D1f1YMVIAigTEHA3ecP1/91/x09O4bWaoTjPlZgRQJSosM6RYiNgGQfNHPvyJhtec9QUmUlJVdULEiY3GnvushJ1kcpRSEUBeVfeKFEiVoZ4CC0T5zNy538m8552Se/lJa3u/9LW/D9c8uK9pmRE7cVXWYEqgAIaQxStvux6bZ83G0zPng8JwF0ERoFRnTA7MRt1AFDc22ODsU/a67bSD5j26z9zG9ub67GdDF8/Y0lN8793P9BSuvnf9G+54dAtpJus4YE6F4M52CwFeGBuH17dfn5i8jJTDdDSVnRiIY8Vgr0VrnRvWNreffnL+/gIyVMNQuTFjF3zih5m2913EtsUC2utTHZQAUS3j+SMQl/n/jAKOKDCU8qtWCERAGDHaG4p46dLNcmvcggabuD33VKgqOcWqhe/6seXMBqfOGJo+vr9dgUos8qoMYom7u0/a8p73/1a6u5o4l1MRKV3zkt9vmi4QJQ5UsAHCUKm+jtr+8z/+ve7wwz6tIgxVQ8ZE6ec1iXaVuZJS2TbKbTksGYffLysL09Tn5AKIgoyNdKgws/Nzn/tj4cYbX8ItM0Sd76RVea/gyCjwb+4p4vnNIbLEZQ3Gh/1y5d9yxMjpEDrmLcB3z3wr8poEPMZwRGaIG4j4uP1m9X/3nUe8a/8FrX9URS/t6PjMRM4ddsUdz376w5evOaFzKMpx1qqIo9FWmkAgcpA4h32bNuBXL/kQCMWkMy0hZQbf4XsEuBioa7WYv9yVSFtGlUne2QVVF8EuCLJ7XXGZaTzhfC/khAmwIIp9CIzKNMnyyDIhYZhWIkb+qVf+WXqvPYVMxnmK/IlDAVgV9OUOw3cG61GINsMiM+yTrXoMXwGG0XzcQ8tbT+i54ICfHASi9cPPsqpQm3bAcEQzMQD6L7vs6/GG9U1UX+dQJvwAJPlxUz3F5NjJv+rvAqfMNOPfPuGFXxxlQKRkOBrxne1ZJnYI3Gz/5vYaLg3/NRmLyERkbAQnAdXnutr+7eOnZA477GHpH2QYM9HOrhPAjkdOwlXIcw7tm5/D8Q/f55loSik9aQBjRzCzusGITzpwTvS7j5z02v0XtP4idpIX1UAUVlVZ/CsTiwoR3/2O4/d+xe8+ctI75tYHkMiBdxI09aJaAAlw4swH0RIUECuXaM52tn4pS36Yd4iLXtiPdi0VBPX0S045F2SX/ehy23jC+ZDQEoGJjIJMCLAM+wfL17HsfyIlQuDXJLu50pKJyEhRgNn1+931krlvuq3g+kDEpShQtURLd45UVQAEzjFlcMKC936LiNerSqBavcIPSBNyRC0MS2Ht4383eO0fD+bmlkidmJQMtBrgExEUzMahv980nXfubxqOPPLTGkUZmCCiErvbFMFwpCKByeZ6Wy+66FJqbACi2CdUT90sdgmjAqNAiDoc/eBdmDWwDWIzoITPlUbJyWKGuiiiWS25wvfedeSprfWZ6yOnGWs4MkwREyIiEvav0DLFhglhLJmjl7dd+V/nH/6fCTFqNPoVUTg1AAuOmnG/d8qOEUwMVySEeQKb0dnpfR2CcSowwdyPXmobTn4HNDLEGQdf87dbl0iVJ0EekTCA2A09e8zct5/dkp2H2BW84OM9QAdMnOeGjOZdn91/1ss7VrSe9AVVBy5Ffqv3LLyn2/ekyOSv+s0/68AgyLIhbypU1dyJCDI0xGbl/tr8hjdeDAAwNqZUFZjiuRJzpM7ZzD57f7XhVWd83Q30M5impQ3j6CBIsjAhWTQP9uPIRx4AMjbR5Nm3FNjhW6woCP7ptOXXLJ/bfFPoXCYwFOIFVpgAl7EcxRLjLccsueQ1Ry7cJEPFgHhHBzhDoGIxN9OH/RrWoSjjeHQlKTKFAez8S8SqLjImu1cYzHzvV3xajMELzX9M4GxKljehYUZCwABCyTfNyLRuPmzWGy4vyAATmdg/oKplL+0ESTRfJHaByeGE+e/5EoD+pIBAS6QVVQr2vj9CvGHjO4ZuuXU/amgQSsrflKpr+ZXYaRhSw2vO/BVnM3epiwlM4i25CobnxoOkc1n9qac8zS0tQBRjsrPsx4pUuJECBoo8Mjjk8YcxY6AXYi18U6btc8IAF8WY3daAt5+49+cAwI69Y5cSjAHQ8Q+v2Pe7sAyM0kDDZxJYzG/ciDm5rYgFoHG1hBUUCgqnNOpSE9ipAqb1rCs4mPsINA4wocY7aRAw2MXndgecMPD7BThm7rn/25SdU4i1YElZp+XJPg5436mRguu3B8181eOLm4/4iYoDsx1uUlsdt8OoYBHvuB+6+a/HyrZuUCYQn+6i1RWOYlKNQhPMnqn1Rx35HQAgNpz6rXfw900RiClWdWT3WfGNzD7Ln9Ji3nofzvSDlBJKe29LxWTQ0r8N+61/CggyJaqkcjCRoBDxKQe1PbWorX6jc4rxPAc5+exx+7RddvherR2SD43hkdLNU9QHWF63ETkTIdax09H5uJYiLigkHl0AakKXRU2nJkGpiewMTWfsfYuVviVKkWcWATCzftltR8x8w28LbgBMNmnFVcUShAxEi8jYJpw4/31vBLBJiRiATEadcaXBZGwkIvvk77zzTWosNK02TzwpVXMKRIpiEWaffZ4w7fP/BFEudU6b7kkKYADJ7r/CeT/gdE9oGFQy2fzVFBBWPv0EIM5HXbdT0BTiAMLJKxf8EcBWhQY0WrnYzo5HJJHToC4Inn7pyjm3wAmwQ46dd/Avq9uceCDHt15EDBcDLtRRXEwEFWcRzBSbO/zLSex8gtpfYsZryBW/smWpkunYR84/9xuNdg4izRsm1rGTWkwutucNAAAiigtxH79k9ut/3N64co2qWC5XAKpj6jsFEwjx88/PjdeubeRczqW9LKoNBAZcjMyy5WncqWrU0/RJl1m8rKA8liST6QFBESGD9i0bMau/F95aHZk2I44oqM/giGUtEeADIuM6iHplHQCOW9EWwphS36lhMUoAx5if60oCIGM9RBqZFYgD4mg0bwP5TKlgSUjBzOepNKvdhCZN7QFAh2Qyn20EQDWum1W37K+HzHnt1UPSDwLLmNtwTjJG9inzyUNOirYxmBses+Cd3wKAhAZwjwEDQPjYoxdLXz8QBJOg41cGfhMQzML5/vfpnc4IaNIXg+bO+1cKDEhkPG79qYMqYmI05QexpHMTYAKMYOZgKJzY+W11fcvnNv4HAPiuXeM4BASUaOYHL2r9aK4hgDqxI3LRFQAJ2jJ9w43jxjh6mrIiAkTRKFkKaaVSsJAUmUo4sQmgCEADJDog9QZOeNSdH84BwPHt5328xc5CLCFX417yZEtG8vEAjpj7pt/Nrdv7DtGYGeNy5k47GACKjzyaLcWzqxaqCBjB7FmfAQDSKuLUSe4H29hQJJudElaP3UXql164ZWMyx3JrhYDIYdnMrDblMuHu5K+W+2LbW+rDRa1ZRSyejKCkjjEYERp4vBogvIGSFBhH4agzgAIwdnYSw3MTC44N5wkdChk8FAQH6KTVfxORijqeVbfskUNnnX1pQXqJ2Y41CDVlIBiNJG9m5Obj2PnnfTP5a/VUg44RvvfDuuctm2BneaXVAYUyWWhDw3oAVSVgSm0kc5bIGlRHCGR0MAgOhLmdW3xZBYYTkIkAiGLJzHoFdmyZPCZouhqCugxjUWu9QIYbbRMUEEKdUTQGEUTHG6RIx1K4iEdPsVCATVMprX3iW4WgkhfnBvxvk2IllTyBSp7rFke2n/Nsg21DpGHyicRjOo1SxpNYAEQsoRvCMfPe8X8zsgtvEHWWiV0VRQ3GBCtdXe9xWzoOQ2BigtqqlOBE3gQ2BmxtAAAqElSLFqiqhhjOB5A8d121bgOCQmDQ0tePlkIevZksyGmp0gUA5rU2lNL7KVG4xp6nl/gSlWEYWDCjgSHl6+E/YNjBspb3Sx/z+Jo073aRG13bTlMD0pOYYBSYQBDpZ8S9SdBicq8ugSPRGPPq9/3iIbNf897bNv5gfqOdrYKIoNOnpxAISaMPFHWQZtfvhaPb3/6x5L0qfuzvHDbe2mm1twcwZrSUreqBAmADk8lFgE9CTrjEpx0k3o4kY+PpbPI8VggM6sNBNOX70JttB2nou/UpOYDt3Bn1nweQTwT6uLp3pRatqIKJBme1BOugWIpUEpECymAWWApTz//Yx9dhQ0sdjaqd+rdLyQwVgbp+wHWlv1Vm0J0fDQQ2AIrHtp//uQc6rvmm08gZMtZTTEyPCEyr2oyaOHR5e1z7BT9qCNrWOI3YkBEkaVfVvv/LYWXbNmghD8nlYLRKI5g+4mQAYOiWWz5hnn7yPBTDjHKVuBwERBkbuo4tCxONpIo4AreD+u5r2ShEY7HgiSVK3H9QkKCtIdgMJKWowLiUqCRIoaQaANTX1pT7DkCfU8/1GaTbS8VriUhzEcd4KT0VvoAMIXYGIpJkQ5VFKOE726V2PE0geUUT14BGmxpEtsGQwU6YsyoIAhFExGFu/b5XHDz7rH+8c9Ol+9QFs0VVmFM3wzRsf2LCUDxgF9QfWHzJ3Ld+EwAYBlBfVTRaaWU1w7qeXqOxA4OrWwNM6sL7Lr30FJE0W6c65B/IU7eLMbB19VDiqo2mg7wAJHFo7BsAFiR/RpLnxYymXFnQtmRijk+IpKc/sz5IEmmorKxLIMpwGow/nprORQE4l/ijypVIP99YemHha4cnaAb7kfMPfpEEgDUEnZKYhJJnk+g+bt7bL72/86qLRWNlpMGk6dlfquREi+aE9ndfnTX1q0UdMYxoSqejgrQ6ak+AjXu2uXSDjpJVWn1oaHReb6iuGptk9XzTpSqG7wHsVbvGOASShHfAU8bDEJpyQWlHJHbreI9S+qkhFwiM9zyWX7FYDMK0rxbGeiUpyT/z50EicAKYUe43cl1l6d+7D4LX99zg3ca3aJ6qXUcg360Gcxv3/8HBs17zD3dt+tH8hmCWKqan3JzByLsBWtR0uB4y96z/ARRMzACGgx9VVAQwFljp638nABDUVJNStVOMEDDVM9nqmckLQwlwSQF+XVRAaebkNUDDjMAOL/FEy5lygUnG9gdRKMCKvLPod3UYn3U6HE0G+WiyKgMkQEqPn0gojTaDJQIowI5tgMYBMkIScpy/O+PZqqfUSlJ40uItx857xyUPbr3607EWHVNgPXP05Aqb7ZslKalTFXNC+7t+bzl3k4/8mqpL0RkPGEP5w5NLWr1mWw2Vg8JH1SGQQjjSflSCIUXGVODGSobIWVNSJSkxX73CZjHoWscpANNhvSBVGOgOdcSJilZ8Fio9SV707p6PCwDA5e98nxYfWwFDEU1xT0cCxwrB/MYDvrj/zFduyrs+y8pTooeWH4HJyJDrM3s1H/PAAbNe9TaviVdHEHIiYFcs+PKePSB6WUMloElLU8CIlgRimiLNRDAVqHhNRwgMDTMklLNXO4OOwgzY0QO5uxjbizSnChFNggGlsYmYncYduXjo4f+XfH533RIRgOa456qPUhSCENjpCDyon394/PzzP52zLXAaTkm+XZrU7t0ADgYGJy1873cN216Fs5gWQ7yyYIJw6lHb48+mhl2inM2+3kXbXXTfHD5VcSrhzmHentV42Fe0vjgLAHYza9L3D1FNcwnLxzCeiWnwL0sAACq7sbWVAAMN17dK90/magAoZDfE9cTBMKLqsKDx4J8e2Hrq4wXttwQz6bZ4+tAisBbcAO/dsqprZdspl/qkeRNXSQ7GhMAp7WxN+9uDMIGN57NO/HM99tGEsjcVgSFkM5WL4+SsgdmuKxUlGtsz+XnekzWOHNrSbBN/H6lLzNwRi2KZ4Ny2q88W13uskHVQMUhJfnea7JX4EKGkGqsCrcUtX/o/hB0BUSC60+9VGjvcjareF9hbH8zckNDVTclUfIIrQcWhKTOnlLVJoNG5yPYwsPfNvAh02b8RjHzq7t5V8yEBRZEng+BzJEadoTDAMdYNzcegq0OGpLKpveoAykDzDyLc9rPP+pFj9k2tUgKu0WZGPvdR4yxRgLj36te7rd/aH8Y4UmFO3AfThCStcVx56RUDAXC+ZWf6tHpRiAz2PvDqLd2qYSTSjpUeu3fVUqZHrUSwYzfg76AYG4fmYlNxtieOrugRFIBjJkA2ffKlWnj8LaBMRBobkATqs3bLP28ACaCOSYVAQSEeuOMtxefe/R0lJ/C9oqFIuZ6mTQYlpTTTgxdjlMCKqi+D2lNALCUbajh58cWOUhIJmKDERkCQcWruvkzJ38QxGJrLlg0/dcvom1tF6Aob8cTgYiyvew75inaWZygpqTGgcJMWnj77isyyn6vN7f9z3zSeAEhZH2d2AIkSlFTaw67v/3O4/qMfYNdJ4IAA58VfWRlexfFilC57AKzJBI6UjCKtMaze66BQ6OAgq6TNpqp3rpXFcODCGiAXChoQIaecBFbHKMC8EQVHjEYMAZxBqapiCkFiwCaCKGN156E4c/YtJe+aP9P0XHZvYn4fJ981Flp4SIuPn/hjN+dDHzAz3vglk12ynihzH3xKiyjil2n4nI0G7zxZO799kfTdVEfGqBoLVpdU6nlavuH5VXjR1JXxQlRXkv8wXhRW7whY1OVMqRU4Tf3NMGYohFS56d1/d2umfcF9Eoa3gnEOgCMBDGKK87OmCArAEPBrAFlV5MF4YPXPHvvR7U/1aVPWeCIXjOOyqUKYEEiMZ2cuAOLiyNKlKbj+Surz2U0Bt247AD1RPQIeglMfgfZVVbsfcPCVYqkAESZjFa6bog2fWOW2fPkErluxAcH8ewm5nGAwkmjTKiqsa9aoAwAU1sQgBCRJPXE6FqkqoEgIcCuBtOOKylBTOuFKjV0JpInQ1SoWJgrL9U3XKOgsAqRa6KV2gE/cFVZw/XGr/i2z9143QMSA+WfTPbWpgjd+ITGwYu2jLVgjm2EarW+5Ma7dmWYlKyiKgNhBpyEHVBWACfHY0Hzc23cwTpx5B/pD9oQ0lZ6MCikTszGq0uPigTvbSfFqRdLtg+GUEZOxBIChUiJt8Mvl61tFVUl9G4lKzZFUDRFileJLoe50kPkDoBaePKKGSYal5qY/EnCWj4QQV2U1SKLliIshhQIDgDpnfenKiyEbaedIcrFYQUSkQiLGDA4CYR5UDECiKZnLmECg5MMOSpxof1O7hOl8jSqcWPx+8yqcNPMOAK6kzVZ8VgqCCoEMsyEhpVhJUsPbsIIkOf7I7ykAA3ExOLu8n1tf/7zb/MUDicw4Vn0XUyOApQjSPECNlRiyhjHCmrYWA8P+QletKFGAGCqK2EV+07GJlVmq0VNSSfjEK3UEYu+uY6ds/HokwqvEEj8WKHzQi4bZhaf6svtgjIGQAqaIP3YchQv3WowF2ecQOgsmV/E5pb67pAseC5SpZMm6pCBmRxeQ+oy3mBxs0P6xf6Ng8VC86YvfIyD2hcYTnGnS6F3dEFSGQNyI6vUBvvjAtrklpiCAyrhtqSkHq4LDogN8NO5vZYsMF6SrT9wsq9sZl/CD97/5Oy7JiUvdW+mxKr4HygP2w39TKFQNmEL0ho24/PnXoM6mKcqT5IlJVc/0lewhBqO8569PhU6/Y0Wj2JoZL+80bRdcRrA5sC01nZ+IrzIZIMm/7ofK0IRGqmH8YG5tJarLJsmjVSxSmEhdDPQOvMT/oYrmmvIkYXIeIUkODEaKp2GRRYkjYCwv384r8QFCPQXWdm6PSp4DbSf4hjOXvGBUMBAM4hfrT8YDPfujMXDwgR0acZYVmUsSXAHpcPlzKfthZDDJy0oDSOiQmY/Mom+ezUAfzAxL3IgS68yE8yaScdwgVAYnNFIN4webmTO7eEYLKJKqbL83DCI4hfRsezcAaDWxt3o71aqIhTir4ixEKvxyFiKAqPGyQ0GqiUmXau+7fpECLJRaXv72TR98iaStZEhEy38a5QGrIDAJhuIAX3ryPDjNgGl0sqfJ352U8CV6lwuJxFAKskv+9zuU2/c2KKC2FTBBqeE8TdQNqADIADoAuJ7kb9Vtib2YwNzc/HMzp/0ukZjTfq7VCU+BFHZsTsoTq0xYM8fEHBObmNjEYK7Yi5hj+DEBY5wGWSDIQG0GGgRQm4UGmTG8AmgQQJL/vcaTaq7D6Q46aTfg6NdMlGGy/fjr1oPwzWfegbbAQRLa9/KZTL5YUIAcCBZQjUSc5UXf+B63vPpCaAQQYMzMvxDX90EQKIzPiplQHM4HWVgBRJursynZixgWAILFS7hw220QHwqrUihgCbJ+Eye/VY2+qqBctHnL6zHQRzApS1BlZ6dQYqViDCxu3roFTT1daAoNnEuPNbZbhxJyo9AE6GloTEKuDEAABiInKEb+OTjujm2joBjFiEtT2/mAohacGcTXn3od9qrfgDfNvxZbQoNMwhUzZYKBrEIkEucyweKvXJKZ/YH3k0RWyTpVZTV1D8G0rVdat79PC5z4kzjpqAAXdXyegd/BK8A1TAEsANiV+6xXoiNIq7e0QlVBNkC0fkO9FAqtnMttwzhzgCcBlDiQmvu+e+llQ3/6g+UZLVAnlQ0mlExTby2dem+IlZuKlA0YouPRkQhKhFw4iLXLD8SPT3kNqBhCRZLGQSnfSeW2gdtOjdvpBUsPa/L46CMXIuAiXtd+PTqLXjuitBuar1dLQiXkS9PGPF31TDia9Cch8s2PE5NX1Qi5UAVBJljyrf8NZl/4flJnwNZ5T6svC2Y7iwRIxpIJJWKVVwBq1NFQtho1TAEsAGT23ecz3Nz8WopFwVydPghVJpuJ4s2bF0bPrntnZuW+XyYRC+ZoWudFSaJEcSiGc9BIFK6yD/Dtrgaxc9aowkaC8THdKYQIGRAGmpoAY7wELykxBk4iRK5yObg+UVswHNkdfcJK6vv9kkNRgX968IPYFrbh/MW/xGAMFJzxrfbIj0UAHCVbdQyqqhc0PtSRhld86qsBwOJIlONQkVtig0X/851M8yvfRxIHYBuXTdrLbzNbh3/FSCk2TpAQShQzbkNKNbVbY9UwfngTeP7CTdmle60rPPrwEq5vkEqW+lQKpArNWNbuHhQefPDwzMp9odCIplMLTCwgdbG6bT0WQcYSGYAr2xkrjVgSfBdLJYYDIyb2Gts4lDYlhlOgY8ac7fJnvCYkQolZXRkU4xhQBfMuug4qJUQNDCYHRwX822PvxIO9y/HP+3wP7dlO9DpG6AIYcmBPypkIHhkxzmjCiCTJ+hGASCBkFJoRReTgYkNqjJn19mcy87/wCgran1KNDJjjEZmBidJIdnbsl9xESok03m2Qnx1FWY23xZT+qYYpAcPFAQd2Y+aIl/wFYRHjYqecQhAAVhiyAQq33PpGiJtHXB0N2FzfwCK3ebNlG0ARJ7WoWrGX/0+H2Y/hbW9KI8HlP+/ixRIjDOqwvm0OEMcYbsqR0swD4e4QKG+HdIRiIio8e/POP+9NWfFCMEnwZtODX2xchbPu+gq+v/41iKUeszMR6tknfztlAFkHGPVJzWmJGm33YigZkNpYDUIBOXaOKC6yqg245YzNueXXfySz5EdHczDvSWhsCEZIzXYzTkxvarMaARKHAUVhoBN5xcUAcRhoDEjh8SC9ujVMDSzYNzapW3X8Lwd//rMLxDlbjcuvAOAU1FAnxYcetsUHH35D7pCDvwkRTs9hyuekaokoKj72yL+4ri5wXV1MQnYCPchGxc7If8fbxl6JkNUiNs1cgE2tbYDEpW5tJbPQCYpR5UzgfBgD4qP2pGnG3SizVk5MZa/qelFowcEgNheb8R8Pvw+XP/8qvG7ujThl9l1Y2vAMmk0I1tBI6IMGJaU7VZnTwyT/i8AwYMVQUXN7G9N05g8zbW/5q2k46v8A3kIQowommFgpFXdlBimxQgGa8epPZmzDbJhcxCo0EXaY5AiqGlk1rT2qEYgmn6i2Bg+buJWR2XefW+0hB/eHd6xuQlMDkmzUaY8yjISC2CiFgxj41VXvzh1y8GUC9Hs3nGop0XfSp+HvA6hGAJoKt9y6r0YR0NDA6lLxV8lVG328Xd54ZaazJkm7FoLHlu2DKMiA8/mkHtgzMlOiAg6FziSnuRvhdk0O5r84GMYGIrucr5fDI/MRvXuPwSYCmQKeHJyFLz35Nnzz2ddj/4Z1ctzsJ/jjh/bd1ZZdvyIaWj8D2gNoHr5xOYPZQLkB4FblYDZRdtlVlDu4nxqOvMXUH/F95voMgIKnqHYGYKXEAqIRM0tShBSqiGEbDv0FGg4bz6KMZdWQHqSGqYMlIoWLDRnb13DmmV8v3nHnJ1gpVlILTKijasWhABA7g8aGeOjmvx48eNMtr2s4adWP4FwAY8KpoLMp+dvFGTI2jp5f/7r8TX89hOsbnAqMr3PVqnhq+Dpff/WEFFZC9De04IFlK4EohHKyWuqDEJzUwvbmkzyY8vKI8WwCQkmY9Q1FzqtmPv1m58QNO18wUQJgYEwIcIgiMe7p3ts9Gx3C/zTvpCsybfILjrYtJimEwBBII0AtQBbKWRA3KNtmCwSPwFOnJWclEVQzIBNhpzRUw5P1XdIsoGrhO6pUCJSmTin28D67exp89aXxPdHrT1z1/YGDD3x39NCjc6ixUeHiKmqWSYmmAjAZK0Ta+61vfT+zYnmXbZ/3e8QuYGsmPSJMiVQR9enCvZd+/xO6rRc0o5ngHIiqJ4quQFKzSlAY5JDHHQcchM6mmeB8HmJQIvqED0YaB6A3H70VwA8JPoVvPEp1cupEvqVkticfvz4RwxN02BKc+mQUJgLsEOrrHJqC0AJ1G9nO2cqEKD3vYc9mmQjT2ALIgMj5SBU70G7k3BHFSfywhj0cnGgIos4ZZvNM41vPvULFAaIupVCvDmgpjUFEwPV15DZv4q5Pffa3blvvWWRNpM7lMMkKqwosRAyZwPVf8fOfDP35LyvQ0iTkNElmqJ4YUurXExByUkDnzDm4bf+jgbCY5LCVm16AJnQo3f3h0QDqkjHGl+BB/iGRVOq09QwWX+KdgDpMPzMBJGQOCocgsEFcFwR3+7MQUjijEAMV/z/EUNnPIOtAJkwo8KvjKVXDtIJ9308AhhUqaFh17CW5l588KH3bLJmMSjXd0Jp6hgB1DtTUjOihB9D10Y/9qrhh42vImAJESEUsMDKVZ8K7XSWAcwZMsRgT9/78F5f3XfLtc6ihSVjASgoCT2vLmu2R5r4RBJYFfzz2ZejL5kDOQTmZb5Lbkda2QoHu/mLJDzb+hlnkk9aTKXT3FcXnlvqH10SWJ83iUyKFKprrc0/msuZGgIjBIalxBHZE7AjkVMkh/RnsG3uMsOtr+FsHE6XbigS+HmBt6/ve92pun5/XoQEQs3f5JzfKdG4bTVIcSuaNi5maZ2j46MO28x8u+tHgX/7yXWVaQMxOFSpOWEWMihioGp8tsjMnfCJYvSBgiBoVMeqEocIAORjjXFf3q7Z99vO39n3jG+dyfSYmYi7l4iGNck4H0ogFgCQ/0DPfEZp0CDccdSIeXLQCFA5535/ScN2HJJyCAEDAlh5POkvs/V7jsegprdEgIHLObO0tMjiNV487orLDGZauvyhmZC0Z8gK3JNfKZjJcL07D2TFl79dQw8iYAZFAJAjmzLmh9cMf/KiKEJwUqeTE1qpqG0IgqHOMphaVvr7Grk9+5oKtH/7ndYO33/E/EkUr2LAQsxKzIyKnqgYiAZwL4CRQ5wJNfvYvF5BK4B1i5IjZgUlBLOHmLWf1Xfbj1VsufO9vB6+99mhubnWgwJJUi4bshYuCAHXJLc9okF7cvf+R+NOhq0CFIpR27rtSADCMLf0FUqgpBVHGqdamny5EIpsHir6TXYU2jabZyCqY2RCkemsNNewWdrwbmGJxjhqOPe678Qfe/8rer37tNGptiwgUQKWqKANTHxdcRBxk4DIZV7j7blO45973ZvbZ96zsMUcO5l7yks8GixY+bFpamsna1YDpx3BmyHZjJVaf6grp718iXd0dhYcf/sfC6rtfFt33wJy4q6Oe6xrFtDRDRYyoAlwt3iRKKlW9FuqY0ST9eGDfl+DXJ5wGhMVdPrw8+zthfW9RBwqxa8oF8C4SGofClC4taedgtHzLQJFguKRhj4e+f9TR0zC8EOa1ZNMARs2mrWG3MJo6oMRMoppveeMbXqN9vb/r+96lL6fWtliJLapG40mNPgUrwwFEKpYaGxWiUfTEE/PCh9fwwOU//aGZ3aq2fT6ZOXP/xLNnbTFNTQFlc0rZwPurijEkLEL6+1m2defjrVtPdFu27OU6u0X7e1mJQHUNsWlpdapi1KVtF9Pk3umHNzwVjgwIgiYZwOpDjsNvjj4FLg5BKgmF/ijfLfkUlGBItvYXWp7fVjx3//bgu75r9Hhp0nzR2dMd/R8aGCwCQSZW1YqETZUSWnsC5s/IpfmKfzv04DVUFKNsSvKuPlVWcdGMd77zNLKZP/R+79uncl1jATaTVXFU0r52nY47qfD6hmcFISWoEwI44Lo6RUO9qBN13X2It3QBcv/LSXy4whv/iXkn3ngUTaKXzEJB4BBYUEurEClIYLUk/NOSNJ2m1sTpipetPQExWdTJIBBY/OHoM3DjgYcDYQiGJuVlY4BhNzQY81Obew7fv70RqmCwjqtVm6ivsHtsfa9DJOAs/HNzwhtlWFIDjEVzGv5c9kY1PIdq2MOw06eyz4g3DCfSct7bX82zZ13V+7X/OgODgxE1NhBEraqAS47/6dyDWpbS4eehqpQ2+aJsBpTNwOd/eff/DlMlIGXyS8ggDFQxXMWw4+enF16gCQBlAqugRYawafY8/HbVqXiqfSkoPwQlwljjuN4CJnKR4MENffGrD/NK4XhOVlUJihgA3/P8tgUQQimZdILmb1og55QUGYO9Ztb/Mnlj2q9GDXsmXlgtIAgMMcQVm155xjmzvvbf7zR7Le6X7i5LKjEziyQNZaoaIv7lnIFzFm4UynknVp2zcM5ChCFSNQnNO4MSAcSolyFwhnDTkcfiu68+F0/NWQgzNFhGczUuMAhY/eS21wI6j5gib9KOdS2IrSEMFuOT73t62zEITAydaBJ0aWzvx4wdzW7IYH5rvWfIqvLtV0P1Ygx2EQmISJ0MZg9ceensb3z99Ia3vPU3GhatDPQJMcfM0GpKAH6xoSzBxXs6fdEu6jSPDEd4bJ8Dcelr3ob/O/Jk5EGwxQIc715RoCgYWSOrn+5euLG3MMcQEs7BMWqRSZDi4Y29umZDH5DZnrR1IiBfaROLtrfVYXZTnUv+WqHxa/hbw9juEmIlQzGcs6ah4e62f/z71836r699OnPYYZulv8/K4JAqcwSzPX1QDZVAkqgOGI4QRsiFeQRQrN17JX706jfg8lPOwnMz5oCGhqBwiMlgd61CVYXJWGzYOoCbHt76Kf+3sZdYp86Fq+9d/2nJF2Gs4cop0gICYjjYZe0Nf2jK2ZtEhWl3ytlqqAFjLmj0hdpkTOyDIxLkDj7o3zNf/uK3h26747zBn1/5keJD9zcDRNTQBLCJfeKx7DRzOr09q4lsYUqRpLOV+8XSpSoFmJgAphhOoANDVsNikFk4v+fRQw9q+WndXtS5aAFiJVCx4HMimZOBJzi1JJ3wh7c+teStxy2GkiqUknmmjSA19ab6+mgQVGEMk+saLLz2p7c9eyyC7PgLScY0QcHhi9v6AEAUhqlmftSwexjjk71sDxMJMYdwYskEmxtPOvFzc/77q4tnfe7zn8oef2I3xTGkZ5uRfF6giMkYUWYdZgTx4w0nkkzUMb5nYIdzZEDI+/G8hUm+yJ9JwMYBGmu+EMu2HoOwaDMr99O2D/7jV2d885tvvO+Vr6PNrXOAMAIVi2nJRjJwOQ3Abs7VqaH6wF23ZtOhv3tg/Y8tsQtFrC/zHZbWWnYoVVAsjgDwt6574sJnNwzC1LGIugpeXYJTAQLGscva/F+oOrIwa9gzsfu5WcwxQVmdGFg7UL/q+E/VHX/ct8Onnpk7dMMNnynefvsp0TPr6qVQBLKBUjYTwVoQ2KoKjbOZxR4PLgs8lyq3fLEGiIyQSiyxYw1D68IIJhsgWLKXZo84/Ja6E45/MjjggP801j7nRPehwoNAHKpmc0mK3nipUXcBAhjEDgYf/9mDbzxyr1lfntucuz8SDQwlTC+JQqhQilUDVdXAmOgvj2455eLfPno66gMVR2aC1W8jp0UEjZ2dP6teD92r7d8B/xypzOg1/C1iNwWgz38jkMDA39HOBSDuyC5ftiW7fNlZcu45q8LH1u6Vv+OuT4b339MYrXt+tvT2+QyujAVlsgJjJeHPY6gnZhhJUfIiQVJvDYYokbB4lUldZF0xBEURE3EGrS1hZp9lnblDD789d9QRX83us7yJ6huuA1AUVYZzSYoOA8QJ35/CN7yonKKlShAo2ZzVB9f1ZN7yjVt+d8UHjn/tvBl1a1Q1THqx+QQoIhhQSIyGPz64+X/OveT21xacggMDEcEoRbi7DSZSV4hp1d5tW2c1ZDoSNusX226pYQqxmwKQEhMoScQlBpgjgrKKEKky19Xdmjvs0Ntyhx16uXNu7+jpZ94VPfpIf/Hhh/85XvvkjGjLZtL+PqviQGyErI0RWJCxIMMJtVQiDP1OHzbXqy09ZTgPw9cKlpE2qKrAObg4AmLHFMfWEQNBADOjxeX2aTfBvvtcn1m5/3XBvivCzKKFXyMfVk+K/p0FyBIBMEbgZJhqhcmzPKWCsFKnkxzdiZJpyOqND3fMOfY/r1v9wTP3/fWrDllw3+KZjd8NDG1RJfQMFfd6YH3v239y67PH/uCmZ05zyhFnAohKUkFXOQINhcYgBKcePP9LALY5lcDSNHcFrGGPxm6bwFT2ZB/+kSRh4BCo2kRQiTHmKbPP8o/l9lmOprPOukyKxcF406Y3xU88+dbi089sduueOyzatGFf19kpGBjkOAwBJMSXbABjFYYjMl5RJKbE6V8SPMHINGwt9aHQxEFVmjd8X9kXvCuTpjykGCbV8qpqWssaI6WAUfF9dUWgIladI3IxVMTHI6xl1OfEzp7FPHfe45mFCx+wS5fkzLJlCBYv/kTQ1tZFhgcB9CKVPSJEgIE//zg5JR5e7HROiSY5ngs32ukiNcsZmpDOpguUCEGzrruoH/zeva//j5aHX79oTvPfN+U4jJ1iU28ht6lraLYrxqCGTExEVkrd3yZOf1WieCBWCeNg9sx6nHbg3McBgImSprx/A07kFLRdWtQkQ5MKc3/g5KhU3j16z177yaO1JYrLNCOCiIUCyrSRs1nNLF36nczSpd+t98u6tw7k93Pbugtx51Z2GzZc7DZtnhVt3hy57i7otp6M9A8skqEhUFgEoggqCkmb6KSVKD6IAAKBmH3SBA8HW4gAZR5dgUyFm0pJ61QVn9em6gVcImxIYYnYy0RrgGwdUF8P29jwPGa0hLZ1JoI5swPT3t4VLFr0MZozywWtrTlubn4MxjyJ7ctmRBiqGTCLXzdWAGOgRq/EbZBcI3IgKBgGboRbTeEEbDIWCALXG0aud13nHKSEM8YoAgpNJmtEYCuX85eY2CBAGWRIUXR0xqr5axe1NVzjxJFh8zeX/kLKzpIF04h+xZMDBUAGDKuGTKDDD+M9Xe6VMFW83lpqYK7KpfoqXzYFYnqGGuue4sYFCBYtAA479LrkeySAarHQqv19H5Cefid9fZDBPkj/EFxfv6J/wLqBgX91+YFGDA05LYSEYhEaFiFRBMQO6mJ/0cRBY1+7sv0VJABkGGqMTz8xDM7kQNksNJsB1eXAdXXKzc2GG5v/y7Q0b6DmpoxtaFRuaVHMaLHc3PI/3FDfDfLE+KMsA0OcTWgUUGpB6i3+cHKWfldIGiLBJj67WMG8g+rmvFZnyLIha/yThyh5UGjGTYJbgpLUGyJAnVNkCRectPQa/y4nrdRfJHfiGFGUfjMQdkJFrcBNal9YSh5BTEYHo26E8YAtf/fF4Kyf8sYGVN53eFhB5DKTGQp10ITgAEyczfVoNvcZO2vOzob9DpCEY1JtLS1/U/UU+gDEOSCOS3lr5VAAMBZkTEKuQCA2IMMAl6eZgABsxegaGkGVVBRIyNsJMF6XYRAgvulN8k5V3Lt+HiqCpjoDEkZf0fkSyNFEuPc3cumX9FxKOU2Vm1lq/hqGxoPOnH74gm0nrZjzPfG9K6tj+aYIKWf3fq2vuLnOthaypn5AVCa1B9iwAGQN4yHb3nBQL1BeWr7nX4Gq6OyinmhQKMmtIAXAqQkEAEokGpTusRLlepqIi440+JAEC0Bm+OFotvt/tyHqmwwpWVINSoItcYIqISYiz9gOSjWYeDh5uJRSjtF8V5qy0UwpCEwKKcY4eEkLXn/Mgo4PX3b/bG7Iqmh5aHkM0q3SCgEBAEMEDobsP5+57xUAHldVy0yxlq3rix5ETtXhgJmn/ecBs06fvnmoA8gkTuM9f+2nWQBu50YdDqAmv5beUTBF26f6jvjo9qi0SVbyLxqAhrW/UeaC0sxphzMsDxiNcojp2FCJIGZo35Cjtx2/7I1X373x8zc/tPU40xSIi8FgeoH1nMQ5K8FYuLi3aM8/ZdnvTt5v7t+LKhnm2B95z78BxwrvMjFQFZ9HO01zIDL+PnwRCD9g2gVgxbDj3fkiuUCTj1SLIo3EUXM2s/6rbzv00hM/ecNx+VCVjUnIDKbe880GiPMxLWlvwKfecOB34GPxBvjbrf0l4ko2JP6bx2T3Ea+h6pHmVSjYAENhOPMlS2d9/4vnHPo1zUcGrCFXMJl5rGAiiJMoA+VvXXDk+xa1Nf7WObVE42WnrqGGnaMmAGtIQuAMUoJhFijwgVP3+f4HX7uyU3qKGcOIx0ooXQkwk7JqhMEw+NJ5L3n4zIPn/zJ2DsbUhF8NlUVNAO4xmLyUgyRfPU2AFhAgKg9/+c2Hrnr/WSs2RT15S0IRM+konk5MXDuk0mjWsGoocZwPg4vfcfj9F718n5NEpNMafnHkXdRQVagJwD0Aw9WA5bkmVHqR0ojfx/uiNOxefkylDIjWfuvth5/+2fMOe4DCUGQoJmM4ZiYln1iEtBoGwE6rckmHX8NnVH4wgSFVNhzH/UVqsBpd9oFjbvzomfu9MhLpImaz89FrqGH38WIJgryoQdAyentJclPUMSlpIhd2P+ZDYDAcnHBZk0/2kW52gkc/fuYBhx61tO2jF11+/8WPPt1NlLVKOePTlpRN2mB9ZzJqe56GtD6YGUogAQhSiEhD8NEHzpFLzjv8nYctbv1Z5FxgDRNBHVShxH9Dcd8apgI1AbhHYLjrigLkIgGKsRFLJJWgFSMCikJxFKMs94+IyDEBIsIvP6D9C7f9x+zLv3vDk/92yfWPv+WZ5wdbiKGaMQ6W1DAzCJx+fVhjLT9MyWh2TlUkFKZizEpE+y9p2XzRafv+4LxVS76QC2y/E+HAcAz4PksljokaaqggSKuNWaWGHeATpNMkauQeWt97cOdQpDahQp5os3EG4ETRmDF88OLWBwNDQ6pKSmnJB8GJGiY4IqLOweKSP96/8WO/unvj8Xc/27l0U3e+IY4TU5iMHzDJm/RRZvWNRQQlyWgCUHtbrvuY5XM2vunI+Ve/4qAF32ypCzaLKCmUmeGrgUr1CKilNtVQcdQE4B6B7X1/0zQLVRJVy8xxIo+xYdvQ29c8vy3zwPq+Vz6+oe/1G7oGXcdAaHoLDmHsICoIjEF9NsCcRusWz6wzKxfMuOSgRa1rjlgyY+P81vprAJAqSFQNJ9U0I46LUQtnaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYXBf4/c2werMAFzmwAAAAASUVORK5CYII= \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m
deleted file mode 100644
index 98086feeb1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m
+++ /dev/null
@@ -1,18 +0,0 @@
-#import <XCTest/XCTest.h>
-#import "OHHTTPStubs.h"
-
-@interface OHPathHelpersTests : XCTestCase
-
-@end
-
-@implementation OHPathHelpersTests
-
-- (void)testOHResourceBundle {
- NSBundle *classBundle = [NSBundle bundleForClass:self.class];
- NSBundle *expectedBundle = [NSBundle bundleWithPath:[classBundle pathForResource:@"empty"
- ofType:@"bundle"]];
-
- XCTAssertEqual(OHResourceBundle(@"empty", self.class), expectedBundle);
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m
deleted file mode 100644
index a4ee670a6e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m
+++ /dev/null
@@ -1,225 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-#import "AFHTTPRequestOperation.h"
-
-static const NSTimeInterval kResponseTimeTolerence = 1.0;
-
-@interface AFNetworkingTests : XCTestCase @end
-
-@implementation AFNetworkingTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
--(void)test_AFHTTPRequestOperation_success
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- [op setResponseSerializer:[AFHTTPResponseSerializer serializer]];
- __block __strong id response = nil;
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
--(void)test_AFHTTPRequestOperation_multiple_choices
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:300 headers:@{@"Location":@"http://www.iana.org/domains/another/example"}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- AFHTTPResponseSerializer* serializer = [AFHTTPResponseSerializer serializer];
- [serializer setAcceptableStatusCodes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 101)]];
- [op setResponseSerializer:serializer];
-
- __block __strong id response = nil;
- [op setRedirectResponseBlock:^NSURLRequest *(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse) {
- if (redirectResponse == nil) {
- return request;
- }
- XCTFail(@"Unexpected redirect");
- return nil;
- }];
-
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
--(void)test_AFHTTPRequestOperation_redirect
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
-
- NSURL* redirectURL = [NSURL URLWithString:@"http://www.iana.org/domains/another/example"];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[NSData data] statusCode:311 headers:@{@"Location":redirectURL.absoluteString}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- [op setResponseSerializer:[AFHTTPResponseSerializer serializer]];
-
- __block __strong NSURL* url = nil;
- [op setRedirectResponseBlock:^NSURLRequest *(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse) {
- if (redirectResponse == nil) {
- return request;
- }
- url = request.URL;
- [expectation fulfill];
- return nil;
- }];
-
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- XCTFail(@"Unexpected response");
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(url, redirectURL, @"Unexpected data received");
-}
-
-@end
-
-
-
-#pragma mark - NSURLSession / AFHTTPURLSession support
-
-// Compile this only if SDK version (…MAX_ALLOWED) is iOS7+/10.9+ because NSURLSession is a class only known starting these SDKs
-// (this code won't compile if we use an eariler SDKs, like when building with Xcode4)
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) \
- || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import "AFHTTPSessionManager.h"
-
-@interface AFNetworkingTests (NSURLSession) @end
-@implementation AFNetworkingTests (NSURLSession)
-
-- (void)test_AFHTTPURLSessionCustom
-{
- if ([NSURLSession class] && [NSURLSessionConfiguration class])
- {
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.2;
- NSDictionary *expectedResponseDict = @{@"Success" : @"Yes"};
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.scheme isEqualToString:@"stubs"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithJSONObject:expectedResponseDict statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPSessionManager request finished"];
-
- NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURL* baseURL = [NSURL URLWithString:@"stubs://stubs/"];
- AFHTTPSessionManager *sessionManager = [[AFHTTPSessionManager alloc] initWithBaseURL:baseURL
- sessionConfiguration:sessionConfig];
-
- __block __strong id response = nil;
- [sessionManager GET:@"foo"
- parameters:nil
- success:^(NSURLSessionDataTask *task, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- }
- failure:^(NSURLSessionDataTask *task, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponseDict, @"Unexpected data received");
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-@end
-
-#else
-#warning Unit Tests using NSURLSession were not compiled nor executed, because NSURLSession is only available since iOS7/OSX10.9 SDK. \
--------- Compile using iOS7 or OSX10.9 SDK then launch the tests on the iOS7 simulator or an OSX10.9 target for them to be executed.
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m
deleted file mode 100644
index db7725703c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m
+++ /dev/null
@@ -1,147 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2015 Jinlian (Sunny) Wang
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface MocktailTests : XCTestCase
-@property(nonatomic, strong) NSURLSession *session;
-@end
-
-@implementation MocktailTests
-
-- (void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-
- NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
- self.session = [NSURLSession sessionWithConfiguration:configuration delegate:nil delegateQueue:nil];
-}
-
-- (void)tearDown
-{
- [super tearDown];
- self.session = nil;
-}
-
-- (void)testMoctTailLoginSuccess
-{
- NSError *error = nil;
- NSBundle *bundle = [NSBundle bundleForClass:self.class];
- [OHHTTPStubs stubRequestsUsingMocktailNamed:@"login" inBundle:bundle error: &error];
- XCTAssertNil(error, @"Error while stubbing 'login.tail':%@", [error localizedDescription]);
- [self runLogin];
-}
-
-- (void)testMocktailsAtFolder
-{
- NSError *error = nil;
- NSBundle *bundle = [NSBundle bundleForClass:self.class];
- [OHHTTPStubs stubRequestsUsingMocktailsAtPath:@"MocktailFolder" inBundle:bundle error:&error];
- XCTAssertNil(error, @"Error while stubbing Mocktails at folder 'MocktailFolder': %@", [error localizedDescription]);
- [self runLogin];
- [self runGetCards];
-}
-
-- (void)runLogin
-{
- NSURL *url = [NSURL URLWithString:@"http://happywebservice.com/users"];
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url
- cachePolicy:NSURLRequestUseProtocolCachePolicy
- timeoutInterval:60.0];
-
- [request addValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request addValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- request.HTTPMethod = @"POST";
- NSDictionary *mapData = @{@"iloveit": @"happyuser1",
- @"password": @"username"};
- NSData *postData = [NSJSONSerialization dataWithJSONObject:mapData options:0 error:NULL];
- request.HTTPBody = postData;
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- NSURLSessionDataTask *postDataTask = [self.session dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
-
- XCTAssertNil(error, @"Error while logging in.");
-
- NSDictionary *json = nil;
- if(!error && [@"application/json" isEqual:response.MIMEType])
- {
- json = [NSJSONSerialization JSONObjectWithData:data options:0 error:&error];
- }
-
- XCTAssertNotNil(json, @"The response is not a json object");
- XCTAssertEqualObjects(json[@"status"], @"SUCCESS", @"The response does to return a successful status");
- XCTAssertNotNil(json[@"user_token"], @"The response does not contain a user token");
-
- [expectation fulfill];
- }];
-
- [postDataTask resume];
-
- [self waitForExpectationsWithTimeout:10 handler:nil];
-}
-
-- (void)runGetCards
-{
- NSURL *url = [NSURL URLWithString:@"http://happywebservice.com/cards"];
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url
- cachePolicy:NSURLRequestUseProtocolCachePolicy
- timeoutInterval:60.0];
-
- [request addValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request addValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- request.HTTPMethod = @"GET";
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- NSURLSessionDataTask *getDataTask = [self.session dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
-
- XCTAssertNil(error, @"Error while getting cards.");
-
- NSArray *json = nil;
- if(!error && [@"application/json" isEqual:response.MIMEType])
- {
- json = [NSJSONSerialization JSONObjectWithData:data options:0 error:&error];
- }
-
- XCTAssertNotNil(json, @"The response is not a json object");
- XCTAssertEqual(json.count, 2, @"The response does not contain 2 cards");
- XCTAssertEqualObjects([json firstObject][@"amount"], @"$25.28", @"The first card amount does not match");
-
- [expectation fulfill];
- }];
-
- [getDataTask resume];
-
- [self waitForExpectationsWithTimeout:10 handler:nil];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m
deleted file mode 100644
index 1321854169..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m
+++ /dev/null
@@ -1,394 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLConnectionDelegateTests : XCTestCase <NSURLConnectionDataDelegate> @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.2;
-
-@implementation NSURLConnectionDelegateTests
-{
- NSMutableData* _data;
- NSError* _error;
-
- NSURL* _redirectRequestURL;
- NSInteger _redirectResponseStatusCode;
-
- XCTestExpectation* _connectionFinishedExpectation;
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Global Setup + NSURLConnectionDelegate implementation
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)setUp
-{
- [super setUp];
- _data = [[NSMutableData alloc] init];
- [OHHTTPStubs removeAllStubs];
-}
-
--(void)tearDown
-{
- // in case the test timed out and finished before a running NSURLConnection ended,
- // we may continue receive delegate messages anyway if we forgot to cancel.
- // So avoid sending messages to deallocated object in this case by ensuring we reset it to nil
- _data = nil;
- _error = nil;
- _connectionFinishedExpectation = nil;
- [super tearDown];
-}
-
-- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response
-{
- _redirectRequestURL = request.URL;
- if (response)
- {
- if ([response isKindOfClass:NSHTTPURLResponse.class])
- {
- _redirectResponseStatusCode = ((NSHTTPURLResponse *) response).statusCode;
- }
- else
- {
- _redirectResponseStatusCode = 0;
- }
- }
- else
- {
- // we get a nil response when NSURLConnection canonicalizes the URL, we don't care about that.
- }
- return request;
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
-{
- _data.length = 0U;
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
-{
- [_data appendData:data];
-}
-
--(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
-{
- _error = error; // keep strong reference
- [_connectionFinishedExpectation fulfill];
-}
-
--(void)connectionDidFinishLoading:(NSURLConnection *)connection
-{
- [_connectionFinishedExpectation fulfill];
-}
-
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark NSURLConnection + Delegate
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnectionDelegate_success
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
--(void)test_NSURLConnectionDelegate_multiple_choices
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:300
- headers:@{@"Location":@"http://www.iana.org/domains/another/example"}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
--(void)test_NSURLConnectionDelegate_error
-{
- static const NSTimeInterval kResponseTime = 0.5;
- NSError* expectedError = [NSError errorWithDomain:NSURLErrorDomain code:404 userInfo:nil];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- OHHTTPStubsResponse* resp = [OHHTTPStubsResponse responseWithError:expectedError];
- resp.responseTime = kResponseTime;
- return resp;
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqual(_data.length, (NSUInteger)0, @"Received unexpected network data %@", _data);
- XCTAssertEqualObjects(_error.domain, expectedError.domain, @"Invalid error response domain");
- XCTAssertEqual(_error.code, expectedError.code, @"Invalid error response code");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Cancelling requests
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_cancel
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[@"<this data should never have time to arrive>" dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:500
- headers:nil]
- requestTime:0.0 responseTime:1.5];
- }];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- XCTestExpectation* waitExpectation = [self expectationWithDescription:@"Waiting 2s, after cancelling in the middle"];
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
- [cxn cancel];
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
- [waitExpectation fulfill];
- });
- });
-
- [self waitForExpectationsWithTimeout:5 handler:^(NSError *error) {
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
- }];
-
- XCTAssertEqual(_data.length, (NSUInteger)0, @"Received unexpected data but the request should have been cancelled");
- XCTAssertNil(_error, @"Received unexpected network error but the request should have been cancelled");
-
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Cancelling requests
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_cookies
-{
- NSString* const cookieName = @"SESSIONID";
- NSString* const cookieValue = [NSProcessInfo.processInfo globallyUniqueString];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSString* cookie = [NSString stringWithFormat:@"%@=%@;", cookieName, cookieValue];
- NSDictionary* headers = @{@"Set-Cookie": cookie};
- return [[OHHTTPStubsResponse responseWithData:[@"Yummy cookies" dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:200
- headers:headers]
- requestTime:0.0 responseTime:0.1];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- // Set the cookie accept policy to accept all cookies from the main document domain
- // (especially in case the previous policy was "NSHTTPCookieAcceptPolicyNever")
- NSHTTPCookieStorage* cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage;
- NSHTTPCookieAcceptPolicy previousAcceptPolicy = cookieStorage.cookieAcceptPolicy; // keep it to restore later
- cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain;
-
- // Send the request and wait for the response containing the Set-Cookie headers
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:^(NSError *error) {
- [cxn cancel]; // In case we timed out (test failed), cancel the request to avoid further delegate method calls
- }];
-
- /* Check that the cookie has been properly stored */
- NSArray* cookies = [cookieStorage cookiesForURL:req.URL];
- BOOL cookieFound = NO;
- for (NSHTTPCookie* cookie in cookies)
- {
- if ([cookie.name isEqualToString:cookieName])
- {
- cookieFound = YES;
- XCTAssertEqualObjects(cookie.value, cookieValue, @"The cookie does not have the expected value");
- }
- }
- XCTAssertTrue(cookieFound, @"The cookie was not stored as expected");
-
-
- // As a courtesy, restore previous policy before leaving
- cookieStorage.cookieAcceptPolicy = previousAcceptPolicy;
-
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Redirected requests
-///////////////////////////////////////////////////////////////////////////////////
-
-- (void)test_NSURLConnection_redirected
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* redirectData = [[NSString stringWithFormat:@"%@ - redirect", NSStringFromSelector(_cmd)] dataUsingEncoding:NSUTF8StringEncoding];
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- NSURL* redirectURL = [NSURL URLWithString:@"http://www.yahoo.com/"];
- NSString* redirectCookieName = @"yahooCookie";
- NSString* redirectCookieValue = [NSProcessInfo.processInfo globallyUniqueString];
-
- // Set the cookie accept policy to accept all cookies from the main document domain
- // (especially in case the previous policy was "NSHTTPCookieAcceptPolicyNever")
- NSHTTPCookieStorage* cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage;
- NSHTTPCookieAcceptPolicy previousAcceptPolicy = cookieStorage.cookieAcceptPolicy; // keep it to restore later
- cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain;
-
- NSString* endCookieName = @"googleCookie";
- NSString* endCookieValue = [NSProcessInfo.processInfo globallyUniqueString];
- NSURL *endURL = [NSURL URLWithString:@"http://www.google.com/"];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- if ([request.URL isEqual:redirectURL]) {
- NSString* redirectCookie = [NSString stringWithFormat:@"%@=%@;", redirectCookieName, redirectCookieValue];
- NSDictionary* headers = @{ @"Location": endURL.absoluteString,
- @"Set-Cookie": redirectCookie };
- return [[OHHTTPStubsResponse responseWithData:redirectData
- statusCode:311 // any 300-level request will do
- headers:headers]
- requestTime:kRequestTime responseTime:kResponseTime];
- } else {
- NSString* endCookie = [NSString stringWithFormat:@"%@=%@;", endCookieName, endCookieValue];
- NSDictionary* headers = @{ @"Set-Cookie": endCookie };
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:headers]
- requestTime:kRequestTime responseTime:kResponseTime];
- }
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:redirectURL];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:2 * (kRequestTime+kResponseTime+kResponseTimeTolerence) handler:^(NSError *error) {
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
- }];
-
- XCTAssertEqualObjects(_redirectRequestURL, endURL, @"Invalid redirect request URL");
- XCTAssertEqual(_redirectResponseStatusCode, (NSInteger)311, @"Invalid redirect response status code");
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], (2 * kRequestTime) + kResponseTime, 2 * kResponseTimeTolerence, @"Invalid response time");
-
- /* Check that the redirect cookie has been properly stored */
- NSArray* redirectCookies = [cookieStorage cookiesForURL:req.URL];
- BOOL redirectCookieFound = NO;
- for (NSHTTPCookie* cookie in redirectCookies)
- {
- if ([cookie.name isEqualToString:redirectCookieName])
- {
- redirectCookieFound = YES;
- XCTAssertEqualObjects(cookie.value, redirectCookieValue, @"The redirect cookie does not have the expected value");
- }
- }
- XCTAssertTrue(redirectCookieFound, @"The redirect cookie was not stored as expected");
-
- /* Check that the end cookie has been properly stored */
- NSArray* endCookies = [cookieStorage cookiesForURL:endURL];
- BOOL endCookieFound = NO;
- for (NSHTTPCookie* cookie in endCookies)
- {
- if ([cookie.name isEqualToString:endCookieName])
- {
- endCookieFound = YES;
- XCTAssertEqualObjects(cookie.value, endCookieValue, @"The end cookie does not have the expected value");
- }
- }
- XCTAssertTrue(endCookieFound, @"The end cookie was not stored as expected");
-
-
- // As a courtesy, restore previous policy before leaving
- cookieStorage.cookieAcceptPolicy = previousAcceptPolicy;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m
deleted file mode 100644
index 1fe6c91e87..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m
+++ /dev/null
@@ -1,187 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLConnectionTests : XCTestCase @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.3;
-
-@implementation NSURLConnectionTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-static const NSTimeInterval kRequestTime = 0.1;
-static const NSTimeInterval kResponseTime = 0.5;
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSURLConnection sendSynchronousRequest:returningResponse:error:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_sendSyncronousRequest_mainQueue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSData* data = [NSURLConnection sendSynchronousRequest:req returningResponse:NULL error:NULL];
-
- XCTAssertEqualObjects(data, testData, @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSURLConnection_sendSyncronousRequest_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous request completed"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSURLConnection_sendSyncronousRequest_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Single [NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)_test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:(NSOperationQueue*)queue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Asynchronous request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- [NSURLConnection sendAsynchronousRequest:req queue:queue completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqualObjects(data, testData, @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-
--(void)test_NSURLConnection_sendAsyncronousRequest_mainQueue
-{
- [self _test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:NSOperationQueue.mainQueue];
-}
-
-
--(void)test_NSURLConnection_sendAsyncronousRequest_parallelQueue
-{
- [self _test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:[NSOperationQueue new]];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Multiple Parallel [NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)_test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:(NSOperationQueue*)queue
-{
- __block BOOL testFinished = NO;
- NSData* (^dataForRequest)(NSURLRequest*) = ^(NSURLRequest* req) {
- return [[NSString stringWithFormat:@"<Response for URL %@>",req.URL.absoluteString] dataUsingEncoding:NSUTF8StringEncoding];
- };
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSData* retData = dataForRequest(request);
- NSTimeInterval responseTime = [request.URL.lastPathComponent doubleValue];
- return [[OHHTTPStubsResponse responseWithData:retData
- statusCode:200
- headers:nil]
- requestTime:responseTime*.1 responseTime:responseTime];
- }];
-
- // Reusable code to send a request that will respond in the given response time
- void (^sendAsyncRequest)(NSTimeInterval) = ^(NSTimeInterval responseTime)
- {
- NSString* desc = [NSString stringWithFormat:@"Asynchronous request with response time %.f finished", responseTime];
- XCTestExpectation* expectation = [self expectationWithDescription:desc];
-
- NSString* urlString = [NSString stringWithFormat:@"http://dummyrequest/concurrent/time/%f",responseTime];
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-// [SenTestLog testLogWithFormat:@"== Sending request %@\n", req];
- NSDate* startDate = [NSDate date];
- [NSURLConnection sendAsynchronousRequest:req queue:queue completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
-// [SenTestLog testLogWithFormat:@"== Received response for request %@\n", req];
- XCTAssertEqualObjects(data, dataForRequest(req), @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], (responseTime*.1)+responseTime, kResponseTimeTolerence, @"Invalid response time");
-
- if (!testFinished) [expectation fulfill];
- }];
- };
-
- static NSTimeInterval time3 = 1.5, time2 = 1.0, time1 = 0.5;
- sendAsyncRequest(time3); // send this one first, should receive last
- sendAsyncRequest(time2); // send this one next, shoud receive 2nd
- sendAsyncRequest(time1); // send this one last, should receive first
-
- [self waitForExpectationsWithTimeout:MAX(time1,MAX(time2,time3))+kResponseTimeTolerence handler:nil];
- testFinished = YES;
-}
-
--(void)test_NSURLConnection_sendMultipleAsyncronousRequests_mainQueue
-{
- [self _test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:NSOperationQueue.mainQueue];
-}
-
--(void)test_NSURLConnection_sendMultipleAsyncronousRequests_parallelQueue
-{
- [self _test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:[NSOperationQueue new]];
-}
-
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m
deleted file mode 100644
index 2e829ca432..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m
+++ /dev/null
@@ -1,227 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-// Compile this only if SDK version (…MAX_ALLOWED) is iOS7+/10.9+ because NSURLSession is a class only known starting these SDKs
-// (this code won't compile if we use an eariler SDKs, like when building with Xcode4)
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) \
- || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLSessionTests : XCTestCase <NSURLSessionDataDelegate> @end
-
-@implementation NSURLSessionTests
-{
- NSMutableData* _receivedData;
- XCTestExpectation* _taskDidCompleteExpectation;
-}
-
-- (void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
- _receivedData = nil;
-}
-
-- (void)_test_NSURLSession:(NSURLSession*)session
- jsonForStub:(id)json
- completion:(void(^)(NSError* errorResponse,id jsonResponse))completion
-{
- if ([NSURLSession class])
- {
- static const NSTimeInterval kRequestTime = 0.0;
- static const NSTimeInterval kResponseTime = 0.2;
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithJSONObject:json statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- __block __strong id dataResponse = nil;
- __block __strong NSError* errorResponse = nil;
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"foo://unknownhost:666"]];
- request.HTTPMethod = @"GET";
- [request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request setValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- NSURLSessionDataTask *task = [session dataTaskWithRequest:request
- completionHandler:^(NSData *data, NSURLResponse *response, NSError *error)
- {
- errorResponse = error;
- if (!error)
- {
- NSError *jsonError = nil;
- NSDictionary *jsonObject = [NSJSONSerialization JSONObjectWithData:data options:0 error:&jsonError];
- XCTAssertNil(jsonError, @"Unexpected error deserializing JSON response");
- dataResponse = jsonObject;
- }
- [expectation fulfill];
- }];
-
- [task resume];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+0.5 handler:nil];
-
- completion(errorResponse, dataResponse);
- }
-}
-
-// The shared session use the same mechanism as NSURLConnection
-// (based on protocols registered via +[NSURLProtocol registerClass:] and all)
-// and no NSURLSessionConfiguration
-- (void)test_SharedNSURLSession
-{
- if ([NSURLSession class])
- {
- NSURLSession *session = [NSURLSession sharedSession];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionDefaultConfig
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionEphemeralConfig
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration ephemeralSessionConfiguration];
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionDefaultConfig_Disabled
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration ephemeralSessionConfiguration];
- [OHHTTPStubs setEnabled:NO forSessionConfiguration:config]; // Disable stubs for this session
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- // Stubs were disable for this session, so we should get an error instead of the stubs data
- XCTAssertNotNil(errorResponse, @"Expected error but none found");
- XCTAssertNil(jsonResponse, @"Data should not have been received as stubs should be disabled");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSession_DataTask_DelegateMethods
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.scheme isEqualToString:@"stub"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:200 headers:nil]
- responseTime:0.5];
- }];
-
- _taskDidCompleteExpectation = [self expectationWithDescription:@"NSURLSessionDataTask completion delegate method called"];
-
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURLSession* session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:nil];
-
- [[session dataTaskWithURL:[NSURL URLWithString:@"stub://foo"]] resume];
-
- [self waitForExpectationsWithTimeout:5 handler:nil];
-
- XCTAssertEqualObjects(_receivedData, expectedResponse, @"Unexpected response");
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-//---------------------------------------------------------------
-#pragma mark - Delegate Methods
-
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveResponse:(NSURLResponse *)response completionHandler:(void (^)(NSURLSessionResponseDisposition))completionHandler
-{
- _receivedData = [NSMutableData new];
- completionHandler(NSURLSessionResponseAllow);
-}
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data
-{
- [_receivedData appendData:data];
-}
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
-{
- [_taskDidCompleteExpectation fulfill];
-}
-
-@end
-
-#else
-#warning Unit Tests using NSURLSession were not compiled nor executed, because NSURLSession is only available since iOS7/OSX10.9 SDK. \
--------- Compile using iOS7 or OSX10.9 SDK then launch the tests on the iOS7 simulator or an OSX10.9 target for them to be executed.
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m
deleted file mode 100644
index ec263d543f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m
+++ /dev/null
@@ -1,216 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-static const NSTimeInterval kResponseTimeTolerence = 0.3;
-
-@interface NilValuesTests : XCTestCase @end
-
-@implementation NilValuesTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-- (void)test_NilData
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- return [OHHTTPStubsResponse responseWithData:nil statusCode:400 headers:nil];
-#pragma clang diagnostic pop
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_EmptyData
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[NSData data] statusCode:400 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_NilPath
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- return [[OHHTTPStubsResponse responseWithFileAtPath:nil statusCode:501 headers:nil]
- requestTime:0.01 responseTime:0.01];
-#pragma clang diagnostic pop
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_InvalidPath
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithFileAtPath:@"-invalid-path-" statusCode:500 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_EmptyFile
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSString* emptyFile = OHPathForFile(@"emptyfile.json", self.class);
- return [[OHHTTPStubsResponse responseWithFileAtPath:emptyFile statusCode:500 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)_test_NilURLAndCookieHandlingEnabled:(BOOL)handleCookiesEnabled
-{
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [OHHTTPStubsResponse responseWithData:expectedResponse
- statusCode:200
- headers:nil];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- NSMutableURLRequest* req = [NSMutableURLRequest requestWithURL:nil];
-#pragma clang diagnostic pop
- req.HTTPShouldHandleCookies = handleCookiesEnabled;
-
- __block NSData* response = nil;
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- response = data;
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
-- (void)test_NilURLAndCookieHandlingEnabled
-{
- [self _test_NilURLAndCookieHandlingEnabled:YES];
-}
-
-- (void)test_NilURLAndCookieHandlingDisabled
-{
- [self _test_NilURLAndCookieHandlingEnabled:NO];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift
deleted file mode 100644
index 3d2f1c3577..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift
+++ /dev/null
@@ -1,200 +0,0 @@
-//
-// SwiftHelpersTests.swift
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 20/09/2015.
-// Copyright © 2015 AliSoftware. All rights reserved.
-//
-
-import Foundation
-import XCTest
-import OHHTTPStubs
-
-class SwiftHelpersTests : XCTestCase {
-
- func testIsScheme() {
- let matcher = isScheme("foo")
-
- let urls = [
- "foo:": true,
- "foo://": true,
- "foo://bar/baz": true,
- "bar://": false,
- "bar://foo/": false,
- "foobar://": false
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isScheme(\"foo\") matcher failed when testing url \(url)")
- }
- }
-
- func testIsHost() {
- let matcher = isHost("foo")
-
- let urls = [
- "foo:": false,
- "foo://": false,
- "foo://bar/baz": false,
- "bar://foo": true,
- "bar://foo/baz": true,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isHost(\"foo\") matcher failed when testing url \(url)")
- }
- }
-
- func testIsPath_absoluteURL() {
- testIsPath("/foo/bar/baz", isAbsoluteMatcher: true)
- }
-
- func testIsPath_relativeURL() {
- testIsPath("foo/bar/baz", isAbsoluteMatcher: false)
- }
-
- func testIsPath(path: String, isAbsoluteMatcher: Bool) {
- let matcher = isPath(path)
-
- let urls = [
- // Absolute URLs
- "scheme:": false,
- "scheme://": false,
- "scheme://foo/bar/baz": false,
- "scheme://host/foo/bar": false,
- "scheme://host/foo/bar/baz": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz?q=1": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz#anchor": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz;param": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz/wizz": false,
- "scheme://host/path#/foo/bar/baz": false,
- "scheme://host/path?/foo/bar/baz": false,
- "scheme://host/path;/foo/bar/baz": false,
- // Relative URLs
- "foo/bar/baz": !isAbsoluteMatcher,
- "foo/bar/baz?q=1": !isAbsoluteMatcher,
- "foo/bar/baz#anchor": !isAbsoluteMatcher,
- "foo/bar/baz;param": !isAbsoluteMatcher,
- "foo/bar/baz/wizz": false,
- "path#/foo/bar/baz": false,
- "path?/foo/bar/baz": false,
- "path;/foo/bar/baz": false,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- let p = req.URL?.path
- print("URL: \(url) -> Path: \(p)")
- XCTAssert(matcher(req) == result, "isPath(\"\(path)\" matcher failed when testing url \(url)")
- }
- }
-
- func testIsExtension() {
- let matcher = isExtension("txt")
-
- let urls = [
- "txt:": false,
- "txt://": false,
- "txt://txt/txt/txt": false,
- "scheme://host/foo/bar.png": false,
- "scheme://host/foo/bar.txt": true,
- "scheme://host/foo/bar.txt?q=1": true,
- "scheme://host/foo/bar.baz?q=wizz.txt": false,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isExtension(\"txt\") matcher failed when testing url \(url)")
- }
-
- }
-
- func testContainsQueryParams() {
- let params: [String: String?] = ["q":"test", "lang":"en", "empty":"", "flag":nil]
- let matcher = containsQueryParams(params)
-
- let urls = [
- "foo://bar": false,
- "foo://bar?q=test": false,
- "foo://bar?lang=en": false,
- "foo://bar#q=test&lang=en&empty=&flag": false,
- "foo://bar#lang=en&empty=&flag&q=test": false,
- "foo://bar;q=test&lang=en&empty=&flag": false,
- "foo://bar;lang=en&empty=&flag&q=test": false,
-
- "foo://bar?q=test&lang=en&empty=&flag": true,
- "foo://bar?lang=en&flag&empty=&q=test": true,
- "foo://bar?q=test&lang=en&empty=&flag#anchor": true,
- "foo://bar?q=test&lang=en&empty&flag": false, // key "empty" with no value is matched against nil, not ""
- "foo://bar?q=test&lang=en&empty=&flag=": false, // key "flag" with empty value is matched against "", not nil
- "foo://bar?q=en&lang=test&empty=&flag": false, // param keys and values mismatch
- "foo://bar?q=test&lang=en&empty=&flag&&wizz=fuzz": true,
- "foo://bar?wizz=fuzz&empty=&lang=en&flag&&q=test": true,
- "?q=test&lang=en&empty=&flag": true,
- "?lang=en&flag&empty=&q=test": true,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "containsQueryParams(\"\(params)\") matcher failed when testing url \(url)")
- }
- }
-
- let sampleURLs = [
- // Absolute URLs
- "scheme:",
- "scheme://",
- "scheme://foo/bar/baz",
- "scheme://host/foo/bar",
- "scheme://host/foo/bar/baz",
- "scheme://host/foo/bar/baz?q=1",
- "scheme://host/foo/bar/baz#anchor",
- "scheme://host/foo/bar/baz;param",
- "scheme://host/foo/bar/baz/wizz",
- "scheme://host/path#/foo/bar/baz",
- "scheme://host/path?/foo/bar/baz",
- "scheme://host/path;/foo/bar/baz",
- // Relative URLs
- "foo/bar/baz",
- "foo/bar/baz?q=1",
- "foo/bar/baz#anchor",
- "foo/bar/baz;param",
- "foo/bar/baz/wizz",
- "path#/foo/bar/baz",
- "path?/foo/bar/baz",
- "path;/foo/bar/baz"
- ]
-
- let trueMatcher: OHHTTPStubsTestBlock = { _ in return true }
- let falseMatcher: OHHTTPStubsTestBlock = { _ in return false }
-
- func testOrOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((trueMatcher || trueMatcher)(req) == true, "trueMatcher || trueMatcher should result in a trueMatcher")
- XCTAssert((trueMatcher || falseMatcher)(req) == true, "trueMatcher || falseMatcher should result in a trueMatcher")
- XCTAssert((falseMatcher || trueMatcher)(req) == true, "falseMatcher || trueMatcher should result in a trueMatcher")
- XCTAssert((falseMatcher || falseMatcher)(req) == false, "falseMatcher || falseMatcher should result in a falseMatcher")
- }
- }
-
- func testAndOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((trueMatcher && trueMatcher)(req) == true, "trueMatcher && trueMatcher should result in a trueMatcher")
- XCTAssert((trueMatcher && falseMatcher)(req) == false, "trueMatcher && falseMatcher should result in a falseMatcher")
- XCTAssert((falseMatcher && trueMatcher)(req) == false, "falseMatcher && trueMatcher should result in a falseMatcher")
- XCTAssert((falseMatcher && falseMatcher)(req) == false, "falseMatcher && falseMatcher should result in a falseMatcher")
- }
- }
-
- func testNotOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((!trueMatcher)(req) == false, "!trueMatcher should result in a falseMatcher")
- XCTAssert((!falseMatcher)(req) == true, "!falseMatcher should result in a trueMatcher")
- }
- }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m
deleted file mode 100644
index b2e820f80f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m
+++ /dev/null
@@ -1,162 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface TimingTests : XCTestCase
-{
- NSMutableData* _data;
- NSError* _error;
- XCTestExpectation* _connectionFinishedExpectation;
-
-// NSDate* _didReceiveResponseTS;
- NSDate* _didFinishLoadingTS;
-}
-@end
-
-@implementation TimingTests
-
--(void)setUp
-{
- [super setUp];
-
- _data = [NSMutableData new];
- _error = nil;
-// _didReceiveResponseTS = nil;
- _didFinishLoadingTS = nil;
- [OHHTTPStubs removeAllStubs];
-}
--(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
-{
- _data.length = 0U;
- // NOTE: This timing info is not reliable as Cocoa always calls the connection:didReceiveResponse: delegate method just before
- // calling the first "connection:didReceiveData:", even if the [id<NSURLProtocolClient> URLProtocol:didReceiveResponse:…] method was called way before. So we are not testing this
-// _didReceiveResponseTS = [NSDate date];
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
-{
- [_data appendData:data];
-}
-
--(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
-{
- _error = error; // keep strong reference
- _didFinishLoadingTS = [NSDate date];
- [_connectionFinishedExpectation fulfill];
-}
-
--(void)connectionDidFinishLoading:(NSURLConnection *)connection
-{
- _didFinishLoadingTS = [NSDate date];
- [_connectionFinishedExpectation fulfill];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////////
-
-static NSTimeInterval const kResponseTimeTolerence = 0.8;
-static NSTimeInterval const kSecurityTimeout = 5.0;
-
--(void)_testWithData:(NSData*)stubData requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:stubData
- statusCode:200
- headers:nil]
- requestTime:requestTime responseTime:responseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startTS = [NSDate date];
-
- [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:requestTime+responseTime+kResponseTimeTolerence+kSecurityTimeout handler:nil];
-
- XCTAssertEqualObjects(_data, stubData, @"Invalid data response");
-
-// XCTAssertEqualWithAccuracy([_didReceiveResponseTS timeIntervalSinceDate:startTS], requestTime,
-// kResponseTimeTolerence, @"Invalid request time");
- XCTAssertEqualWithAccuracy([_didFinishLoadingTS timeIntervalSinceDate:startTS], requestTime + responseTime,
- kResponseTimeTolerence, @"Invalid response time");
-
- [NSThread sleepForTimeInterval:0.01]; // Time for the test to wrap it all (otherwise we may have "Test did not finish" warning)
-}
-
-
-
-
-
-
--(void)test_RequestTime0_ResponseTime0
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [self _testWithData:testData requestTime:0 responseTime:0];
-}
-
--(void)test_SmallDataLargeTime_CumulativeAlgorithm
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- // 21 bytes in 23/4 of a second = 0.913042 byte per slot: we need to check that the cumulative algorithm works
- [self _testWithData:testData requestTime:0 responseTime:5.75];
-}
-
--(void)test_RequestTime1_ResponseTime0
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [self _testWithData:testData requestTime:1 responseTime:0];
-}
-
--(void)test_LongData_RequestTime1_ResponseTime5
-{
- static NSUInteger const kDataLength = 1024;
- NSMutableData* testData = [NSMutableData dataWithCapacity:kDataLength];
- NSData* chunk = [[NSProcessInfo.processInfo globallyUniqueString] dataUsingEncoding:NSUTF8StringEncoding];
- while(testData.length<kDataLength)
- {
- [testData appendData:chunk];
- }
- [self _testWithData:testData requestTime:1 responseTime:5];
-}
-
--(void)test_VeryLongData_RequestTime1_ResponseTime0
-{
- static NSUInteger const kDataLength = 609792;
- NSMutableData* testData = [NSMutableData dataWithCapacity:kDataLength];
- NSData* chunk = [[NSProcessInfo.processInfo globallyUniqueString] dataUsingEncoding:NSUTF8StringEncoding];
- while(testData.length<kDataLength)
- {
- [testData appendData:chunk];
- }
- [self _testWithData:testData requestTime:1 responseTime:0];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m
deleted file mode 100644
index 0e34aea54f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m
+++ /dev/null
@@ -1,116 +0,0 @@
-/***********************************************************************************
- *
- * Copyright (c) 2012 Olivier Halligon
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
- ***********************************************************************************/
-
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface WithContentsOfURLTests : XCTestCase @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.2;
-
-@implementation WithContentsOfURLTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-static const NSTimeInterval kRequestTime = 0.1;
-static const NSTimeInterval kResponseTime = 0.5;
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSString stringWithContentsOfURL:encoding:error:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSString_stringWithContentsOfURL_mainQueue
-{
- NSString* testString = NSStringFromSelector(_cmd);
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[testString dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSDate* startDate = [NSDate date];
-
- NSString* string = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]
- encoding:NSUTF8StringEncoding
- error:NULL];
-
- XCTAssertEqualObjects(string, testString, @"Invalid returned string");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kResponseTime+kRequestTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSString_stringWithContentsOfURL_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous download finished"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSString_stringWithContentsOfURL_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSData dataWithContentsOfURL:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSData_dataWithContentsOfURL_mainQueue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSDate* startDate = [NSDate date];
-
- NSData* data = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- XCTAssertEqualObjects(data, testData, @"Invalid returned string");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSData_dataWithContentsOfURL_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous download finished"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSData_dataWithContentsOfURL_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist
deleted file mode 100644
index 169b6f710e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundlePackageType</key>
- <string>BNDL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch
deleted file mode 100644
index a0a31a66c6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch
+++ /dev/null
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'OHHTTPStubs Unit Tests' target in the 'OHHTTPStubs Unit Tests' project
-//
-
-#ifdef __OBJC__
- #import <Foundation/Foundation.h>
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail
deleted file mode 100644
index 283ca0271b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail
+++ /dev/null
@@ -1,10 +0,0 @@
-GET|POST
-.*/users
-200
-application/json
-
-{
-"user_id": "happyuser1",
-"user_token": "happytoken",
-"status": "SUCCESS"
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/README.md b/platform/ios/uitest/OHHTTPStubs/README.md
deleted file mode 100644
index 2c9c831393..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/README.md
+++ /dev/null
@@ -1,120 +0,0 @@
-OHHTTPStubs
-===========
-
-[![Platform](http://cocoapod-badges.herokuapp.com/p/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Version](http://cocoapod-badges.herokuapp.com/v/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Build Status](https://travis-ci.org/AliSoftware/OHHTTPStubs.png?branch=master)](https://travis-ci.org/AliSoftware/OHHTTPStubs)
-
-`OHHTTPStubs` is a library designed to stub your network requests very easily. It can help you:
-
-* test your apps with **fake network data** (stubbed from file) and **simulate slow networks**, to check your application behavior in bad network conditions
-* write **Unit Tests** that use fake network data from your fixtures.
-
-It works with `NSURLConnection`, new iOS7/OSX.9's `NSURLSession`, `AFNetworking` (both 1.x and 2.x), or any networking framework that use Cocoa's URL Loading System.
-
-[![Donate](http://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TRTU3UEWEHV92 "Donate")
-
-----
-
-# Documentation & Usage Examples
-
-`OHHTTPStubs` headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also [read the **online documentation** here](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Version](http://cocoapod-badges.herokuapp.com/v/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-
-## Swift support
-
-`OHHTTPStubs` is compatible with Swift out of the box: you can use it with the same API as you would use in Objective-C. But you might also want to include the `OHHTTPStubs/Swift` subspec in your `Podfile`, which adds some global function helpers (see `OHHTTPStubsSwift.swift`) to make the use of `OHHTTPStubs` more compact and Swift-like.
-
-## Basic example
-
-### In Objective-C
-
-```objc
-[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.host isEqualToString:@"mywebservice.com"];
-} withStubResponse:^OHHTTPStubsResponse*(NSURLRequest *request) {
- // Stub it with our "wsresponse.json" stub file (which is in same bundle as self)
- NSString* fixture = OHPathForFile(@"wsresponse.json", self.class);
- return [OHHTTPStubsResponse responseWithFileAtPath:fixture
- statusCode:200 headers:@{@"Content-Type":@"application/json"}];
-}];
-```
-
-### In Swift
-
-This example is using the Swift helpers found in `OHHTTPStubsSwift.swift` provided by the `OHHTTPStubs/Swift` subspec
-
-```swift
-stub(isHost("mywebservice.com")) { _ in
- // Stub it with our "wsresponse.json" stub file (which is in same bundle as self)
- let stubPath = OHPathForFile("wsresponse.json", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"application/json"])
-}
-```
-
-Note: Using `OHHTTPStubsSwift.swift` you could also compose the matcher functions like this: `stub(isScheme("http") && isHost("myhost")) { … }`
-
-## More examples & Help Topics
-
-* For a lot more examples, see the dedicated "[Usage Examples](https://github.com/AliSoftware/OHHTTPStubs/wiki/Usage-Examples)" wiki page.
-* The wiki also contain [some articles that can help you get started](https://github.com/AliSoftware/OHHTTPStubs/wiki) with (and troubleshoot if needed) `OHHTTPStubs`.
-
-# Compatibility
-
-`OHHTTPStubs` is compatible with **iOS 5.0+** and **OSX 10.7+**.
-
-`OHHTTPStubs` also works with iOS7's and OSX 10.9's `NSURLSession` mechanism.
-
-`OHHTTPStubs` is fully **Swift-compatible**. [Nullability annotations](https://developer.apple.com/swift/blog/?id=25) have been added to allow a cleaner API when used from Swift.
-
-# Installing in your projects
-
-Using [CocoaPods](https://guides.cocoapods.org) is the recommended way.
-Simply add `pod 'OHHTTPStubs'` to your `Podfile`.
-
-_`OHHTTPStubs` should also be compatible with Carthage — but I won't guarantee help/support for it as I don't use it personally._
-
-# Special Considerations
-
-## Using OHHTTPStubs in your Unit Tests
-
-`OHHTTPStubs` is ideal to write Unit Tests that normally would perform network requests. But if you use it in your Unit Tests, don't forget to:
-
-* remove any stubs you installed after each test — to avoid those stubs to still be installed when executing the next Test Case — by calling `[OHHTTPStubs removeAllStubs]` in your `tearDown` method. [see this wiki page for more info](https://github.com/AliSoftware/OHHTTPStubs/wiki/Remove-stubs-after-each-test)
-* be sure to wait until the request has received its response before doing your assertions and letting the test case finish (like for any asynchronous test). [see this wiki page for more info](https://github.com/AliSoftware/OHHTTPStubs/wiki/OHHTTPStubs-and-asynchronous-tests)
-
-## Automatic loading
-
-Thanks to method swizzling, `OHHTTPStubs` is automatically loaded and installed both for:
-
-* requests made using `NSURLConnection` or `[NSURLSession sharedSession]`;
-* requests made using a `NSURLSession` created using a `[NSURLSessionConfiguration defaultSessionConfiguration]` or `[NSURLSessionConfiguration ephemeralSessionConfiguration]` configuration (using `[NSURLSession sessionWithConfiguration:…]`-like methods).
-
-If you need to disable (and re-enable) `OHHTTPStubs` — globally or per `NSURLSession` — you can use `[OHHTTPStubs setEnabled:]` / `[OHHTTPStubs setEnabled:forSessionConfiguration:]`.
-
-## Known limitations
-
-* `OHHTTPStubs` **can't work on background sessions** (sessions created using `[NSURLSessionConfiguration backgroundSessionConfiguration]`) because background sessions don't allow the use of custom `NSURLProtocols` and are handled by the iOS Operating System itself.
-* `OHHTTPStubs` don't simulate data upload. The `NSURLProtocolClient` `@protocol` does not provide a way to signal the delegate that data has been **sent** (only that some has been loaded), so any data in the `HTTPBody` or `HTTPBodyStream` of an `NSURLRequest`, or data provided to `-[NSURLSession uploadTaskWithRequest:fromData:];` will be ignored, and more importantly, the `-URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:` delegate method will never be called when you stub the request using `OHHTTPStubs`.
-
-_As far as I know, there's nothing we can do about those two limitations. Please let me know if you know a solution that would make that possible anyway._
-
-
-## Submitting to the AppStore
-
-`OHHTTPStubs` **can be used** on apps submitted **on the AppStore**. It does not use any private API and nothing prevents you from shipping it.
-
-But you generally only use stubs during the development phase and want to remove your stubs when submitting to the AppStore. So be careful to only include `OHHTTPStubs` when needed (only in your test targets, or only inside `#if DEBUG` portions, or by using [per-Build-Configuration pods](https://guides.cocoapods.org/syntax/podfile.html#pod)) to avoid forgetting to remove it when the time comes that you release for the AppStore and you want your requests to hit the net!
-
-
-
-# License and Credits
-
-This project and library has been created by Olivier Halligon (@aligatr on Twitter) and is under the MIT License.
-
-It has been inspired by [this article from InfiniteLoop.dk](http://www.infinite-loop.dk/blog/2011/09/using-nsurlprotocol-for-injecting-test-data/).
-
-I would also like to thank Kevin Harwood ([@kcharwood](https://github.com/kcharwood)) for migrating the code to `NSInputStream`, Jinlian Wang ([@JinlianWang](https://github.com/JinlianWang)) for adding Mocktail support, and everyone else who contributed to this project on GitHub somehow.
-
-If you want to support the development of this library, feel free to [![Donate](http://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TRTU3UEWEHV92 "Donate"). Thanks to all contributors so far!
diff --git a/platform/ios/uitest/OHHTTPStubs/Rakefile b/platform/ios/uitest/OHHTTPStubs/Rakefile
deleted file mode 100644
index a7c7397fba..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Rakefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# Build & test OHHTTPStubs lib from the CLI
-
-desc 'Build an iOS scheme'
-task :ios, [:scheme, :ios_version, :action] do |_,args|
- destination = "platform=iOS Simulator,name=iPhone 5,OS=#{args.ios_version}"
- build("OHHTTPStubs #{args.scheme}", "iphonesimulator", destination, args.action)
-end
-
-desc 'Build an OSX scheme'
-task :osx, [:scheme, :arch, :action] do |_,args|
- destination = "platform=OS X,arch=#{args.arch}"
- build("OHHTTPStubs #{args.scheme}", "macosx", destination, args.action)
-end
-
-desc 'List installed simulators'
-task :simlist do
- sh 'xcrun simctl list'
-end
-
-desc 'Run all travis env tasks locally'
-task :travis do
- require 'YAML'
- travis = YAML.load_file('.travis.yml')
- travis['env'].each do |env|
- arg = env.split('=')[1]
- puts "\n" + ('-'*80) + "\n\n"
- sh "rake #{arg}"
- end
-end
-
-
-# Build the xcodebuild command and run it
-def build(scheme, sdk, destination, action)
- puts <<-ANNOUNCE
- =============================
- | Action: #{action}
- | Scheme: "#{scheme}"
- | #{destination}
- =============================
-
- ANNOUNCE
-
- cmd = %W(
- xcodebuild
- -workspace OHHTTPStubs/OHHTTPStubs.xcworkspace
- -scheme "#{scheme}"
- -sdk #{sdk}
- -configuration Release
- ONLY_ACTIVE_ARCH=NO
- -destination '#{destination}'
- clean #{action}
- )
-
- sh "set -o pipefail && #{cmd.join(' ')} | xcpretty -c"
-end
diff --git a/platform/ios/uitest/ios-tests.xcodeproj/xcshareddata/xcschemes/Mapbox GL Tests.xcscheme b/platform/ios/uitest/ios-tests.xcodeproj/xcshareddata/xcschemes/Mapbox GL Tests.xcscheme
index df15849ee0..f033c93a3f 100644
--- a/platform/ios/uitest/ios-tests.xcodeproj/xcshareddata/xcschemes/Mapbox GL Tests.xcscheme
+++ b/platform/ios/uitest/ios-tests.xcodeproj/xcshareddata/xcschemes/Mapbox GL Tests.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0700"
+ LastUpgradeVersion = "0800"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
diff --git a/platform/ios/vendor/SMCalloutView b/platform/ios/vendor/SMCalloutView
-Subproject 2aede5d8d1577101bf18405246220e7a710df60
+Subproject d6ecaba377c9f963aef630faf86e3b8f8cdb88d