-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,894 changed files
with
218 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// URLProtocol.swift | ||
// AlamofireCodable_Example | ||
// | ||
// Created by Steve on 24/11/2017. | ||
// Copyright © 2017 CocoaPods. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class AURLProtocol: URLProtocol { | ||
|
||
static var session: URLSession! | ||
|
||
struct PropertyKeys { | ||
static let handledByForwarderURLProtocol = "HandledByProxyURLProtocol" | ||
} | ||
|
||
var activeTask: URLSessionTask? | ||
|
||
override class func canInit(with request: URLRequest) -> Bool { | ||
return true | ||
} | ||
|
||
override class func canonicalRequest(for request: URLRequest) -> URLRequest { | ||
return request | ||
} | ||
|
||
override func startLoading() { | ||
super.startLoading() | ||
} | ||
|
||
override func stopLoading() { | ||
activeTask?.cancel() | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.86 KB
Example/Index/DataStore/v5/records/01/UIPrintPageRenderer.h-G9JIBSV1TV01
Binary file not shown.
Binary file added
BIN
+5.35 KB
Example/Index/DataStore/v5/records/02/ExampleHooks.swift-24XD8GHV2J202
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.59 KB
Example/Index/DataStore/v5/records/04/AppDelegate.swift-2MJNFSFFDG904
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+181 KB
Example/Index/DataStore/v5/records/08/Swift.swiftmodule_Collection_Array-22H0KS4INRO08
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.15 KB
Example/Index/DataStore/v5/records/0A/UIContentSizeCategory.h-33KOOYW3KW40A
Binary file not shown.
Binary file added
BIN
+932 Bytes
Example/Index/DataStore/v5/records/0B/UIPinchGestureRecognizer.h-10C5C408H870B
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.5 KB
Example/Index/DataStore/v5/records/0C/SCNetworkReachability.h-3O1LIE573310C
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.4 KB
Example/Index/DataStore/v5/records/0D/CIImageProcessor.h-2M4D53PZ8GF0D
Binary file not shown.
Binary file added
BIN
+568 Bytes
Example/Index/DataStore/v5/records/0F/UIVibrancyEffect.h-26HKXWJ4PW20F
Binary file not shown.
Binary file added
BIN
+21.6 KB
Example/Index/DataStore/v5/records/0I/ExpectationMessage.swift-1A6TOKSDO5N0I
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.24 KB
Example/Index/DataStore/v5/records/0K/OSAtomicDeprecated.h-3KYCA99VFQX0K
Binary file not shown.
Binary file added
BIN
+880 Bytes
Example/Index/DataStore/v5/records/0K/UITextPasteConfigurationSupporting.h-I10F15G0ZK0K
Binary file not shown.
Binary file added
BIN
+11.7 KB
Example/Index/DataStore/v5/records/0K/ViewController.swift-N314734AQN0K
Binary file not shown.
Binary file added
BIN
+388 Bytes
Example/Index/DataStore/v5/records/0K/_pthread_cond_t.h-PUHY1Z8NPQ0K
Binary file not shown.
Binary file added
BIN
+444 Bytes
Example/Index/DataStore/v5/records/0M/NSUndoManagerShims.h-2LME7S91JCN0M
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+15.3 KB
Example/Index/DataStore/v5/records/0T/ServerTrustPolicy.swift-1EP7K3RBLIR0T
Binary file not shown.
Binary file added
BIN
+11.3 KB
Example/Index/DataStore/v5/records/0U/ViewController.swift-D06ST0YPV00U
Binary file not shown.
Binary file added
BIN
+10.4 KB
Example/Index/DataStore/v5/records/0W/ViewController.swift-3605NRYHLTS0W
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.39 KB
Example/Index/DataStore/v5/records/0X/ErrorUtility.swift-394Q0GJYSA0X
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.85 KB
Example/Index/DataStore/v5/records/11/AssertionRecorder.swift-3BJ0XOZ1OZQ11
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+15.3 KB
Example/Index/DataStore/v5/records/16/UIAccessibility.h-218HGW6L8TQ16
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.38 KB
Example/Index/DataStore/v5/records/1C/URLProtocol.swift-234BKT1P16L1C
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+440 Bytes
Example/Index/DataStore/v5/records/1G/CVMetalTextureCache.h-3EX6TN5WTYH1G
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.49 KB
Example/Index/DataStore/v5/records/1P/CoreFoundation.swiftmodule-3QPVEPCBP8A1P
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.18 KB
Example/Index/DataStore/v5/records/1T/CwlMachBadInstructionHandler.h-26W7D9L9S2B1T
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.97 KB
Example/Index/DataStore/v5/records/1T/UISpringLoadedInteraction.h-30NMZJWJ1JU1T
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.5 KB
Example/Index/DataStore/v5/records/1V/ViewController.swift-3IC8UF6WC4S1V
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+92.2 KB
Example/Index/DataStore/v5/records/21/Swift.swiftmodule_Math_Floating-3P7W2SBIQ9J21
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.12 KB
Example/Index/DataStore/v5/records/23/NSString+C99ExtendedIdentifier.swift-LDX5MRA6SA23
Binary file not shown.
Binary file added
BIN
+5.32 KB
Example/Index/DataStore/v5/records/23/UIPopoverPresentationController.h-206G8LGTQ5O23
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.48 KB
Example/Index/DataStore/v5/records/25/UIPanGestureRecognizer.h-UUM7WFA8LJ25
Binary file not shown.
Binary file added
BIN
+3.63 KB
Example/Index/DataStore/v5/records/27/MTLComputeCommandEncoder.h-3QR07LCYOOR27
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.85 KB
Example/Index/DataStore/v5/records/29/NSAttributedString.h-L7F0RKHUYT29
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.66 KB
Example/Index/DataStore/v5/records/2A/UIAccessibilityContainer.h-M6X9SRDG6W2A
Binary file not shown.
Binary file added
BIN
+628 Bytes
Example/Index/DataStore/v5/records/2B/UIApplication+StrictKeyWindow.h-2502OVHIIWK2B
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.07 KB
Example/Index/DataStore/v5/records/2C/NSIndexPath+UIKitAdditions.h-12R2TL2EDAR2C
Binary file not shown.
Binary file added
BIN
+548 Bytes
Example/Index/DataStore/v5/records/2C/NSLocaleShims.h-1Q22KQDP7IY2C
Binary file not shown.
Binary file added
BIN
+4.29 KB
Example/Index/DataStore/v5/records/2C/UIDropInteraction.h-3928JNJ40VB2C
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+912 Bytes
Example/Index/DataStore/v5/records/2D/CaptiveNetwork.h-1OXJFID67MX2D
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+780 Bytes
Example/Index/DataStore/v5/records/2I/CVMetalTexture.h-14WF04H6DR62I
Binary file not shown.
Binary file added
BIN
+1.29 MB
Example/Index/DataStore/v5/records/2J/Foundation.swiftmodule-14JD317462J2J
Binary file not shown.
Binary file added
BIN
+7.85 KB
Example/Index/DataStore/v5/records/2J/UIAccessibilityCustomRotor.h-2DM34XQR8V82J
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+39.9 KB
Example/Index/DataStore/v5/records/2Q/HaveValidSnapshot.swift-Q10OGE0AAQ2Q
Binary file not shown.
Binary file added
BIN
+4.88 KB
Example/Index/DataStore/v5/records/2Q/NSKeyValueCoding.h-1LZ0X6DJ2Z32Q
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.8 KB
Example/Index/DataStore/v5/records/2Y/UITextInputTraits.h-2QNKJ8EK6KB2Y
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+800 Bytes
Example/Index/DataStore/v5/records/33/UIScreenEdgePanGestureRecognizer.h-5LQ40AXEWL33
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.36 KB
Example/Index/DataStore/v5/records/37/UIDragPreviewParameters.h-28QSIVWJKM737
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.23 KB
Example/Index/DataStore/v5/records/3A/NimbleEnvironment.swift-3S6KZYP4SSM3A
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.07 KB
Example/Index/DataStore/v5/records/3B/NSStringDrawing.h-1ZLW89XQCW53B
Binary file not shown.
Binary file added
BIN
+37.6 KB
Example/Index/DataStore/v5/records/3B/UIKit.swiftmodule-3FO95Y60P3N3B
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+388 Bytes
Example/Index/DataStore/v5/records/3D/_pthread_once_t.h-1A3OKQVYGBL3D
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.02 KB
Example/Index/DataStore/v5/records/3E/UIBarButtonItemGroup.h-3Q7XHCUDLVF3E
Binary file not shown.
Binary file added
BIN
+1.99 KB
Example/Index/DataStore/v5/records/3H/UIDocumentMenuViewController.h-1MKBN1YLHXX3H
Binary file not shown.
Binary file added
BIN
+1.59 KB
Example/Index/DataStore/v5/records/3H/UIPasteConfiguration.h-1NZVHG5I9G03H
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.93 KB
Example/Index/DataStore/v5/records/3L/NSTextCheckingResult.h-1QCYG8H80ZK3L
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+472 Bytes
Example/Index/DataStore/v5/records/3N/Alamofire-umbrella.h-OROL907OSK3N
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.17 KB
Example/Index/DataStore/v5/records/3N/PostNotification.swift-7C84EGNL083N
Binary file not shown.
Binary file added
BIN
+4.98 KB
Example/Index/DataStore/v5/records/3O/CurrentTestCaseTracker.swift-1JW9JI9W9KH3O
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.3 KB
Example/Index/DataStore/v5/records/3S/AURLProtocol.swift-3UEA26Z4V4E3S
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+508 Bytes
Example/Index/DataStore/v5/records/3X/AlamofireCodable-umbrella.h-L6JTA01JZJ3X
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+792 Bytes
Example/Index/DataStore/v5/records/40/FBSnapshotTestCasePlatform.h-P8G2VRPCJ640
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+13.3 KB
Example/Index/DataStore/v5/records/42/ViewController.swift-1UUHO63ACZV42
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.77 KB
Example/Index/DataStore/v5/records/43/UIGravityBehavior.h-2JNMDE895C543
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.27 KB
Example/Index/DataStore/v5/records/48/UIReferenceLibraryViewController.h-MAFGNS2QG348
Binary file not shown.
Binary file added
BIN
+2.23 KB
Example/Index/DataStore/v5/records/4A/CGAffineTransform.h-1NVS075J82A4A
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.34 KB
Example/Index/DataStore/v5/records/4D/SCDynamicStoreKey.h-NX1Q6MEBTZ4D
Binary file not shown.
Binary file added
BIN
+936 Bytes
Example/Index/DataStore/v5/records/4G/UIContentSizeCategoryAdjusting.h-188X7XNKS6H4G
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.07 KB
Example/Index/DataStore/v5/records/4I/UINotificationFeedbackGenerator.h-11R82RQWGKR4I
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+24.3 KB
Example/Index/DataStore/v5/records/4Q/RaisesException.swift-16THMS2RQLA4Q
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.8 KB
Example/Index/DataStore/v5/records/4U/ViewController.swift-1SNPQTRZUBW4U
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.5 KB
Example/Index/DataStore/v5/records/4W/UIViewPropertyAnimator.h-3V8XDD1INZL4W
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.05 KB
Example/Index/DataStore/v5/records/4Y/DispatchOverlayShims.h-WF8V9O2RPE4Y
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.95 KB
Example/Index/DataStore/v5/records/53/XCTestAssertionsImpl.h-A9KED00CVO53
Binary file not shown.
Binary file added
BIN
+6.12 KB
Example/Index/DataStore/v5/records/54/BeGreaterThanOrEqualTo.swift-VG7P4UFZNY54
Binary file not shown.
Binary file added
BIN
+5.21 KB
Example/Index/DataStore/v5/records/54/UILocalNotification.h-11FGVS0E7O354
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+57.9 KB
Example/Index/DataStore/v5/records/5B/Swift.swiftmodule_C-3JKSOHG9OYS5B
Binary file not shown.
Binary file added
BIN
+1.71 KB
Example/Index/DataStore/v5/records/5B/URLProtocol.swift-3IHT6SUH7CY5B
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.61 KB
Example/Index/DataStore/v5/records/5D/UIViewControllerTransitioning.h-1D6T5O12SNZ5D
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+884 Bytes
Example/Index/DataStore/v5/records/5K/ThrowAssertion.swift-35FND8SHEB05K
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.43 KB
Example/Index/DataStore/v5/records/5M/QuickConfiguration.m-2H3LNN3GAVZ5M
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.16 KB
Example/Index/DataStore/v5/records/5R/AssertionRecorder.swift-KTCUC4CXM5R
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.35 KB
Example/Index/DataStore/v5/records/5T/ExampleMetadata.swift-1ZBR70R0SSB5T
Binary file not shown.
Binary file added
BIN
+9.59 KB
Example/Index/DataStore/v5/records/5V/ViewController.swift-1PSKTH93JMV5V
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+21.3 KB
Example/Index/DataStore/v5/records/5W/Expectation.swift-2PVX8R46XM85W
Binary file not shown.
Binary file added
BIN
+4.98 KB
Example/Index/DataStore/v5/records/5W/UIViewControllerTransitionCoordinator.h-1I18HTJEV7J5W
Binary file not shown.
Binary file added
BIN
+10.9 KB
Example/Index/DataStore/v5/records/5W/ViewController.swift-36RHAATPH835W
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.04 KB
Example/Index/DataStore/v5/records/61/UIApplication+StrictKeyWindow.m-314VS3ETYWF61
Binary file not shown.
Binary file added
BIN
+6.07 KB
Example/Index/DataStore/v5/records/62/BeLessThanOrEqual.swift-157ZKF4OL3A62
Binary file not shown.
Binary file added
BIN
+864 Bytes
Example/Index/DataStore/v5/records/65/CTFramesetter.h-2P3RLHTRJTS65
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.84 KB
Example/Index/DataStore/v5/records/65/XCUIElementAttributes.h-6SUWV6IJPJ65
Binary file not shown.
Binary file added
BIN
+1.79 KB
Example/Index/DataStore/v5/records/66/NMBExceptionCapture.m-2NF2RSV43HJ66
Binary file not shown.
Binary file added
BIN
+4.98 KB
Example/Index/DataStore/v5/records/66/UIViewControllerTransitionCoordinator.h-236GZZG1SVQ66
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.12 KB
Example/Index/DataStore/v5/records/6H/NSRegularExpression.h-3YX6GFTE516H
Binary file not shown.
Binary file added
BIN
+25.4 KB
Example/Index/DataStore/v5/records/6H/ParameterEncoding.swift-17OMOQN7HT56H
Binary file not shown.
Binary file added
BIN
+1.6 KB
Example/Index/DataStore/v5/records/6J/CFNetDiagnostics.h-3ML3LIBCLTI6J
Binary file not shown.
Binary file added
BIN
+1.69 KB
Example/Index/DataStore/v5/records/6J/URLProtocol.swift-3C9KHLJ6QBA6J
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.49 KB
Example/Index/DataStore/v5/records/6N/UIFontDescriptor.h-1JKVB6XJ6ZD6N
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+536 Bytes
Example/Index/DataStore/v5/records/6R/UIFeedbackGenerator.h-29KD4IEGC9D6R
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+932 Bytes
Example/Index/DataStore/v5/records/6T/XCTestObservationCenter.h-PQ59IGVGB56T
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.77 KB
Example/Index/DataStore/v5/records/6V/ThrowAssertion.swift-41BY7GOOLC6V
Binary file not shown.
Binary file added
BIN
+1.07 KB
...dex/DataStore/v5/records/6W/XCTestObservationCenter+CurrentTestCaseTracker.m-SY8HW5VMRI6W
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+860 Bytes
Example/Index/DataStore/v5/records/72/UISearchContainerViewController.h-2GPVHCBWZXD72
Binary file not shown.
Binary file added
BIN
+8.3 KB
Example/Index/DataStore/v5/records/72/UIUserNotificationSettings.h-37R0DHHKJBH72
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.33 KB
Example/Index/DataStore/v5/records/78/UINavigationController.h-PUYXTWE5C578
Binary file not shown.
Binary file added
BIN
+559 KB
Example/Index/DataStore/v5/records/7A/Swift.swiftmodule_Misc-1F2X95SV53Z7A
Binary file not shown.
Binary file added
BIN
+9.59 KB
Example/Index/DataStore/v5/records/7A/ViewController.swift-18JRVNP2QB27A
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+20.2 KB
Example/Index/DataStore/v5/records/7N/NSLayoutManager.h-256V8LZU3397N
Binary file not shown.
Oops, something went wrong.