[swift-evolution] [Review] SE-0005 Better Translation of Objective-C APIs Into Swift

Ben Rimmington me at benrimmington.com
Wed Jan 27 15:07:24 CST 2016


Doug,

For methods such as:

> func description(locale locale: AnyObject?) -> String
> func description(locale locale: AnyObject?, indent level: Int) -> String

1. Can the `locale` parameter be given a default `= nil` argument?

2. Can the parameter type be changed to `NSLocale?` when translated into Swift?

-- Ben


More information about the swift-evolution mailing list