mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When importing an Objective-C init method or factory method into an initializer, if the first camelCase word of the first argument name starts with "with", drop the "with". This means that -initWithRed:green:blue:alpha: will get imported into Swift as init(red:green:blue:alpha:) as will +colorWithRed:green:blue:alpha: This is <rdar://problem/16795899>, hidden behind the -implicit-objc-with flag. Swift SVN r17271
31 KiB
31 KiB