[swift-corelibs-dev] Wrong type in NSHTTPURLResponse

Daniel Eggert danieleggert at me.com
Tue Mar 15 10:16:23 CDT 2016


The allHeaderFields in

public class NSHTTPURLResponse : NSURLResponse {
    [...]
    public let allHeaderFields: [NSObject : AnyObject]
}

should have been [String : String]

The initialiser has the correct [String : String] type, though.

Somehow Apple missed this in their API, too. What's the procedure to get this changed / fixed?

/Daniel



More information about the swift-corelibs-dev mailing list