Skip to content

Commit 17e0499

Browse files
authored
Merge pull request #2444 from millenomi/urlauthenticationchallenge-nscoding
Parity: NSCoding: URLAuthenticationChallenge
2 parents e89f7a9 + 4de8188 commit 17e0499

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Foundation/URLAuthenticationChallenge.swift

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public protocol URLAuthenticationChallengeSender : NSObjectProtocol {
5252
provides all the information about the challenge, and has a method
5353
to indicate when it's done.
5454
*/
55-
open class URLAuthenticationChallenge : NSObject, NSSecureCoding {
55+
open class URLAuthenticationChallenge : NSObject {
5656

5757
private let _protectionSpace: URLProtectionSpace
5858
private let _proposedCredential: URLCredential?
@@ -61,19 +61,6 @@ open class URLAuthenticationChallenge : NSObject, NSSecureCoding {
6161
private let _error: Error?
6262
private let _sender: URLAuthenticationChallengeSender
6363

64-
static public var supportsSecureCoding: Bool {
65-
return true
66-
}
67-
68-
public required init?(coder aDecoder: NSCoder) {
69-
NSUnimplemented()
70-
}
71-
72-
open func encode(with aCoder: NSCoder) {
73-
NSUnimplemented()
74-
}
75-
76-
7764
/*!
7865
@method initWithProtectionSpace:proposedCredential:previousFailureCount:failureResponse:error:
7966
@abstract Initialize an authentication challenge

0 commit comments

Comments
 (0)