Skip to content

Commit a347b71

Browse files
author
Rob Hudson
committed
Add string constants
Add string constants for NSDecimalNumber Add more string constants Add more string constants
1 parent 5893bfa commit a347b71

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

Foundation/NSDecimalNumber.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010

1111
/*************** Exceptions ***********/
12-
public let NSDecimalNumberExactnessException: String = "" // NSUnimplemented
13-
public let NSDecimalNumberOverflowException: String = "" // NSUnimplemented
14-
public let NSDecimalNumberUnderflowException: String = "" // NSUnimplemented
15-
public let NSDecimalNumberDivideByZeroException: String = "" // NSUnimplemented
12+
public let NSDecimalNumberExactnessException: String = "NSDecimalNumberExactnessException"
13+
public let NSDecimalNumberOverflowException: String = "NSDecimalNumberOverflowException"
14+
public let NSDecimalNumberUnderflowException: String = "NSDecimalNumberUnderflowException"
15+
public let NSDecimalNumberDivideByZeroException: String = "NSDecimalNumberDivideByZeroException"
1616

1717
/*************** Rounding and Exception behavior ***********/
1818

Foundation/NSPort.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public typealias NSSocketNativeHandle = Int32
1212

13-
public let NSPortDidBecomeInvalidNotification: String = "" // NSUnimplemented
13+
public let NSPortDidBecomeInvalidNotification: String = "NSPortDidBecomeInvalidNotification"
1414

1515
public class NSPort : NSObject, NSCopying, NSCoding {
1616

Foundation/NSRunLoop.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
//
99

1010

11-
public let NSDefaultRunLoopMode: String = "" // NSUnimplemented
12-
public let NSRunLoopCommonModes: String = "" // NSUnimplemented
11+
public let NSDefaultRunLoopMode: String = "NSDefaultRunLoopMode"
12+
public let NSRunLoopCommonModes: String = "NSRunLoopCommonModes"
1313

1414
public class NSRunLoop : NSObject {
1515

Foundation/NSURLProtectionSpace.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,92 +12,92 @@
1212
@const NSURLProtectionSpaceHTTP
1313
@abstract The protocol for HTTP
1414
*/
15-
public let NSURLProtectionSpaceHTTP: String = "" // NSUnimplemented
15+
public let NSURLProtectionSpaceHTTP: String = "NSURLProtectionSpaceHTTP"
1616

1717
/*!
1818
@const NSURLProtectionSpaceHTTPS
1919
@abstract The protocol for HTTPS
2020
*/
21-
public let NSURLProtectionSpaceHTTPS: String = "" // NSUnimplemented
21+
public let NSURLProtectionSpaceHTTPS: String = "NSURLProtectionSpaceHTTPS"
2222

2323
/*!
2424
@const NSURLProtectionSpaceFTP
2525
@abstract The protocol for FTP
2626
*/
27-
public let NSURLProtectionSpaceFTP: String = "" // NSUnimplemented
27+
public let NSURLProtectionSpaceFTP: String = "NSURLProtectionSpaceFTP"
2828

2929
/*!
3030
@const NSURLProtectionSpaceHTTPProxy
3131
@abstract The proxy type for http proxies
3232
*/
33-
public let NSURLProtectionSpaceHTTPProxy: String = "" // NSUnimplemented
33+
public let NSURLProtectionSpaceHTTPProxy: String = "NSURLProtectionSpaceHTTPProxy"
3434

3535
/*!
3636
@const NSURLProtectionSpaceHTTPSProxy
3737
@abstract The proxy type for https proxies
3838
*/
39-
public let NSURLProtectionSpaceHTTPSProxy: String = "" // NSUnimplemented
39+
public let NSURLProtectionSpaceHTTPSProxy: String = "NSURLProtectionSpaceHTTPSProxy"
4040

4141
/*!
4242
@const NSURLProtectionSpaceFTPProxy
4343
@abstract The proxy type for ftp proxies
4444
*/
45-
public let NSURLProtectionSpaceFTPProxy: String = "" // NSUnimplemented
45+
public let NSURLProtectionSpaceFTPProxy: String = "NSURLProtectionSpaceFTPProxy"
4646

4747
/*!
4848
@const NSURLProtectionSpaceSOCKSProxy
4949
@abstract The proxy type for SOCKS proxies
5050
*/
51-
public let NSURLProtectionSpaceSOCKSProxy: String = "" // NSUnimplemented
51+
public let NSURLProtectionSpaceSOCKSProxy: String = "NSURLProtectionSpaceSOCKSProxy"
5252

5353
/*!
5454
@const NSURLAuthenticationMethodDefault
5555
@abstract The default authentication method for a protocol
5656
*/
57-
public let NSURLAuthenticationMethodDefault: String = "" // NSUnimplemented
57+
public let NSURLAuthenticationMethodDefault: String = "NSURLAuthenticationMethodDefault"
5858

5959
/*!
6060
@const NSURLAuthenticationMethodHTTPBasic
6161
@abstract HTTP basic authentication. Equivalent to
6262
NSURLAuthenticationMethodDefault for http.
6363
*/
64-
public let NSURLAuthenticationMethodHTTPBasic: String = "" // NSUnimplemented
64+
public let NSURLAuthenticationMethodHTTPBasic: String = "NSURLAuthenticationMethodHTTPBasic"
6565

6666
/*!
6767
@const NSURLAuthenticationMethodHTTPDigest
6868
@abstract HTTP digest authentication.
6969
*/
70-
public let NSURLAuthenticationMethodHTTPDigest: String = "" // NSUnimplemented
70+
public let NSURLAuthenticationMethodHTTPDigest: String = "NSURLAuthenticationMethodHTTPDigest"
7171

7272
/*!
7373
@const NSURLAuthenticationMethodHTMLForm
7474
@abstract HTML form authentication. Applies to any protocol.
7575
*/
76-
public let NSURLAuthenticationMethodHTMLForm: String = "" // NSUnimplemented
76+
public let NSURLAuthenticationMethodHTMLForm: String = "NSURLAuthenticationMethodHTMLForm"
7777

7878
/*!
7979
@const NSURLAuthenticationMethodNTLM
8080
@abstract NTLM authentication.
8181
*/
82-
public let NSURLAuthenticationMethodNTLM: String = "" // NSUnimplemented
82+
public let NSURLAuthenticationMethodNTLM: String = "NSURLAuthenticationMethodNTLM"
8383

8484
/*!
8585
@const NSURLAuthenticationMethodNegotiate
8686
@abstract Negotiate authentication.
8787
*/
88-
public let NSURLAuthenticationMethodNegotiate: String = "" // NSUnimplemented
88+
public let NSURLAuthenticationMethodNegotiate: String = "NSURLAuthenticationMethodNegotiate"
8989

9090
/*!
9191
@const NSURLAuthenticationMethodClientCertificate
9292
@abstract SSL Client certificate. Applies to any protocol.
9393
*/
94-
public let NSURLAuthenticationMethodClientCertificate: String = "" // NSUnimplemented
94+
public let NSURLAuthenticationMethodClientCertificate: String = "NSURLAuthenticationMethodClientCertificate"
9595

9696
/*!
9797
@const NSURLAuthenticationMethodServerTrust
9898
@abstract SecTrustRef validation required. Applies to any protocol.
9999
*/
100-
public let NSURLAuthenticationMethodServerTrust: String = "" // NSUnimplemented
100+
public let NSURLAuthenticationMethodServerTrust: String = "NSURLAuthenticationMethodServerTrust"
101101

102102

103103
/*!

Foundation/NSUserDefaults.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
//
99

1010

11-
public let NSGlobalDomain: String = "" // NSUnimplemented()
12-
public let NSArgumentDomain: String = "" // NSUnimplemented()
13-
public let NSRegistrationDomain: String = "" // NSUnimplemented()
11+
public let NSGlobalDomain: String = "NSGlobalDomain"
12+
public let NSArgumentDomain: String = "NSArgumentDomain"
13+
public let NSRegistrationDomain: String = "NSRegistrationDomain"
1414

1515
public class NSUserDefaults : NSObject {
1616

@@ -63,5 +63,5 @@ public class NSUserDefaults : NSObject {
6363
public func objectIsForcedForKey(key: String, inDomain domain: String) -> Bool { NSUnimplemented() }
6464
}
6565

66-
public let NSUserDefaultsDidChangeNotification: String = "" // NSUnimplemented()
66+
public let NSUserDefaultsDidChangeNotification: String = "NSUserDefaultsDidChangeNotification"
6767

0 commit comments

Comments
 (0)