Skip to content

Add string constants #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Foundation/NSDecimalNumber.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@


/*************** Exceptions ***********/
public let NSDecimalNumberExactnessException: String = "" // NSUnimplemented
public let NSDecimalNumberOverflowException: String = "" // NSUnimplemented
public let NSDecimalNumberUnderflowException: String = "" // NSUnimplemented
public let NSDecimalNumberDivideByZeroException: String = "" // NSUnimplemented
public let NSDecimalNumberExactnessException: String = "NSDecimalNumberExactnessException"
public let NSDecimalNumberOverflowException: String = "NSDecimalNumberOverflowException"
public let NSDecimalNumberUnderflowException: String = "NSDecimalNumberUnderflowException"
public let NSDecimalNumberDivideByZeroException: String = "NSDecimalNumberDivideByZeroException"

/*************** Rounding and Exception behavior ***********/

Expand Down
2 changes: 1 addition & 1 deletion Foundation/NSPort.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

public typealias NSSocketNativeHandle = Int32

public let NSPortDidBecomeInvalidNotification: String = "" // NSUnimplemented
public let NSPortDidBecomeInvalidNotification: String = "NSPortDidBecomeInvalidNotification"

public class NSPort : NSObject, NSCopying, NSCoding {

Expand Down
4 changes: 2 additions & 2 deletions Foundation/NSRunLoop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
//


public let NSDefaultRunLoopMode: String = "" // NSUnimplemented
public let NSRunLoopCommonModes: String = "" // NSUnimplemented
public let NSDefaultRunLoopMode: String = "NSDefaultRunLoopMode"
public let NSRunLoopCommonModes: String = "NSRunLoopCommonModes"

public class NSRunLoop : NSObject {

Expand Down
30 changes: 15 additions & 15 deletions Foundation/NSURLProtectionSpace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,92 +12,92 @@
@const NSURLProtectionSpaceHTTP
@abstract The protocol for HTTP
*/
public let NSURLProtectionSpaceHTTP: String = "" // NSUnimplemented
public let NSURLProtectionSpaceHTTP: String = "NSURLProtectionSpaceHTTP"

/*!
@const NSURLProtectionSpaceHTTPS
@abstract The protocol for HTTPS
*/
public let NSURLProtectionSpaceHTTPS: String = "" // NSUnimplemented
public let NSURLProtectionSpaceHTTPS: String = "NSURLProtectionSpaceHTTPS"

/*!
@const NSURLProtectionSpaceFTP
@abstract The protocol for FTP
*/
public let NSURLProtectionSpaceFTP: String = "" // NSUnimplemented
public let NSURLProtectionSpaceFTP: String = "NSURLProtectionSpaceFTP"

/*!
@const NSURLProtectionSpaceHTTPProxy
@abstract The proxy type for http proxies
*/
public let NSURLProtectionSpaceHTTPProxy: String = "" // NSUnimplemented
public let NSURLProtectionSpaceHTTPProxy: String = "NSURLProtectionSpaceHTTPProxy"

/*!
@const NSURLProtectionSpaceHTTPSProxy
@abstract The proxy type for https proxies
*/
public let NSURLProtectionSpaceHTTPSProxy: String = "" // NSUnimplemented
public let NSURLProtectionSpaceHTTPSProxy: String = "NSURLProtectionSpaceHTTPSProxy"

/*!
@const NSURLProtectionSpaceFTPProxy
@abstract The proxy type for ftp proxies
*/
public let NSURLProtectionSpaceFTPProxy: String = "" // NSUnimplemented
public let NSURLProtectionSpaceFTPProxy: String = "NSURLProtectionSpaceFTPProxy"

/*!
@const NSURLProtectionSpaceSOCKSProxy
@abstract The proxy type for SOCKS proxies
*/
public let NSURLProtectionSpaceSOCKSProxy: String = "" // NSUnimplemented
public let NSURLProtectionSpaceSOCKSProxy: String = "NSURLProtectionSpaceSOCKSProxy"

/*!
@const NSURLAuthenticationMethodDefault
@abstract The default authentication method for a protocol
*/
public let NSURLAuthenticationMethodDefault: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodDefault: String = "NSURLAuthenticationMethodDefault"

/*!
@const NSURLAuthenticationMethodHTTPBasic
@abstract HTTP basic authentication. Equivalent to
NSURLAuthenticationMethodDefault for http.
*/
public let NSURLAuthenticationMethodHTTPBasic: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodHTTPBasic: String = "NSURLAuthenticationMethodHTTPBasic"

/*!
@const NSURLAuthenticationMethodHTTPDigest
@abstract HTTP digest authentication.
*/
public let NSURLAuthenticationMethodHTTPDigest: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodHTTPDigest: String = "NSURLAuthenticationMethodHTTPDigest"

/*!
@const NSURLAuthenticationMethodHTMLForm
@abstract HTML form authentication. Applies to any protocol.
*/
public let NSURLAuthenticationMethodHTMLForm: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodHTMLForm: String = "NSURLAuthenticationMethodHTMLForm"

/*!
@const NSURLAuthenticationMethodNTLM
@abstract NTLM authentication.
*/
public let NSURLAuthenticationMethodNTLM: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodNTLM: String = "NSURLAuthenticationMethodNTLM"

/*!
@const NSURLAuthenticationMethodNegotiate
@abstract Negotiate authentication.
*/
public let NSURLAuthenticationMethodNegotiate: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodNegotiate: String = "NSURLAuthenticationMethodNegotiate"

/*!
@const NSURLAuthenticationMethodClientCertificate
@abstract SSL Client certificate. Applies to any protocol.
*/
public let NSURLAuthenticationMethodClientCertificate: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodClientCertificate: String = "NSURLAuthenticationMethodClientCertificate"

/*!
@const NSURLAuthenticationMethodServerTrust
@abstract SecTrustRef validation required. Applies to any protocol.
*/
public let NSURLAuthenticationMethodServerTrust: String = "" // NSUnimplemented
public let NSURLAuthenticationMethodServerTrust: String = "NSURLAuthenticationMethodServerTrust"


/*!
Expand Down
8 changes: 4 additions & 4 deletions Foundation/NSUserDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
//


public let NSGlobalDomain: String = "" // NSUnimplemented()
public let NSArgumentDomain: String = "" // NSUnimplemented()
public let NSRegistrationDomain: String = "" // NSUnimplemented()
public let NSGlobalDomain: String = "NSGlobalDomain"
public let NSArgumentDomain: String = "NSArgumentDomain"
public let NSRegistrationDomain: String = "NSRegistrationDomain"

public class NSUserDefaults : NSObject {

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

public let NSUserDefaultsDidChangeNotification: String = "" // NSUnimplemented()
public let NSUserDefaultsDidChangeNotification: String = "NSUserDefaultsDidChangeNotification"