Files
swift-mirror/test/Inputs/clang-importer-sdk/swift-modules-without-ns/AppKit.swift
Doug Gregor 312a7f0aea [Clang importer] Strip the "NS" prefix from entities in Foundation.
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.
2016-01-20 15:02:54 -08:00

6 lines
108 B
Swift

@_exported import AppKit
extension String {
public static func someFactoryMethod() -> Int { return 0 }
}