mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
As part of the improved import of Objective-C APIs into Swift, strip the "NS" prefix from entities defined in the Foundation framework. Addresses rdar://problem/24050011, which is part of SE-0005. Naturally, this is hidden behind -enable-omit-needless-words.
6 lines
108 B
Swift
6 lines
108 B
Swift
@_exported import AppKit
|
|
|
|
extension String {
|
|
public static func someFactoryMethod() -> Int { return 0 }
|
|
}
|