[Swift] Objective-C methods with varargs are not exposed to Swift
Variadic Objective-C methods are not exposed to Swift. This makes significant chunks of code unavailable from Swift. Some APIs duplicate variadic methods with similar methods which take an array. These are exposed to Swift, and work fine. However, this puts the onus on framework developers to make sure their APIs are fully exposed to Swift. It would be significantly better if the variadic Objective-C methods were exposed directly in Swift in some fashion.
Steps to Reproduce
1. Load the attached Xcode project and attempt to build it.
The code compiles as is, or perhaps with minor modifications at the call site to handle any special syntax Swift may require.
The project fails to build with errors in ASMSwiftTest.swift because it attempts to use Obj-C APIs involving variadic methods. There does not appear to be any means of working around this problem.
Xcode 6 Beta 1
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!