[swift-evolution] [Review] SE-0005 Better Translation of Objective-C APIs Into Swift
John Randolph
jcr at mac.com
Fri Jan 29 21:32:06 CST 2016
> On Jan 26, 2016, at 2:53 PM, Jacob Bandes-Storch via swift-evolution <swift-evolution at swift.org> wrote:
>
> Here are some others from the swift-3 branch; I'm not sure where these currently fall under the guidelines:
>
> CIImage
> func byCompositingOverImage(dest: CIImage) -> CIImage
> func byCroppingTo(rect: CGRect) -> CIImage
> func byClampingToExtent() -> CIImage
I’m not wild about using “by” in these names. I’d rather this were :
CIImage
func compositedOverImage(dest: CIImage) -> CIImage
func croppedTo(rect: CGRect) -> CIImage
func clampedToExtent() -> CIImage
-jcr
More information about the swift-evolution
mailing list